public class ItemUsage extends Object
Constructor and Description |
---|
ItemUsage() |
Modifier and Type | Method and Description |
---|---|
static TypedActionResult<ItemStack> |
consumeHeldItem(World world,
PlayerEntity playerEntity,
Hand hand) |
static ItemStack |
method_30012(ItemStack itemStack,
PlayerEntity playerEntity,
ItemStack itemStack2) |
static ItemStack |
method_30270(ItemStack itemStack,
PlayerEntity playerEntity,
ItemStack itemStack2,
boolean bool) |
public static TypedActionResult<ItemStack> consumeHeldItem(World world, PlayerEntity playerEntity, Hand hand)
public static ItemStack method_30270(ItemStack itemStack, PlayerEntity playerEntity, ItemStack itemStack2, boolean bool)
public static ItemStack method_30012(ItemStack itemStack, PlayerEntity playerEntity, ItemStack itemStack2)