public class UtilMcForge10
extends java.lang.Object
UtilMcForge| Constructor and Description |
|---|
UtilMcForge10() |
| Modifier and Type | Method and Description |
|---|---|
static net.minecraft.util.EnumFacing |
getEntityOrientation(float yaw)
Gets the direction of an entity based on their rotation
|
static net.minecraft.util.EnumFacing |
getEntityOrientation(float yaw,
float pitch)
Similar to
getEntityOrientation(float), but takes pitch into consideration |
static void |
giveItemStack(net.minecraft.entity.player.EntityPlayer p,
net.minecraft.item.ItemStack is)
Gives the ItemStack to the player.
|
static void |
moveAll(IItemHandler src,
IItemHandler dest) |
public static net.minecraft.util.EnumFacing getEntityOrientation(float yaw)
yaw - The yaw of the entity (e.rotationYaw)public static net.minecraft.util.EnumFacing getEntityOrientation(float yaw,
float pitch)
getEntityOrientation(float), but takes pitch into considerationyaw - The yaw of the entity (e.rotationYaw)pitch - The pitch of the entity (e.rotationPitch)public static void moveAll(IItemHandler src,
IItemHandler dest)
public static void giveItemStack(net.minecraft.entity.player.EntityPlayer p,
net.minecraft.item.ItemStack is)