Interface NeighborUpdater

All Known Implementing Classes:
ChainRestrictedNeighborUpdater, SimpleNeighborUpdater

public interface NeighborUpdater
Mappings:
Namespace Name
official dxm
intermediary net/minecraft/class_7165
named net/minecraft/world/block/NeighborUpdater
  • Field Details

    • UPDATE_ORDER

      static final Direction[] UPDATE_ORDER
      Mappings:
      Namespace Name Mixin selector
      official a Ldxm;a:[Lgz;
      intermediary field_37839 Lnet/minecraft/class_7165;field_37839:[Lnet/minecraft/class_2350;
      named UPDATE_ORDER Lnet/minecraft/world/block/NeighborUpdater;UPDATE_ORDER:[Lnet/minecraft/util/math/Direction;
  • Method Details

    • replaceWithStateForNeighborUpdate

      void replaceWithStateForNeighborUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth)
      Mappings:
      Namespace Name Mixin selector
      official a Ldxm;a(Lgz;Ldbq;Lgt;Lgt;II)V
      intermediary method_42392 Lnet/minecraft/class_7165;method_42392(Lnet/minecraft/class_2350;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;II)V
      named replaceWithStateForNeighborUpdate Lnet/minecraft/world/block/NeighborUpdater;replaceWithStateForNeighborUpdate(Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;II)V
    • updateNeighbor

      void updateNeighbor(BlockPos pos, Block sourceBlock, BlockPos sourcePos)
      Mappings:
      Namespace Name Mixin selector
      official a Ldxm;a(Lgt;Lcpi;Lgt;)V
      intermediary method_41704 Lnet/minecraft/class_7165;method_41704(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;)V
      named updateNeighbor Lnet/minecraft/world/block/NeighborUpdater;updateNeighbor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
    • updateNeighbor

      void updateNeighbor(BlockState state, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify)
      Mappings:
      Namespace Name Mixin selector
      official a Ldxm;a(Ldbq;Lgt;Lcpi;Lgt;Z)V
      intermediary method_41703 Lnet/minecraft/class_7165;method_41703(Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;Z)V
      named updateNeighbor Lnet/minecraft/world/block/NeighborUpdater;updateNeighbor(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;Z)V
    • updateNeighbors

      default void updateNeighbors(BlockPos pos, Block sourceBlock, @Nullable @Nullable Direction except)
      Mappings:
      Namespace Name Mixin selector
      official a Ldxm;a(Lgt;Lcpi;Lgz;)V
      intermediary method_41705 Lnet/minecraft/class_7165;method_41705(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_2350;)V
      named updateNeighbors Lnet/minecraft/world/block/NeighborUpdater;updateNeighbors(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/Direction;)V
    • replaceWithStateForNeighborUpdate

      static void replaceWithStateForNeighborUpdate(WorldAccess world, Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth)
      Mappings:
      Namespace Name Mixin selector
      official a Ldxm;a(Lcmj;Lgz;Ldbq;Lgt;Lgt;II)V
      intermediary method_42393 Lnet/minecraft/class_7165;method_42393(Lnet/minecraft/class_1936;Lnet/minecraft/class_2350;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;II)V
      named replaceWithStateForNeighborUpdate Lnet/minecraft/world/block/NeighborUpdater;replaceWithStateForNeighborUpdate(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;II)V
    • tryNeighborUpdate

      static void tryNeighborUpdate(World world, BlockState state, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify)
      Mappings:
      Namespace Name Mixin selector
      official a Ldxm;a(Lcmi;Ldbq;Lgt;Lcpi;Lgt;Z)V
      intermediary method_41708 Lnet/minecraft/class_7165;method_41708(Lnet/minecraft/class_1937;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;Z)V
      named tryNeighborUpdate Lnet/minecraft/world/block/NeighborUpdater;tryNeighborUpdate(Lnet/minecraft/world/World;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;Z)V