Package net.darkhax.botanypots.events
Class LookupInteractionEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.darkhax.botanypots.events.BotanyPotEvent
net.darkhax.botanypots.events.LookupInteractionEvent
-
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
ConstructorsConstructorDescriptionLookupInteractionEvent(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 TypeMethodDescriptionnet.minecraft.world.level.block.state.BlockStatenet.minecraft.world.InteractionHandgetHand()net.minecraft.world.entity.player.Playernet.minecraft.world.item.ItemStackgetStack()voidsetLookupResult(PotInteraction newResult) Methods inherited from class net.darkhax.botanypots.events.BotanyPotEvent
getLevel, getPos, getPotMethods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
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
-
getLookupResult
-
setLookupResult
-