java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<net.minecraft.world.level.block.entity.BlockEntity>
net.minecraft.world.level.block.entity.BlockEntity
com.simibubi.create.foundation.tileEntity.SyncedTileEntity
com.simibubi.create.foundation.tileEntity.SmartTileEntity
com.simibubi.create.content.contraptions.components.structureMovement.mounted.CartAssemblerTileEntity
All Implemented Interfaces:
IDisplayAssemblyExceptions, IInteractionChecker, IPartialSafeNBT, net.minecraftforge.common.capabilities.ICapabilityProvider, net.minecraftforge.common.capabilities.ICapabilityProviderImpl<net.minecraft.world.level.block.entity.BlockEntity>, net.minecraftforge.common.capabilities.ICapabilitySerializable<net.minecraft.nbt.CompoundTag>, net.minecraftforge.common.extensions.IForgeBlockEntity, net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>

public class CartAssemblerTileEntity extends SmartTileEntity implements IDisplayAssemblyExceptions
  • Field Details

  • Constructor Details

    • CartAssemblerTileEntity

      public CartAssemblerTileEntity(net.minecraft.world.level.block.entity.BlockEntityType<?> type, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
  • Method Details

    • tick

      public void tick()
      Overrides:
      tick in class SmartTileEntity
    • tryAssemble

      public void tryAssemble(net.minecraft.world.entity.vehicle.AbstractMinecart cart)
    • assemble

      protected void assemble(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.vehicle.AbstractMinecart cart)
    • disassemble

      protected void disassemble(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.vehicle.AbstractMinecart cart)
    • disassembleCart

      protected void disassembleCart(net.minecraft.world.entity.vehicle.AbstractMinecart cart)
    • addBehaviours

      public void addBehaviours(List<TileEntityBehaviour> behaviours)
      Specified by:
      addBehaviours in class SmartTileEntity
    • write

      public void write(net.minecraft.nbt.CompoundTag compound, boolean clientPacket)
      Description copied from class: SmartTileEntity
      Hook only these in future subclasses of STE
      Overrides:
      write in class SmartTileEntity
    • read

      protected void read(net.minecraft.nbt.CompoundTag compound, boolean clientPacket)
      Description copied from class: SmartTileEntity
      Hook only these in future subclasses of STE
      Overrides:
      read in class SmartTileEntity
    • getLastAssemblyException

      public AssemblyException getLastAssemblyException()
      Specified by:
      getLastAssemblyException in interface IDisplayAssemblyExceptions
    • getMovementModeSlot

      protected ValueBoxTransform getMovementModeSlot()
    • resetTicksSinceMinecartUpdate

      public void resetTicksSinceMinecartUpdate()
    • assembleNextTick

      public void assembleNextTick(net.minecraft.world.entity.vehicle.AbstractMinecart cart)
    • isMinecartUpdateValid

      public boolean isMinecartUpdateValid()