public interface AffectsSpawningData extends DataManipulator<AffectsSpawningData,ImmutableAffectsSpawningData>
DataManipulator
for the "affects spawning" state of a
Player
.Modifier and Type | Method and Description |
---|---|
Value<Boolean> |
affectsSpawning()
Gets the
Value for the "affects spawning" state. |
asImmutable, copy, fill, fill, from, set, set, set, set, transform
getContentVersion, toContainer
Value<Boolean> affectsSpawning()
Value
for the "affects spawning" state.
A Player
who does not affect spawning will be treated as a
spectator in regards to spawning. A MobSpawner
will not be
activated by his presence and mobs around him may naturally despawn
if there is no other Player around who affects spawning.
Keys.AFFECTS_SPAWNING