Class SlidingDoorBlockEntity

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

public class SlidingDoorBlockEntity extends SmartBlockEntity
  • Constructor Details

    • SlidingDoorBlockEntity

      public SlidingDoorBlockEntity(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
    • createRenderBoundingBox

      protected net.minecraft.world.phys.AABB createRenderBoundingBox()
      Overrides:
      createRenderBoundingBox in class CachedRenderBBBlockEntity
    • isVisible

      protected boolean isVisible(net.minecraft.world.level.block.state.BlockState state)
    • shouldRenderSpecial

      protected boolean shouldRenderSpecial(net.minecraft.world.level.block.state.BlockState state)
    • showBlockModel

      protected void showBlockModel()
    • addBehaviours

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

      public static boolean isOpen(net.minecraft.world.level.block.state.BlockState state)