Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I go about adding EMC values through datapacks? (NOT THE IN GAME COMMAND.) #2302

Open
togera13 opened this issue Oct 31, 2023 · 1 comment

Comments

@togera13
Copy link

Tickets that do not conform to this template will be closed without comment

Exact ProjectE version (do not say "latest", "latest on Curse", or similar): 1.19.2-PE1.0.1B

Exact Forge version: 43.3.2

Link to crash log (please use a paste site, do not attach the .txt or paste the log inline):

Steps to reproduce:

What I expected to happen:

What happened instead:

I tried following the example custom conversion thing but I couldn't figure it out after messing with it for several hours. I legit have no clue what I am doing wrong when trying to add emc values.

Main reason I wanted to do this is for organization & ocd sake as opposed to having a bunch of random mod's emc values merged into the custom emc config file (also because if I ever make my own mod I'd like to know how to add emc values to my stuff), but every single last tutorial on youtube & the like only covers the in-game cheats enabled command method of adding emc. I cannot find a single tutorial on adding emc via datapack or api (though I don't know how to code so the api method would probably be useless to me for now until I learn coding though I still would like to know how it works eventually if there are any tutorials for it).

@pupnewfster
Copy link
Collaborator

I am not sure the best way to explain this as the main way I interact with it is via datagen and code. But there is the file it sounds like you already looked at as an example format. There is also the two files that can be referenced for what we do for vanilla items: https://github.com/sinkillerj/ProjectE/tree/mc1.20.x/src/datagen/generated/data/projecte/pe_custom_conversions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants