Class LookupSoilEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.darkhax.botanypots.events.BotanyPotEvent
net.darkhax.botanypots.events.LookupSoilEvent

public class LookupSoilEvent extends BotanyPotEvent
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event

    net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
    LookupSoilEvent(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, BlockEntityBotanyPot pot, net.minecraft.world.item.ItemStack stack, Soil original)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    net.minecraft.world.item.ItemStack
     
    void
    setLookupResult(Soil newResult)
     

    Methods inherited from class net.darkhax.botanypots.events.BotanyPotEvent

    getLevel, getPos, getPot

    Methods inherited from class net.minecraftforge.eventbus.api.Event

    getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LookupSoilEvent

      public LookupSoilEvent(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, BlockEntityBotanyPot pot, net.minecraft.world.item.ItemStack stack, Soil original)
  • Method Details

    • getStack

      public net.minecraft.world.item.ItemStack getStack()
    • getOriginal

      @Nullable public Soil getOriginal()
    • getLookupResult

      @Nullable public Soil getLookupResult()
    • setLookupResult

      public void setLookupResult(@Nullable Soil newResult)