Class SmallPartsTableCraftEvent
java.lang.Object
net.neoforged.bus.api.Event
tech.anonymoushacker1279.immersiveweapons.api.events.SmallPartsTableCraftEvent
public class SmallPartsTableCraftEvent
extends net.neoforged.bus.api.Event
This event is fired when a player crafts an item using the small parts table.
-
Constructor Summary
ConstructorsConstructorDescriptionSmallPartsTableCraftEvent(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack craftedItem) This event is fired when a player crafts an item using the small parts table. -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.ItemStacknet.minecraft.world.entity.player.Player
-
Constructor Details
-
SmallPartsTableCraftEvent
public SmallPartsTableCraftEvent(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack craftedItem) This event is fired when a player crafts an item using the small parts table.- Parameters:
player- thePlayerwho crafted the itemcraftedItem- theItemStackthat was crafted
-
-
Method Details
-
getPlayer
public net.minecraft.world.entity.player.Player getPlayer() -
getCraftedItem
public net.minecraft.world.item.ItemStack getCraftedItem()
-