Package net.minecraft.core.cauldron
Interface CauldronInteraction
public interface CauldronInteraction
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final CauldronInteractionstatic final CauldronInteractionstatic final Map<Item,CauldronInteraction> static final CauldronInteractionstatic final CauldronInteractionstatic final CauldronInteractionstatic final Map<Item,CauldronInteraction> static final Map<Item,CauldronInteraction> static final CauldronInteractionstatic final Map<Item,CauldronInteraction> 
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidaddDefaultInteractions(Map<Item, CauldronInteraction> p_175648_) static voidstatic InteractionResultemptyBucket(Level p_175619_, BlockPos p_175620_, Player p_175621_, InteractionHand p_175622_, ItemStack p_175623_, BlockState p_175624_, SoundEvent p_175625_) static InteractionResultfillBucket(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- 
newInteractionMapstatic it.unimi.dsi.fastutil.objects.Object2ObjectOpenHashMap<Item,CauldronInteraction> newInteractionMap()
- 
interactInteractionResult interact(BlockState p_175711_, Level p_175712_, BlockPos p_175713_, Player p_175714_, InteractionHand p_175715_, ItemStack p_175716_) 
- 
bootStrapstatic void bootStrap()
- 
addDefaultInteractions
- 
fillBucketstatic 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_) 
- 
emptyBucketstatic InteractionResult emptyBucket(Level p_175619_, BlockPos p_175620_, Player p_175621_, InteractionHand p_175622_, ItemStack p_175623_, BlockState p_175624_, SoundEvent p_175625_) 
 
-