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
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 2.4.7
- Fix Draconium Casing Recycle [#324](https://github.com/GTModpackTeam/GTExpert-Core/pull/324)

* * *

# 2.4.6
- Add Large Rock Breaker [#321](https://github.com/GTModpackTeam/GTExpert-Core/pull/321)
- Fix Electric Spawner [#323](https://github.com/GTModpackTeam/GTExpert-Core/pull/322)
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ modGroup = com.github.gtexpert.core

# Version of your mod.
# This field can be left empty if you want your mod's version to be determined by the latest git tag instead.
modVersion = 2.4.6-beta
modVersion = 2.4.6-beta

# Whether to use the old jar naming structure (modid-mcversion-version) instead of the new version (modid-version)
includeMCVersionJar = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ protected BlockPattern createStructurePattern() {
.aisle("X X", "SXXXX", "X X", "XXXXX", "X X")
.where('S', selfPredicate())
.where('X', casing.or(abilities))
.where('T', tieredCasing().or(states(getCasingState())))
.where('T', tieredCasing().or(casing))
.where('P', states(getPipeCasingState()))
.where('C', heatingCoils().setMinGlobalLimited(12).setMaxGlobalLimited(12))
.where(' ', any())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ protected BlockPattern createStructurePattern() {
.aisle("XCCXCCX", "XCCSCCX", "XCCXCCX")
.where('S', selfPredicate())
.where('X', casing.or(abilities))
.where('T', tieredCasing().or(states(getCasingState())))
.where('T', casing.or(tieredCasing()))
.where('C', heatingCoils().setMinGlobalLimited(32).setMaxGlobalLimited(32))
.where('#', air())
.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ protected BlockPattern createStructurePattern() {
.aisle("XXX", "XSX", "XXX")
.where('S', selfPredicate())
.where('X', casing.or(abilities))
.where('T', tieredCasing().or(states(getCasingState())))
.where('T', tieredCasing().or(casing))
.where('H', abilities(MultiblockAbility.MUFFLER_HATCH))
.where('#', air())
.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ protected BlockPattern createStructurePattern() {
.where('C', casing)
.where('X', casing.or(abilities))
.where('P', states(getPipeCasingState()))
.where('T', tieredCasing().or(states(getCasingState())))
.where('T', tieredCasing().or(casing))
.where('H', abilities(MultiblockAbility.MUFFLER_HATCH))
.where('#', air())
.where(' ', any())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,7 @@ public void preInit(FMLPreInitializationEvent event) {
public void init(FMLInitializationEvent event) {}

@Override
public void postInit(FMLPostInitializationEvent event) {
RecyclingRecipes.init();
}
public void postInit(FMLPostInitializationEvent event) {}

@Override
public void registerBlocks(RegistryEvent.Register<Block> event) {
Expand Down Expand Up @@ -112,5 +110,6 @@ public void registerRecipesLowest(RegistryEvent.Register<IRecipe> event) {
GTERecipe.init();
CEUOverrideRecipe.init();
GTEVanillaOverrideRecipes.init();
RecyclingRecipes.init();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
import net.minecraft.item.ItemStack;

import gregtech.api.GTValues;
import gregtech.api.unification.material.Materials;
import gregtech.api.unification.stack.ItemMaterialInfo;
import gregtech.api.unification.stack.MaterialStack;
import gregtech.common.ConfigHolder;

import com.github.gtexpert.core.api.unification.material.GTEMaterials;
Expand All @@ -30,10 +27,5 @@ public static void init() {
.getItemVariant(GTEBlockMetalCasing.MetalCasingType.AWAKENED_DRACONIUM_CASING),
GTEMaterials.AwakenedDraconium,
(GTValues.M * 8) / ConfigHolder.recipes.casingsPerCraft);
GTEUtility.registerOre(
GTEMetaBlocks.GTE_METAL_CASING.getItemVariant(GTEBlockMetalCasing.MetalCasingType.DRACONIUM_CASING),
new ItemMaterialInfo(
new MaterialStack(GTEMaterials.Draconium, GTValues.M * 9),
new MaterialStack(Materials.Tritanium, GTValues.M * 2)));
}
}