Package net.darkhax.botanypots.events
Class BotanyPotEventDispatcherForge
java.lang.Object
net.darkhax.botanypots.events.BotanyPotEventDispatcherForge
- All Implemented Interfaces:
BotanyPotEventDispatcher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidlistenCropDrops(ICropDropListener listener) voidlistenCropLookup(ILookupCropListener listener) voidvoidvoidlistenSoilLookup(ILookupSoilListener listener) List<net.minecraft.world.item.ItemStack>postCropDrops(Random rng, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, BlockEntityBotanyPot pot, Crop crop, List<net.minecraft.world.item.ItemStack> originalDrops) @Nullable CroppostCropLookup(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, BlockEntityBotanyPot pot, net.minecraft.world.item.ItemStack stack, @Nullable Crop found) @Nullable FertilizerpostFertilizerLookup(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 heldStack, BlockEntityBotanyPot pot, Fertilizer found) @Nullable PotInteractionpostInteractionLookup(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 heldStack, BlockEntityBotanyPot pot, PotInteraction found) @Nullable SoilpostSoilLookup(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, BlockEntityBotanyPot pot, net.minecraft.world.item.ItemStack stack, @Nullable Soil found)
-
Constructor Details
-
BotanyPotEventDispatcherForge
public BotanyPotEventDispatcherForge()
-
-
Method Details
-
postSoilLookup
@Nullable public @Nullable Soil postSoilLookup(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, BlockEntityBotanyPot pot, net.minecraft.world.item.ItemStack stack, @Nullable @Nullable Soil found) - Specified by:
postSoilLookupin interfaceBotanyPotEventDispatcher
-
listenSoilLookup
- Specified by:
listenSoilLookupin interfaceBotanyPotEventDispatcher
-
postCropLookup
@Nullable public @Nullable Crop postCropLookup(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, BlockEntityBotanyPot pot, net.minecraft.world.item.ItemStack stack, @Nullable @Nullable Crop found) - Specified by:
postCropLookupin interfaceBotanyPotEventDispatcher
-
listenCropLookup
- Specified by:
listenCropLookupin interfaceBotanyPotEventDispatcher
-
postInteractionLookup
@Nullable public @Nullable PotInteraction postInteractionLookup(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 heldStack, BlockEntityBotanyPot pot, PotInteraction found) - Specified by:
postInteractionLookupin interfaceBotanyPotEventDispatcher
-
listenInteractionLookup
- Specified by:
listenInteractionLookupin interfaceBotanyPotEventDispatcher
-
postFertilizerLookup
@Nullable public @Nullable Fertilizer postFertilizerLookup(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 heldStack, BlockEntityBotanyPot pot, Fertilizer found) - Specified by:
postFertilizerLookupin interfaceBotanyPotEventDispatcher
-
listenFertilizerLookup
- Specified by:
listenFertilizerLookupin interfaceBotanyPotEventDispatcher
-
postCropDrops
public List<net.minecraft.world.item.ItemStack> postCropDrops(Random rng, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, BlockEntityBotanyPot pot, Crop crop, List<net.minecraft.world.item.ItemStack> originalDrops) - Specified by:
postCropDropsin interfaceBotanyPotEventDispatcher
-
listenCropDrops
- Specified by:
listenCropDropsin interfaceBotanyPotEventDispatcher
-