Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ public static class ModpackFlag {
@Config.Comment({
"1. When enabled, the following recipes will be changed to Peaceful difficulty: ",
"Nether Star Dust, Skeleton Skull, Wither Skeleton Skull, Zombie Head, Creeper Head, Enderman Head",
"2. When enabled, some machine recipes are for Peaceful: ",
"Electric Spawner",
"Default: false" })
public boolean peacefulFlag = false;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,25 @@ public static void init() {
'Z', "skullZombieController");

// Electric Spawner
MetaTileEntityLoader.registerMachineRecipe(true,
EIOMetaTileEntities.ELECTRIC_SPAWNER, "PEP", "SHS", "CZC",
'P', new UnificationEntry(plate, GTEMaterials.ConstructionAlloy),
'E', "skullSentientEnder",
'S', new UnificationEntry(plate, GTEMaterials.Soularium),
'H', HULL,
'C', "itemEnderCrystal",
'Z', "skullZombieFrankenstein");
if (GTEConfigHolder.gteFlag.peacefulFlag) {
MetaTileEntityLoader.registerMachineRecipe(true,
EIOMetaTileEntities.ELECTRIC_SPAWNER, "PEP", "SHS", "CZC",
'P', new UnificationEntry(plate, GTEMaterials.ConstructionAlloy),
'E', "skullEnderResonator",
'S', new UnificationEntry(plate, GTEMaterials.Soularium),
'H', HULL,
'C', "itemEnderCrystal",
'Z', "skullZombieController");
} else {
MetaTileEntityLoader.registerMachineRecipe(true,
EIOMetaTileEntities.ELECTRIC_SPAWNER, "PEP", "SHS", "CZC",
'P', new UnificationEntry(plate, GTEMaterials.ConstructionAlloy),
'E', "skullSentientEnder",
'S', new UnificationEntry(plate, GTEMaterials.Soularium),
'H', HULL,
'C', "itemEnderCrystal",
'Z', "skullZombieFrankenstein");
}

if (EnderIOConfigHolder.addShapelessRecipeMachines) {
// Slice'N'Splice
Expand Down