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> pTickets, boolean pRequireSimulation) Methods in net.minecraft.world.level that return types with arguments of type TicketModifier and TypeMethodDescriptionTicketStorage.getOrCreateTickets
(long pChunkPos) TicketStorage.getTickets
(long pChunkPos) TicketStorage.packTickets()
Methods in net.minecraft.world.level with parameters of type TicketModifier and TypeMethodDescriptionboolean
void
private static boolean
TicketStorage.isTicketSameTypeAndLevel
(Ticket pFirst, Ticket pSecond) boolean
TicketStorage.removeTicket
(long pChunkPos, Ticket pTicket) void
TicketStorage.removeTicket
(Ticket pTicket, ChunkPos pChunkPos) Method parameters in net.minecraft.world.level with type arguments of type TicketModifier and TypeMethodDescriptionprivate void
TicketStorage.forEachTicket
(BiConsumer<ChunkPos, Ticket> pAction) private static void
TicketStorage.forEachTicket
(BiConsumer<ChunkPos, Ticket> p_401366_, it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<List<Ticket>> pAction) private static void
TicketStorage.forEachTicket
(BiConsumer<ChunkPos, Ticket> p_401366_, it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<List<Ticket>> pAction) 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> pTickets, boolean pRequireSimulation) private static int
TicketStorage.getTicketLevelAt
(List<Ticket> pTickets, boolean pRequireSimulation) void
TicketStorage.removeTicketIf
(BiPredicate<Long, Ticket> p_428720_, it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<List<Ticket>> p_393746_) void
TicketStorage.removeTicketIf
(BiPredicate<Long, Ticket> p_428720_, 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.