net.minecraft.block.cauldron

public class CauldronBehaviors

net.minecraft.core.cauldron.CauldronInteractions
net.minecraft.class_5620
net.minecraft.block.cauldron.CauldronBehaviors

Field summary

Modifier and TypeField
private static final Codecs$IdMapper<String, CauldronBehavior$Map>
ID_MAPPER
field_1_2083
ID_MAPPER
public static final com.mojang.serialization.Codec<CauldronBehavior$Map>
CODEC
field_46590
CODEC
public static final CauldronBehavior$Map
EMPTY
field_27775
EMPTY_CAULDRON_BEHAVIOR
public static final CauldronBehavior$Map
WATER
field_27776
WATER_CAULDRON_BEHAVIOR
public static final CauldronBehavior$Map
LAVA
field_27777
LAVA_CAULDRON_BEHAVIOR
public static final CauldronBehavior$Map
POWDER_SNOW
field_28011
POWDER_SNOW_CAULDRON_BEHAVIOR

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static CauldronBehavior$Map
newDispatcher(String name)
method_32206(String arg0)
createMap(String name)
public static void
bootStrap()
method_32212()
registerBehavior()
static void
addDefaultInteractions(CauldronInteraction$Dispatcher interactionMap)
method_34850(class_1_368$class_1_369 arg0)
registerBucketBehavior(CauldronBehavior$Map behaviors)
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$7(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$5(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 state)
private static ActionResult
lambda$bootStrap$4(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$3(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$1(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$0(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)