GithubHelp home page GithubHelp logo

Comments (10)

noobanidus avatar noobanidus commented on August 17, 2024 1

I wrote a comment and was like "Hm, I won't bother commenting" then never closed the tab and then I was like "oh I forgot to post this comment". So... yeah. Not deliberately trying to be passive-aggressive!

from botaniatweaks.

quat1024 avatar quat1024 commented on August 17, 2024

Do you see any errors from JEI or btweaks in the console?

The agglomeration stuff is fairly shaky code right now. You can pretty much only add things to the multiblock that also have item forms, even though that shouldn't really be a restriction. It was made before CraftTweaker had good support for blockstates; I've heard it does now, but haven't looked at it yet.

I'm guessing it's because it's not sure how to convert whatever gregtech:compressed_14:15 is to a block.

from botaniatweaks.

quat1024 avatar quat1024 commented on August 17, 2024

Note to self: report of this happening to floramancer with this recipe

# globalVars.zs
global creativeManaTablet as IItemStack =  <botania:manatablet>.withTag({mana: 500000, creative: 1 as byte});

# botania.zs
Agglomeration.addRecipe(
	<contenttweaker:tinygalacticpotato>,
	[<botania:gaiahead>, creativeManaTablet, <botania_tweaks:compressed_tiny_potato_8>] as IIngredient[],
	24000000,
	0x00FF00,
	0x0000FF,
	<botania:pool:3>,
	<botania:enchantedsoil>,
	<botania:enchantedsoil>,
	<botania:pool:1>,
	<botania:altgrass>,
	<botania:altgrass>);

link 2 https://github.com/lucidobservor/floramancer-modpack/tree/master/overrides/scripts

from botaniatweaks.

noobanidus avatar noobanidus commented on August 17, 2024

I'm loathe to open a new issue as I realise it's some type of conflict with my modpack, but are there any known things/mods/etc that prevent Agglomeration recipes registered via CraftTweaker from being registered before BotaniaTweak's JEI plugin fires? I've tested it via IDEA and in an environment with just a few of the mods, it functions perfectly.

The actual recipes themselves (including the new default recipe) function correctly, but the new terrasteel and terrasteel block recipes do not appear in BotaniaTweaks' JEI. I don't see anything in the config to indicate that I may have caused an issue, I'll eventually set up the test environment with all of the config, scripts and mods from my pack and do more thorough work, but I thought I'd ask if there were any known problems with mods interfering, etc.

from botaniatweaks.

quat1024 avatar quat1024 commented on August 17, 2024

None that I know of. If I knew I'd probably have fixed it by now. :P

from botaniatweaks.

noobanidus avatar noobanidus commented on August 17, 2024

Yeah, I'm not entirely sure what's happening, but from what I can see (having added some timestamps to CraftTweaker's logging systems):

[20:14:37] [main/INFO]: Starting JEI took 44.69 s
20:14:37 [AVAILABLE][CLIENT][INFO] Adding an agglomeration recipe: AgglomerationRecipe{recipeStacks=[], recipeOreKeys=[quicksilver, ingotManasteel, gemAquamarine, ingotThaumium], recipeOutput=1xitem.manaResource@4, manaCost=500000, color1=255, color2=65280, multiblockCenter=botania:livingrock[variant=default], multiblockEdge=minecraft:lapis_block, multiblockCorner=botania:livingrock[variant=default], multiblockCenterReplace=null, multiblockEdgeReplace=null, multiblockCornerReplace=null, totalInputs=4}
20:14:37 [AVAILABLE][CLIENT][INFO] Adding an agglomeration recipe: AgglomerationRecipe{recipeStacks=[1xtile.storage@0], recipeOreKeys=[quicksilver, blockThaumium, gemAquamarine], recipeOutput=1xtile.storage@1, manaCost=4500000, color1=255, color2=65280, multiblockCenter=botania:livingrock[variant=default], multiblockEdge=minecraft:lapis_block, multiblockCorner=botania:livingrock[variant=default], multiblockCenterReplace=null, multiblockEdgeReplace=null, multiblockCornerReplace=null, totalInputs=4}
20:14:37 [AVAILABLE][CLIENT][INFO] Removing an agglomeration recipe: AgglomerationRecipe{recipeStacks=[1xitem.manaResource@2, 1xitem.manaResource@0, 1xitem.manaResource@1], recipeOreKeys=[], recipeOutput=1xitem.manaResource@4, manaCost=500000, color1=255, color2=65280, multiblockCenter=botania:livingrock[variant=default], multiblockEdge=minecraft:lapis_block, multiblockCorner=botania:livingrock[variant=default], multiblockCenterReplace=null, multiblockEdgeReplace=null, multiblockCornerReplace=null, totalInputs=3}

It seems that, for whatever reason, CraftTweaker's not processing the BotaniaTweaks code until after JEI is loaded -- whereas every other entry for CraftTweaker/ModTweaker's changes is well, well before it.... I'll investigate more and, if I identify what the issue is, I'll provide as much information as possible.

from botaniatweaks.

noobanidus avatar noobanidus commented on August 17, 2024

Looking further into the source, you're triggering your _ACTIONS at loadComplete, whereas CraftTweaker is triggering them at postInit -- I'm not sure if you have a specific reason for doing this, but I'm going to assume that the difference makes it into a bit of a race condition that functions properly with only a few mods loaded but fails at other times. I'll do more testing and compile a version using postInit to see if that solves the issue.

from botaniatweaks.

noobanidus avatar noobanidus commented on August 17, 2024

I've filed a pull request which I believe will solve my issue and potentially the issue of the opener of this ticket.

from botaniatweaks.

quat1024 avatar quat1024 commented on August 17, 2024

Thanks for the reminder; I'll take a look pretty soon, a bit busy and sick lately 😵

from botaniatweaks.

quat1024 avatar quat1024 commented on August 17, 2024

ok this is fixed pretty sure

from botaniatweaks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.