Interface SlottedPart

All Superinterfaces:
MultiPart
All Known Subinterfaces:
EdgePart, FacePart, IMicroOcclusion
All Known Implementing Classes:
ButtonPart, ButtonPart.AcaciaButtonPart, ButtonPart.BirchButtonPart, ButtonPart.CrimsonButtonPart, ButtonPart.DarkOakButtonPart, ButtonPart.JungleButtonPart, ButtonPart.OakButtonPart, ButtonPart.PolishedBlackstoneButtonPart, ButtonPart.SpruceButtonPart, ButtonPart.StoneButtonPart, ButtonPart.WarpedButtonPart, CornerMicroblockPart, EdgeMicroblockPart, FaceMicroblockPart, HollowMicroblockPart, LeverPart, McSidedStatePart, RedstoneTorchPart, SoulTorchPart, StandardMicroblockPart, TorchPart

public interface SlottedPart extends MultiPart
Interface for parts that fill a slot based configuration as defined in PartMap. If this is implemented, calling partMap(slot) on the host tile will return this part if the corresponding bit in the slotMask is set

Marker interface for TSlottedTile

  • Method Details

    • getSlotMask

      int getSlotMask()
      a bitmask of slots that this part fills. slot x is 1invalid input: '<'invalid input: '<'x