接口 CauldronInteraction
public interface CauldronInteraction
-
字段概要
字段修饰符和类型字段说明static final CauldronInteraction
static final CauldronInteraction
static final Map<Item,
CauldronInteraction> static final CauldronInteraction
static final CauldronInteraction
static final CauldronInteraction
static final Map<Item,
CauldronInteraction> static final Map<Item,
CauldronInteraction> static final CauldronInteraction
static final Map<Item,
CauldronInteraction> -
方法概要
修饰符和类型方法说明static void
addDefaultInteractions
(Map<Item, CauldronInteraction> pInteractionsMap) static void
static InteractionResult
emptyBucket
(Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, ItemStack pFilledStack, BlockState pState, SoundEvent pEmptySound) static InteractionResult
fillBucket
(BlockState pBlockState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, ItemStack pEmptyStack, ItemStack pFilledStack, Predicate<BlockState> pStatePredicate, SoundEvent pFillSound) interact
(BlockState pBlockState, Level pLevel, BlockPos pBlockPos, Player pPlayer, InteractionHand pHand, ItemStack pStack) static it.unimi.dsi.fastutil.objects.Object2ObjectOpenHashMap<Item,
CauldronInteraction>
-
字段详细资料
-
EMPTY
-
WATER
-
LAVA
-
POWDER_SNOW
-
FILL_WATER
-
FILL_LAVA
-
FILL_POWDER_SNOW
-
SHULKER_BOX
-
BANNER
-
DYED_ITEM
-
-
方法详细资料
-
newInteractionMap
static it.unimi.dsi.fastutil.objects.Object2ObjectOpenHashMap<Item,CauldronInteraction> newInteractionMap() -
interact
InteractionResult interact(BlockState pBlockState, Level pLevel, BlockPos pBlockPos, Player pPlayer, InteractionHand pHand, ItemStack pStack) -
bootStrap
static void bootStrap() -
addDefaultInteractions
-
fillBucket
static InteractionResult fillBucket(BlockState pBlockState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, ItemStack pEmptyStack, ItemStack pFilledStack, Predicate<BlockState> pStatePredicate, SoundEvent pFillSound) -
emptyBucket
static InteractionResult emptyBucket(Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, ItemStack pFilledStack, BlockState pState, SoundEvent pEmptySound)
-