Package net.minecraft.item
Class SecondaryBlockItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.SecondaryBlockItem
- Mappings:
Namespace Name intermediary net/minecraft/class_262glue class_285server hnclient lvnamed net/minecraft/item/SecondaryBlockItem
-
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_HATCHET, 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 TypeMethodDescriptionbooleanuseOnBlock(ItemStack stack, PlayerEntity user, World world, int x, int y, int z, int side) Methods inherited from class net.minecraft.item.Item
getAttackDamage, getCraftingReturnItem, getMaxCount, getMaxDamage, getMiningSpeedMultiplier, getTextureId, getTextureId, getTranslatedName, getTranslationKey, getTranslationKey, hasCraftingReturnItem, hasSubtypes, inventoryTick, isDamageable, isHandheld, isSuitableFor, method_440, method_445, method_449, method_470, onCraft, postHit, postMine, setCraftingReturnItem, setHandheld, setHasSubtypes, setMaxCount, setMaxDamage, setTextureId, setTexturePosition, setTranslationKey, use, useOnEntity
-
Field Details
-
blockId
private int blockId- Mappings:
Namespace Name Mixin selector intermediary field_1062Lnet/minecraft/class_262;field_1062:Iglue field_1264Lclass_285;field_1264:Iserver aLhn;a:Iclient aLlv;a:Inamed blockIdLnet/minecraft/item/SecondaryBlockItem;blockId:I
-
-
Constructor Details
-
SecondaryBlockItem
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_262;<init>(ILnet/minecraft/class_17;)Vglue <init>Lclass_285;<init>(ILclass_507;)Vserver <init>Lhn;<init>(ILna;)Vclient <init>Llv;<init>(ILuu;)Vnamed <init>Lnet/minecraft/item/SecondaryBlockItem;<init>(ILnet/minecraft/block/Block;)V
-
-
Method Details
-
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
-