Package net.minecraft.core.cauldron
Interface CauldronInteraction
public interface CauldronInteraction
-
Field Summary
Modifier and TypeFieldDescriptionstatic CauldronInteraction
static CauldronInteraction
static Map<Item,CauldronInteraction>
static CauldronInteraction
static CauldronInteraction
static CauldronInteraction
static Map<Item,CauldronInteraction>
static Map<Item,CauldronInteraction>
static CauldronInteraction
static Map<Item,CauldronInteraction>
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addDefaultInteractions(Map<Item,CauldronInteraction> p_175648_)
static void
static InteractionResult
emptyBucket(Level p_175619_, BlockPos p_175620_, Player p_175621_, InteractionHand p_175622_, ItemStack p_175623_, BlockState p_175624_, SoundEvent p_175625_)
static InteractionResult
fillBucket(BlockState p_175636_, Level p_175637_, BlockPos p_175638_, Player p_175639_, InteractionHand p_175640_, ItemStack p_175641_, ItemStack p_175642_, Predicate<BlockState> p_175643_, SoundEvent p_175644_)
interact(BlockState p_175711_, Level p_175712_, BlockPos p_175713_, Player p_175714_, InteractionHand p_175715_, ItemStack p_175716_)
static it.unimi.dsi.fastutil.objects.Object2ObjectOpenHashMap<Item,CauldronInteraction>
-
Field Details
-
EMPTY
-
WATER
-
LAVA
-
POWDER_SNOW
-
FILL_WATER
-
FILL_LAVA
-
FILL_POWDER_SNOW
-
SHULKER_BOX
-
BANNER
-
DYED_ITEM
-
-
Method Details
-
newInteractionMap
static it.unimi.dsi.fastutil.objects.Object2ObjectOpenHashMap<Item,CauldronInteraction> newInteractionMap() -
interact
InteractionResult interact(BlockState p_175711_, Level p_175712_, BlockPos p_175713_, Player p_175714_, InteractionHand p_175715_, ItemStack p_175716_) -
bootStrap
static void bootStrap() -
addDefaultInteractions
-
fillBucket
static InteractionResult fillBucket(BlockState p_175636_, Level p_175637_, BlockPos p_175638_, Player p_175639_, InteractionHand p_175640_, ItemStack p_175641_, ItemStack p_175642_, Predicate<BlockState> p_175643_, SoundEvent p_175644_) -
emptyBucket
static InteractionResult emptyBucket(Level p_175619_, BlockPos p_175620_, Player p_175621_, InteractionHand p_175622_, ItemStack p_175623_, BlockState p_175624_, SoundEvent p_175625_)
-