Package net.minecraft.item
Class BucketItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.BucketItem
- Mappings:
Namespace Name official yvintermediary net/minecraft/class_1036named net/minecraft/item/BucketItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
Item.ToolMaterialType -
Field Summary
FieldsFields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_UUID, damageable, handheld, maxCount, RANDOM, REGISTRY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprivate ItemStackfill(ItemStack stack, PlayerEntity player, Item item) onStartUse(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, postProcessNbt, registerBlockItem, setHandheld, setItemGroup, setMaxCount, setMaxDamage, setRecipeRemainder, setStatusEffectString, setTranslationKey, setUnbreakable, setup, shouldRotate, shouldSyncNbtToClient, use
-
Field Details
-
fluid
- Mappings:
Namespace Name Mixin selector official aLyv;a:Lafh;intermediary field_6954Lnet/minecraft/class_1036;field_6954:Lnet/minecraft/class_197;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_1036;<init>(Lnet/minecraft/class_197;)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_3358Lnet/minecraft/class_1069;method_3358(Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;Lnet/minecraft/class_988;)Lnet/minecraft/class_1071;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_6341Lnet/minecraft/class_1036;method_6341(Lnet/minecraft/class_1071;Lnet/minecraft/class_988;Lnet/minecraft/class_1069;)Lnet/minecraft/class_1071;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_11272Lnet/minecraft/class_1036;method_11272(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Znamed emptyLnet/minecraft/item/BucketItem;empty(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
-