Package net.minecraft.entity
Interface Bucketable
- All Known Implementing Classes:
AxolotlEntity,CodEntity,FishEntity,PufferfishEntity,SalmonEntity,SchoolingFishEntity,TadpoleEntity,TropicalFishEntity
public interface Bucketable
- Mappings:
Namespace Name official brlintermediary net/minecraft/class_5761named net/minecraft/entity/Bucketable
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcopyDataFromNbt(MobEntity entity, NbtCompound nbt) Deprecated.voidstatic voidcopyDataToStack(MobEntity entity, ItemStack stack) Deprecated.voidcopyDataToStack(ItemStack stack) booleanvoidsetFromBucket(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 official qLbrl;q()Zintermediary method_6453Lnet/minecraft/class_5761;method_6453()Znamed isFromBucketLnet/minecraft/entity/Bucketable;isFromBucket()Z
-
setFromBucket
void setFromBucket(boolean fromBucket) - Mappings:
Namespace Name Mixin selector official xLbrl;x(Z)Vintermediary method_6454Lnet/minecraft/class_5761;method_6454(Z)Vnamed setFromBucketLnet/minecraft/entity/Bucketable;setFromBucket(Z)V
-
copyDataToStack
- Mappings:
Namespace Name Mixin selector official lLbrl;l(Lcfx;)Vintermediary method_6455Lnet/minecraft/class_5761;method_6455(Lnet/minecraft/class_1799;)Vnamed copyDataToStackLnet/minecraft/entity/Bucketable;copyDataToStack(Lnet/minecraft/item/ItemStack;)V
-
copyDataFromNbt
- Mappings:
Namespace Name Mixin selector official cLbrl;c(Lqr;)Vintermediary method_35170Lnet/minecraft/class_5761;method_35170(Lnet/minecraft/class_2487;)Vnamed copyDataFromNbtLnet/minecraft/entity/Bucketable;copyDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
getBucketItem
ItemStack getBucketItem()- Mappings:
Namespace Name Mixin selector official bLbrl;b()Lcfx;intermediary method_6452Lnet/minecraft/class_5761;method_6452()Lnet/minecraft/class_1799;named getBucketItemLnet/minecraft/entity/Bucketable;getBucketItem()Lnet/minecraft/item/ItemStack;
-
getBucketFillSound
SoundEvent getBucketFillSound()- Mappings:
Namespace Name Mixin selector official tLbrl;t()Lamg;intermediary method_35171Lnet/minecraft/class_5761;method_35171()Lnet/minecraft/class_3414;named getBucketFillSoundLnet/minecraft/entity/Bucketable;getBucketFillSound()Lnet/minecraft/sound/SoundEvent;
-
copyDataToStack
Deprecated.- Mappings:
Namespace Name Mixin selector official aLbrl;a(Lbfz;Lcfx;)Vintermediary method_35167Lnet/minecraft/class_5761;method_35167(Lnet/minecraft/class_1308;Lnet/minecraft/class_1799;)Vnamed copyDataToStackLnet/minecraft/entity/Bucketable;copyDataToStack(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/item/ItemStack;)V
-
copyDataFromNbt
Deprecated.- Mappings:
Namespace Name Mixin selector official aLbrl;a(Lbfz;Lqr;)Vintermediary method_35168Lnet/minecraft/class_5761;method_35168(Lnet/minecraft/class_1308;Lnet/minecraft/class_2487;)Vnamed copyDataFromNbtLnet/minecraft/entity/Bucketable;copyDataFromNbt(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/nbt/NbtCompound;)V
-
tryBucket
static <T extends LivingEntity & Bucketable> Optional<ActionResult> tryBucket(PlayerEntity player, Hand hand, T entity) - Mappings:
Namespace Name Mixin selector official aLbrl;a(Lbym;Lbdv;Lbfx;)Ljava/util/Optional;intermediary method_35169Lnet/minecraft/class_5761;method_35169(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;Lnet/minecraft/class_1309;)Ljava/util/Optional;named tryBucketLnet/minecraft/entity/Bucketable;tryBucket(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;Lnet/minecraft/entity/LivingEntity;)Ljava/util/Optional;
-