tutorial:containers
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tutorial:containers [2020/08/14 07:09] – screen handlers part 2, needs extra testing leocth2 | tutorial:containers [2020/08/14 07:18] – oooops wrong registry type uh uh leocth2 | ||
---|---|---|---|
Line 81: | Line 81: | ||
public static final Identifier BIGGER_CHEST = new Identifier(MOD_ID, | public static final Identifier BIGGER_CHEST = new Identifier(MOD_ID, | ||
- | public static final Block BIGGER_CHEST_BLOCK = new BiggerChestBlock(FabricBlockSettings.of(Material.METAL).build()); | + | public static final Block BIGGER_CHEST_BLOCK = new BiggerChestBlock(FabricBlockSettings.of(Material.METAL)); |
@Override | @Override | ||
Line 87: | Line 87: | ||
{ | { | ||
Registry.register(Registry.BLOCK, | Registry.register(Registry.BLOCK, | ||
- | Registry.register(Registry.BLOCK, BIGGER_CHEST, | + | Registry.register(Registry.ITEM, BIGGER_CHEST, |
} | } | ||
} | } |
tutorial/containers.txt · Last modified: 2022/05/27 15:57 by solidblock