Class HauntedBellBlockEntity

All Implemented Interfaces:
PartialSafeNBT, SpecialBlockEntityItemRequirement, IInteractionChecker, net.createmod.ponder.api.VirtualBlockEntity, net.neoforged.neoforge.attachment.IAttachmentHolder, net.neoforged.neoforge.common.extensions.IBlockEntityExtension

public class HauntedBellBlockEntity extends AbstractBellBlockEntity
  • Field Details

  • Constructor Details

    • HauntedBellBlockEntity

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

    • getBellModel

      public dev.engine_room.flywheel.lib.model.baked.PartialModel getBellModel()
      Specified by:
      getBellModel in class AbstractBellBlockEntity
    • ring

      public boolean ring(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction direction)
      Overrides:
      ring in class AbstractBellBlockEntity
    • write

      protected void write(net.minecraft.nbt.CompoundTag compound, 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 AbstractBellBlockEntity
    • read

      protected void read(net.minecraft.nbt.CompoundTag compound, 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 AbstractBellBlockEntity
    • tick

      public void tick()
      Overrides:
      tick in class AbstractBellBlockEntity
    • spawnParticle

      protected void spawnParticle(net.minecraft.util.RandomSource rand)
    • playSound

      protected void playSound(net.minecraft.util.RandomSource rand)