Class BucketItem

java.lang.Object
net.minecraft.item.Item
net.minecraft.item.BucketItem

public class BucketItem extends Item
Mappings:
Namespace Name
official acj
intermediary net/minecraft/class_1036
named net/minecraft/item/BucketItem
  • Field Details

    • fluid

      private Block fluid
      Mappings:
      Namespace Name Mixin selector
      official a Lacj;a:Lajt;
      intermediary field_6954 Lnet/minecraft/class_1036;field_6954:Lnet/minecraft/class_197;
      named fluid Lnet/minecraft/item/BucketItem;fluid:Lnet/minecraft/block/Block;
  • Constructor Details

    • BucketItem

      public BucketItem(Block fluid)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lacj;<init>(Lajt;)V
      intermediary <init> Lnet/minecraft/class_1036;<init>(Lnet/minecraft/class_197;)V
      named <init> Lnet/minecraft/item/BucketItem;<init>(Lnet/minecraft/block/Block;)V
  • Method Details

    • method_11373

      public TypedActionResult<ItemStack> method_11373(ItemStack itemStack, World world, PlayerEntity playerEntity, Hand hand)
      Overrides:
      method_11373 in class Item
      Mappings:
      Namespace Name Mixin selector
      official a Lado;a(Ladq;Laht;Lzj;Lqm;)Lqp;
      intermediary method_11373 Lnet/minecraft/class_1069;method_11373(Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;Lnet/minecraft/class_988;Lnet/minecraft/class_2961;)Lnet/minecraft/class_2963;
      named method_11373 Lnet/minecraft/item/Item;method_11373(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/TypedActionResult;
    • fill

      private ItemStack fill(ItemStack stack, PlayerEntity player, Item item)
      Mappings:
      Namespace Name Mixin selector
      official a Lacj;a(Ladq;Lzj;Lado;)Ladq;
      intermediary method_6341 Lnet/minecraft/class_1036;method_6341(Lnet/minecraft/class_1071;Lnet/minecraft/class_988;Lnet/minecraft/class_1069;)Lnet/minecraft/class_1071;
      named fill Lnet/minecraft/item/BucketItem;fill(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/Item;)Lnet/minecraft/item/ItemStack;
    • method_11365

      public boolean method_11365(@Nullable PlayerEntity playerEntity, World world, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official a Lacj;a(Lzj;Laht;Lcl;)Z
      intermediary method_11365 Lnet/minecraft/class_1036;method_11365(Lnet/minecraft/class_988;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Z
      named method_11365 Lnet/minecraft/item/BucketItem;method_11365(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z