Package net.minecraft.core.cauldron
Interface CauldronInteraction
public interface CauldronInteraction
- 
Nested Class Summary
Nested Classes - 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CauldronInteractionstatic final com.mojang.serialization.Codec<CauldronInteraction.InteractionMap>static final CauldronInteractionstatic final CauldronInteraction.InteractionMapstatic final CauldronInteractionstatic final CauldronInteractionstatic final CauldronInteractionstatic final Map<String,CauldronInteraction.InteractionMap> static final CauldronInteraction.InteractionMapstatic final CauldronInteraction.InteractionMapstatic final CauldronInteractionstatic final CauldronInteraction.InteractionMap - 
Method Summary
Modifier 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_) newInteractionMap(String p_304841_)  
- 
Field Details
- 
INTERACTIONS
 - 
CODEC
 - 
EMPTY
 - 
WATER
 - 
LAVA
 - 
POWDER_SNOW
 - 
FILL_WATER
 - 
FILL_LAVA
 - 
FILL_POWDER_SNOW
 - 
SHULKER_BOX
 - 
BANNER
 - 
DYED_ITEM
 
 - 
 - 
Method Details
- 
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_)  
 -