This repository has been archived by the owner on May 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add "Mob Drops" NEI page + Extreme Extermination Chamber (#1)
* First commit * Mixins * Merge the same items with diffrent damage * Faster random in NEI * More accuracy ? * Update ClientProxy.java * Renaming * Update buildscript * Use reserved MTE ID's * EEC work * Rework NEI page * Fix inaccurate chances * Basic equipment spawn * Add config options * Translations * Add infernal drops * Witchery fix * Forestry fixes * More fixes * Default blacklist * NEI sorting * Comment out testing deps * Clientsided check * Blood Magic support * LoaderReference * Check if peacefull is allowed * Add some XP output * Add recipe * Send Server config to Client * Add command to reload config * Translations * Process MT additions
- Loading branch information
Showing
33 changed files
with
3,537 additions
and
13 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,5 +1,32 @@ | ||
// Add your dependencies here | ||
|
||
dependencies { | ||
compile("com.github.GTNewHorizons:GT5-Unofficial:5.09.40.78:dev") | ||
compile("com.github.GTNewHorizons:EnderCore:0.2.6:dev") | ||
compile("com.github.GTNewHorizons:EnderIO:2.3.1.29:dev") | ||
compile("com.github.GTNewHorizons:Infernal-Mobs:1.7.5-GTNH:dev") | ||
compileOnly("com.github.GTNewHorizons:BloodMagic:1.3.10:dev") | ||
{ | ||
transitive = false | ||
} | ||
compileOnly("thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev") | ||
{ | ||
transitive = false | ||
} | ||
compileOnly("com.github.GTNewHorizons:CraftTweaker:3.2.9:dev") | ||
{ | ||
transitive = false | ||
} | ||
runtime("com.github.GTNewHorizons:Baubles:1.0.1.14:dev") | ||
runtime("curse.maven:cofh-core-69162:2388751") | ||
|
||
// For testing | ||
//runtime("com.github.GTNewHorizons:OpenBlocks:1.6.9-GTNH:dev") | ||
//runtime("com.github.GTNewHorizons:CraftTweaker:3.2.9:dev") | ||
//compile("com.github.GTNewHorizons:SpecialMobs:3.3.12:dev") | ||
//compile("com.github.GTNewHorizons:twilightforest:2.3.8.15:dev") | ||
//compile("com.github.GTNewHorizons:EnderZoo:1.0.23:dev") | ||
//runtime("thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev") | ||
//runtime("com.github.GTNewHorizons:BloodMagic:1.3.10:dev") | ||
//compile("curse.maven:witchery-69673:2234410") | ||
} |
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,5 +1,26 @@ | ||
// Add any additional repositories for your dependencies here | ||
|
||
repositories { | ||
|
||
maven { | ||
name = "GTNH Maven" | ||
url = "http://jenkins.usrv.eu:8081/nexus/content/groups/public/" | ||
} | ||
maven { | ||
name = "ic2" | ||
url = "http://maven.ic2.player.to/" | ||
metadataSources { | ||
mavenPom() | ||
artifact() | ||
} | ||
} | ||
maven { | ||
url "https://cursemaven.com" | ||
} | ||
maven { | ||
name = "jitpack.io" | ||
url = "https://jitpack.io" | ||
} | ||
maven { | ||
url 'https://repo.openmods.info/artifactory/openmods/' | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package kubatech; | ||
|
||
import cpw.mods.fml.common.eventhandler.SubscribeEvent; | ||
import cpw.mods.fml.common.gameevent.PlayerEvent; | ||
import kubatech.network.LoadConfigPacket; | ||
import net.minecraft.entity.player.EntityPlayerMP; | ||
|
||
public class FMLEventHandler { | ||
// Gets fired only server-sided | ||
@SubscribeEvent | ||
public void onPlayerLoggedIn(PlayerEvent.PlayerLoggedInEvent event) { | ||
if (!(event.player instanceof EntityPlayerMP)) return; | ||
kubatech.info("Sending config to " + event.player.getDisplayName()); | ||
kubatech.NETWORK.sendTo(LoadConfigPacket.instance, (EntityPlayerMP) event.player); | ||
} | ||
} |
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,12 @@ | ||
package kubatech.api; | ||
|
||
import cpw.mods.fml.common.Loader; | ||
|
||
public class LoaderReference { | ||
public static final boolean BloodMagic = Loader.isModLoaded("AWWayofTime"); | ||
public static final boolean EnderIO = Loader.isModLoaded("EnderIO"); | ||
public static final boolean ExtraUtilities = Loader.isModLoaded("ExtraUtilities"); | ||
public static final boolean InfernalMobs = Loader.isModLoaded("InfernalMobs"); | ||
public static final boolean Thaumcraft = Loader.isModLoaded("Thaumcraft"); | ||
public static final boolean MineTweaker = Loader.isModLoaded("MineTweaker3"); | ||
} |
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,26 @@ | ||
/* | ||
* KubaTech - Gregtech Addon | ||
* Copyright (C) 2022 kuba6000 | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
* | ||
*/ | ||
|
||
package kubatech.api; | ||
|
||
import net.minecraft.util.EnumChatFormatting; | ||
|
||
public class Variables { | ||
public static final String Author = "Author: " + EnumChatFormatting.GOLD + "kuba6000"; | ||
} |
Oops, something went wrong.