Package net.minecraft.server.network
Interface ChunkFilter
- All Known Implementing Classes:
ChunkFilter.Cylindrical
public interface ChunkFilter
- Mappings:
Namespace Name named net/minecraft/server/network/ChunkFilterintermediary net/minecraft/class_8603official aqz
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ChunkFiltercylindrical(ChunkPos center, int viewDistance) voidstatic voidforEachChangedChunk(ChunkFilter oldFilter, ChunkFilter newFilter, Consumer<ChunkPos> newlyIncluded, Consumer<ChunkPos> justRemoved) default booleanisWithinDistance(int x, int z) booleanisWithinDistance(int x, int z, boolean includeEdge) static booleanisWithinDistance(int centerX, int centerZ, int viewDistance, int x, int z, boolean includeEdge) default booleanisWithinDistance(ChunkPos pos) default booleanisWithinDistanceExcludingEdge(int x, int z) static booleanisWithinDistanceExcludingEdge(int centerX, int centerZ, int viewDistance, int x, int z)
-
Field Details
-
IGNORE_ALL
- Mappings:
Namespace Name Mixin selector named IGNORE_ALLLnet/minecraft/server/network/ChunkFilter;IGNORE_ALL:Lnet/minecraft/server/network/ChunkFilter;intermediary field_44986Lnet/minecraft/class_8603;field_44986:Lnet/minecraft/class_8603;official aLaqz;a:Laqz;
-
-
Method Details
-
cylindrical
- Mappings:
Namespace Name Mixin selector named cylindricalLnet/minecraft/server/network/ChunkFilter;cylindrical(Lnet/minecraft/util/math/ChunkPos;I)Lnet/minecraft/server/network/ChunkFilter;intermediary method_52362Lnet/minecraft/class_8603;method_52362(Lnet/minecraft/class_1923;I)Lnet/minecraft/class_8603;official aLaqz;a(Ldio;I)Laqz;
-
forEachChangedChunk
static void forEachChangedChunk(ChunkFilter oldFilter, ChunkFilter newFilter, Consumer<ChunkPos> newlyIncluded, Consumer<ChunkPos> justRemoved) - Mappings:
Namespace Name Mixin selector named forEachChangedChunkLnet/minecraft/server/network/ChunkFilter;forEachChangedChunk(Lnet/minecraft/server/network/ChunkFilter;Lnet/minecraft/server/network/ChunkFilter;Ljava/util/function/Consumer;Ljava/util/function/Consumer;)Vintermediary method_52360Lnet/minecraft/class_8603;method_52360(Lnet/minecraft/class_8603;Lnet/minecraft/class_8603;Ljava/util/function/Consumer;Ljava/util/function/Consumer;)Vofficial aLaqz;a(Laqz;Laqz;Ljava/util/function/Consumer;Ljava/util/function/Consumer;)V
-
isWithinDistance
- Mappings:
Namespace Name Mixin selector named isWithinDistanceLnet/minecraft/server/network/ChunkFilter;isWithinDistance(Lnet/minecraft/util/math/ChunkPos;)Zintermediary method_52361Lnet/minecraft/class_8603;method_52361(Lnet/minecraft/class_1923;)Zofficial aLaqz;a(Ldio;)Z
-
isWithinDistance
default boolean isWithinDistance(int x, int z) - Mappings:
Namespace Name Mixin selector named isWithinDistanceLnet/minecraft/server/network/ChunkFilter;isWithinDistance(II)Zintermediary method_52356Lnet/minecraft/class_8603;method_52356(II)Zofficial aLaqz;a(II)Z
-
isWithinDistance
boolean isWithinDistance(int x, int z, boolean includeEdge) - Mappings:
Namespace Name Mixin selector named isWithinDistanceLnet/minecraft/server/network/ChunkFilter;isWithinDistance(IIZ)Zintermediary method_52359Lnet/minecraft/class_8603;method_52359(IIZ)Zofficial aLaqz;a(IIZ)Z
-
forEach
- Mappings:
Namespace Name Mixin selector named forEachLnet/minecraft/server/network/ChunkFilter;forEach(Ljava/util/function/Consumer;)Vintermediary method_52363Lnet/minecraft/class_8603;method_52363(Ljava/util/function/Consumer;)Vofficial aLaqz;a(Ljava/util/function/Consumer;)V
-
isWithinDistanceExcludingEdge
default boolean isWithinDistanceExcludingEdge(int x, int z) - Mappings:
Namespace Name Mixin selector named isWithinDistanceExcludingEdgeLnet/minecraft/server/network/ChunkFilter;isWithinDistanceExcludingEdge(II)Zintermediary method_52364Lnet/minecraft/class_8603;method_52364(II)Zofficial bLaqz;b(II)Z
-
isWithinDistanceExcludingEdge
static boolean isWithinDistanceExcludingEdge(int centerX, int centerZ, int viewDistance, int x, int z) - Mappings:
Namespace Name Mixin selector named isWithinDistanceExcludingEdgeLnet/minecraft/server/network/ChunkFilter;isWithinDistanceExcludingEdge(IIIII)Zintermediary method_52357Lnet/minecraft/class_8603;method_52357(IIIII)Zofficial aLaqz;a(IIIII)Z
-
isWithinDistance
static boolean isWithinDistance(int centerX, int centerZ, int viewDistance, int x, int z, boolean includeEdge) - Mappings:
Namespace Name Mixin selector named isWithinDistanceLnet/minecraft/server/network/ChunkFilter;isWithinDistance(IIIIIZ)Zintermediary method_52358Lnet/minecraft/class_8603;method_52358(IIIIIZ)Zofficial aLaqz;a(IIIIIZ)Z
-