Created
July 20, 2024 14:34
-
-
Save Nessiesson/fc21a4caead1f507f51b9817bd7b5bdb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static final Item CAKE = registerBlock(new BlockItem(Blocks.CAKE, (new Item.Properties()).stacksTo(1))); | |
L923 | |
LINENUMBER 944 L923 | |
NEW net/minecraft/world/item/BlockItem | |
DUP | |
GETSTATIC net/minecraft/world/level/block/Blocks.CAKE : Lnet/minecraft/world/level/block/Block; | |
NEW net/minecraft/world/item/Item$Properties | |
DUP | |
INVOKESPECIAL net/minecraft/world/item/Item$Properties.<init> ()V | |
ICONST_1 | |
INVOKEVIRTUAL net/minecraft/world/item/Item$Properties.stacksTo (I)Lnet/minecraft/world/item/Item$Properties; | |
INVOKESPECIAL net/minecraft/world/item/BlockItem.<init> (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/item/Item$Properties;)V | |
INVOKESTATIC net/minecraft/world/item/Items.registerBlock (Lnet/minecraft/world/item/BlockItem;)Lnet/minecraft/world/item/Item; | |
PUTSTATIC net/minecraft/world/item/Items.CAKE : Lnet/minecraft/world/item/Item; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment