Interface MaskedRedstonePart
- All Superinterfaces:
MultiPart,RedstonePart
For parts that want to define their own connection masks (like center-center parts)
-
Method Summary
Modifier and TypeMethodDescriptionintgetConnectionMask(int side) Returns the redstone connection mask for this part on the given side.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, writeDescMethods inherited from interface codechicken.multipart.api.part.redstone.RedstonePart
canConnectRedstone, strongPowerLevel, weakPowerLevel
-
Method Details
-
getConnectionMask
int getConnectionMask(int side) Returns the redstone connection mask for this part on the given side.see IRedstoneConnector for mask definition.
- Parameters:
side- The side to get the mask for.- Returns:
- The mask.
-