Package net.minecraft.server.world
Record Class ChunkTicketType
java.lang.Object
java.lang.Record
net.minecraft.server.world.ChunkTicketType
- Record Components:
expiryTicks-persist-use-
public record ChunkTicketType(long expiryTicks, boolean persist, ChunkTicketType.class_10558 use)
extends Record
- Mappings:
Namespace Name named net/minecraft/server/world/ChunkTicketTypeintermediary net/minecraft/class_3230official arknamed expiryTicksintermediary comp_3474official jnamed persistintermediary comp_3475official knamed useintermediary comp_3476official l
-
Nested Class Summary
Nested Classes -
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 ChunkTicketTypeUsed to force load chunks.private final booleanThe field for thepersistrecord component.static 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.private final ChunkTicketType.class_10558The field for theuserecord component. -
Constructor Summary
ConstructorsConstructorDescriptionChunkTicketType(long long2, boolean bool, ChunkTicketType.class_10558 class_10558) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.longReturns the value of theexpiryTicksrecord component.final inthashCode()Returns a hash code value for this object.booleanprivate static ChunkTicketTypemethod_66026(String string, long long2, boolean bool, ChunkTicketType.class_10558 class_10558) booleanbooleanbooleanpersist()Returns the value of thepersistrecord component.final StringtoString()Returns a string representation of this record class.use()Returns the value of theuserecord component.
-
Field Details
-
expiryTicks
private final long expiryTicksThe field for theexpiryTicksrecord component. -
persist
private final boolean persistThe field for thepersistrecord component. -
use
The field for theuserecord component. -
field_55598
public static final int field_55598- See Also:
- Mappings:
Namespace Name Mixin selector named field_55598Lnet/minecraft/server/world/ChunkTicketType;field_55598:Iintermediary field_55598Lnet/minecraft/class_3230;field_55598:Iofficial aLark;a:I
-
START
- Mappings:
Namespace Name Mixin selector named STARTLnet/minecraft/server/world/ChunkTicketType;START:Lnet/minecraft/server/world/ChunkTicketType;intermediary field_14030Lnet/minecraft/class_3230;field_14030:Lnet/minecraft/class_3230;official bLark;b:Lark;
-
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 cLark;c:Lark;
-
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 dLark;d:Lark;
-
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 eLark;e:Lark;
-
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 fLark;f:Lark;
-
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 gLark;g:Lark;
-
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 hLark;h:Lark;
-
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 iLark;i:Lark;
-
-
Constructor Details
-
ChunkTicketType
-
-
Method Details
-
method_66026
private static ChunkTicketType method_66026(String string, long long2, boolean bool, ChunkTicketType.class_10558 class_10558) - Mappings:
Namespace Name Mixin selector named method_66026Lnet/minecraft/server/world/ChunkTicketType;method_66026(Ljava/lang/String;JZLnet/minecraft/server/world/ChunkTicketType$class_10558;)Lnet/minecraft/server/world/ChunkTicketType;intermediary method_66026Lnet/minecraft/class_3230;method_66026(Ljava/lang/String;JZLnet/minecraft/class_3230$class_10558;)Lnet/minecraft/class_3230;official aLark;a(Ljava/lang/String;JZLark$a;)Lark;
-
method_66025
public boolean method_66025()- Mappings:
Namespace Name Mixin selector named method_66025Lnet/minecraft/server/world/ChunkTicketType;method_66025()Zintermediary method_66025Lnet/minecraft/class_3230;method_66025()Zofficial aLark;a()Z
-
method_66027
public boolean method_66027()- Mappings:
Namespace Name Mixin selector named method_66027Lnet/minecraft/server/world/ChunkTicketType;method_66027()Zintermediary method_66027Lnet/minecraft/class_3230;method_66027()Zofficial bLark;b()Z
-
method_66028
public boolean method_66028()- Mappings:
Namespace Name Mixin selector named method_66028Lnet/minecraft/server/world/ChunkTicketType;method_66028()Zintermediary method_66028Lnet/minecraft/class_3230;method_66028()Zofficial cLark;c()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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
expiryTicks
public long expiryTicks()Returns the value of theexpiryTicksrecord component.- Returns:
- the value of the
expiryTicksrecord component
-
persist
public boolean persist()Returns the value of thepersistrecord component.- Returns:
- the value of the
persistrecord component
-
use
Returns the value of theuserecord component.- Returns:
- the value of the
userecord component
-