Uses of Class
net.minecraft.server.level.TicketType
Packages that use TicketType
Package
Description
-
Uses of TicketType in net.minecraft.server.level
Fields in net.minecraft.server.level declared as TicketTypeModifier and TypeFieldDescriptionstatic final TicketType
<Unit> TicketType.DRAGON
static final TicketType
<ChunkPos> TicketType.FORCED
static final TicketType
<ChunkPos> TicketType.PLAYER
static final TicketType
<BlockPos> TicketType.PORTAL
static final TicketType
<Integer> TicketType.POST_TELEPORT
static final TicketType
<Unit> TicketType.START
private final TicketType
<T> Ticket.type
static final TicketType
<ChunkPos> TicketType.UNKNOWN
Methods in net.minecraft.server.level that return TicketTypeModifier and TypeMethodDescriptionstatic <T> TicketType
<T> TicketType.create
(String pName, Comparator<T> pComparator) static <T> TicketType
<T> TicketType.create
(String pName, Comparator<T> pComparator, int pLifespan) Ticket.getType()
Methods in net.minecraft.server.level with parameters of type TicketTypeModifier and TypeMethodDescription<T> void
DistanceManager.addRegionTicket
(TicketType<T> pType, ChunkPos pPos, int pDistance, T pValue) <T> void
DistanceManager.addRegionTicket
(TicketType<T> pType, ChunkPos pPos, int pDistance, T pValue, boolean forceTicks) <T> void
ServerChunkCache.addRegionTicket
(TicketType<T> pType, ChunkPos pPos, int pDistance, T pValue) <T> void
ServerChunkCache.addRegionTicket
(TicketType<T> pType, ChunkPos pPos, int pDistance, T pValue, boolean forceTicks) <T> void
DistanceManager.addTicket
(TicketType<T> pType, ChunkPos pPos, int pLevel, T pValue) <T> void
TickingTracker.addTicket
(TicketType<T> pType, ChunkPos pChunkPos, int pTicketLevel, T pKey) <T> void
DistanceManager.removeRegionTicket
(TicketType<T> pType, ChunkPos pPos, int pDistance, T pValue) <T> void
DistanceManager.removeRegionTicket
(TicketType<T> pType, ChunkPos pPos, int pDistance, T pValue, boolean forceTicks) <T> void
ServerChunkCache.removeRegionTicket
(TicketType<T> pType, ChunkPos pPos, int pDistance, T pValue) <T> void
ServerChunkCache.removeRegionTicket
(TicketType<T> pType, ChunkPos pPos, int pDistance, T pValue, boolean forceTicks) <T> void
DistanceManager.removeTicket
(TicketType<T> pType, ChunkPos pPos, int pLevel, T pValue) <T> void
TickingTracker.removeTicket
(TicketType<T> pType, ChunkPos pChunkPos, int pTicketLevel, T pKey) Constructors in net.minecraft.server.level with parameters of type TicketTypeModifierConstructorDescriptionprotected
Ticket
(TicketType<T> pType, int pTicketLevel, T pKey) Ticket
(TicketType<T> pType, int pTicketLevel, T pKey, boolean forceTicks) -
Uses of TicketType in net.neoforged.neoforge.common.world.chunk
Fields in net.neoforged.neoforge.common.world.chunk declared as TicketTypeModifier and TypeFieldDescription(package private) static final TicketType
<ForcedChunkManager.TicketOwner<BlockPos>> ForcedChunkManager.BLOCK
(package private) static final TicketType
<ForcedChunkManager.TicketOwner<BlockPos>> ForcedChunkManager.BLOCK_TICKING
(package private) static final TicketType
<ForcedChunkManager.TicketOwner<UUID>> ForcedChunkManager.ENTITY
(package private) static final TicketType
<ForcedChunkManager.TicketOwner<UUID>> ForcedChunkManager.ENTITY_TICKING
Methods in net.neoforged.neoforge.common.world.chunk with parameters of type TicketTypeModifier and TypeMethodDescription(package private) static <T extends Comparable<? super T>>
booleanForcedChunkManager.forceChunk
(ServerLevel level, ResourceLocation id, T owner, int chunkX, int chunkZ, boolean add, boolean ticking, TicketType<ForcedChunkManager.TicketOwner<T>> type, Function<ForcedChunksSavedData, ForcedChunkManager.TicketTracker<T>> ticketGetter) Forces a chunk to be loaded for the given mod with the given "owner".private static <T extends Comparable<? super T>>
voidForcedChunkManager.forceChunk
(ServerLevel level, ChunkPos pos, TicketType<ForcedChunkManager.TicketOwner<T>> type, ForcedChunkManager.TicketOwner<T> owner, boolean add, boolean ticking) Adds/Removes a ticket from the level's chunk provider with the proper levels to match the forced chunks.private static <T extends Comparable<? super T>>
voidForcedChunkManager.reinstatePersistentChunks
(ServerLevel level, TicketType<ForcedChunkManager.TicketOwner<T>> type, Map<ForcedChunkManager.TicketOwner<T>, it.unimi.dsi.fastutil.longs.LongSet> tickets, boolean ticking) Adds back any persistent forced chunks to the level's chunk provider. -
Uses of TicketType in net.neoforged.neoforge.server.command.generation
Fields in net.neoforged.neoforge.server.command.generation declared as TicketTypeModifier and TypeFieldDescriptionstatic final TicketType
<ChunkPos> GenerationTask.NEOFORGE_GENERATE_FORCED