Package net.minecraft.world.entity
Enum EntityTrackingStatus
- All Implemented Interfaces:
Serializable,Comparable<EntityTrackingStatus>,java.lang.constant.Constable
public enum EntityTrackingStatus extends Enum<EntityTrackingStatus>
The status of entity tracking sections within entity managers.
- See Also:
EntityTrackingSection- Mappings:
Namespace Name official cmkintermediary net/minecraft/class_5584named 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
Constructors Modifier Constructor Description privateEntityTrackingStatus(boolean tracked, boolean tick) -
Method Summary
Modifier and Type Method Description static EntityTrackingStatusfromLevelType(ChunkHolder.LevelType levelType)booleanshouldTick()booleanshouldTrack()static EntityTrackingStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static EntityTrackingStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
HIDDEN
- Mappings:
Namespace Name Mixin selector official aLcmk;a:Lcmk;intermediary field_27289Lnet/minecraft/class_5584;field_27289:Lnet/minecraft/class_5584;named HIDDENLnet/minecraft/world/entity/EntityTrackingStatus;HIDDEN:Lnet/minecraft/world/entity/EntityTrackingStatus;
-
TRACKED
- Mappings:
Namespace Name Mixin selector official bLcmk;b:Lcmk;intermediary field_27290Lnet/minecraft/class_5584;field_27290:Lnet/minecraft/class_5584;named TRACKEDLnet/minecraft/world/entity/EntityTrackingStatus;TRACKED:Lnet/minecraft/world/entity/EntityTrackingStatus;
-
TICKING
- Mappings:
Namespace Name Mixin selector official cLcmk;c:Lcmk;intermediary field_27291Lnet/minecraft/class_5584;field_27291:Lnet/minecraft/class_5584;named TICKINGLnet/minecraft/world/entity/EntityTrackingStatus;TICKING:Lnet/minecraft/world/entity/EntityTrackingStatus;
-
-
Field Details
-
tracked
private final boolean tracked- Mappings:
Namespace Name Mixin selector official dLcmk;d:Zintermediary field_27292Lnet/minecraft/class_5584;field_27292:Znamed trackedLnet/minecraft/world/entity/EntityTrackingStatus;tracked:Z
-
tick
private final boolean tick- Mappings:
Namespace Name Mixin selector official eLcmk;e:Zintermediary field_27293Lnet/minecraft/class_5584;field_27293:Znamed tickLnet/minecraft/world/entity/EntityTrackingStatus;tick:Z
-
-
Constructor Details
-
EntityTrackingStatus
private EntityTrackingStatus(boolean tracked, boolean tick)- Mappings:
Namespace Name Mixin selector official <init>Lcmk;<init>(Ljava/lang/String;IZZ)Vintermediary <init>Lnet/minecraft/class_5584;<init>(Ljava/lang/String;IZZ)Vnamed <init>Lnet/minecraft/world/entity/EntityTrackingStatus;<init>(Ljava/lang/String;IZZ)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
shouldTick
public boolean shouldTick()- Mappings:
Namespace Name Mixin selector official aLcmk;a()Zintermediary method_31883Lnet/minecraft/class_5584;method_31883()Znamed shouldTickLnet/minecraft/world/entity/EntityTrackingStatus;shouldTick()Z
-
shouldTrack
public boolean shouldTrack()- Mappings:
Namespace Name Mixin selector official bLcmk;b()Zintermediary method_31885Lnet/minecraft/class_5584;method_31885()Znamed shouldTrackLnet/minecraft/world/entity/EntityTrackingStatus;shouldTrack()Z
-
fromLevelType
- Mappings:
Namespace Name Mixin selector official aLcmk;a(Laar$c;)Lcmk;intermediary method_31884Lnet/minecraft/class_5584;method_31884(Lnet/minecraft/class_3193$class_3194;)Lnet/minecraft/class_5584;named fromLevelTypeLnet/minecraft/world/entity/EntityTrackingStatus;fromLevelType(Lnet/minecraft/server/world/ChunkHolder$LevelType;)Lnet/minecraft/world/entity/EntityTrackingStatus;
-