Package net.minecraft.item
Class DyeItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.DyeItem
- Mappings:
Namespace Name official aenintermediary net/minecraft/class_1056named net/minecraft/item/DyeItem
-
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, ATTACK_SPEED_MODIFIER, damageable, handheld, maxCount, RANDOM, REGISTRY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleangetTranslationKey(ItemStack stack) voidmethod_13648(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) booleanmethod_3353(ItemStack itemStack, PlayerEntity playerEntity, LivingEntity livingEntity, Hand hand) static voidspawnParticles(World world, BlockPos pos, int i) Methods inherited from class net.minecraft.item.Item
addProperty, appendTooltip, byRawId, canRepair, fromBlock, getBlockBreakingSpeed, getDefaultStack, getDisplayName, getEnchantability, getFromId, getItemGroup, getItemstackTranslatedName, getMaxCount, getMaxDamage, getMaxUseTime, getMeta, getProperty, getRarity, getRawId, getRecipeRemainder, getTranslationKey, getUseAction, hasEnchantmentGlint, hasProperties, hasSubTypes, inventoryTick, isDamageable, isEnchantable, isFood, isHandheld, isNetworkSynced, isUnbreakable, method_13649, method_3346, method_3356, method_3359, method_3367, method_6326, onCraft, onEntityHit, onHit, postProcessNbt, registerBlockItem, setHandheld, setItemGroup, setMaxCount, setMaxDamage, setRecipeRemainder, setTranslationKey, setUnbreakable, setup, shouldRotate, shouldSyncNbtToClient
-
Field Details
-
COLORS
public static final int[] COLORS- Mappings:
Namespace Name Mixin selector official aLaen;a:[Iintermediary field_4197Lnet/minecraft/class_1056;field_4197:[Inamed COLORSLnet/minecraft/item/DyeItem;COLORS:[I
-
-
Constructor Details
-
DyeItem
public DyeItem()- Mappings:
Namespace Name Mixin selector official <init>Lafh;<init>()Vintermediary <init>Lnet/minecraft/class_1069;<init>()Vnamed <init>Lnet/minecraft/item/Item;<init>()V
-
-
Method Details
-
getTranslationKey
- Overrides:
getTranslationKeyin classItem- Mappings:
Namespace Name Mixin selector official aLafh;a(Lafj;)Ljava/lang/String;intermediary method_3371Lnet/minecraft/class_1069;method_3371(Lnet/minecraft/class_1071;)Ljava/lang/String;named getTranslationKeyLnet/minecraft/item/Item;getTranslationKey(Lnet/minecraft/item/ItemStack;)Ljava/lang/String;
-
use
public ActionResult use(PlayerEntity player, World world, BlockPos pos, Hand hand, Direction direction, float x, float y, float z) - Overrides:
usein classItem- Mappings:
Namespace Name Mixin selector official aLafh;a(Laay;Lajs;Lco;Lri;Lcv;FFF)Lrk;intermediary method_3355Lnet/minecraft/class_1069;method_3355(Lnet/minecraft/class_988;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2961;Lnet/minecraft/class_1354;FFF)Lnet/minecraft/class_2962;named useLnet/minecraft/item/Item;use(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/Hand;Lnet/minecraft/util/math/Direction;FFF)Lnet/minecraft/util/ActionResult;
-
fertilize
- Mappings:
Namespace Name Mixin selector official aLaen;a(Lafj;Lajs;Lco;)Zintermediary method_11281Lnet/minecraft/class_1056;method_11281(Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Znamed fertilizeLnet/minecraft/item/DyeItem;fertilize(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
-
spawnParticles
- Mappings:
Namespace Name Mixin selector official aLaen;a(Lajs;Lco;I)Vintermediary method_11280Lnet/minecraft/class_1056;method_11280(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;I)Vnamed spawnParticlesLnet/minecraft/item/DyeItem;spawnParticles(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;I)V
-
method_3353
public boolean method_3353(ItemStack itemStack, PlayerEntity playerEntity, LivingEntity livingEntity, Hand hand) - Overrides:
method_3353in classItem- Mappings:
Namespace Name Mixin selector official aLafh;a(Lafj;Laay;Lsw;Lri;)Zintermediary method_3353Lnet/minecraft/class_1069;method_3353(Lnet/minecraft/class_1071;Lnet/minecraft/class_988;Lnet/minecraft/class_1699;Lnet/minecraft/class_2961;)Znamed method_3353Lnet/minecraft/item/Item;method_3353(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/util/Hand;)Z
-
method_13648
@Environment(CLIENT) public void method_13648(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) - Overrides:
method_13648in classItem- Mappings:
Namespace Name Mixin selector official aLafh;a(Lafh;Laej;Ldd;)Vintermediary method_13648Lnet/minecraft/class_1069;method_13648(Lnet/minecraft/class_1069;Lnet/minecraft/class_1041;Lnet/minecraft/class_3114;)Vnamed method_13648Lnet/minecraft/item/Item;method_13648(Lnet/minecraft/item/Item;Lnet/minecraft/item/itemgroup/ItemGroup;Lnet/minecraft/util/collection/DefaultedList;)V
-