Package net.minecraft.server.world
Record Class ChunkTicketType
java.lang.Object
java.lang.Record
net.minecraft.server.world.ChunkTicketType
- Record Components:
expiryTicks-flags-
- Mappings:
Namespace Name named net/minecraft/server/world/ChunkTicketTypeintermediary net/minecraft/class_3230official aumnamed expiryTicksintermediary comp_3474official pnamed flagsintermediary comp_4411official q
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ChunkTicketTypeUsed by the ender dragon to load the central end island during the boss battle.static final ChunkTicketTypeprivate final longThe field for theexpiryTicksrecord component.static final intstatic final intstatic final intstatic final intstatic final intprivate final intThe field for theflagsrecord component.static final ChunkTicketTypeUsed to force load chunks.static final longstatic final ChunkTicketTypestatic final ChunkTicketTypestatic final ChunkTicketTypestatic final ChunkTicketTypeUsed by a nether portal to load chunks in the other dimension.static final ChunkTicketTypestatic final ChunkTicketTypeRepresents a type of ticket that has an unknown cause for loading chunks. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanfinal booleanIndicates whether some other object is "equal to" this one.longReturns the value of theexpiryTicksrecord component.intflags()Returns the value of theflagsrecord component.final inthashCode()Returns a hash code value for this object.booleanbooleanbooleanbooleanbooleanprivate static ChunkTicketTypefinal StringtoString()Returns a string representation of this record class.
-
Field Details
-
expiryTicks
private final long expiryTicksThe field for theexpiryTicksrecord component. -
flags
private final int flagsThe field for theflagsrecord component. -
NO_EXPIRATION
public static final long NO_EXPIRATION- See Also:
- Mappings:
Namespace Name Mixin selector named NO_EXPIRATIONLnet/minecraft/server/world/ChunkTicketType;NO_EXPIRATION:Jintermediary field_55598Lnet/minecraft/class_3230;field_55598:Jofficial aLaum;a:J
-
field_61096
public static final int field_61096- See Also:
- Mappings:
Namespace Name Mixin selector named field_61096Lnet/minecraft/server/world/ChunkTicketType;field_61096:Iintermediary field_61096Lnet/minecraft/class_3230;field_61096:Iofficial bLaum;b:I
-
field_61097
public static final int field_61097- See Also:
- Mappings:
Namespace Name Mixin selector named field_61097Lnet/minecraft/server/world/ChunkTicketType;field_61097:Iintermediary field_61097Lnet/minecraft/class_3230;field_61097:Iofficial cLaum;c:I
-
field_61098
public static final int field_61098- See Also:
- Mappings:
Namespace Name Mixin selector named field_61098Lnet/minecraft/server/world/ChunkTicketType;field_61098:Iintermediary field_61098Lnet/minecraft/class_3230;field_61098:Iofficial dLaum;d:I
-
field_61099
public static final int field_61099- See Also:
- Mappings:
Namespace Name Mixin selector named field_61099Lnet/minecraft/server/world/ChunkTicketType;field_61099:Iintermediary field_61099Lnet/minecraft/class_3230;field_61099:Iofficial eLaum;e:I
-
field_61100
public static final int field_61100- See Also:
- Mappings:
Namespace Name Mixin selector named field_61100Lnet/minecraft/server/world/ChunkTicketType;field_61100:Iintermediary field_61100Lnet/minecraft/class_3230;field_61100:Iofficial fLaum;f:I
-
PLAYER_SPAWN
- Mappings:
Namespace Name Mixin selector named PLAYER_SPAWNLnet/minecraft/server/world/ChunkTicketType;PLAYER_SPAWN:Lnet/minecraft/server/world/ChunkTicketType;intermediary field_61101Lnet/minecraft/class_3230;field_61101:Lnet/minecraft/class_3230;official gLaum;g:Laum;
-
SPAWN_SEARCH
- Mappings:
Namespace Name Mixin selector named SPAWN_SEARCHLnet/minecraft/server/world/ChunkTicketType;SPAWN_SEARCH:Lnet/minecraft/server/world/ChunkTicketType;intermediary field_61102Lnet/minecraft/class_3230;field_61102:Lnet/minecraft/class_3230;official hLaum;h:Laum;
-
DRAGON
Used by the ender dragon to load the central end island during the boss battle.- Mappings:
Namespace Name Mixin selector named DRAGONLnet/minecraft/server/world/ChunkTicketType;DRAGON:Lnet/minecraft/server/world/ChunkTicketType;intermediary field_17264Lnet/minecraft/class_3230;field_17264:Lnet/minecraft/class_3230;official iLaum;i:Laum;
-
PLAYER_LOADING
- Mappings:
Namespace Name Mixin selector named PLAYER_LOADINGLnet/minecraft/server/world/ChunkTicketType;PLAYER_LOADING:Lnet/minecraft/server/world/ChunkTicketType;intermediary field_55599Lnet/minecraft/class_3230;field_55599:Lnet/minecraft/class_3230;official jLaum;j:Laum;
-
PLAYER_SIMULATION
- Mappings:
Namespace Name Mixin selector named PLAYER_SIMULATIONLnet/minecraft/server/world/ChunkTicketType;PLAYER_SIMULATION:Lnet/minecraft/server/world/ChunkTicketType;intermediary field_55600Lnet/minecraft/class_3230;field_55600:Lnet/minecraft/class_3230;official kLaum;k:Laum;
-
FORCED
Used to force load chunks.- Mappings:
Namespace Name Mixin selector named FORCEDLnet/minecraft/server/world/ChunkTicketType;FORCED:Lnet/minecraft/server/world/ChunkTicketType;intermediary field_14031Lnet/minecraft/class_3230;field_14031:Lnet/minecraft/class_3230;official lLaum;l:Laum;
-
PORTAL
Used by a nether portal to load chunks in the other dimension.- Mappings:
Namespace Name Mixin selector named PORTALLnet/minecraft/server/world/ChunkTicketType;PORTAL:Lnet/minecraft/server/world/ChunkTicketType;intermediary field_19280Lnet/minecraft/class_3230;field_19280:Lnet/minecraft/class_3230;official mLaum;m:Laum;
-
ENDER_PEARL
- Mappings:
Namespace Name Mixin selector named ENDER_PEARLLnet/minecraft/server/world/ChunkTicketType;ENDER_PEARL:Lnet/minecraft/server/world/ChunkTicketType;intermediary field_54211Lnet/minecraft/class_3230;field_54211:Lnet/minecraft/class_3230;official nLaum;n:Laum;
-
UNKNOWN
Represents a type of ticket that has an unknown cause for loading chunks.- Mappings:
Namespace Name Mixin selector named UNKNOWNLnet/minecraft/server/world/ChunkTicketType;UNKNOWN:Lnet/minecraft/server/world/ChunkTicketType;intermediary field_14032Lnet/minecraft/class_3230;field_14032:Lnet/minecraft/class_3230;official oLaum;o:Laum;
-
-
Constructor Details
-
ChunkTicketType
public ChunkTicketType(long long2, int int2)
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector named registerLnet/minecraft/server/world/ChunkTicketType;register(Ljava/lang/String;JI)Lnet/minecraft/server/world/ChunkTicketType;intermediary method_66026Lnet/minecraft/class_3230;method_66026(Ljava/lang/String;JI)Lnet/minecraft/class_3230;official aLaum;a(Ljava/lang/String;JI)Laum;
-
method_72273
public boolean method_72273()- Mappings:
Namespace Name Mixin selector named method_72273Lnet/minecraft/server/world/ChunkTicketType;method_72273()Zintermediary method_72273Lnet/minecraft/class_3230;method_72273()Zofficial aLaum;a()Z
-
isForLoading
public boolean isForLoading()- Mappings:
Namespace Name Mixin selector named isForLoadingLnet/minecraft/server/world/ChunkTicketType;isForLoading()Zintermediary method_66025Lnet/minecraft/class_3230;method_66025()Zofficial bLaum;b()Z
-
isForSimulation
public boolean isForSimulation()- Mappings:
Namespace Name Mixin selector named isForSimulationLnet/minecraft/server/world/ChunkTicketType;isForSimulation()Zintermediary method_66027Lnet/minecraft/class_3230;method_66027()Zofficial cLaum;c()Z
-
method_72274
public boolean method_72274()- Mappings:
Namespace Name Mixin selector named method_72274Lnet/minecraft/server/world/ChunkTicketType;method_72274()Zintermediary method_72274Lnet/minecraft/class_3230;method_72274()Zofficial dLaum;d()Z
-
method_72275
public boolean method_72275()- Mappings:
Namespace Name Mixin selector named method_72275Lnet/minecraft/server/world/ChunkTicketType;method_72275()Zintermediary method_72275Lnet/minecraft/class_3230;method_72275()Zofficial eLaum;e()Z
-
canExpire
public boolean canExpire()- Mappings:
Namespace Name Mixin selector named canExpireLnet/minecraft/server/world/ChunkTicketType;canExpire()Zintermediary method_66028Lnet/minecraft/class_3230;method_66028()Zofficial fLaum;f()Z
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='. -
expiryTicks
public long expiryTicks()Returns the value of theexpiryTicksrecord component.- Returns:
- the value of the
expiryTicksrecord component
-
flags
public int flags()Returns the value of theflagsrecord component.- Returns:
- the value of the
flagsrecord component
-