Package net.minecraft.entity
Interface Bucketable
- All Known Implementing Classes:
AxolotlEntity
,CodEntity
,FishEntity
,PufferfishEntity
,SalmonEntity
,SchoolingFishEntity
,TadpoleEntity
,TropicalFishEntity
public interface Bucketable
- Mappings:
Namespace Name named net/minecraft/entity/Bucketable
intermediary net/minecraft/class_5761
official cfj
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
copyDataFromNbt
(MobEntity entity, NbtCompound nbt) Deprecated.void
static void
copyDataToStack
(MobEntity entity, ItemStack stack) Deprecated.void
copyDataToStack
(ItemStack stack) boolean
void
setFromBucket
(boolean fromBucket) static <T extends LivingEntity & Bucketable>
Optional<ActionResult> tryBucket
(PlayerEntity player, Hand hand, T entity)
-
Method Details
-
isFromBucket
boolean isFromBucket()- Mappings:
Namespace Name Mixin selector named isFromBucket
Lnet/minecraft/entity/Bucketable;isFromBucket()Z
intermediary method_6453
Lnet/minecraft/class_5761;method_6453()Z
official u
Lcfj;u()Z
-
setFromBucket
void setFromBucket(boolean fromBucket) - Mappings:
Namespace Name Mixin selector named setFromBucket
Lnet/minecraft/entity/Bucketable;setFromBucket(Z)V
intermediary method_6454
Lnet/minecraft/class_5761;method_6454(Z)V
official w
Lcfj;w(Z)V
-
copyDataToStack
- Mappings:
Namespace Name Mixin selector named copyDataToStack
Lnet/minecraft/entity/Bucketable;copyDataToStack(Lnet/minecraft/item/ItemStack;)V
intermediary method_6455
Lnet/minecraft/class_5761;method_6455(Lnet/minecraft/class_1799;)V
official n
Lcfj;n(Lcur;)V
-
copyDataFromNbt
- Mappings:
Namespace Name Mixin selector named copyDataFromNbt
Lnet/minecraft/entity/Bucketable;copyDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
intermediary method_35170
Lnet/minecraft/class_5761;method_35170(Lnet/minecraft/class_2487;)V
official c
Lcfj;c(Lus;)V
-
getBucketItem
ItemStack getBucketItem()- Mappings:
Namespace Name Mixin selector named getBucketItem
Lnet/minecraft/entity/Bucketable;getBucketItem()Lnet/minecraft/item/ItemStack;
intermediary method_6452
Lnet/minecraft/class_5761;method_6452()Lnet/minecraft/class_1799;
official b
Lcfj;b()Lcur;
-
getBucketFillSound
SoundEvent getBucketFillSound()- Mappings:
Namespace Name Mixin selector named getBucketFillSound
Lnet/minecraft/entity/Bucketable;getBucketFillSound()Lnet/minecraft/sound/SoundEvent;
intermediary method_35171
Lnet/minecraft/class_5761;method_35171()Lnet/minecraft/class_3414;
official y
Lcfj;y()Lavz;
-
copyDataToStack
Deprecated.- Mappings:
Namespace Name Mixin selector named copyDataToStack
Lnet/minecraft/entity/Bucketable;copyDataToStack(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/item/ItemStack;)V
intermediary method_35167
Lnet/minecraft/class_5761;method_35167(Lnet/minecraft/class_1308;Lnet/minecraft/class_1799;)V
official a
Lcfj;a(Lbtt;Lcur;)V
-
copyDataFromNbt
Deprecated.- Mappings:
Namespace Name Mixin selector named copyDataFromNbt
Lnet/minecraft/entity/Bucketable;copyDataFromNbt(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/nbt/NbtCompound;)V
intermediary method_35168
Lnet/minecraft/class_5761;method_35168(Lnet/minecraft/class_1308;Lnet/minecraft/class_2487;)V
official a
Lcfj;a(Lbtt;Lus;)V
-
tryBucket
static <T extends LivingEntity & Bucketable> Optional<ActionResult> tryBucket(PlayerEntity player, Hand hand, T entity) - Mappings:
Namespace Name Mixin selector named tryBucket
Lnet/minecraft/entity/Bucketable;tryBucket(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;Lnet/minecraft/entity/LivingEntity;)Ljava/util/Optional;
intermediary method_35169
Lnet/minecraft/class_5761;method_35169(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;Lnet/minecraft/class_1309;)Ljava/util/Optional;
official a
Lcfj;a(Lcmz;Lbqv;Lbtr;)Ljava/util/Optional;
-