Interface PotInteraction


public interface PotInteraction
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Map<net.minecraft.world.item.Item,PotInteraction>
     
    static final Map<net.minecraft.world.item.Item,PotInteraction>
     
    static final PotInteraction
     
    static final PotInteraction
     
    static final PotInteraction
     
    static final PotInteraction
     
    static final Map<net.minecraft.world.item.Item,PotInteraction>
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    addDefaultInteractions(Map<net.minecraft.world.item.Item,PotInteraction> map)
     
    static void
    bootstrap(net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent event)
     
    static net.minecraft.world.InteractionResult
    emptyPot(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level pLevel, net.minecraft.core.BlockPos pPos, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand pHand, net.minecraft.world.item.ItemStack emptyStack, net.minecraft.world.item.ItemStack pFilledStack, Predicate<net.minecraft.world.level.block.state.BlockState> predicate, net.minecraft.sounds.SoundEvent pFillSound, boolean isLiquid)
     
    static net.minecraft.world.InteractionResult
    fillPot(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 filledStack, net.minecraft.world.level.block.state.BlockState state, net.minecraft.sounds.SoundEvent soundEvent)
     
    static net.minecraft.world.InteractionResult
    fillPotFluid(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 filledStack, net.minecraft.world.level.block.state.BlockState state, net.minecraft.sounds.SoundEvent soundEvent)
     
    net.minecraft.world.InteractionResult
    interact(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)
     
    static it.unimi.dsi.fastutil.objects.Object2ObjectOpenHashMap<net.minecraft.world.item.Item,PotInteraction>
     
  • Field Details

  • Method Details

    • newInteractionMap

      static it.unimi.dsi.fastutil.objects.Object2ObjectOpenHashMap<net.minecraft.world.item.Item,PotInteraction> newInteractionMap()
    • interact

      net.minecraft.world.InteractionResult interact(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)
    • bootstrap

      static void bootstrap(net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent event)
    • addDefaultInteractions

      static void addDefaultInteractions(Map<net.minecraft.world.item.Item,PotInteraction> map)
    • emptyPot

      static net.minecraft.world.InteractionResult emptyPot(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level pLevel, net.minecraft.core.BlockPos pPos, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand pHand, net.minecraft.world.item.ItemStack emptyStack, net.minecraft.world.item.ItemStack pFilledStack, Predicate<net.minecraft.world.level.block.state.BlockState> predicate, net.minecraft.sounds.SoundEvent pFillSound, boolean isLiquid)
    • fillPotFluid

      static net.minecraft.world.InteractionResult fillPotFluid(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 filledStack, net.minecraft.world.level.block.state.BlockState state, net.minecraft.sounds.SoundEvent soundEvent)
    • fillPot

      static net.minecraft.world.InteractionResult fillPot(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 filledStack, net.minecraft.world.level.block.state.BlockState state, net.minecraft.sounds.SoundEvent soundEvent)