2019-07-11 19:55:11 +02:00
|
|
|
package com.simibubi.create;
|
|
|
|
|
2021-03-12 15:51:25 +01:00
|
|
|
import com.simibubi.create.content.contraptions.base.*;
|
|
|
|
import com.simibubi.create.content.contraptions.components.actors.*;
|
2020-05-23 14:02:38 +02:00
|
|
|
import com.simibubi.create.content.contraptions.components.clock.CuckooClockRenderer;
|
|
|
|
import com.simibubi.create.content.contraptions.components.clock.CuckooClockTileEntity;
|
2021-01-27 23:03:18 +01:00
|
|
|
import com.simibubi.create.content.contraptions.components.crafter.MechanicalCrafterInstance;
|
2020-05-25 23:09:36 +02:00
|
|
|
import com.simibubi.create.content.contraptions.components.crafter.MechanicalCrafterRenderer;
|
2020-05-28 01:29:26 +02:00
|
|
|
import com.simibubi.create.content.contraptions.components.crafter.MechanicalCrafterTileEntity;
|
2021-03-14 05:45:24 +01:00
|
|
|
import com.simibubi.create.content.contraptions.components.crank.HandCrankInstance;
|
2020-05-25 23:09:36 +02:00
|
|
|
import com.simibubi.create.content.contraptions.components.crank.HandCrankRenderer;
|
2020-05-28 01:29:26 +02:00
|
|
|
import com.simibubi.create.content.contraptions.components.crank.HandCrankTileEntity;
|
2020-05-23 14:02:38 +02:00
|
|
|
import com.simibubi.create.content.contraptions.components.crusher.CrushingWheelControllerTileEntity;
|
|
|
|
import com.simibubi.create.content.contraptions.components.crusher.CrushingWheelTileEntity;
|
2021-03-16 23:52:37 +01:00
|
|
|
import com.simibubi.create.content.contraptions.components.deployer.DeployerInstance;
|
2020-05-25 23:09:36 +02:00
|
|
|
import com.simibubi.create.content.contraptions.components.deployer.DeployerRenderer;
|
2020-05-28 01:29:26 +02:00
|
|
|
import com.simibubi.create.content.contraptions.components.deployer.DeployerTileEntity;
|
2020-05-25 23:09:36 +02:00
|
|
|
import com.simibubi.create.content.contraptions.components.fan.EncasedFanRenderer;
|
2020-05-28 01:29:26 +02:00
|
|
|
import com.simibubi.create.content.contraptions.components.fan.EncasedFanTileEntity;
|
2021-01-27 23:03:18 +01:00
|
|
|
import com.simibubi.create.content.contraptions.components.fan.FanInstance;
|
2020-05-23 14:02:38 +02:00
|
|
|
import com.simibubi.create.content.contraptions.components.fan.NozzleTileEntity;
|
2021-02-05 04:21:25 +01:00
|
|
|
import com.simibubi.create.content.contraptions.components.flywheel.FlyWheelInstance;
|
2020-05-23 14:02:38 +02:00
|
|
|
import com.simibubi.create.content.contraptions.components.flywheel.FlywheelRenderer;
|
|
|
|
import com.simibubi.create.content.contraptions.components.flywheel.FlywheelTileEntity;
|
2021-03-10 22:44:04 +01:00
|
|
|
import com.simibubi.create.content.contraptions.components.flywheel.engine.EngineInstance;
|
2020-05-23 14:02:38 +02:00
|
|
|
import com.simibubi.create.content.contraptions.components.flywheel.engine.EngineRenderer;
|
|
|
|
import com.simibubi.create.content.contraptions.components.flywheel.engine.FurnaceEngineTileEntity;
|
2021-01-27 04:45:13 +01:00
|
|
|
import com.simibubi.create.content.contraptions.components.millstone.MillStoneCogInstance;
|
2020-05-23 14:02:38 +02:00
|
|
|
import com.simibubi.create.content.contraptions.components.millstone.MillstoneRenderer;
|
|
|
|
import com.simibubi.create.content.contraptions.components.millstone.MillstoneTileEntity;
|
2020-05-25 23:09:36 +02:00
|
|
|
import com.simibubi.create.content.contraptions.components.mixer.MechanicalMixerRenderer;
|
2020-05-28 01:29:26 +02:00
|
|
|
import com.simibubi.create.content.contraptions.components.mixer.MechanicalMixerTileEntity;
|
2021-03-10 00:46:15 +01:00
|
|
|
import com.simibubi.create.content.contraptions.components.mixer.MixerInstance;
|
2020-05-25 23:09:36 +02:00
|
|
|
import com.simibubi.create.content.contraptions.components.motor.CreativeMotorRenderer;
|
2020-05-28 01:29:26 +02:00
|
|
|
import com.simibubi.create.content.contraptions.components.motor.CreativeMotorTileEntity;
|
2020-05-25 23:09:36 +02:00
|
|
|
import com.simibubi.create.content.contraptions.components.press.MechanicalPressRenderer;
|
2020-05-28 01:29:26 +02:00
|
|
|
import com.simibubi.create.content.contraptions.components.press.MechanicalPressTileEntity;
|
2021-03-10 00:46:15 +01:00
|
|
|
import com.simibubi.create.content.contraptions.components.press.PressInstance;
|
2021-01-27 23:03:18 +01:00
|
|
|
import com.simibubi.create.content.contraptions.components.saw.SawInstance;
|
2020-05-25 23:09:36 +02:00
|
|
|
import com.simibubi.create.content.contraptions.components.saw.SawRenderer;
|
2020-05-28 01:29:26 +02:00
|
|
|
import com.simibubi.create.content.contraptions.components.saw.SawTileEntity;
|
2020-05-25 23:09:36 +02:00
|
|
|
import com.simibubi.create.content.contraptions.components.structureMovement.bearing.BearingRenderer;
|
2020-05-23 14:02:38 +02:00
|
|
|
import com.simibubi.create.content.contraptions.components.structureMovement.bearing.ClockworkBearingTileEntity;
|
|
|
|
import com.simibubi.create.content.contraptions.components.structureMovement.bearing.MechanicalBearingTileEntity;
|
2020-10-22 00:50:17 +02:00
|
|
|
import com.simibubi.create.content.contraptions.components.structureMovement.bearing.WindmillBearingTileEntity;
|
2020-05-23 14:02:38 +02:00
|
|
|
import com.simibubi.create.content.contraptions.components.structureMovement.chassis.ChassisTileEntity;
|
2021-03-08 09:36:23 +01:00
|
|
|
import com.simibubi.create.content.contraptions.components.structureMovement.chassis.StickerInstance;
|
2021-03-03 05:21:58 +01:00
|
|
|
import com.simibubi.create.content.contraptions.components.structureMovement.chassis.StickerRenderer;
|
|
|
|
import com.simibubi.create.content.contraptions.components.structureMovement.chassis.StickerTileEntity;
|
2021-03-12 15:51:25 +01:00
|
|
|
import com.simibubi.create.content.contraptions.components.structureMovement.gantry.GantryCarriageInstance;
|
2021-03-02 05:53:43 +01:00
|
|
|
import com.simibubi.create.content.contraptions.components.structureMovement.gantry.GantryCarriageRenderer;
|
|
|
|
import com.simibubi.create.content.contraptions.components.structureMovement.gantry.GantryCarriageTileEntity;
|
2020-05-23 14:02:38 +02:00
|
|
|
import com.simibubi.create.content.contraptions.components.structureMovement.mounted.CartAssemblerTileEntity;
|
2020-05-25 23:09:36 +02:00
|
|
|
import com.simibubi.create.content.contraptions.components.structureMovement.piston.MechanicalPistonRenderer;
|
2020-05-28 01:29:26 +02:00
|
|
|
import com.simibubi.create.content.contraptions.components.structureMovement.piston.MechanicalPistonTileEntity;
|
2020-05-23 14:02:38 +02:00
|
|
|
import com.simibubi.create.content.contraptions.components.structureMovement.pulley.PulleyRenderer;
|
|
|
|
import com.simibubi.create.content.contraptions.components.structureMovement.pulley.PulleyTileEntity;
|
|
|
|
import com.simibubi.create.content.contraptions.components.turntable.TurntableTileEntity;
|
|
|
|
import com.simibubi.create.content.contraptions.components.waterwheel.WaterWheelTileEntity;
|
2021-01-27 04:45:13 +01:00
|
|
|
import com.simibubi.create.content.contraptions.fluids.PumpCogInstance;
|
2020-06-15 02:25:33 +02:00
|
|
|
import com.simibubi.create.content.contraptions.fluids.PumpRenderer;
|
|
|
|
import com.simibubi.create.content.contraptions.fluids.PumpTileEntity;
|
2021-03-12 15:51:25 +01:00
|
|
|
import com.simibubi.create.content.contraptions.fluids.actors.*;
|
|
|
|
import com.simibubi.create.content.contraptions.fluids.pipes.*;
|
2020-10-30 02:16:08 +01:00
|
|
|
import com.simibubi.create.content.contraptions.fluids.tank.CreativeFluidTankTileEntity;
|
2020-08-25 20:12:33 +02:00
|
|
|
import com.simibubi.create.content.contraptions.fluids.tank.FluidTankRenderer;
|
|
|
|
import com.simibubi.create.content.contraptions.fluids.tank.FluidTankTileEntity;
|
2020-08-21 12:59:30 +02:00
|
|
|
import com.simibubi.create.content.contraptions.processing.BasinRenderer;
|
|
|
|
import com.simibubi.create.content.contraptions.processing.BasinTileEntity;
|
2020-07-23 17:41:15 +02:00
|
|
|
import com.simibubi.create.content.contraptions.processing.burner.BlazeBurnerRenderer;
|
|
|
|
import com.simibubi.create.content.contraptions.processing.burner.BlazeBurnerTileEntity;
|
2021-02-04 21:02:30 +01:00
|
|
|
import com.simibubi.create.content.contraptions.relays.advanced.GantryShaftTileEntity;
|
2020-05-23 14:02:38 +02:00
|
|
|
import com.simibubi.create.content.contraptions.relays.advanced.SpeedControllerRenderer;
|
|
|
|
import com.simibubi.create.content.contraptions.relays.advanced.SpeedControllerTileEntity;
|
|
|
|
import com.simibubi.create.content.contraptions.relays.advanced.sequencer.SequencedGearshiftTileEntity;
|
2021-01-27 04:45:13 +01:00
|
|
|
import com.simibubi.create.content.contraptions.relays.belt.BeltInstance;
|
2020-05-25 23:09:36 +02:00
|
|
|
import com.simibubi.create.content.contraptions.relays.belt.BeltRenderer;
|
2020-05-28 01:29:26 +02:00
|
|
|
import com.simibubi.create.content.contraptions.relays.belt.BeltTileEntity;
|
2020-05-23 14:02:38 +02:00
|
|
|
import com.simibubi.create.content.contraptions.relays.elementary.SimpleKineticTileEntity;
|
2021-03-12 15:51:25 +01:00
|
|
|
import com.simibubi.create.content.contraptions.relays.encased.*;
|
2021-03-15 22:20:13 +01:00
|
|
|
import com.simibubi.create.content.contraptions.relays.gauge.GaugeInstance;
|
2020-05-25 23:09:36 +02:00
|
|
|
import com.simibubi.create.content.contraptions.relays.gauge.GaugeRenderer;
|
2020-05-23 14:02:38 +02:00
|
|
|
import com.simibubi.create.content.contraptions.relays.gauge.SpeedGaugeTileEntity;
|
|
|
|
import com.simibubi.create.content.contraptions.relays.gauge.StressGaugeTileEntity;
|
2021-01-27 04:45:13 +01:00
|
|
|
import com.simibubi.create.content.contraptions.relays.gearbox.GearboxInstance;
|
2020-05-25 23:09:36 +02:00
|
|
|
import com.simibubi.create.content.contraptions.relays.gearbox.GearboxRenderer;
|
2020-05-28 01:29:26 +02:00
|
|
|
import com.simibubi.create.content.contraptions.relays.gearbox.GearboxTileEntity;
|
2020-05-23 14:02:38 +02:00
|
|
|
import com.simibubi.create.content.contraptions.relays.gearbox.GearshiftTileEntity;
|
2021-03-03 00:54:31 +01:00
|
|
|
import com.simibubi.create.content.logistics.block.belts.tunnel.BeltTunnelInstance;
|
2020-05-25 23:09:36 +02:00
|
|
|
import com.simibubi.create.content.logistics.block.belts.tunnel.BeltTunnelRenderer;
|
2020-05-28 01:29:26 +02:00
|
|
|
import com.simibubi.create.content.logistics.block.belts.tunnel.BeltTunnelTileEntity;
|
2020-07-08 22:24:33 +02:00
|
|
|
import com.simibubi.create.content.logistics.block.belts.tunnel.BrassTunnelTileEntity;
|
2020-07-02 17:23:42 +02:00
|
|
|
import com.simibubi.create.content.logistics.block.chute.ChuteRenderer;
|
|
|
|
import com.simibubi.create.content.logistics.block.chute.ChuteTileEntity;
|
2021-01-22 20:43:59 +01:00
|
|
|
import com.simibubi.create.content.logistics.block.chute.SmartChuteRenderer;
|
|
|
|
import com.simibubi.create.content.logistics.block.chute.SmartChuteTileEntity;
|
2020-06-27 15:20:22 +02:00
|
|
|
import com.simibubi.create.content.logistics.block.depot.DepotRenderer;
|
|
|
|
import com.simibubi.create.content.logistics.block.depot.DepotTileEntity;
|
2020-05-23 14:02:38 +02:00
|
|
|
import com.simibubi.create.content.logistics.block.diodes.AdjustablePulseRepeaterTileEntity;
|
2021-03-21 00:30:09 +01:00
|
|
|
import com.simibubi.create.content.logistics.block.diodes.AdjustableRepeaterInstance;
|
2020-05-23 14:02:38 +02:00
|
|
|
import com.simibubi.create.content.logistics.block.diodes.AdjustableRepeaterRenderer;
|
|
|
|
import com.simibubi.create.content.logistics.block.diodes.AdjustableRepeaterTileEntity;
|
2021-03-03 00:54:31 +01:00
|
|
|
import com.simibubi.create.content.logistics.block.funnel.FunnelInstance;
|
2020-07-08 13:41:55 +02:00
|
|
|
import com.simibubi.create.content.logistics.block.funnel.FunnelRenderer;
|
|
|
|
import com.simibubi.create.content.logistics.block.funnel.FunnelTileEntity;
|
2020-05-23 14:02:38 +02:00
|
|
|
import com.simibubi.create.content.logistics.block.inventories.AdjustableCrateTileEntity;
|
|
|
|
import com.simibubi.create.content.logistics.block.inventories.CreativeCrateTileEntity;
|
2021-01-27 04:45:13 +01:00
|
|
|
import com.simibubi.create.content.logistics.block.mechanicalArm.ArmInstance;
|
2020-06-16 12:54:24 +02:00
|
|
|
import com.simibubi.create.content.logistics.block.mechanicalArm.ArmRenderer;
|
|
|
|
import com.simibubi.create.content.logistics.block.mechanicalArm.ArmTileEntity;
|
2021-03-12 15:51:25 +01:00
|
|
|
import com.simibubi.create.content.logistics.block.redstone.*;
|
2020-05-23 14:02:38 +02:00
|
|
|
import com.simibubi.create.content.schematics.block.SchematicTableTileEntity;
|
2021-03-10 22:44:04 +01:00
|
|
|
import com.simibubi.create.content.schematics.block.SchematicannonInstance;
|
2020-05-23 14:02:38 +02:00
|
|
|
import com.simibubi.create.content.schematics.block.SchematicannonRenderer;
|
|
|
|
import com.simibubi.create.content.schematics.block.SchematicannonTileEntity;
|
|
|
|
import com.simibubi.create.foundation.tileEntity.renderer.SmartTileEntityRenderer;
|
2020-06-01 06:33:08 +02:00
|
|
|
import com.tterrag.registrate.util.entry.TileEntityEntry;
|
2019-07-11 19:55:11 +02:00
|
|
|
|
2020-06-01 06:33:08 +02:00
|
|
|
public class AllTileEntities {
|
2019-07-11 19:55:11 +02:00
|
|
|
|
2019-08-06 18:13:33 +02:00
|
|
|
// Schematics
|
2020-08-21 12:59:30 +02:00
|
|
|
public static final TileEntityEntry<SchematicannonTileEntity> SCHEMATICANNON = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("schematicannon", SchematicannonTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> SchematicannonInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.SCHEMATICANNON)
|
|
|
|
.renderer(() -> SchematicannonRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<SchematicTableTileEntity> SCHEMATIC_TABLE = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("schematic_table", SchematicTableTileEntity::new)
|
|
|
|
.validBlocks(AllBlocks.SCHEMATIC_TABLE)
|
|
|
|
.register();
|
2019-07-11 19:55:11 +02:00
|
|
|
|
2019-08-06 18:13:33 +02:00
|
|
|
// Kinetics
|
2020-08-21 12:59:30 +02:00
|
|
|
public static final TileEntityEntry<SimpleKineticTileEntity> SIMPLE_KINETIC = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("simple_kinetic", SimpleKineticTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> SingleRotatingInstance::new)
|
2020-12-02 21:49:57 +01:00
|
|
|
.validBlocks(AllBlocks.SHAFT, AllBlocks.COGWHEEL, AllBlocks.LARGE_COGWHEEL)
|
2020-09-24 13:39:12 +02:00
|
|
|
.renderer(() -> KineticTileEntityRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<CreativeMotorTileEntity> MOTOR = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("motor", CreativeMotorTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> HalfShaftInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.CREATIVE_MOTOR)
|
|
|
|
.renderer(() -> CreativeMotorRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<GearboxTileEntity> GEARBOX = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("gearbox", GearboxTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> GearboxInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.GEARBOX)
|
|
|
|
.renderer(() -> GearboxRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<EncasedShaftTileEntity> ENCASED_SHAFT = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("encased_shaft", EncasedShaftTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> ShaftInstance::new)
|
2020-12-11 19:36:13 +01:00
|
|
|
.validBlocks(AllBlocks.ANDESITE_ENCASED_SHAFT, AllBlocks.BRASS_ENCASED_SHAFT, AllBlocks.ENCASED_CHAIN_DRIVE)
|
2020-09-24 13:39:12 +02:00
|
|
|
.renderer(() -> EncasedShaftRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<AdjustablePulleyTileEntity> ADJUSTABLE_PULLEY = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("adjustable_pulley", AdjustablePulleyTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> ShaftInstance::new)
|
2020-12-11 19:36:13 +01:00
|
|
|
.validBlocks(AllBlocks.ADJUSTABLE_CHAIN_GEARSHIFT)
|
2020-09-24 13:39:12 +02:00
|
|
|
.renderer(() -> EncasedShaftRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<EncasedFanTileEntity> ENCASED_FAN = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("encased_fan", EncasedFanTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> FanInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.ENCASED_FAN)
|
|
|
|
.renderer(() -> EncasedFanRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<NozzleTileEntity> NOZZLE = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("nozzle", NozzleTileEntity::new)
|
|
|
|
.validBlocks(AllBlocks.NOZZLE)
|
|
|
|
// .renderer(() -> renderer)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<ClutchTileEntity> CLUTCH = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("clutch", ClutchTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> SplitShaftInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.CLUTCH)
|
|
|
|
.renderer(() -> SplitShaftRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<GearshiftTileEntity> GEARSHIFT = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("gearshift", GearshiftTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> SplitShaftInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.GEARSHIFT)
|
|
|
|
.renderer(() -> SplitShaftRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<TurntableTileEntity> TURNTABLE = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("turntable", TurntableTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> SingleRotatingInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.TURNTABLE)
|
|
|
|
.renderer(() -> KineticTileEntityRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<HandCrankTileEntity> HAND_CRANK = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("hand_crank", HandCrankTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> HandCrankInstance::new)
|
2020-10-12 16:03:26 +02:00
|
|
|
.validBlocks(AllBlocks.HAND_CRANK, AllBlocks.COPPER_VALVE_HANDLE)
|
|
|
|
.validBlocks(AllBlocks.DYED_VALVE_HANDLES)
|
2020-09-24 13:39:12 +02:00
|
|
|
.renderer(() -> HandCrankRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<CuckooClockTileEntity> CUCKOO_CLOCK = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("cuckoo_clock", CuckooClockTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> HorizontalHalfShaftInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.CUCKOO_CLOCK, AllBlocks.MYSTERIOUS_CUCKOO_CLOCK)
|
|
|
|
.renderer(() -> CuckooClockRenderer::new)
|
|
|
|
.register();
|
2021-02-04 21:02:30 +01:00
|
|
|
|
|
|
|
public static final TileEntityEntry<GantryShaftTileEntity> GANTRY_SHAFT = Create.registrate()
|
|
|
|
.tileEntity("gantry_shaft", GantryShaftTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> SingleRotatingInstance::new)
|
2021-02-04 21:02:30 +01:00
|
|
|
.validBlocks(AllBlocks.GANTRY_SHAFT)
|
|
|
|
.renderer(() -> KineticTileEntityRenderer::new)
|
|
|
|
.register();
|
|
|
|
|
2021-03-02 05:53:43 +01:00
|
|
|
public static final TileEntityEntry<GantryCarriageTileEntity> GANTRY_PINION = Create.registrate()
|
|
|
|
.tileEntity("gantry_pinion", GantryCarriageTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> GantryCarriageInstance::new)
|
2021-03-02 05:53:43 +01:00
|
|
|
.validBlocks(AllBlocks.GANTRY_CARRIAGE)
|
|
|
|
.renderer(() -> GantryCarriageRenderer::new)
|
2021-02-04 21:02:30 +01:00
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<PumpTileEntity> MECHANICAL_PUMP = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("mechanical_pump", PumpTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> PumpCogInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.MECHANICAL_PUMP)
|
|
|
|
.renderer(() -> PumpRenderer::new)
|
|
|
|
.register();
|
2020-10-30 02:16:08 +01:00
|
|
|
|
2020-10-17 18:20:05 +02:00
|
|
|
public static final TileEntityEntry<SmartFluidPipeTileEntity> SMART_FLUID_PIPE = Create.registrate()
|
|
|
|
.tileEntity("smart_fluid_pipe", SmartFluidPipeTileEntity::new)
|
|
|
|
.validBlocks(AllBlocks.SMART_FLUID_PIPE)
|
|
|
|
.renderer(() -> SmartTileEntityRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
2020-08-24 21:02:03 +02:00
|
|
|
public static final TileEntityEntry<FluidPipeTileEntity> FLUID_PIPE = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("fluid_pipe", FluidPipeTileEntity::new)
|
|
|
|
.validBlocks(AllBlocks.FLUID_PIPE)
|
|
|
|
.register();
|
2020-08-28 21:24:08 +02:00
|
|
|
|
2020-12-03 23:49:12 +01:00
|
|
|
public static final TileEntityEntry<FluidPipeTileEntity> ENCASED_FLUID_PIPE = Create.registrate()
|
|
|
|
.tileEntity("encased_fluid_pipe", FluidPipeTileEntity::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.ENCASED_FLUID_PIPE)
|
|
|
|
.register();
|
2020-08-28 21:24:08 +02:00
|
|
|
|
2020-08-25 20:12:33 +02:00
|
|
|
public static final TileEntityEntry<StraightPipeTileEntity> GLASS_FLUID_PIPE = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("glass_fluid_pipe", StraightPipeTileEntity::new)
|
|
|
|
.validBlocks(AllBlocks.GLASS_FLUID_PIPE)
|
|
|
|
.renderer(() -> TransparentStraightPipeRenderer::new)
|
|
|
|
.register();
|
2020-10-30 02:16:08 +01:00
|
|
|
|
2020-09-25 17:22:16 +02:00
|
|
|
public static final TileEntityEntry<FluidValveTileEntity> FLUID_VALVE = Create.registrate()
|
|
|
|
.tileEntity("fluid_valve", FluidValveTileEntity::new)
|
2021-03-15 22:20:13 +01:00
|
|
|
.instance(() -> FluidValveInstance::new)
|
2020-09-25 17:22:16 +02:00
|
|
|
.validBlocks(AllBlocks.FLUID_VALVE)
|
|
|
|
.renderer(() -> FluidValveRenderer::new)
|
|
|
|
.register();
|
2020-08-28 21:24:08 +02:00
|
|
|
|
2020-08-21 12:59:30 +02:00
|
|
|
public static final TileEntityEntry<FluidTankTileEntity> FLUID_TANK = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("fluid_tank", FluidTankTileEntity::new)
|
|
|
|
.validBlocks(AllBlocks.FLUID_TANK)
|
|
|
|
.renderer(() -> FluidTankRenderer::new)
|
|
|
|
.register();
|
|
|
|
|
2020-10-30 02:16:08 +01:00
|
|
|
public static final TileEntityEntry<CreativeFluidTankTileEntity> CREATIVE_FLUID_TANK = Create.registrate()
|
|
|
|
.tileEntity("creative_fluid_tank", CreativeFluidTankTileEntity::new)
|
|
|
|
.validBlocks(AllBlocks.CREATIVE_FLUID_TANK)
|
|
|
|
.renderer(() -> FluidTankRenderer::new)
|
|
|
|
.register();
|
|
|
|
|
|
|
|
public static final TileEntityEntry<HosePulleyTileEntity> HOSE_PULLEY = Create.registrate()
|
|
|
|
.tileEntity("hose_pulley", HosePulleyTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> ShaftInstance::new)
|
2020-10-30 02:16:08 +01:00
|
|
|
.validBlocks(AllBlocks.HOSE_PULLEY)
|
|
|
|
.renderer(() -> HosePulleyRenderer::new)
|
|
|
|
.register();
|
|
|
|
|
2020-08-28 22:45:27 +02:00
|
|
|
public static final TileEntityEntry<SpoutTileEntity> SPOUT = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("spout", SpoutTileEntity::new)
|
|
|
|
.validBlocks(AllBlocks.SPOUT)
|
|
|
|
.renderer(() -> SpoutRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
2020-10-30 19:28:33 +01:00
|
|
|
public static final TileEntityEntry<ItemDrainTileEntity> ITEM_DRAIN = Create.registrate()
|
|
|
|
.tileEntity("item_drain", ItemDrainTileEntity::new)
|
|
|
|
.validBlocks(AllBlocks.ITEM_DRAIN)
|
|
|
|
.renderer(() -> ItemDrainRenderer::new)
|
|
|
|
.register();
|
|
|
|
|
2020-08-21 12:59:30 +02:00
|
|
|
public static final TileEntityEntry<BeltTileEntity> BELT = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("belt", BeltTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> BeltInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.BELT)
|
|
|
|
.renderer(() -> BeltRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<ChuteTileEntity> CHUTE = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("chute", ChuteTileEntity::new)
|
|
|
|
.validBlocks(AllBlocks.CHUTE)
|
|
|
|
.renderer(() -> ChuteRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
2021-01-22 20:43:59 +01:00
|
|
|
public static final TileEntityEntry<SmartChuteTileEntity> SMART_CHUTE = Create.registrate()
|
|
|
|
.tileEntity("smart_chute", SmartChuteTileEntity::new)
|
|
|
|
.validBlocks(AllBlocks.SMART_CHUTE)
|
|
|
|
.renderer(() -> SmartChuteRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<BeltTunnelTileEntity> ANDESITE_TUNNEL = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("andesite_tunnel", BeltTunnelTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> BeltTunnelInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.ANDESITE_TUNNEL)
|
|
|
|
.renderer(() -> BeltTunnelRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<BrassTunnelTileEntity> BRASS_TUNNEL = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("brass_tunnel", BrassTunnelTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> BeltTunnelInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.BRASS_TUNNEL)
|
|
|
|
.renderer(() -> BeltTunnelRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<ArmTileEntity> MECHANICAL_ARM = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("mechanical_arm", ArmTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> ArmInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.MECHANICAL_ARM)
|
|
|
|
.renderer(() -> ArmRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<MechanicalPistonTileEntity> MECHANICAL_PISTON = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("mechanical_piston", MechanicalPistonTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> ShaftInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.MECHANICAL_PISTON, AllBlocks.STICKY_MECHANICAL_PISTON)
|
|
|
|
.renderer(() -> MechanicalPistonRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
2020-10-22 00:50:17 +02:00
|
|
|
public static final TileEntityEntry<WindmillBearingTileEntity> WINDMILL_BEARING = Create.registrate()
|
|
|
|
.tileEntity("windmill_bearing", WindmillBearingTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> BackHalfShaftInstance::new)
|
2020-10-22 00:50:17 +02:00
|
|
|
.validBlocks(AllBlocks.WINDMILL_BEARING)
|
|
|
|
.renderer(() -> BearingRenderer::new)
|
|
|
|
.register();
|
2020-10-30 02:16:08 +01:00
|
|
|
|
2020-08-21 12:59:30 +02:00
|
|
|
public static final TileEntityEntry<MechanicalBearingTileEntity> MECHANICAL_BEARING = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("mechanical_bearing", MechanicalBearingTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> BackHalfShaftInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.MECHANICAL_BEARING)
|
|
|
|
.renderer(() -> BearingRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<ClockworkBearingTileEntity> CLOCKWORK_BEARING = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("clockwork_bearing", ClockworkBearingTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> BackHalfShaftInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.CLOCKWORK_BEARING)
|
|
|
|
.renderer(() -> BearingRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<PulleyTileEntity> ROPE_PULLEY = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("rope_pulley", PulleyTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> ShaftInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.ROPE_PULLEY)
|
|
|
|
.renderer(() -> PulleyRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<ChassisTileEntity> CHASSIS = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("chassis", ChassisTileEntity::new)
|
|
|
|
.validBlocks(AllBlocks.RADIAL_CHASSIS, AllBlocks.LINEAR_CHASSIS, AllBlocks.SECONDARY_LINEAR_CHASSIS)
|
|
|
|
// .renderer(() -> renderer)
|
|
|
|
.register();
|
2021-03-03 05:21:58 +01:00
|
|
|
|
|
|
|
public static final TileEntityEntry<StickerTileEntity> STICKER = Create.registrate()
|
|
|
|
.tileEntity("sticker", StickerTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> StickerInstance::new)
|
2021-03-03 05:21:58 +01:00
|
|
|
.validBlocks(AllBlocks.STICKER)
|
|
|
|
.renderer(() -> StickerRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<DrillTileEntity> DRILL = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("drill", DrillTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> DrillInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.MECHANICAL_DRILL)
|
|
|
|
.renderer(() -> DrillRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<SawTileEntity> SAW = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("saw", SawTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> SawInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.MECHANICAL_SAW)
|
|
|
|
.renderer(() -> SawRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<HarvesterTileEntity> HARVESTER = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("harvester", HarvesterTileEntity::new)
|
|
|
|
.validBlocks(AllBlocks.MECHANICAL_HARVESTER)
|
|
|
|
.renderer(() -> HarvesterRenderer::new)
|
|
|
|
.register();
|
|
|
|
|
2020-11-25 18:54:59 +01:00
|
|
|
public static final TileEntityEntry<PortableItemInterfaceTileEntity> PORTABLE_STORAGE_INTERFACE =
|
2020-09-24 13:39:12 +02:00
|
|
|
Create.registrate()
|
2020-11-25 18:54:59 +01:00
|
|
|
.tileEntity("portable_storage_interface", PortableItemInterfaceTileEntity::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.PORTABLE_STORAGE_INTERFACE)
|
|
|
|
.renderer(() -> PortableStorageInterfaceRenderer::new)
|
2020-08-21 12:59:30 +02:00
|
|
|
.register();
|
|
|
|
|
2020-11-25 18:54:59 +01:00
|
|
|
public static final TileEntityEntry<PortableFluidInterfaceTileEntity> PORTABLE_FLUID_INTERFACE = Create.registrate()
|
|
|
|
.tileEntity("portable_fluid_interface", PortableFluidInterfaceTileEntity::new)
|
|
|
|
.validBlocks(AllBlocks.PORTABLE_FLUID_INTERFACE)
|
|
|
|
.renderer(() -> PortableStorageInterfaceRenderer::new)
|
|
|
|
.register();
|
|
|
|
|
2020-08-21 12:59:30 +02:00
|
|
|
public static final TileEntityEntry<FlywheelTileEntity> FLYWHEEL = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("flywheel", FlywheelTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> FlyWheelInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.FLYWHEEL)
|
|
|
|
.renderer(() -> FlywheelRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<FurnaceEngineTileEntity> FURNACE_ENGINE = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("furnace_engine", FurnaceEngineTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> EngineInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.FURNACE_ENGINE)
|
|
|
|
.renderer(() -> EngineRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<MillstoneTileEntity> MILLSTONE = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("millstone", MillstoneTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> MillStoneCogInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.MILLSTONE)
|
|
|
|
.renderer(() -> MillstoneRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<CrushingWheelTileEntity> CRUSHING_WHEEL = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("crushing_wheel", CrushingWheelTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> SingleRotatingInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.CRUSHING_WHEEL)
|
|
|
|
.renderer(() -> KineticTileEntityRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
2020-09-24 13:39:12 +02:00
|
|
|
public static final TileEntityEntry<CrushingWheelControllerTileEntity> CRUSHING_WHEEL_CONTROLLER =
|
|
|
|
Create.registrate()
|
2020-08-28 21:24:08 +02:00
|
|
|
.tileEntity("crushing_wheel_controller", CrushingWheelControllerTileEntity::new)
|
2020-08-21 12:59:30 +02:00
|
|
|
.validBlocks(AllBlocks.CRUSHING_WHEEL_CONTROLLER)
|
2020-09-24 13:39:12 +02:00
|
|
|
// .renderer(() -> renderer)
|
2020-08-21 12:59:30 +02:00
|
|
|
.register();
|
|
|
|
|
|
|
|
public static final TileEntityEntry<WaterWheelTileEntity> WATER_WHEEL = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("water_wheel", WaterWheelTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> SingleRotatingInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.WATER_WHEEL)
|
|
|
|
.renderer(() -> KineticTileEntityRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<MechanicalPressTileEntity> MECHANICAL_PRESS = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("mechanical_press", MechanicalPressTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> PressInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.MECHANICAL_PRESS)
|
|
|
|
.renderer(() -> MechanicalPressRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<MechanicalMixerTileEntity> MECHANICAL_MIXER = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("mechanical_mixer", MechanicalMixerTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> MixerInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.MECHANICAL_MIXER)
|
|
|
|
.renderer(() -> MechanicalMixerRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<DeployerTileEntity> DEPLOYER = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("deployer", DeployerTileEntity::new)
|
2021-03-16 23:52:37 +01:00
|
|
|
.instance(() -> DeployerInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.DEPLOYER)
|
|
|
|
.renderer(() -> DeployerRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<BasinTileEntity> BASIN = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("basin", BasinTileEntity::new)
|
|
|
|
.validBlocks(AllBlocks.BASIN)
|
|
|
|
.renderer(() -> BasinRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<BlazeBurnerTileEntity> HEATER = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("blaze_heater", BlazeBurnerTileEntity::new)
|
|
|
|
.validBlocks(AllBlocks.BLAZE_BURNER)
|
|
|
|
.renderer(() -> BlazeBurnerRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<MechanicalCrafterTileEntity> MECHANICAL_CRAFTER = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("mechanical_crafter", MechanicalCrafterTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> MechanicalCrafterInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.MECHANICAL_CRAFTER)
|
|
|
|
.renderer(() -> MechanicalCrafterRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<SequencedGearshiftTileEntity> SEQUENCED_GEARSHIFT = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("sequenced_gearshift", SequencedGearshiftTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> SplitShaftInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.SEQUENCED_GEARSHIFT)
|
|
|
|
.renderer(() -> SplitShaftRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<SpeedControllerTileEntity> ROTATION_SPEED_CONTROLLER = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("rotation_speed_controller", SpeedControllerTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> ShaftInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.ROTATION_SPEED_CONTROLLER)
|
|
|
|
.renderer(() -> SpeedControllerRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<SpeedGaugeTileEntity> SPEEDOMETER = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("speedometer", SpeedGaugeTileEntity::new)
|
2021-03-15 22:20:13 +01:00
|
|
|
.instance(() -> GaugeInstance.Speed::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.SPEEDOMETER)
|
|
|
|
.renderer(() -> GaugeRenderer::speed)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<StressGaugeTileEntity> STRESSOMETER = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("stressometer", StressGaugeTileEntity::new)
|
2021-03-15 22:20:13 +01:00
|
|
|
.instance(() -> GaugeInstance.Stress::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.STRESSOMETER)
|
|
|
|
.renderer(() -> GaugeRenderer::stress)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<AnalogLeverTileEntity> ANALOG_LEVER = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("analog_lever", AnalogLeverTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> AnalogLeverInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.ANALOG_LEVER)
|
|
|
|
.renderer(() -> AnalogLeverRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<CartAssemblerTileEntity> CART_ASSEMBLER = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("cart_assembler", CartAssemblerTileEntity::new)
|
|
|
|
.validBlocks(AllBlocks.CART_ASSEMBLER)
|
|
|
|
// .renderer(() -> renderer)
|
|
|
|
.register();
|
2019-08-17 00:57:36 +02:00
|
|
|
|
2019-08-25 10:14:15 +02:00
|
|
|
// Logistics
|
2020-08-21 12:59:30 +02:00
|
|
|
public static final TileEntityEntry<RedstoneLinkTileEntity> REDSTONE_LINK = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("redstone_link", RedstoneLinkTileEntity::new)
|
|
|
|
.validBlocks(AllBlocks.REDSTONE_LINK)
|
|
|
|
.renderer(() -> SmartTileEntityRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<NixieTubeTileEntity> NIXIE_TUBE = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("nixie_tube", NixieTubeTileEntity::new)
|
|
|
|
.validBlocks(AllBlocks.NIXIE_TUBE)
|
|
|
|
.renderer(() -> NixieTubeRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<StockpileSwitchTileEntity> STOCKPILE_SWITCH = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("stockpile_switch", StockpileSwitchTileEntity::new)
|
|
|
|
.validBlocks(AllBlocks.STOCKPILE_SWITCH)
|
|
|
|
.renderer(() -> SmartTileEntityRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<AdjustableCrateTileEntity> ADJUSTABLE_CRATE = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("adjustable_crate", AdjustableCrateTileEntity::new)
|
|
|
|
.validBlocks(AllBlocks.ADJUSTABLE_CRATE)
|
|
|
|
// .renderer(() -> renderer)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<CreativeCrateTileEntity> CREATIVE_CRATE = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("creative_crate", CreativeCrateTileEntity::new)
|
|
|
|
.validBlocks(AllBlocks.CREATIVE_CRATE)
|
|
|
|
.renderer(() -> SmartTileEntityRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<DepotTileEntity> DEPOT = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("depot", DepotTileEntity::new)
|
|
|
|
.validBlocks(AllBlocks.DEPOT)
|
|
|
|
.renderer(() -> DepotRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<FunnelTileEntity> FUNNEL = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("funnel", FunnelTileEntity::new)
|
2021-03-14 05:45:24 +01:00
|
|
|
.instance(() -> FunnelInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.BRASS_FUNNEL, AllBlocks.BRASS_BELT_FUNNEL, AllBlocks.ANDESITE_FUNNEL,
|
|
|
|
AllBlocks.ANDESITE_BELT_FUNNEL)
|
|
|
|
.renderer(() -> FunnelRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
2020-09-20 21:34:36 +02:00
|
|
|
public static final TileEntityEntry<ContentObserverTileEntity> CONTENT_OBSERVER = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("content_observer", ContentObserverTileEntity::new)
|
|
|
|
.validBlocks(AllBlocks.CONTENT_OBSERVER)
|
|
|
|
.renderer(() -> SmartTileEntityRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
|
|
|
public static final TileEntityEntry<AdjustableRepeaterTileEntity> ADJUSTABLE_REPEATER = Create.registrate()
|
2020-09-24 13:39:12 +02:00
|
|
|
.tileEntity("adjustable_repeater", AdjustableRepeaterTileEntity::new)
|
2021-03-21 00:30:09 +01:00
|
|
|
.instance(() -> AdjustableRepeaterInstance::new)
|
2020-09-24 13:39:12 +02:00
|
|
|
.validBlocks(AllBlocks.ADJUSTABLE_REPEATER)
|
|
|
|
.renderer(() -> AdjustableRepeaterRenderer::new)
|
|
|
|
.register();
|
2020-08-21 12:59:30 +02:00
|
|
|
|
2020-09-24 13:39:12 +02:00
|
|
|
public static final TileEntityEntry<AdjustablePulseRepeaterTileEntity> ADJUSTABLE_PULSE_REPEATER =
|
|
|
|
Create.registrate()
|
2020-08-28 21:24:08 +02:00
|
|
|
.tileEntity("adjustable_pulse_repeater", AdjustablePulseRepeaterTileEntity::new)
|
2021-03-21 00:30:09 +01:00
|
|
|
.instance(() -> AdjustableRepeaterInstance::new)
|
2020-08-21 12:59:30 +02:00
|
|
|
.validBlocks(AllBlocks.ADJUSTABLE_PULSE_REPEATER)
|
|
|
|
.renderer(() -> AdjustableRepeaterRenderer::new)
|
|
|
|
.register();
|
2020-06-05 23:26:22 +02:00
|
|
|
|
2020-09-24 13:39:12 +02:00
|
|
|
public static void register() {}
|
2019-07-11 19:55:11 +02:00
|
|
|
}
|