Uses of Class
net.minecraft.server.level.Ticket
Packages that use Ticket
Package
Description
-
Uses of Ticket in net.minecraft.server.level
Fields in net.minecraft.server.level with type parameters of type TicketModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<Ticket> Ticket.CODEC
Methods in net.minecraft.server.level with parameters of type Ticket -
Uses of Ticket in net.minecraft.world.level
Fields in net.minecraft.world.level with type parameters of type TicketModifier and TypeFieldDescriptionTicketStorage.deactivatedTickets
private static final com.mojang.serialization.Codec
<com.mojang.datafixers.util.Pair<ChunkPos, Ticket>> TicketStorage.TICKET_ENTRY
TicketStorage.tickets
Methods in net.minecraft.world.level that return TicketModifier and TypeMethodDescriptionprivate static Ticket
TicketStorage.getLowestTicket
(List<Ticket> p_394073_, boolean p_394430_) Methods in net.minecraft.world.level that return types with arguments of type TicketModifier and TypeMethodDescriptionTicketStorage.getOrCreateTickets
(long p_394358_) TicketStorage.getTickets
(long p_393509_) TicketStorage.packTickets()
Methods in net.minecraft.world.level with parameters of type TicketModifier and TypeMethodDescriptionboolean
void
private static boolean
TicketStorage.isTicketSameTypeAndLevel
(Ticket p_394344_, Ticket p_394181_) boolean
TicketStorage.removeTicket
(long p_393896_, Ticket p_394054_) void
TicketStorage.removeTicket
(Ticket p_394399_, ChunkPos p_393510_) Method parameters in net.minecraft.world.level with type arguments of type TicketModifier and TypeMethodDescriptionprivate void
TicketStorage.forEachTicket
(BiConsumer<ChunkPos, Ticket> p_401023_) private static void
TicketStorage.forEachTicket
(BiConsumer<ChunkPos, Ticket> p_401366_, it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<List<Ticket>> p_401184_) private static void
TicketStorage.forEachTicket
(BiConsumer<ChunkPos, Ticket> p_401366_, it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<List<Ticket>> p_401184_) private static TicketStorage
TicketStorage.fromPacked
(List<com.mojang.datafixers.util.Pair<ChunkPos, Ticket>> p_401113_) private it.unimi.dsi.fastutil.longs.LongSet
TicketStorage.getAllChunksWithTicketThat
(Predicate<Ticket> p_393731_) private static Ticket
TicketStorage.getLowestTicket
(List<Ticket> p_394073_, boolean p_394430_) private static int
TicketStorage.getTicketLevelAt
(List<Ticket> p_394021_, boolean p_393941_) void
TicketStorage.removeTicketIf
(Predicate<Ticket> p_393810_, it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<List<Ticket>> p_393746_) void
TicketStorage.removeTicketIf
(Predicate<Ticket> p_393810_, it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<List<Ticket>> p_393746_) Constructor parameters in net.minecraft.world.level with type arguments of type TicketModifierConstructorDescriptionprivate
TicketStorage
(it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<List<Ticket>> p_393873_, it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<List<Ticket>> p_394615_) -
Uses of Ticket in net.neoforged.neoforge.common.world.chunk
Methods in net.neoforged.neoforge.common.world.chunk that return TicketModifier and TypeMethodDescriptionprivate Ticket
ForcedChunkManager.TicketTracker.makeTicket
(boolean forceNaturalSpawning) Method parameters in net.neoforged.neoforge.common.world.chunk with type arguments of type TicketModifier and TypeMethodDescriptionstatic TicketStorage
ForcedChunkManager.readStoredTickets
(Function<List<com.mojang.datafixers.util.Pair<ChunkPos, Ticket>>, TicketStorage> vanillaInitializer, List<com.mojang.datafixers.util.Pair<ChunkPos, Ticket>> tickets, List<ForcedChunkManager.OwnedChunks> ownedChunks) Reads any forced chunks we might have previously saved.static TicketStorage
ForcedChunkManager.readStoredTickets
(Function<List<com.mojang.datafixers.util.Pair<ChunkPos, Ticket>>, TicketStorage> vanillaInitializer, List<com.mojang.datafixers.util.Pair<ChunkPos, Ticket>> tickets, List<ForcedChunkManager.OwnedChunks> ownedChunks) Reads any forced chunks we might have previously saved.