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) |
public static TypedActionResult<ItemStack> consumeHeldItem(World world, PlayerEntity playerEntity, Hand hand)