public interface ImmutableInvisibilityData extends ImmutableDataManipulator<ImmutableInvisibilityData,InvisibilityData>
ImmutableDataManipulator
for the "invisible" state. If present,
the Entity
is rendered "invisible". Alternatively, the
Entity
can be rendered invisible to a specific Player
by
including the Identifiable.getUniqueId()
in the
invisibleToPlayerIds()
.Modifier and Type | Method and Description |
---|---|
ImmutableSetValue<UUID> |
invisibleToPlayerIds()
|
asMutable, copy, with, with
compareTo
toContainer
ImmutableSetValue<UUID> invisibleToPlayerIds()
ImmutableSetValue
of Player
UUID
s that
the owning Entity
is rendered "invisible" to. If a
Player
's UUID
is NOT included in the
ImmutableSetValue
, then the entity is not "invisible".