Package net.minecraft.item
Class BucketItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.BucketItem
public class BucketItem extends Item
- Mappings:
Namespace Name official yvintermediary net/minecraft/class_2025named net/minecraft/item/BucketItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
Item.ToolMaterialType -
Field Summary
Fields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_UUID, damageable, handheld, maxCount, RANDOM, REGISTRY -
Constructor Summary
Constructors Constructor Description BucketItem(Block fluid) -
Method Summary
Modifier and Type Method Description booleanempty(World world, BlockPos pos)private ItemStackfill(ItemStack stack, PlayerEntity player, Item item)ItemStackonStartUse(ItemStack stack, World world, PlayerEntity player)Methods inherited from class net.minecraft.item.Item
appendItemStacks, appendTooltip, byRawId, canRepair, canUseOnEntity, fromBlock, getAttributeModifierMap, getDisplayColor, getDisplayName, getEnchantability, getFromId, getItemGroup, getItemstackTranslatedName, getMaxCount, getMaxDamage, getMaxUseTime, getMeta, getMiningSpeedMultiplier, getRarity, getRawId, getRecipeRemainder, getStatusEffectString, getTranslationKey, getTranslationKey, getUseAction, hasEnchantmentGlint, hasStatusEffectString, hasSubTypes, inventoryTick, isDamageable, isEffectiveOn, isEnchantable, isFood, isHandheld, isNetworkSynced, isUnbreakable, onBlockBroken, onCraft, onEntityHit, onFinishUse, onHit, onUseStopped, postProcessTag, registerBlockItem, setHandheld, setItemGroup, setMaxCount, setMaxDamage, setRecipeRemainder, setStatusEffectString, setTranslationKey, setUnbreakable, setup, shouldRotate, shouldSyncTagToClient, use
-
Field Details
-
fluid
- Mappings:
Namespace Name Mixin selector official aLyv;a:Lafh;intermediary field_8551Lnet/minecraft/class_2025;field_8551:Lnet/minecraft/class_160;named fluidLnet/minecraft/item/BucketItem;fluid:Lnet/minecraft/block/Block;
-
-
Constructor Details
-
BucketItem
- Mappings:
Namespace Name Mixin selector official <init>Lyv;<init>(Lafh;)Vintermediary <init>Lnet/minecraft/class_2025;<init>(Lnet/minecraft/class_160;)Vnamed <init>Lnet/minecraft/item/BucketItem;<init>(Lnet/minecraft/block/Block;)V
-
-
Method Details
-
onStartUse
- Overrides:
onStartUsein classItem- Mappings:
Namespace Name Mixin selector official aLzw;a(Lzx;Ladm;Lwn;)Lzx;intermediary method_8260Lnet/minecraft/class_2054;method_8260(Lnet/minecraft/class_2056;Lnet/minecraft/class_99;Lnet/minecraft/class_1963;)Lnet/minecraft/class_2056;named onStartUseLnet/minecraft/item/Item;onStartUse(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/item/ItemStack;
-
fill
- Mappings:
Namespace Name Mixin selector official aLyv;a(Lzx;Lwn;Lzw;)Lzx;intermediary method_8187Lnet/minecraft/class_2025;method_8187(Lnet/minecraft/class_2056;Lnet/minecraft/class_1963;Lnet/minecraft/class_2054;)Lnet/minecraft/class_2056;named fillLnet/minecraft/item/BucketItem;fill(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/Item;)Lnet/minecraft/item/ItemStack;
-
empty
- Mappings:
Namespace Name Mixin selector official aLyv;a(Ladm;Lcj;)Zintermediary method_8186Lnet/minecraft/class_2025;method_8186(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;)Znamed emptyLnet/minecraft/item/BucketItem;empty(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
-