Interface ChunkFilter

All Known Implementing Classes:
ChunkFilter.Cylindrical

public interface ChunkFilter
Mappings:
Namespace Name
official amr
intermediary net/minecraft/class_8603
named net/minecraft/server/network/ChunkFilter
  • Field Details

    • IGNORE_ALL

      static final ChunkFilter IGNORE_ALL
      Mappings:
      Namespace Name Mixin selector
      official a Lamr;a:Lamr;
      intermediary field_44986 Lnet/minecraft/class_8603;field_44986:Lnet/minecraft/class_8603;
      named IGNORE_ALL Lnet/minecraft/server/network/ChunkFilter;IGNORE_ALL:Lnet/minecraft/server/network/ChunkFilter;
  • Method Details

    • cylindrical

      static ChunkFilter cylindrical(ChunkPos center, int viewDistance)
      Mappings:
      Namespace Name Mixin selector
      official a Lamr;a(Lcsw;I)Lamr;
      intermediary method_52362 Lnet/minecraft/class_8603;method_52362(Lnet/minecraft/class_1923;I)Lnet/minecraft/class_8603;
      named cylindrical Lnet/minecraft/server/network/ChunkFilter;cylindrical(Lnet/minecraft/util/math/ChunkPos;I)Lnet/minecraft/server/network/ChunkFilter;
    • forEachChangedChunk

      static void forEachChangedChunk(ChunkFilter oldFilter, ChunkFilter newFilter, Consumer<ChunkPos> newlyIncluded, Consumer<ChunkPos> justRemoved)
      Mappings:
      Namespace Name Mixin selector
      official a Lamr;a(Lamr;Lamr;Ljava/util/function/Consumer;Ljava/util/function/Consumer;)V
      intermediary method_52360 Lnet/minecraft/class_8603;method_52360(Lnet/minecraft/class_8603;Lnet/minecraft/class_8603;Ljava/util/function/Consumer;Ljava/util/function/Consumer;)V
      named forEachChangedChunk Lnet/minecraft/server/network/ChunkFilter;forEachChangedChunk(Lnet/minecraft/server/network/ChunkFilter;Lnet/minecraft/server/network/ChunkFilter;Ljava/util/function/Consumer;Ljava/util/function/Consumer;)V
    • isWithinDistance

      default boolean isWithinDistance(ChunkPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lamr;a(Lcsw;)Z
      intermediary method_52361 Lnet/minecraft/class_8603;method_52361(Lnet/minecraft/class_1923;)Z
      named isWithinDistance Lnet/minecraft/server/network/ChunkFilter;isWithinDistance(Lnet/minecraft/util/math/ChunkPos;)Z
    • isWithinDistance

      default boolean isWithinDistance(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Lamr;a(II)Z
      intermediary method_52356 Lnet/minecraft/class_8603;method_52356(II)Z
      named isWithinDistance Lnet/minecraft/server/network/ChunkFilter;isWithinDistance(II)Z
    • isWithinDistance

      boolean isWithinDistance(int x, int z, boolean includeEdge)
      Mappings:
      Namespace Name Mixin selector
      official a Lamr;a(IIZ)Z
      intermediary method_52359 Lnet/minecraft/class_8603;method_52359(IIZ)Z
      named isWithinDistance Lnet/minecraft/server/network/ChunkFilter;isWithinDistance(IIZ)Z
    • forEach

      void forEach(Consumer<ChunkPos> consumer)
      Mappings:
      Namespace Name Mixin selector
      official a Lamr;a(Ljava/util/function/Consumer;)V
      intermediary method_52363 Lnet/minecraft/class_8603;method_52363(Ljava/util/function/Consumer;)V
      named forEach Lnet/minecraft/server/network/ChunkFilter;forEach(Ljava/util/function/Consumer;)V
    • isWithinDistanceExcludingEdge

      default boolean isWithinDistanceExcludingEdge(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      official b Lamr;b(II)Z
      intermediary method_52364 Lnet/minecraft/class_8603;method_52364(II)Z
      named isWithinDistanceExcludingEdge Lnet/minecraft/server/network/ChunkFilter;isWithinDistanceExcludingEdge(II)Z
    • isWithinDistanceExcludingEdge

      static boolean isWithinDistanceExcludingEdge(int centerX, int centerZ, int viewDistance, int x, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Lamr;a(IIIII)Z
      intermediary method_52357 Lnet/minecraft/class_8603;method_52357(IIIII)Z
      named isWithinDistanceExcludingEdge Lnet/minecraft/server/network/ChunkFilter;isWithinDistanceExcludingEdge(IIIII)Z
    • isWithinDistance

      static boolean isWithinDistance(int centerX, int centerZ, int viewDistance, int x, int z, boolean includeEdge)
      Mappings:
      Namespace Name Mixin selector
      official a Lamr;a(IIIIIZ)Z
      intermediary method_52358 Lnet/minecraft/class_8603;method_52358(IIIIIZ)Z
      named isWithinDistance Lnet/minecraft/server/network/ChunkFilter;isWithinDistance(IIIIIZ)Z