Package net.minecraft.server.world
Class ChunkTicket<T>
java.lang.Object
net.minecraft.server.world.ChunkTicket<T>
- All Implemented Interfaces:
Comparable<ChunkTicket<?>>
Represents a chunk ticket, which specifies the reason a chunk has been loaded.
- Mappings:
Namespace Name named net/minecraft/server/world/ChunkTicket
intermediary net/minecraft/class_3228
official asm
-
Field Summary
Modifier and TypeFieldDescriptionprivate final T
private final int
private long
private final ChunkTicketType
<T> -
Constructor Summary
ModifierConstructorDescriptionprotected
ChunkTicket
(ChunkTicketType<T> type, int level, T argument) -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(ChunkTicket<?> chunkTicket) boolean
int
getLevel()
getType()
int
hashCode()
protected boolean
isExpired
(long currentTick) protected void
setTickCreated
(long tickCreated) toString()
-
Field Details
-
type
- Mappings:
Namespace Name Mixin selector named type
Lnet/minecraft/server/world/ChunkTicket;type:Lnet/minecraft/server/world/ChunkTicketType;
intermediary field_14023
Lnet/minecraft/class_3228;field_14023:Lnet/minecraft/class_3230;
official a
Lasm;a:Lasn;
-
level
private final int level- Mappings:
Namespace Name Mixin selector named level
Lnet/minecraft/server/world/ChunkTicket;level:I
intermediary field_14025
Lnet/minecraft/class_3228;field_14025:I
official b
Lasm;b:I
-
argument
- Mappings:
Namespace Name Mixin selector named argument
Lnet/minecraft/server/world/ChunkTicket;argument:Ljava/lang/Object;
intermediary field_14022
Lnet/minecraft/class_3228;field_14022:Ljava/lang/Object;
official c
Lasm;c:Ljava/lang/Object;
-
tickCreated
private long tickCreated- Mappings:
Namespace Name Mixin selector named tickCreated
Lnet/minecraft/server/world/ChunkTicket;tickCreated:J
intermediary field_14024
Lnet/minecraft/class_3228;field_14024:J
official d
Lasm;d:J
-
-
Constructor Details
-
ChunkTicket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/server/world/ChunkTicket;<init>(Lnet/minecraft/server/world/ChunkTicketType;ILjava/lang/Object;)V
intermediary <init>
Lnet/minecraft/class_3228;<init>(Lnet/minecraft/class_3230;ILjava/lang/Object;)V
official <init>
Lasm;<init>(Lasn;ILjava/lang/Object;)V
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<T>
- Mappings:
Namespace Name Mixin selector named compareTo
Lnet/minecraft/server/world/ChunkTicket;compareTo(Lnet/minecraft/server/world/ChunkTicket;)I
intermediary method_14285
Lnet/minecraft/class_3228;method_14285(Lnet/minecraft/class_3228;)I
official a
Lasm;a(Lasm;)I
-
equals
-
hashCode
public int hashCode() -
toString
-
getType
- Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/server/world/ChunkTicket;getType()Lnet/minecraft/server/world/ChunkTicketType;
intermediary method_14281
Lnet/minecraft/class_3228;method_14281()Lnet/minecraft/class_3230;
official a
Lasm;a()Lasn;
-
getLevel
public int getLevel()- Mappings:
Namespace Name Mixin selector named getLevel
Lnet/minecraft/server/world/ChunkTicket;getLevel()I
intermediary method_14283
Lnet/minecraft/class_3228;method_14283()I
official b
Lasm;b()I
-
setTickCreated
protected void setTickCreated(long tickCreated) - Mappings:
Namespace Name Mixin selector named setTickCreated
Lnet/minecraft/server/world/ChunkTicket;setTickCreated(J)V
intermediary method_23956
Lnet/minecraft/class_3228;method_23956(J)V
official a
Lasm;a(J)V
-
isExpired
protected boolean isExpired(long currentTick) - Mappings:
Namespace Name Mixin selector named isExpired
Lnet/minecraft/server/world/ChunkTicket;isExpired(J)Z
intermediary method_20627
Lnet/minecraft/class_3228;method_20627(J)Z
official b
Lasm;b(J)Z
-