Package codechicken.multipart.api.part
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
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 Summary
Methods inherited from interface codechicken.multipart.api.part.MultiPart
addDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, capCache, click, getBlockSupportShape, getCloneStack, getCollisionShape, getDrops, getExplosionResistance, getInteractionShape, getLightEmission, getModelData, getPlacementSound, getRenderBounds, getRenderOcclusionShape, getShape, getStrength, getType, getVisualShape, harvest, hasLevel, hasTile, invalidateConvertedTile, level, load, occlusionTest, onAdded, onChunkLoad, onChunkUnload, onConverted, onEntityCollision, onEntityStanding, onMoved, onNeighborBlockChanged, onPartChanged, onRemoved, onWorldJoin, onWorldSeparate, pos, preRemove, readDesc, readUpdate, save, scheduledTick, scheduleTick, sendUpdate, tile, useItemOn, useWithoutItem, writeDesc
-
Method Details
-
getSlotMask
int getSlotMask()a bitmask of slots that this part fills. slot x is 1invalid input: '<'invalid input: '<'x
-