Package org.bukkit.block.data.type
Interface SculkShrieker
- All Superinterfaces:
BlockData,Cloneable,Waterlogged
'can_summon' indicates whether the sculk shrieker can summon the warden.
'shrieking' indicated whether the sculk shrieker is shrieking or not.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the value of the 'can_summon' property.booleanGets the value of the 'shrieking' property.voidsetCanSummon(boolean can_summon) Sets the value of the 'can_summon' property.voidsetShrieking(boolean shrieking) Sets the value of the 'shrieking' property.Methods inherited from interface org.bukkit.block.data.BlockData
clone, createBlockState, getAsString, getAsString, getDestroySpeed, getDestroySpeed, getLightEmission, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotateMethods inherited from interface org.bukkit.block.data.Waterlogged
isWaterlogged, setWaterlogged
-
Method Details
-
isCanSummon
boolean isCanSummon()Gets the value of the 'can_summon' property.- Returns:
- the 'can_summon' value
-
setCanSummon
void setCanSummon(boolean can_summon) Sets the value of the 'can_summon' property.- Parameters:
can_summon- the new 'can_summon' value
-
isShrieking
boolean isShrieking()Gets the value of the 'shrieking' property.- Returns:
- the 'shrieking' value
-
setShrieking
void setShrieking(boolean shrieking) Sets the value of the 'shrieking' property.- Parameters:
shrieking- the new 'shrieking' value
-