public interface UseItemCallback
Upon return:
| Modifier and Type | Field and Description |
|---|---|
static Event<UseItemCallback> |
EVENT |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.util.TypedActionResult<net.minecraft.item.ItemStack> |
interact(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.world.World world,
net.minecraft.util.Hand hand) |
static final Event<UseItemCallback> EVENT