Class TTickableTile

java.lang.Object
net.neoforged.neoforge.attachment.AttachmentHolder
net.minecraft.world.level.block.entity.BlockEntity
codechicken.multipart.block.TileMultipart
codechicken.multipart.trait.TTickableTile
All Implemented Interfaces:
codechicken.lib.world.IChunkLoadTile, TickableTile, net.neoforged.neoforge.attachment.IAttachmentHolder, net.neoforged.neoforge.common.extensions.IBlockEntityExtension

public class TTickableTile extends TileMultipart implements TickableTile
Created by covers1624 on 18/9/20.
  • Constructor Details

    • TTickableTile

      public TTickableTile(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
  • Method Details

    • copyFrom

      public void copyFrom(TileMultipart that)
      Description copied from class: TileMultipart
      This method should be used for copying all the data from the fields in that container tile. This method will be automatically generated on java tile traits with fields if it is not overridden.
      Overrides:
      copyFrom in class TileMultipart
    • bindPart

      public void bindPart(MultiPart part)
      Description copied from class: TileMultipart
      Bind this part to an internal cache.

      Provided for trait overrides, do not call externally.

      Overrides:
      bindPart in class TileMultipart
    • partRemoved

      public void partRemoved(MultiPart part, int p)
      Description copied from class: TileMultipart
      Remove this part from internal cache.

      Provided for trait overrides, do not call externally.

      Overrides:
      partRemoved in class TileMultipart
    • clearParts

      public void clearParts()
      Description copied from class: TileMultipart
      Remove all parts from internal cache.

      Provided for trait overrides, do not call externally.

      Overrides:
      clearParts in class TileMultipart
    • tick

      public void tick()
      Specified by:
      tick in interface TickableTile