Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Starting 1.12 port. Game compiles, made registry changes.
- Loading branch information
Showing
9 changed files
with
33 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# Versions | ||
minecraft_version=1.11.2 | ||
forge_version=13.20.1.2386 | ||
mappings=snapshot_nodoc_20161220 | ||
mod_version=1.6.0 | ||
minecraft_version=1.12 | ||
forge_version=14.21.1.2387 | ||
mappings=snapshot_nodoc_20170624 | ||
mod_version=2.0.0 | ||
|
||
# Gradle Properties | ||
-org.gradle.jvmargs=-Xmx3G |
15 changes: 15 additions & 0 deletions
15
src/main/java/ca/wescook/nutrition/events/EventRegistry.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package ca.wescook.nutrition.events; | ||
|
||
import ca.wescook.nutrition.potions.ModPotions; | ||
import net.minecraft.potion.Potion; | ||
import net.minecraftforge.event.RegistryEvent; | ||
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; | ||
|
||
public class EventRegistry { | ||
@SubscribeEvent | ||
public void registerPotions(RegistryEvent.Register<Potion> event) { | ||
event.getRegistry().register(ModPotions.toughness); | ||
event.getRegistry().register(ModPotions.nourished); | ||
event.getRegistry().register(ModPotions.malnourished); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters