Package net.minecraft.util
Class MovingObjectPosition
- java.lang.Object
-
- net.minecraft.util.MovingObjectPosition
-
public class MovingObjectPosition extends java.lang.Object
+ This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MovingObjectPosition.MovingObjectType
-
Field Summary
Fields Modifier and Type Field Description Entity
entityHit
Vec3
hitVec
EnumFacing
sideHit
MovingObjectPosition.MovingObjectType
typeOfHit
-
Constructor Summary
Constructors Constructor Description MovingObjectPosition(Entity parEntity)
MovingObjectPosition(Entity entityHitIn, Vec3 hitVecIn)
MovingObjectPosition(MovingObjectPosition.MovingObjectType typeOfHitIn, Vec3 hitVecIn, EnumFacing sideHitIn, BlockPos blockPosIn)
MovingObjectPosition(Vec3 parVec3_1, EnumFacing facing)
MovingObjectPosition(Vec3 hitVecIn, EnumFacing facing, BlockPos blockPosIn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockPos
getBlockPos()
java.lang.String
toString()
-
-
-
Field Detail
-
typeOfHit
public MovingObjectPosition.MovingObjectType typeOfHit
-
sideHit
public EnumFacing sideHit
-
hitVec
public Vec3 hitVec
-
entityHit
public Entity entityHit
-
-
Constructor Detail
-
MovingObjectPosition
public MovingObjectPosition(Vec3 hitVecIn, EnumFacing facing, BlockPos blockPosIn)
-
MovingObjectPosition
public MovingObjectPosition(Vec3 parVec3_1, EnumFacing facing)
-
MovingObjectPosition
public MovingObjectPosition(Entity parEntity)
-
MovingObjectPosition
public MovingObjectPosition(MovingObjectPosition.MovingObjectType typeOfHitIn, Vec3 hitVecIn, EnumFacing sideHitIn, BlockPos blockPosIn)
-
-
Method Detail
-
getBlockPos
public BlockPos getBlockPos()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-