Package net.minecraft.item
Class SecondaryBlock
java.lang.Object
net.minecraft.item.ItemBase
net.minecraft.item.SecondaryBlock
- Mappings:
Namespace Name intermediary net/minecraft/class_262glue class_285server hnclient lvnamed net/minecraft/item/SecondaryBlock
-
Field Summary
FieldsFields inherited from class net.minecraft.item.ItemBase
apple, arrow, bed, boat, bone, book, bow, bowl, bread, brick, bucket, byId, cake, chainBoots, chainChestplate, chainHelmet, chainLeggings, clay, clock, coal, compass, cookedFish, cookedPorkchop, cookie, diamond, diamondAxe, diamondBoots, diamondChestplate, diamondHelmet, diamondHoe, diamondLeggings, diamondPickaxe, diamondShovel, diamondSword, dyePowder, egg, feather, fishingRod, flint, flintAndSteel, glowstoneDust, goldAxe, goldBoots, goldChestplate, goldenApple, goldHelmet, goldHoe, goldIngot, goldLeggings, goldPickaxe, goldShovel, goldSword, gunpowder, hasSubItems, id, ironAxe, ironBoots, ironChestplate, ironDoor, ironHelmet, ironHoe, ironIngot, ironLeggings, ironPickaxe, ironShovel, ironSword, isRendered3d, lavaBucket, leather, leatherBoots, leatherChestplate, leatherHelmet, leatherLeggings, map, maxStackSize, milk, minecart, minecartChest, minecartFurnace, mushroomStew, painting, paper, rand, rawFish, rawPorkchop, record13, recordCat, redstoneDust, redstoneRepeater, saddle, seeds, shears, sign, slimeball, snowball, stick, stoneAxe, stoneHoe, stonePickaxe, stoneShovel, stoneSword, string, sugar, sugarCanes, texturePosition, waterBucket, wheat, woodAxe, woodDoor, woodHoe, woodPickaxe, woodShovel, woodSword -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanuseOnTile(ItemInstance item, PlayerBase player, Level level, int x, int y, int z, int facing) Methods inherited from class net.minecraft.item.ItemBase
getAttack, getColourMultiplier, getContainerItemType, getDurability, getMaxStackSize, getMetaData, getStrengthOnBlock, getTexturePosition, getTexturePosition, getTranslatedName, getTranslationKey, getTranslationKey, hasContainerItemType, hasDurability, interactWithEntity, inventoryTick, isEffectiveOn, isMap, isRendered3d, onCreation, postHit, postMine, setContainerItem, setDurability, setHasSubItems, setMaxStackSize, setRendered3d, setTexturePosition, setTexturePosition, setTranslationKey, shouldSpinWhenRendering, use, usesMeta
-
Field Details
-
tileId
private int tileId- 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 tileIdLnet/minecraft/item/SecondaryBlock;tileId:I
-
-
Constructor Details
-
SecondaryBlock
- 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/SecondaryBlock;<init>(ILnet/minecraft/block/BlockBase;)V
-
-
Method Details
-
useOnTile
public boolean useOnTile(ItemInstance item, PlayerBase player, Level level, int x, int y, int z, int facing) - Overrides:
useOnTilein classItemBase- 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 useOnTileLnet/minecraft/item/ItemBase;useOnTile(Lnet/minecraft/item/ItemInstance;Lnet/minecraft/entity/player/PlayerBase;Lnet/minecraft/level/Level;IIII)Z
-