Class AbstractBellBlockEntity

java.lang.Object
net.neoforged.neoforge.attachment.AttachmentHolder
All Implemented Interfaces:
PartialSafeNBT, SpecialBlockEntityItemRequirement, IInteractionChecker, net.createmod.ponder.api.VirtualBlockEntity, net.neoforged.neoforge.attachment.IAttachmentHolder, net.neoforged.neoforge.common.extensions.IBlockEntityExtension
Direct Known Subclasses:
HauntedBellBlockEntity, PeculiarBellBlockEntity

public abstract class AbstractBellBlockEntity extends SmartBlockEntity
  • Field Details

    • RING_DURATION

      public static final int RING_DURATION
      See Also:
    • isRinging

      public boolean isRinging
    • ringingTicks

      public int ringingTicks
    • ringDirection

      public net.minecraft.core.Direction ringDirection
  • Constructor Details

    • AbstractBellBlockEntity

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

    • addBehaviours

      public void addBehaviours(List<BlockEntityBehaviour> behaviours)
      Specified by:
      addBehaviours in class SmartBlockEntity
    • ring

      public boolean ring(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction direction)
    • tick

      public void tick()
      Overrides:
      tick in class SmartBlockEntity
    • write

      protected void write(net.minecraft.nbt.CompoundTag tag, net.minecraft.core.HolderLookup.Provider registries, boolean clientPacket)
      Description copied from class: SmartBlockEntity
      Hook only these in future subclasses of STE
      Overrides:
      write in class SmartBlockEntity
    • read

      protected void read(net.minecraft.nbt.CompoundTag tag, net.minecraft.core.HolderLookup.Provider registries, boolean clientPacket)
      Description copied from class: SmartBlockEntity
      Hook only these in future subclasses of STE
      Overrides:
      read in class SmartBlockEntity
    • getBellModel

      public abstract dev.engine_room.flywheel.lib.model.baked.PartialModel getBellModel()