net.minecraft.block.cauldron

public interface CauldronBehavior

net.minecraft.core.cauldron.CauldronInteraction
net.minecraft.class_5620
net.minecraft.block.cauldron.CauldronBehavior

Field summary

Modifier and TypeField
Map<String, CauldronBehavior$CauldronBehaviorMap>
INTERACTIONS
field_46589
BEHAVIOR_MAPS
com.mojang.serialization.Codec<CauldronBehavior$CauldronBehaviorMap>
CODEC
field_46590
CODEC
CauldronBehavior$CauldronBehaviorMap
EMPTY
field_27775
EMPTY_CAULDRON_BEHAVIOR
CauldronBehavior$CauldronBehaviorMap
WATER
field_27776
WATER_CAULDRON_BEHAVIOR
CauldronBehavior$CauldronBehaviorMap
LAVA
field_27777
LAVA_CAULDRON_BEHAVIOR
CauldronBehavior$CauldronBehaviorMap
POWDER_SNOW
field_28011
POWDER_SNOW_CAULDRON_BEHAVIOR

Method summary

Modifier and TypeMethod
static CauldronBehavior$CauldronBehaviorMap
newInteractionMap(String name)
method_32206(String arg0)
createMap(String name)
ActionResult
interact(BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, ItemStack itemInHand)
method_1_165(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_1799 arg5)
method_1_165(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack)
static void
bootStrap()
method_32212()
registerBehavior()
static void
addDefaultInteractions(Map<Item, CauldronInteraction> interactionMap)
method_34850(Map<class_1792, class_5620> arg0)
registerBucketBehavior(Map<Item, CauldronBehavior> behavior)
static ActionResult
fillBucket(BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, ItemStack itemInHand, ItemStack newItem, Predicate<BlockState> canFill, SoundEvent soundEvent)
method_32210(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_1799 arg5, class_1799 arg6, Predicate<class_2680> arg7, class_3414 arg8)
emptyCauldron(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack, ItemStack output, Predicate<BlockState> fullPredicate, SoundEvent soundEvent)
static ActionResult
emptyBucket(Level level, BlockPos pos, Player player, InteractionHand hand, ItemStack itemInHand, BlockState newState, SoundEvent soundEvent)
method_32207(class_1937 arg0, class_2338 arg1, class_1657 arg2, class_1268 arg3, class_1799 arg4, class_2680 arg5, class_3414 arg6)
fillCauldron(World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack, BlockState state, SoundEvent soundEvent)
private static ActionResult
fillWaterInteraction(BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, ItemStack itemInHand)
method_62706(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_1799 arg5)
tryFillWithWater(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack)
private static ActionResult
fillLavaInteraction(BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, ItemStack itemInHand)
method_62707(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_1799 arg5)
tryFillWithLava(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack)
private static ActionResult
fillPowderSnowInteraction(BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, ItemStack itemInHand)
method_62708(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_1799 arg5)
tryFillWithPowderSnow(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack)
private static ActionResult
shulkerBoxInteraction(BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, ItemStack itemInHand)
method_62709(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_1799 arg5)
cleanShulkerBox(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack)
private static ActionResult
bannerInteraction(BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, ItemStack itemInHand)
method_62710(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_1799 arg5)
cleanBanner(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack)
private static ActionResult
dyedItemIteration(BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, ItemStack itemInHand)
method_62711(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_1799 arg5)
cleanArmor(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack)
private static boolean
isUnderWater(Level level, BlockPos pos)
method_62705(class_1937 arg0, class_2338 arg1)
isUnderwater(World world, BlockPos pos)
private static ActionResult
lambda$bootStrap$9(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, InteractionHand arg4, ItemStack arg5)
method_32698(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_1799 arg5)
method_32698(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack)
private static boolean
lambda$bootStrap$8(BlockState arg0)
method_32696(class_2680 arg0)
method_32696(BlockState statex)
private static ActionResult
lambda$bootStrap$7(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, InteractionHand arg4, ItemStack arg5)
method_32218(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_1799 arg5)
method_32218(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack)
private static boolean
lambda$bootStrap$6(BlockState arg0)
method_32208(class_2680 arg0)
method_32208(BlockState statex)
private static ActionResult
lambda$bootStrap$5(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, InteractionHand arg4, ItemStack arg5)
method_32219(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_1799 arg5)
method_32219(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack)
private static ActionResult
lambda$bootStrap$4(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, InteractionHand arg4, ItemStack arg5)
method_32220(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_1799 arg5)
method_32220(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack)
private static ActionResult
lambda$bootStrap$3(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, InteractionHand arg4, ItemStack arg5)
method_32221(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_1799 arg5)
method_32221(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack)
private static boolean
lambda$bootStrap$2(BlockState arg0)
method_32213(class_2680 arg0)
method_32213(BlockState statex)
private static ActionResult
lambda$bootStrap$1(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, InteractionHand arg4, ItemStack arg5)
method_32222(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_1799 arg5)
method_32222(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack)
private static ActionResult
lambda$newInteractionMap$0(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, InteractionHand arg4, ItemStack arg5)
method_32223(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_1799 arg5)
method_32223(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack)