Class LookupInteractionEvent

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

public class LookupInteractionEvent 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
    LookupInteractionEvent(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.item.ItemStack stack, BlockEntityBotanyPot pot, PotInteraction original)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.level.block.state.BlockState
     
    net.minecraft.world.InteractionHand
     
     
     
    net.minecraft.world.entity.player.Player
     
    net.minecraft.world.item.ItemStack
     
    void
     

    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

    • LookupInteractionEvent

      public LookupInteractionEvent(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.item.ItemStack stack, BlockEntityBotanyPot pot, PotInteraction original)
  • Method Details

    • getBlockState

      public net.minecraft.world.level.block.state.BlockState getBlockState()
    • getPlayer

      public net.minecraft.world.entity.player.Player getPlayer()
    • getHand

      public net.minecraft.world.InteractionHand getHand()
    • getStack

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

      @Nullable public PotInteraction getOriginal()
    • getLookupResult

      @Nullable public PotInteraction getLookupResult()
    • setLookupResult

      public void setLookupResult(@Nullable PotInteraction newResult)