mirror of
https://github.com/GTNewHorizons/Postea.git
synced 2026-11-24 14:04:41 +00:00
add dummy item auto-creation
This commit is contained in:
1 parent
4d2c1ba3fc
commit
36de68e5ab
6 files changed
+182
-9
No files matched your search
@@ -3,9 +3,11 @@ package com.gtnewhorizons.postea;
|
||||
import static com.gtnewhorizons.postea.api.BlockReplacementManager.blockReplacementMap;
|
||||
import static com.gtnewhorizons.postea.api.BlockReplacementManager.posteaMarkedIDs;
|
||||
|
||||
import cpw.mods.fml.common.event.FMLLoadCompleteEvent;
|
||||
import net.minecraft.block.Block;
|
||||
|
||||
import cpw.mods.fml.common.Mod;
|
||||
import cpw.mods.fml.common.event.FMLMissingMappingsEvent;
|
||||
import cpw.mods.fml.common.event.FMLModIdMappingEvent;
|
||||
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||
import cpw.mods.fml.common.event.FMLServerStoppingEvent;
|
||||
@@ -37,6 +39,15 @@ public class Postea {
|
||||
}
|
||||
}
|
||||
|
||||
@Mod.EventHandler
|
||||
public void onMissingMapping(FMLMissingMappingsEvent event) {
|
||||
PosteaMissingMappingHandler.onMissingMapping(event);
|
||||
}
|
||||
|
||||
public void onLoadCompleted(FMLLoadCompleteEvent event) {
|
||||
PosteaMissingMappingHandler.onLoadCompleted();
|
||||
}
|
||||
|
||||
@Mod.EventHandler
|
||||
public void onServerStopping(FMLServerStoppingEvent event) {
|
||||
posteaMarkedIDs.clear();
|
||||
|
||||
Reference in new issue
Block a user