Class ShopEvent.Purchase.Pre
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.ShopEvent
com.pixelmonmod.pixelmon.api.events.ShopEvent.Purchase
com.pixelmonmod.pixelmon.api.events.ShopEvent.Purchase.Pre
- Enclosing class:
- ShopEvent.Purchase
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.ShopEvent.Purchase
ShopEvent.Purchase.Post, ShopEvent.Purchase.Pre
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.ShopEvent
ShopEvent.Purchase, ShopEvent.Sell
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.events.ShopEvent.Purchase
item
-
Constructor Summary
ConstructorDescriptionPre
(net.minecraft.server.level.ServerPlayer player, ShopBuilder shop, net.minecraft.world.item.ItemStack item) -
Method Summary
Modifier and TypeMethodDescriptionvoid
setItem
(@Nullable net.minecraft.world.item.ItemStack item) Methods inherited from class com.pixelmonmod.pixelmon.api.events.ShopEvent.Purchase
getItem
Methods inherited from class com.pixelmonmod.pixelmon.api.events.ShopEvent
getBlockPos, getEntity, getPlayer, getShop
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
Pre
public Pre(net.minecraft.server.level.ServerPlayer player, ShopBuilder shop, net.minecraft.world.item.ItemStack item)
-
-
Method Details
-
setItem
public void setItem(@Nullable @Nullable net.minecraft.world.item.ItemStack item)
-