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/Bucketableintermediary net/minecraft/class_5761official cfg
-
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 named isFromBucketLnet/minecraft/entity/Bucketable;isFromBucket()Zintermediary method_6453Lnet/minecraft/class_5761;method_6453()Zofficial tLcfg;t()Z
-
setFromBucket
void setFromBucket(boolean fromBucket) - Mappings:
Namespace Name Mixin selector named setFromBucketLnet/minecraft/entity/Bucketable;setFromBucket(Z)Vintermediary method_6454Lnet/minecraft/class_5761;method_6454(Z)Vofficial xLcfg;x(Z)V
-
copyDataToStack
- Mappings:
Namespace Name Mixin selector named copyDataToStackLnet/minecraft/entity/Bucketable;copyDataToStack(Lnet/minecraft/item/ItemStack;)Vintermediary method_6455Lnet/minecraft/class_5761;method_6455(Lnet/minecraft/class_1799;)Vofficial nLcfg;n(Lcuq;)V
-
copyDataFromNbt
- Mappings:
Namespace Name Mixin selector named copyDataFromNbtLnet/minecraft/entity/Bucketable;copyDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_35170Lnet/minecraft/class_5761;method_35170(Lnet/minecraft/class_2487;)Vofficial hLcfg;h(Lub;)V
-
getBucketItem
ItemStack getBucketItem()- Mappings:
Namespace Name Mixin selector named getBucketItemLnet/minecraft/entity/Bucketable;getBucketItem()Lnet/minecraft/item/ItemStack;intermediary method_6452Lnet/minecraft/class_5761;method_6452()Lnet/minecraft/class_1799;official bLcfg;b()Lcuq;
-
getBucketFillSound
SoundEvent getBucketFillSound()- Mappings:
Namespace Name Mixin selector named getBucketFillSoundLnet/minecraft/entity/Bucketable;getBucketFillSound()Lnet/minecraft/sound/SoundEvent;intermediary method_35171Lnet/minecraft/class_5761;method_35171()Lnet/minecraft/class_3414;official xLcfg;x()Lavo;
-
copyDataToStack
Deprecated.- Mappings:
Namespace Name Mixin selector named copyDataToStackLnet/minecraft/entity/Bucketable;copyDataToStack(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/item/ItemStack;)Vintermediary method_35167Lnet/minecraft/class_5761;method_35167(Lnet/minecraft/class_1308;Lnet/minecraft/class_1799;)Vofficial aLcfg;a(Lbtp;Lcuq;)V
-
copyDataFromNbt
Deprecated.- Mappings:
Namespace Name Mixin selector named copyDataFromNbtLnet/minecraft/entity/Bucketable;copyDataFromNbt(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_35168Lnet/minecraft/class_5761;method_35168(Lnet/minecraft/class_1308;Lnet/minecraft/class_2487;)Vofficial aLcfg;a(Lbtp;Lub;)V
-
tryBucket
static <T extends LivingEntity & Bucketable> Optional<ActionResult> tryBucket(PlayerEntity player, Hand hand, T entity) - Mappings:
Namespace Name Mixin selector named tryBucketLnet/minecraft/entity/Bucketable;tryBucket(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;Lnet/minecraft/entity/LivingEntity;)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;official aLcfg;a(Lcmx;Lbqq;Lbtn;)Ljava/util/Optional;
-