Package org.bukkit.block.data.type
Interface TrialSpawner
'trial_spawner_state' indicates the current operational phase of the spawner.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the 'trial_spawner_state' property.void
Sets the value of the 'trial_spawner_state' property.Methods inherited from interface org.bukkit.block.data.BlockData
clone, createBlockState, getAsString, getAsString, getCollisionShape, getDestroySpeed, getDestroySpeed, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
-
Method Details
-
getTrialSpawnerState
Gets the value of the 'trial_spawner_state' property.- Returns:
- the 'trial_spawner_state' value
-
setTrialSpawnerState
Sets the value of the 'trial_spawner_state' property.- Parameters:
state
- the new 'trial_spawner_state' value
-