Interface FaceRedstonePart
- All Superinterfaces:
MultiPart,RedstonePart
- 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,LeverPart,RedstoneTorchPart
For parts like wires that adhere to a specific face, reduces redstone connections to the specific edge between two faces.
Should be implemented on parts implementing
FacePart-
Method Summary
Modifier and TypeMethodDescriptionintgetFace()Returns the face which this Redstone part is attached.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
-
getFace
int getFace()Returns the face which this Redstone part is attached.- Returns:
- The face.
-