tutorial:registry
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tutorial:registry [2022/12/15 23:47] – [Registry Types] solidblock | tutorial:registry [2023/05/15 03:31] (current) – Fix missing period in code. phanabani | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | -====== Registry System ====== | + | ====== Registry System ====== |
You will need to register most content you add to the game. This helps with: | You will need to register most content you add to the game. This helps with: | ||
Line 25: | Line 25: | ||
< | < | ||
public static <T> T method_10230(class_2378<? | public static <T> T method_10230(class_2378<? | ||
- | return ((class_2385)registry)method_10272(id, | + | return ((class_2385)registry).method_10272(id, |
} | } | ||
</ | </ |
tutorial/registry.txt · Last modified: 2023/05/15 03:31 by phanabani