接口 FluidModificationItem
-
- 所有已知实现类:
BucketItem,EntityBucketItem,PowderSnowBucketItem
public interface FluidModificationItem- Mappings:
Namespace Name official bolintermediary net/minecraft/class_5633named net/minecraft/item/FluidModificationItem
-
-
方法概要
所有方法 实例方法 抽象方法 默认方法 修饰符和类型 方法 说明 default voidonEmptied(@Nullable PlayerEntity player, World world, ItemStack stack, BlockPos pos)booleanplaceFluid(@Nullable PlayerEntity player, World world, BlockPos pos, @Nullable BlockHitResult hitResult)
-
-
-
方法详细资料
-
onEmptied
default void onEmptied(@Nullable @Nullable PlayerEntity player, World world, ItemStack stack, BlockPos pos)
- Mappings:
Namespace Name Mixin selector official aLbol;a(Lbjf;Lbvr;Lbpr;Lgb;)Vintermediary method_7728Lnet/minecraft/class_5633;method_7728(Lnet/minecraft/class_1657;Lnet/minecraft/class_1937;Lnet/minecraft/class_1799;Lnet/minecraft/class_2338;)Vnamed onEmptiedLnet/minecraft/item/FluidModificationItem;onEmptied(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/math/BlockPos;)V
-
placeFluid
boolean placeFluid(@Nullable @Nullable PlayerEntity player, World world, BlockPos pos, @Nullable @Nullable BlockHitResult hitResult)
- Mappings:
Namespace Name Mixin selector official aLbol;a(Lbjf;Lbvr;Lgb;Ldlw;)Zintermediary method_7731Lnet/minecraft/class_5633;method_7731(Lnet/minecraft/class_1657;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_3965;)Znamed placeFluidLnet/minecraft/item/FluidModificationItem;placeFluid(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/hit/BlockHitResult;)Z
-
-