Package net.minecraft.util.math
Class BlockPosWrapper
- java.lang.Object
-
- net.minecraft.util.math.BlockPosWrapper
-
- All Implemented Interfaces:
IPosWrapper
public class BlockPosWrapper extends java.lang.Object implements IPosWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private BlockPosblockPosprivate Vector3dcenterPosition
-
Constructor Summary
Constructors Constructor Description BlockPosWrapper(BlockPos p_i50371_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockPoscurrentBlockPosition()Vector3dcurrentPosition()booleanisVisibleBy(LivingEntity p_220610_1_)java.lang.StringtoString()
-
-
-
Constructor Detail
-
BlockPosWrapper
public BlockPosWrapper(BlockPos p_i50371_1_)
-
-
Method Detail
-
currentPosition
public Vector3d currentPosition()
- Specified by:
currentPositionin interfaceIPosWrapper
-
currentBlockPosition
public BlockPos currentBlockPosition()
- Specified by:
currentBlockPositionin interfaceIPosWrapper
-
isVisibleBy
public boolean isVisibleBy(LivingEntity p_220610_1_)
- Specified by:
isVisibleByin interfaceIPosWrapper
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-