接口 Crafter
'orientation' is the direction the block is facing.
Similar to
'crafting' is whether crafter's mouth is open and top is glowing.
Similar to
Powerable, 'triggered' indicates whether or not the
dispenser is currently activated.
'crafting' is whether crafter's mouth is open and top is glowing.
-
嵌套类概要
嵌套类 -
方法概要
修饰符和类型方法说明Gets the value of the 'orientation' property.booleanGets the value of the 'crafting' property.booleanGets the value of the 'triggered' property.voidsetCrafting(boolean crafting) Sets the value of the 'crafting' property.voidsetOrientation(@NotNull Crafter.Orientation orientation) Sets the value of the 'orientation' property.voidsetTriggered(boolean triggered) Sets the value of the 'triggered' property.从接口继承的方法 org.bukkit.block.data.BlockData
clone, copyTo, createBlockState, getAsString, getAsString, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
-
方法详细资料
-
isCrafting
boolean isCrafting()Gets the value of the 'crafting' property.- 返回:
- the 'crafting' value
-
setCrafting
void setCrafting(boolean crafting) Sets the value of the 'crafting' property.- 参数:
crafting- the new 'crafting' value
-
isTriggered
boolean isTriggered()Gets the value of the 'triggered' property.- 返回:
- the 'triggered' value
-
setTriggered
void setTriggered(boolean triggered) Sets the value of the 'triggered' property.- 参数:
triggered- the new 'triggered' value
-
getOrientation
Gets the value of the 'orientation' property.- 返回:
- the 'orientation' value
-
setOrientation
Sets the value of the 'orientation' property.- 参数:
orientation- the new 'orientation' value
-