mirror of
https://github.com/GTNewHorizons/Gadomancy.git
synced 2026-11-28 07:35:46 +00:00
- Added some custom potion handling
This commit is contained in:
1 parent
e3a912da6f
commit
1efbf409e0
4 files changed
+75
-1
No files matched your search
@@ -1,5 +1,6 @@
|
||||
package makeo.gadomancy.common.registration;
|
||||
|
||||
import makeo.gadomancy.common.potions.PotionMiningLuck;
|
||||
import makeo.gadomancy.common.utils.Injector;
|
||||
import net.minecraft.potion.Potion;
|
||||
|
||||
@@ -12,7 +13,11 @@ import net.minecraft.potion.Potion;
|
||||
* Created by makeo @ 31.10.2015 23:09
|
||||
*/
|
||||
public class RegisteredPotions {
|
||||
|
||||
public static PotionMiningLuck POTION_MINING_LUCK;
|
||||
|
||||
public static void init() {
|
||||
POTION_MINING_LUCK = registerPotion(PotionMiningLuck.class);
|
||||
}
|
||||
|
||||
private static <T extends Potion> T registerPotion(Class<T> potionClass) {
|
||||
|
||||
Reference in new issue
Block a user