Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @EventHandler
- public void preInit(FMLPreInitializationEvent event) {
- fireTweak = new fireTweak();
- itemFireEdit = new itemFireTweak(fireTweak);
- }
- @EventHandler
- public void Init(FMLInitializationEvent event) {
- try {
- GameRegistry.addSubstitutionAlias("minecraft:fire", GameRegistry.Type.BLOCK, fireTweak);
- GameRegistry.addSubstitutionAlias("minecraft:fire", GameRegistry.Type.ITEM, itemFireEdit);
- } catch (ExistingSubstitutionException e) {
- e.printStackTrace();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment