Class CachedBlockPosition

java.lang.Object
net.minecraft.block.pattern.CachedBlockPosition

public class CachedBlockPosition extends Object
Mappings:
Namespace Name
named net/minecraft/block/pattern/CachedBlockPosition
intermediary net/minecraft/class_2694
official dtg
  • Field Details

    • world

      private final WorldView world
      Mappings:
      Namespace Name Mixin selector
      named world Lnet/minecraft/block/pattern/CachedBlockPosition;world:Lnet/minecraft/world/WorldView;
      intermediary field_12330 Lnet/minecraft/class_2694;field_12330:Lnet/minecraft/class_4538;
      official a Ldtg;a:Ldcz;
    • pos

      private final BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      named pos Lnet/minecraft/block/pattern/CachedBlockPosition;pos:Lnet/minecraft/util/math/BlockPos;
      intermediary field_12331 Lnet/minecraft/class_2694;field_12331:Lnet/minecraft/class_2338;
      official b Ldtg;b:Ljd;
    • forceLoad

      private final boolean forceLoad
      Mappings:
      Namespace Name Mixin selector
      named forceLoad Lnet/minecraft/block/pattern/CachedBlockPosition;forceLoad:Z
      intermediary field_12329 Lnet/minecraft/class_2694;field_12329:Z
      official c Ldtg;c:Z
    • state

      Mappings:
      Namespace Name Mixin selector
      named state Lnet/minecraft/block/pattern/CachedBlockPosition;state:Lnet/minecraft/block/BlockState;
      intermediary field_12326 Lnet/minecraft/class_2694;field_12326:Lnet/minecraft/class_2680;
      official d Ldtg;d:Ldtc;
    • blockEntity

      @Nullable private @Nullable BlockEntity blockEntity
      Mappings:
      Namespace Name Mixin selector
      named blockEntity Lnet/minecraft/block/pattern/CachedBlockPosition;blockEntity:Lnet/minecraft/block/entity/BlockEntity;
      intermediary field_12327 Lnet/minecraft/class_2694;field_12327:Lnet/minecraft/class_2586;
      official e Ldtg;e:Ldqh;
    • cachedEntity

      private boolean cachedEntity
      Mappings:
      Namespace Name Mixin selector
      named cachedEntity Lnet/minecraft/block/pattern/CachedBlockPosition;cachedEntity:Z
      intermediary field_12328 Lnet/minecraft/class_2694;field_12328:Z
      official f Ldtg;f:Z
  • Constructor Details

    • CachedBlockPosition

      public CachedBlockPosition(WorldView world, BlockPos pos, boolean forceLoad)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/block/pattern/CachedBlockPosition;<init>(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Z)V
      intermediary <init> Lnet/minecraft/class_2694;<init>(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Z)V
      official <init> Ldtg;<init>(Ldcz;Ljd;Z)V
  • Method Details

    • getBlockState

      public BlockState getBlockState()
      Mappings:
      Namespace Name Mixin selector
      named getBlockState Lnet/minecraft/block/pattern/CachedBlockPosition;getBlockState()Lnet/minecraft/block/BlockState;
      intermediary method_11681 Lnet/minecraft/class_2694;method_11681()Lnet/minecraft/class_2680;
      official a Ldtg;a()Ldtc;
    • getBlockEntity

      @Nullable public @Nullable BlockEntity getBlockEntity()
      Mappings:
      Namespace Name Mixin selector
      named getBlockEntity Lnet/minecraft/block/pattern/CachedBlockPosition;getBlockEntity()Lnet/minecraft/block/entity/BlockEntity;
      intermediary method_11680 Lnet/minecraft/class_2694;method_11680()Lnet/minecraft/class_2586;
      official b Ldtg;b()Ldqh;
    • getWorld

      public WorldView getWorld()
      Mappings:
      Namespace Name Mixin selector
      named getWorld Lnet/minecraft/block/pattern/CachedBlockPosition;getWorld()Lnet/minecraft/world/WorldView;
      intermediary method_11679 Lnet/minecraft/class_2694;method_11679()Lnet/minecraft/class_4538;
      official c Ldtg;c()Ldcz;
    • getBlockPos

      public BlockPos getBlockPos()
      Mappings:
      Namespace Name Mixin selector
      named getBlockPos Lnet/minecraft/block/pattern/CachedBlockPosition;getBlockPos()Lnet/minecraft/util/math/BlockPos;
      intermediary method_11683 Lnet/minecraft/class_2694;method_11683()Lnet/minecraft/class_2338;
      official d Ldtg;d()Ljd;
    • matchesBlockState

      public static Predicate<CachedBlockPosition> matchesBlockState(Predicate<BlockState> state)
      Mappings:
      Namespace Name Mixin selector
      named matchesBlockState Lnet/minecraft/block/pattern/CachedBlockPosition;matchesBlockState(Ljava/util/function/Predicate;)Ljava/util/function/Predicate;
      intermediary method_11678 Lnet/minecraft/class_2694;method_11678(Ljava/util/function/Predicate;)Ljava/util/function/Predicate;
      official a Ldtg;a(Ljava/util/function/Predicate;)Ljava/util/function/Predicate;