Package net.minecraft.block.pattern
Class CachedBlockPosition
java.lang.Object
net.minecraft.block.pattern.CachedBlockPosition
public class CachedBlockPosition extends Object
- Mappings:
Namespace Name official cjv
intermediary net/minecraft/class_2694
named net/minecraft/block/pattern/CachedBlockPosition
-
Field Summary
Fields Modifier and Type Field Description private BlockEntity
blockEntity
private boolean
cachedEntity
private boolean
forceLoad
private BlockPos
pos
private BlockState
state
private WorldView
world
-
Constructor Summary
Constructors Constructor Description CachedBlockPosition(WorldView world, BlockPos pos, boolean forceLoad)
-
Method Summary
Modifier and Type Method Description @Nullable BlockEntity
getBlockEntity()
BlockPos
getBlockPos()
BlockState
getBlockState()
WorldView
getWorld()
static Predicate<CachedBlockPosition>
matchesBlockState(Predicate<BlockState> state)
-
Field Details
-
world
- Mappings:
Namespace Name Mixin selector official a
Lcjv;a:Lbvu;
intermediary field_12330
Lnet/minecraft/class_2694;field_12330:Lnet/minecraft/class_4538;
named world
Lnet/minecraft/block/pattern/CachedBlockPosition;world:Lnet/minecraft/world/WorldView;
-
pos
- Mappings:
Namespace Name Mixin selector official b
Lcjv;b:Lgb;
intermediary field_12331
Lnet/minecraft/class_2694;field_12331:Lnet/minecraft/class_2338;
named pos
Lnet/minecraft/block/pattern/CachedBlockPosition;pos:Lnet/minecraft/util/math/BlockPos;
-
forceLoad
private final boolean forceLoad- Mappings:
Namespace Name Mixin selector official c
Lcjv;c:Z
intermediary field_12329
Lnet/minecraft/class_2694;field_12329:Z
named forceLoad
Lnet/minecraft/block/pattern/CachedBlockPosition;forceLoad:Z
-
state
- Mappings:
Namespace Name Mixin selector official d
Lcjv;d:Lcjr;
intermediary field_12326
Lnet/minecraft/class_2694;field_12326:Lnet/minecraft/class_2680;
named state
Lnet/minecraft/block/pattern/CachedBlockPosition;state:Lnet/minecraft/block/BlockState;
-
blockEntity
- Mappings:
Namespace Name Mixin selector official e
Lcjv;e:Lchp;
intermediary field_12327
Lnet/minecraft/class_2694;field_12327:Lnet/minecraft/class_2586;
named blockEntity
Lnet/minecraft/block/pattern/CachedBlockPosition;blockEntity:Lnet/minecraft/block/entity/BlockEntity;
-
cachedEntity
private boolean cachedEntity- Mappings:
Namespace Name Mixin selector official f
Lcjv;f:Z
intermediary field_12328
Lnet/minecraft/class_2694;field_12328:Z
named cachedEntity
Lnet/minecraft/block/pattern/CachedBlockPosition;cachedEntity:Z
-
-
Constructor Details
-
CachedBlockPosition
- Mappings:
Namespace Name Mixin selector official <init>
Lcjv;<init>(Lbvu;Lgb;Z)V
intermediary <init>
Lnet/minecraft/class_2694;<init>(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Z)V
named <init>
Lnet/minecraft/block/pattern/CachedBlockPosition;<init>(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Z)V
-
-
Method Details
-
getBlockState
- Mappings:
Namespace Name Mixin selector official a
Lcjv;a()Lcjr;
intermediary method_11681
Lnet/minecraft/class_2694;method_11681()Lnet/minecraft/class_2680;
named getBlockState
Lnet/minecraft/block/pattern/CachedBlockPosition;getBlockState()Lnet/minecraft/block/BlockState;
-
getBlockEntity
- Mappings:
Namespace Name Mixin selector official b
Lcjv;b()Lchp;
intermediary method_11680
Lnet/minecraft/class_2694;method_11680()Lnet/minecraft/class_2586;
named getBlockEntity
Lnet/minecraft/block/pattern/CachedBlockPosition;getBlockEntity()Lnet/minecraft/block/entity/BlockEntity;
-
getWorld
- Mappings:
Namespace Name Mixin selector official c
Lcjv;c()Lbvu;
intermediary method_11679
Lnet/minecraft/class_2694;method_11679()Lnet/minecraft/class_4538;
named getWorld
Lnet/minecraft/block/pattern/CachedBlockPosition;getWorld()Lnet/minecraft/world/WorldView;
-
getBlockPos
- Mappings:
Namespace Name Mixin selector official d
Lcjv;d()Lgb;
intermediary method_11683
Lnet/minecraft/class_2694;method_11683()Lnet/minecraft/class_2338;
named getBlockPos
Lnet/minecraft/block/pattern/CachedBlockPosition;getBlockPos()Lnet/minecraft/util/math/BlockPos;
-
matchesBlockState
- Mappings:
Namespace Name Mixin selector official a
Lcjv;a(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;
named matchesBlockState
Lnet/minecraft/block/pattern/CachedBlockPosition;matchesBlockState(Ljava/util/function/Predicate;)Ljava/util/function/Predicate;
-