public static interface MobSpawnerData.NextEntityToSpawnValue extends Value<WeightedEntity>
Value
dealing with the next
WeightedEntity
such that the next Entity
to spawn may
be pulled from the owning MobSpawnerData.possibleEntitiesToSpawn()
with a
default Random
, or it may be custom defined on a case by
case basis.Modifier and Type | Method and Description |
---|---|
ImmutableMobSpawnerData.ImmutableNextEntityToSpawnValue |
asImmutable()
Gets the
ImmutableValue version of this Value such that
all data is duplicated across to the new ImmutableValue . |
MobSpawnerData.NextEntityToSpawnValue |
set(EntityType type,
Collection<DataManipulator<?,?>> additionalProperties)
|
MobSpawnerData.NextEntityToSpawnValue set(EntityType type, @Nullable Collection<DataManipulator<?,?>> additionalProperties)
ImmutableMobSpawnerData.ImmutableNextEntityToSpawnValue asImmutable()
Value
ImmutableValue
version of this Value
such that
all data is duplicated across to the new ImmutableValue
. Note
that once created, the ImmutableValue
is not going to change.asImmutable
in interface Value<WeightedEntity>
ImmutableValue
instance