Class BucketItem

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

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

    • fluid

      private Block fluid
      Mappings:
      Namespace Name Mixin selector
      official a Lzz;a:Laht;
      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> Lzz;<init>(Laht;)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

    • onStartUse

      public ItemStack onStartUse(ItemStack stack, World world, PlayerEntity player)
      Overrides:
      onStartUse in class Item
      Mappings:
      Namespace Name Mixin selector
      official a Labm;a(Labo;Lafm;Lxk;)Labo;
      intermediary method_3358 Lnet/minecraft/class_1069;method_3358(Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;Lnet/minecraft/class_988;)Lnet/minecraft/class_1071;
      named onStartUse Lnet/minecraft/item/Item;onStartUse(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/item/ItemStack;
    • fill

      private ItemStack fill(ItemStack stack, PlayerEntity player, Item item)
      Mappings:
      Namespace Name Mixin selector
      official a Lzz;a(Labo;Lxk;Labm;)Labo;
      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_6320

      public boolean method_6320(World world, int int2, int int3, int int4)
      Mappings:
      Namespace Name Mixin selector
      official a Lzz;a(Lafm;III)Z
      intermediary method_6320 Lnet/minecraft/class_1036;method_6320(Lnet/minecraft/class_1150;III)Z
      named method_6320 Lnet/minecraft/item/BucketItem;method_6320(Lnet/minecraft/world/World;III)Z