Package net.minecraft.item
Class DyeItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.DyeItem
- Mappings:
Namespace Name intermediary net/minecraft/class_242glue class_259server guclient kmnamed net/minecraft/item/DyeItem
-
Field Summary
FieldsFields inherited from class net.minecraft.item.Item
APPLE, ARROW, BED, BOAT, BONE, BOOK, BOW, BOWL, BREAD, BRICK, BUCKET, CAKE, CHAIN_BOOTS, CHAIN_CHESTPLATE, CHAIN_HELMET, CHAIN_LEGGINGS, CHEST_MINECART, CLAY, CLOCK, COAL, COMPASS, COOKED_FISH, COOKED_PORKCHOP, COOKIE, DIAMOND, DIAMOND_AXE, DIAMOND_BOOTS, DIAMOND_CHESTPLATE, DIAMOND_HELMET, DIAMOND_HOE, DIAMOND_LEGGINGS, DIAMOND_PICKAXE, DIAMOND_SHOVEL, DIAMOND_SWORD, DYE, EGG, FEATHER, FISHING_ROD, FLINT, FLINT_AND_STEEL, FURNACE_MINECART, GLOWSTONE_DUST, GOLD_INGOT, GOLDEN_APPLE, GOLDEN_AXE, GOLDEN_BOOTS, GOLDEN_CHESTPLATE, GOLDEN_HELMET, GOLDEN_HOE, GOLDEN_LEGGINGS, GOLDEN_PICKAXE, GOLDEN_SHOVEL, GOLDEN_SWORD, GUNPOWDER, handheld, hasSubtypes, id, IRON_AXE, IRON_BOOTS, IRON_CHESTPLATE, IRON_DOOR, IRON_HELMET, IRON_HOE, IRON_INGOT, IRON_LEGGINGS, IRON_PICKAXE, IRON_SHOVEL, IRON_SWORD, ITEMS, LAVA_BUCKET, LEATHER, LEATHER_BOOTS, LEATHER_CHESTPLATE, LEATHER_HELMET, LEATHER_LEGGINGS, MAP, maxCount, MILK_BUCKET, MINECART, MUSHROOM_STEW, PAINTING, PAPER, random, RAW_FISH, RAW_PORKCHOP, RECORD_CAT, RECORD_THIRTEEN, REDSTONE, REPEATER, SADDLE, SEEDS, SHEARS, SIGN, SLIMEBALL, SNOWBALL, STICK, STONE_AXE, STONE_HOE, STONE_PICKAXE, STONE_SHOVEL, STONE_SWORD, STRING, SUGAR, SUGAR_CANE, textureId, WATER_BUCKET, WHEAT, WOODEN_AXE, WOODEN_DOOR, WOODEN_HOE, WOODEN_PICKAXE, WOODEN_SHOVEL, WOODEN_SWORD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetTextureId(int damage) getTranslationKey(ItemStack stack) booleanuseOnBlock(ItemStack stack, PlayerEntity user, World world, int x, int y, int z, int side) voiduseOnEntity(ItemStack stack, LivingEntity entity) Methods inherited from class net.minecraft.item.Item
getAttackDamage, getColorMultiplier, getCraftingReturnItem, getMaxCount, getMaxDamage, getMiningSpeedMultiplier, getPlacementMetadata, getTextureId, getTranslatedName, getTranslationKey, hasCraftingReturnItem, hasSubtypes, inventoryTick, isDamageable, isHandheld, isHandheldRod, isSuitableFor, method_445, onCraft, postHit, postMine, setCraftingReturnItem, setHandheld, setHasSubtypes, setMaxCount, setMaxDamage, setTextureId, setTexturePosition, setTranslationKey, use
-
Field Details
-
names
- Mappings:
Namespace Name Mixin selector intermediary field_907Lnet/minecraft/class_242;field_907:[Ljava/lang/String;glue field_1108Lclass_259;field_1108:[Ljava/lang/String;server aLgu;a:[Ljava/lang/String;client aLkm;a:[Ljava/lang/String;named namesLnet/minecraft/item/DyeItem;names:[Ljava/lang/String;
-
colors
public static final int[] colors- Mappings:
Namespace Name Mixin selector intermediary field_908Lnet/minecraft/class_242;field_908:[Iglue field_1109Lclass_259;field_1109:[Iserver bkLgu;bk:[Iclient bkLkm;bk:[Inamed colorsLnet/minecraft/item/DyeItem;colors:[I
-
-
Constructor Details
-
DyeItem
public DyeItem(int id) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_124;<init>(I)Vglue <init>Lclass_166;<init>(I)Vserver <init>Lej;<init>(I)Vclient <init>Lgm;<init>(I)Vnamed <init>Lnet/minecraft/item/Item;<init>(I)V
-
-
Method Details
-
getTextureId
- Overrides:
getTextureIdin classItem- Mappings:
Namespace Name Mixin selector intermediary method_441Lnet/minecraft/class_124;method_441(I)Iglue method_176Lclass_166;method_176(I)Iserver method_441Lej;method_441(I)Iclient aLgm;a(I)Inamed getTextureIdLnet/minecraft/item/Item;getTextureId(I)I
-
getTranslationKey
- Overrides:
getTranslationKeyin classItem- Mappings:
Namespace Name Mixin selector intermediary method_442Lnet/minecraft/class_124;method_442(Lnet/minecraft/class_31;)Ljava/lang/String;glue method_177Lclass_166;method_177(Lclass_224;)Ljava/lang/String;server method_442Lej;method_442(Lfy;)Ljava/lang/String;client aLgm;a(Liz;)Ljava/lang/String;named getTranslationKeyLnet/minecraft/item/Item;getTranslationKey(Lnet/minecraft/item/ItemStack;)Ljava/lang/String;
-
useOnBlock
public boolean useOnBlock(ItemStack stack, PlayerEntity user, World world, int x, int y, int z, int side) - Overrides:
useOnBlockin classItem- Mappings:
Namespace Name Mixin selector intermediary method_444Lnet/minecraft/class_124;method_444(Lnet/minecraft/class_31;Lnet/minecraft/class_54;Lnet/minecraft/class_18;IIII)Zglue method_181Lclass_166;method_181(Lclass_224;Lclass_172;Lclass_129;IIII)Zserver aLej;a(Lfy;Lem;Ldj;IIII)Zclient aLgm;a(Liz;Lgs;Lfd;IIII)Znamed useOnBlockLnet/minecraft/item/Item;useOnBlock(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;IIII)Z
-
useOnEntity
- Overrides:
useOnEntityin classItem- Mappings:
Namespace Name Mixin selector intermediary method_455Lnet/minecraft/class_124;method_455(Lnet/minecraft/class_31;Lnet/minecraft/class_127;)Vglue method_792Lclass_166;method_792(Lclass_224;Lclass_283;)Vserver aLej;a(Lfy;Lhl;)Vclient aLgm;a(Liz;Lls;)Vnamed useOnEntityLnet/minecraft/item/Item;useOnEntity(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/LivingEntity;)V
-