public interface ImmutableInvisibilityData extends ImmutableDataManipulator<ImmutableInvisibilityData,InvisibilityData>
ImmutableDataManipulator for the "vanish" state. If present,
the Entity is rendered "vanish".| Modifier and Type | Method and Description |
|---|---|
ImmutableValue<Boolean> |
ignoresCollisionDetection()
|
ImmutableValue<Boolean> |
invisible()
Gets the
ImmutableValue of the "invisible" state of an
Entity. |
ImmutableValue<Boolean> |
untargetable()
|
ImmutableValue<Boolean> |
vanish()
Gets the
ImmutableValue of the "vanish" state of an
Entity. |
asMutable, copy, with, withgetContentVersion, toContainerImmutableValue<Boolean> invisible()
ImmutableValue of the "invisible" state of an
Entity.
Note that this is different from the vanish() state as when an
Entity is "invisible", update packets are still sent to all clients
and the server. Likewise, no
ImmutableValue<Boolean> vanish()
ImmutableValue of the "vanish" state of an
Entity.ImmutableValue<Boolean> ignoresCollisionDetection()
Value of whether an Entity that is "vanished" will
be ignored for collision detection. The collision detection can affect
collisions with other entities, blocks, etc.ImmutableValue<Boolean> untargetable()
Value of whether an Entity that is "vanished" will
be ignored when other entities are processing possible "targets"
for their AI.