Class ChassisBlockEntity

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

public class ChassisBlockEntity extends SmartBlockEntity
  • Field Details

    • currentlySelectedRange

      public int currentlySelectedRange
  • Constructor Details

    • ChassisBlockEntity

      public ChassisBlockEntity(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
    • initialize

      public void initialize()
      Overrides:
      initialize 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
    • getRange

      public int getRange()
    • getIncludedBlockPositions

      public List<net.minecraft.core.BlockPos> getIncludedBlockPositions(net.minecraft.core.Direction forcedMovement, boolean visualize)
    • isRadial

      protected boolean isRadial()
    • collectChassisGroup

      public List<ChassisBlockEntity> collectChassisGroup()
    • addAttachedChasses

      public boolean addAttachedChasses(Queue<net.minecraft.core.BlockPos> frontier, Set<net.minecraft.core.BlockPos> visited)