Package net.minecraft.block.pattern
Class CachedBlockPosition
java.lang.Object
net.minecraft.block.pattern.CachedBlockPosition
public class CachedBlockPosition extends Object
-
Field Summary
Fields Modifier and Type Field Description private BlockEntityblockEntityprivate booleancachedEntityprivate booleanforceLoadprivate BlockPosposprivate BlockStatestateprivate WorldViewworld -
Constructor Summary
Constructors Constructor Description CachedBlockPosition(WorldView world, BlockPos pos, boolean forceLoad) -
Method Summary
Modifier and Type Method Description BlockEntitygetBlockEntity()BlockPosgetBlockPos()BlockStategetBlockState()WorldViewgetWorld()static Predicate<CachedBlockPosition>matchesBlockState(Predicate<BlockState> state)
-
Field Details
-
world
-
pos
-
forceLoad
private final boolean forceLoad -
state
-
blockEntity
-
cachedEntity
private boolean cachedEntity
-
-
Constructor Details
-
CachedBlockPosition
-
-
Method Details
-
getBlockState
-
getBlockEntity
-
getWorld
-
getBlockPos
-
matchesBlockState
-