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