mirror of https://github.com/FabricMC/yarn.git
Suggest using Block#asItem instead of Item.fromBlock (#1743)
This commit is contained in:
parent
5c96ea3f69
commit
ea7929ac46
|
@ -121,6 +121,7 @@ CLASS net/minecraft/class_1792 net/minecraft/item/Item
|
|||
COMMENT Gets the translation key of this item using the provided item stack for context.
|
||||
ARG 1 stack
|
||||
METHOD method_7867 fromBlock (Lnet/minecraft/class_2248;)Lnet/minecraft/class_1792;
|
||||
COMMENT @deprecated Please use {@link Block#asItem}
|
||||
ARG 0 block
|
||||
METHOD method_7869 getOrCreateTranslationKey ()Ljava/lang/String;
|
||||
METHOD method_7870 isEnchantable (Lnet/minecraft/class_1799;)Z
|
||||
|
|
Loading…
Reference in New Issue