接口 Bucketable

    • 方法详细资料

      • isFromBucket

        boolean isFromBucket()
        Mappings:
        Namespace Name Mixin selector
        official o Lbdb;o()Z
        intermediary method_6453 Lnet/minecraft/class_5761;method_6453()Z
        named isFromBucket Lnet/minecraft/entity/Bucketable;isFromBucket()Z
      • setFromBucket

        void setFromBucket​(boolean fromBucket)
        Mappings:
        Namespace Name Mixin selector
        official v Lbdb;v(Z)V
        intermediary method_6454 Lnet/minecraft/class_5761;method_6454(Z)V
        named setFromBucket Lnet/minecraft/entity/Bucketable;setFromBucket(Z)V
      • copyDataToStack

        void copyDataToStack​(ItemStack stack)
        Mappings:
        Namespace Name Mixin selector
        official k Lbdb;k(Lbpr;)V
        intermediary method_6455 Lnet/minecraft/class_5761;method_6455(Lnet/minecraft/class_1799;)V
        named copyDataToStack Lnet/minecraft/entity/Bucketable;copyDataToStack(Lnet/minecraft/item/ItemStack;)V
      • copyDataFromNbt

        void copyDataFromNbt​(CompoundTag nbt)
        Mappings:
        Namespace Name Mixin selector
        official c Lbdb;c(Lmv;)V
        intermediary method_35170 Lnet/minecraft/class_5761;method_35170(Lnet/minecraft/class_2487;)V
        named copyDataFromNbt Lnet/minecraft/entity/Bucketable;copyDataFromNbt(Lnet/minecraft/nbt/CompoundTag;)V
      • getBucketItem

        ItemStack getBucketItem()
        Mappings:
        Namespace Name Mixin selector
        official G_ Lbdb;G_()Lbpr;
        intermediary method_6452 Lnet/minecraft/class_5761;method_6452()Lnet/minecraft/class_1799;
        named getBucketItem Lnet/minecraft/entity/Bucketable;getBucketItem()Lnet/minecraft/item/ItemStack;
      • getBucketedSound

        SoundEvent getBucketedSound()
        Mappings:
        Namespace Name Mixin selector
        official s Lbdb;s()Laev;
        intermediary method_35171 Lnet/minecraft/class_5761;method_35171()Lnet/minecraft/class_3414;
        named getBucketedSound Lnet/minecraft/entity/Bucketable;getBucketedSound()Lnet/minecraft/sound/SoundEvent;
      • copyDataToStack

        static void copyDataToStack​(MobEntity entity,
                                    ItemStack stack)
        Mappings:
        Namespace Name Mixin selector
        official a Lbdb;a(Lasz;Lbpr;)V
        intermediary method_35167 Lnet/minecraft/class_5761;method_35167(Lnet/minecraft/class_1308;Lnet/minecraft/class_1799;)V
        named copyDataToStack Lnet/minecraft/entity/Bucketable;copyDataToStack(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/item/ItemStack;)V
      • copyDataFromNbt

        static void copyDataFromNbt​(MobEntity entity,
                                    CompoundTag nbt)
        Mappings:
        Namespace Name Mixin selector
        official a Lbdb;a(Lasz;Lmv;)V
        intermediary method_35168 Lnet/minecraft/class_5761;method_35168(Lnet/minecraft/class_1308;Lnet/minecraft/class_2487;)V
        named copyDataFromNbt Lnet/minecraft/entity/Bucketable;copyDataFromNbt(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/nbt/CompoundTag;)V
      • tryBucket

        static <T extends LivingEntity & Bucketable> Optional<ActionResult> tryBucket​(PlayerEntity player,
                                                                                      Hand hand,
                                                                                      T entity)
        Mappings:
        Namespace Name Mixin selector
        official a Lbdb;a(Lbjf;Larf;Lasy;)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;
        named tryBucket Lnet/minecraft/entity/Bucketable;tryBucket(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;Lnet/minecraft/entity/LivingEntity;)Ljava/util/Optional;