Uses of Class
net.minecraft.server.world.ChunkTicketType
-
Uses of ChunkTicketType in net.minecraft.server.world
Modifier and TypeFieldDescriptionstatic final ChunkTicketType
<Unit> ChunkTicketType.DRAGON
Used by the ender dragon to load the central end island during the boss battle.static final ChunkTicketType
<ChunkPos> ChunkTicketType.FORCED
Used to force load chunks.static final ChunkTicketType
<ChunkPos> ChunkTicketType.LIGHT
static final ChunkTicketType
<ChunkPos> ChunkTicketType.PLAYER
static final ChunkTicketType
<BlockPos> ChunkTicketType.PORTAL
Used by a nether portal to load chunks in the other dimension.static final ChunkTicketType
<Integer> ChunkTicketType.POST_TELEPORT
Used to load the chunks at the destination of teleportation.static final ChunkTicketType
<Unit> ChunkTicketType.START
private final ChunkTicketType
<T> ChunkTicket.type
static final ChunkTicketType
<ChunkPos> ChunkTicketType.UNKNOWN
Represents a type of ticket that has an unknown cause for loading chunks.Modifier and TypeMethodDescriptionstatic <T> ChunkTicketType
<T> ChunkTicketType.create
(String name, Comparator<T> argumentComparator) Creates a new ticket type that does not expire.static <T> ChunkTicketType
<T> ChunkTicketType.create
(String name, Comparator<T> argumentComparator, int expiryTicks) Create a new ticket type that expires after an amount of ticks.ChunkTicket.getType()
Modifier and TypeMethodDescription<T> void
ChunkTicketManager.addTicket
(ChunkTicketType<T> type, ChunkPos pos, int radius, T argument) <T> void
ServerChunkManager.addTicket
(ChunkTicketType<T> ticketType, ChunkPos pos, int radius, T argument) Adds a chunk ticket to the ticket manager.<T> void
ChunkTicketManager.addTicketWithLevel
(ChunkTicketType<T> type, ChunkPos pos, int level, T argument) <T> void
ChunkTicketManager.removeTicket
(ChunkTicketType<T> type, ChunkPos pos, int radius, T argument) <T> void
ServerChunkManager.removeTicket
(ChunkTicketType<T> ticketType, ChunkPos pos, int radius, T argument) Removes a chunk ticket from the ticket manager.<T> void
ChunkTicketManager.removeTicketWithLevel
(ChunkTicketType<T> type, ChunkPos pos, int level, T argument) ModifierConstructorDescriptionprotected
ChunkTicket
(ChunkTicketType<T> type, int level, T argument) -
Uses of ChunkTicketType in net.minecraft.world
Modifier and TypeMethodDescription<T> void
SimulationDistanceLevelPropagator.add
(ChunkTicketType<T> type, ChunkPos pos, int level, T argument) <T> void
SimulationDistanceLevelPropagator.remove
(ChunkTicketType<T> type, ChunkPos pos, int level, T argument)