Uses of Record Class
dev.wyck.misc.ChunkLocation
Packages that use ChunkLocation
Package
Description
-
Uses of ChunkLocation in dev.wyck.misc
Methods in dev.wyck.misc that return ChunkLocationModifier and TypeMethodDescriptionstatic ChunkLocationChunkLocation.fromBlockCoords(int blockX, int blockZ) Creates a ChunkLocation from block coordinates.ChunkLocation.negate()Negates the chunk coordinates.static ChunkLocationChunkLocation.of(int chunkX, int chunkZ) Creates a ChunkLocation from chunk coordinates.ChunkLocation.offset(int offsetX, int offsetZ) Offsets this ChunkLocation by the given x and z offsets.ChunkLocation.offset(ChunkLocation offset) Offsets this ChunkLocation by another ChunkLocation.Methods in dev.wyck.misc with parameters of type ChunkLocationModifier and TypeMethodDescriptionbooleanChunkLocation.isWithinRadius(ChunkLocation other, int radius) Checks if this ChunkLocation is within a certain radius of another ChunkLocation.ChunkLocation.offset(ChunkLocation offset) Offsets this ChunkLocation by another ChunkLocation. -
Uses of ChunkLocation in dev.wyck.renderer.packet
Methods in dev.wyck.renderer.packet with parameters of type ChunkLocationModifier and TypeMethodDescriptionVirtualBiomeCollector.bestBiomeFor(Player player, ChunkLocation chunkLocation) Picks the 'best' phony custom biome for the given player and chunk location.VirtualBiomeCollector.bestCustomBiomeFor(Player player, ChunkLocation chunkLocation) Picks the 'best' custom biome for the given player and chunk location (spatial only).VirtualBiomeCollector.resolverFor(Player player, ChunkLocation chunkLocation) Cheap pre-decode gate. -
Uses of ChunkLocation in dev.wyck.renderer.packet.data
Methods in dev.wyck.renderer.packet.data that return ChunkLocationModifier and TypeMethodDescriptionBukkitSnapshotChunkData.location()Returns the value of thelocationrecord component.SnapshotChunkData.location()Methods in dev.wyck.renderer.packet.data that return types with arguments of type ChunkLocationModifier and TypeMethodDescriptionVirtualBiome.conditional()Returns the value of theconditionalrecord component.Method parameters in dev.wyck.renderer.packet.data with type arguments of type ChunkLocationModifier and TypeMethodDescriptionVirtualBiome.Builder.conditional(BiPredicate<Player, ChunkLocation> conditional) Constructors in dev.wyck.renderer.packet.data with parameters of type ChunkLocationModifierConstructorDescriptionBukkitSnapshotChunkData(ChunkLocation location, ChunkSnapshot snapshot) Creates an instance of aBukkitSnapshotChunkDatarecord class.Constructor parameters in dev.wyck.renderer.packet.data with type arguments of type ChunkLocationModifierConstructorDescriptionVirtualBiome(ResourceKey biomeResourceKey, List<BlockReplacement> blockReplacements, BiPredicate<Player, ChunkLocation> conditional, @Nullable BiPredicate<Player, SnapshotChunkData> biomeCondition, PacketHandler.Priority priority) Creates an instance of aVirtualBiomerecord class. -
Uses of ChunkLocation in dev.wyck.renderer.packet.handlers
Methods in dev.wyck.renderer.packet.handlers with parameters of type ChunkLocationModifier and TypeMethodDescriptionvoidNativeChunkPacketHandler.modifyChunkBiomes(Object chunkData, ChunkLocation chunkLocation, VirtualBiomeResolver resolver, PacketHandler.DimensionSectionCount dimensionSectionCount) Decodes a clientbound chunk packet exactly once, lets the supplied resolver inspect the real biome/block data and choose a custom biome, and only if one is chosen rewrites the packet to use that biome's ID and apply its block replacements.