Package net.minecraft.item
Class Block
java.lang.Object
net.minecraft.item.ItemBase
net.minecraft.item.Block
- Mappings:
Namespace Name intermediary net/minecraft/class_533glue class_59server bkclient cknamed net/minecraft/item/Block
-
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, hasContainerItemType, hasDurability, interactWithEntity, inventoryTick, isEffectiveOn, isMap, isRendered3d, onCreation, postHit, postMine, setContainerItem, setDurability, setHasSubItems, setMaxStackSize, setRendered3d, setTexturePosition, setTexturePosition, setTranslationKey, shouldSpinWhenRendering, use, usesMeta
-
Field Details
-
blockId
private int blockId- Mappings:
Namespace Name Mixin selector intermediary field_2216Lnet/minecraft/class_533;field_2216:Iglue field_137Lclass_59;field_137:Iserver aLbk;a:Iclient aLck;a:Inamed blockIdLnet/minecraft/item/Block;blockId:I
-
-
Constructor Details
-
Block
public Block(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/ItemBase;<init>(I)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
-
getTranslationKey
- Overrides:
getTranslationKeyin classItemBase- 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/ItemBase;getTranslationKey(Lnet/minecraft/item/ItemInstance;)Ljava/lang/String;
-
getTranslationKey
- Overrides:
getTranslationKeyin classItemBase- Mappings:
Namespace Name Mixin selector intermediary method_443Lnet/minecraft/class_124;method_443()Ljava/lang/String;glue method_180Lclass_166;method_180()Ljava/lang/String;server aLej;a()Ljava/lang/String;client aLgm;a()Ljava/lang/String;named getTranslationKeyLnet/minecraft/item/ItemBase;getTranslationKey()Ljava/lang/String;
-