Package net.minecraft.world.entity
Enum Class EntityTrackingStatus
- All Implemented Interfaces:
Serializable
,Comparable<EntityTrackingStatus>
,Constable
The status of entity tracking sections within entity managers.
- See Also:
- Mappings:
Namespace Name official cys
intermediary net/minecraft/class_5584
named net/minecraft/world/entity/EntityTrackingStatus
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic EntityTrackingStatus
fromLevelType
(ChunkHolder.LevelType levelType) boolean
boolean
static EntityTrackingStatus
Returns the enum constant of this class with the specified name.static EntityTrackingStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HIDDEN
- Mappings:
Namespace Name Mixin selector official a
Lcys;a:Lcys;
intermediary field_27289
Lnet/minecraft/class_5584;field_27289:Lnet/minecraft/class_5584;
named HIDDEN
Lnet/minecraft/world/entity/EntityTrackingStatus;HIDDEN:Lnet/minecraft/world/entity/EntityTrackingStatus;
-
TRACKED
- Mappings:
Namespace Name Mixin selector official b
Lcys;b:Lcys;
intermediary field_27290
Lnet/minecraft/class_5584;field_27290:Lnet/minecraft/class_5584;
named TRACKED
Lnet/minecraft/world/entity/EntityTrackingStatus;TRACKED:Lnet/minecraft/world/entity/EntityTrackingStatus;
-
TICKING
- Mappings:
Namespace Name Mixin selector official c
Lcys;c:Lcys;
intermediary field_27291
Lnet/minecraft/class_5584;field_27291:Lnet/minecraft/class_5584;
named TICKING
Lnet/minecraft/world/entity/EntityTrackingStatus;TICKING:Lnet/minecraft/world/entity/EntityTrackingStatus;
-
-
Field Details
-
tracked
private final boolean tracked- Mappings:
Namespace Name Mixin selector official d
Lcys;d:Z
intermediary field_27292
Lnet/minecraft/class_5584;field_27292:Z
named tracked
Lnet/minecraft/world/entity/EntityTrackingStatus;tracked:Z
-
tick
private final boolean tick- Mappings:
Namespace Name Mixin selector official e
Lcys;e:Z
intermediary field_27293
Lnet/minecraft/class_5584;field_27293:Z
named tick
Lnet/minecraft/world/entity/EntityTrackingStatus;tick:Z
-
-
Constructor Details
-
EntityTrackingStatus
private EntityTrackingStatus(boolean tracked, boolean tick) - Mappings:
Namespace Name Mixin selector official <init>
Lcys;<init>(Ljava/lang/String;IZZ)V
intermediary <init>
Lnet/minecraft/class_5584;<init>(Ljava/lang/String;IZZ)V
named <init>
Lnet/minecraft/world/entity/EntityTrackingStatus;<init>(Ljava/lang/String;IZZ)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
shouldTick
public boolean shouldTick()- Mappings:
Namespace Name Mixin selector official a
Lcys;a()Z
intermediary method_31883
Lnet/minecraft/class_5584;method_31883()Z
named shouldTick
Lnet/minecraft/world/entity/EntityTrackingStatus;shouldTick()Z
-
shouldTrack
public boolean shouldTrack()- Mappings:
Namespace Name Mixin selector official b
Lcys;b()Z
intermediary method_31885
Lnet/minecraft/class_5584;method_31885()Z
named shouldTrack
Lnet/minecraft/world/entity/EntityTrackingStatus;shouldTrack()Z
-
fromLevelType
- Mappings:
Namespace Name Mixin selector official a
Lcys;a(Lafa$c;)Lcys;
intermediary method_31884
Lnet/minecraft/class_5584;method_31884(Lnet/minecraft/class_3193$class_3194;)Lnet/minecraft/class_5584;
named fromLevelType
Lnet/minecraft/world/entity/EntityTrackingStatus;fromLevelType(Lnet/minecraft/server/world/ChunkHolder$LevelType;)Lnet/minecraft/world/entity/EntityTrackingStatus;
-