Interface PlayerEvents.Crafted
- Record Components:
crafted- what they took (don't change it)grid- the crafting grid it was made from
- Enclosing class:
- PlayerEvents
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A player took what they crafted out of a crafting result slot (the crafting table's, their inventory's, or
another menu's built the same way), on the server.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonCrafted(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack crafted, net.minecraft.world.Container grid)
-
Method Details
-
onCrafted
void onCrafted(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack crafted, net.minecraft.world.Container grid)
-