public interface ImmutableWeightedEntityCollectionValue extends ImmutableWeightedCollectionValue<WeightedEntity,ImmutableWeightedEntityCollectionValue,WeightedEntityCollectionValue>
ImmutableWeightedEntityCollectionValue
that uses a
WeightedEntity
as the element type. This is mainly used to simplify
various ImmutableCollectionValue
s to use the
WeightedCollection
type.Modifier and Type | Method and Description |
---|---|
ImmutableWeightedEntityCollectionValue |
with(EntityType entityType,
Collection<DataManipulator<?,?>> entityData)
|
get
asMutable, contains, containsAll, getAll, isEmpty, size, transform, with, with, withAll, without, withoutAll, withoutAll
ImmutableWeightedEntityCollectionValue with(EntityType entityType, Collection<DataManipulator<?,?>> entityData)
WeightedEntity
with the provided EntityType
and a Collection
of DataManipulator
s. The default weight
will be set to 1 for the weighted entity.entityType
- The entity type of the WeightedEntity
entityData
- The extra data to provide to the weighted entity