Package net.minecraft.core.cauldron
Interface CauldronInteraction
public interface CauldronInteraction
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final CauldronInteraction
static final com.mojang.serialization.Codec<CauldronInteraction.InteractionMap>
static final CauldronInteraction
static final CauldronInteraction.InteractionMap
static final CauldronInteraction
static final CauldronInteraction
static final CauldronInteraction
static final Map<String,
CauldronInteraction.InteractionMap> static final CauldronInteraction.InteractionMap
static final CauldronInteraction.InteractionMap
static final CauldronInteraction
static final CauldronInteraction.InteractionMap
-
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_) newInteractionMap
(String p_311265_)
-
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_)
-