Class LinkWithBulbBlockEntity

java.lang.Object
net.neoforged.neoforge.attachment.AttachmentHolder
net.minecraft.world.level.block.entity.BlockEntity
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:
DisplayLinkBlockEntity, PackagerLinkBlockEntity

public abstract class LinkWithBulbBlockEntity extends SmartBlockEntity
  • Constructor Details

    • LinkWithBulbBlockEntity

      public LinkWithBulbBlockEntity(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 SmartBlockEntity
    • getGlow

      public float getGlow(float partialTicks)
    • sendPulseNextSync

      public void sendPulseNextSync()
    • pulse

      public void pulse()
    • 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
    • getBulbOffset

      public net.minecraft.world.phys.Vec3 getBulbOffset(net.minecraft.world.level.block.state.BlockState state)
    • getBulbFacing

      public net.minecraft.core.Direction getBulbFacing(net.minecraft.world.level.block.state.BlockState state)