Astral Sorcery

Astral Sorcery

63M Downloads

[Request] Mod integration

Opened this issue ยท 3 comments

commented

The Chisel mod already provides marble which can be chiseled. It would be cool if Astral Sorcery could recognize the Chisel mod and use the marble of that mod instead of it's own, so the player don't has to mess with two marble variants when using both mods.

Another mod providing marble is UBC, but there it's a stone type which is broken to marble cobblestone. Don't know wether integration is possible. I disabled UBC marble to give preference to Chisel marble.

commented

AS does support ore dictionary in the recipes, the issue I've found is that the oredicts for marble are all over the place. AS oredicts as blockMarble. Makes sense, quark is stoneMarble, which also kinda makes sense. Chisel literally has no oredict for their marble at all and not sure about UBC's oredict. There doesnt seem to be consensus in the modding community on which oredict to use.

You can fix this with minetweaker howeve by adding all the mod marbles into a single oredict for recipes or just adding a shapeless recipe to convert between the types.

commented

The CraftTweaker + shapeless recipe idea sounds good, I'll try that. Thank you. :-)

commented

Here's the CraftTweaker solution I went with for UBC compatibility. It adds oredict for the recipes, and allows direct crafting for the multiblock structures. Tooltips are added to help distinguish the two.

// Marble Oredict for most Astral Sorcery recipes
<ore:stoneMarble>.add(<undergroundbiomes:metamorphic_stone:2>);
<ore:blockMarble>.add(<undergroundbiomes:metamorphic_stone:2>);

// Marble Tooltips for clarity
<astralsorcery:BlockMarble:0>.addTooltip("Able to reflect starlight");
<undergroundbiomes:metamorphic_stone:2>.addTooltip("Can be crafted into another type of marble");

// Direct Marble conversion for any edge cases
recipes.addShapeless(<astralsorcery:BlockMarble:0>, [<undergroundbiomes:metamorphic_stone:2>]);

Edit: HellFirePvP> 'channel' -> 'reflect'

My edit: I remembered that marble is also oredict'd to stone, so crafting by itself can produce a button. This can be solved by changing the conversion recipe, or removing the stone oredict from marble: <ore:stone>.remove(<undergroundbiomes:metamorphic_stone:2>);