mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 19:49:54 +00:00
Move inventory code to their own files, refactor, cleanup.
Register items and blocks before the rest of preInit.
This commit is contained in:
1 parent
f1afca664b
commit
411b4959f2
229 files changed
+4628
-5271
No files matched your search
@@ -46,12 +46,27 @@ public abstract class ForestryPlugin {
|
||||
protected void disabledSetupAPI() {
|
||||
}
|
||||
|
||||
protected void registerItemsAndBlocks() {
|
||||
}
|
||||
|
||||
protected void preInit() {
|
||||
}
|
||||
|
||||
protected void registerTriggers() {
|
||||
}
|
||||
|
||||
protected void registerBackpackItems() {
|
||||
}
|
||||
|
||||
protected void registerCrates() {
|
||||
}
|
||||
|
||||
protected void doInit() {
|
||||
}
|
||||
|
||||
protected void registerRecipes() {
|
||||
}
|
||||
|
||||
protected void postInit() {
|
||||
}
|
||||
|
||||
@@ -113,21 +128,6 @@ public abstract class ForestryPlugin {
|
||||
return null;
|
||||
}
|
||||
|
||||
protected void registerItems() {
|
||||
}
|
||||
|
||||
protected void registerTriggers() {
|
||||
}
|
||||
|
||||
protected void registerBackpackItems() {
|
||||
}
|
||||
|
||||
protected void registerCrates() {
|
||||
}
|
||||
|
||||
protected void registerRecipes() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
Plugin info = getClass().getAnnotation(Plugin.class);
|
||||
|
||||
Reference in new issue
Block a user