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 BlockPos
blockPos
private Vector3d
centerPosition
-
Constructor Summary
Constructors Constructor Description BlockPosWrapper(BlockPos p_i50371_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockPos
currentBlockPosition()
Vector3d
currentPosition()
boolean
isVisibleBy(LivingEntity p_220610_1_)
java.lang.String
toString()
-
-
-
Constructor Detail
-
BlockPosWrapper
public BlockPosWrapper(BlockPos p_i50371_1_)
-
-
Method Detail
-
currentPosition
public Vector3d currentPosition()
- Specified by:
currentPosition
in interfaceIPosWrapper
-
currentBlockPosition
public BlockPos currentBlockPosition()
- Specified by:
currentBlockPosition
in interfaceIPosWrapper
-
isVisibleBy
public boolean isVisibleBy(LivingEntity p_220610_1_)
- Specified by:
isVisibleBy
in interfaceIPosWrapper
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-