Interface TechnicalPiston
- All Superinterfaces:
BlockData, Cloneable, Directional
- All Known Subinterfaces:
PistonHead
'type' represents the type of piston which this (technical) block corresponds
to.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiongetType()Gets the value of the 'type' property.voidSets the value of the 'type' property.Methods inherited from interface BlockData
clone, copyTo, createBlockState, getAsString, getAsString, getCollisionShape, getDestroySpeed, getDestroySpeed, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isReplaceable, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotateMethods inherited from interface Directional
getFaces, getFacing, setFacing
-
Method Details
-
getType
Gets the value of the 'type' property.- Returns:
- the 'type' value
-
setType
Sets the value of the 'type' property.- Parameters:
type- the new 'type' value
-