mcenderdragon / Futurepack-API

A small Api for the Futurepack
21 stars 4 forks source link

[Request] More Crafttweaker support #582

Open DevTimur opened 5 years ago

DevTimur commented 5 years ago

List of features i need so i don't have to mess with JAR file.

There are also list of bugs i found, and they bothering me.

  1. /fp research "player" reset doesn't work.
  2. When i make custom "lang\part\item.json" file with _[{"type": "crafting", "load": "fp:lacktank00"}] inside i can not use any item exept your mod's items. Even _"minecraft:crafting_table0" SOLVED PROBABLY
  3. Log spam _[15:34:04] [Client thread/ERROR] [Futurepack]: java.io.FileNotFoundException: fp:lang/enus/production.grinder.json every time i open custom tab. And yes, i got production.grinder.json file in "Mods/futurepack/lang" folder
mcenderdragon commented 5 years ago

Add a way to inject research Titles using Crafttweaker. Curently I can only inject research description, but can't add own Titles. I have to edit "en_US.lang" in JAR.

Crafttweaker was able to add translations to the game (atleast in the past). Translations are made via resourcepacks so providing one with a en_us.lang should fix the titles.

When i make custom "lang\part\item.json" file with [{"type": "crafting", "load": "fp:lacktank0_0"}] inside i can not use any item exept your mod's items. Even "minecraft:crafting_table_0"

Crafting recipes have resourcelocation ids, so you will haver to find out where the recipe is saved and the name of the json is the ID you need, for the crafting table it is "minecraft:crafting_table"

Do these requests have to be made in 1.12? (Cause I realy like to stop developing for that version now so I can focus on 1.13+)

DevTimur commented 5 years ago

yes, 1.12 And why not 1.14? Most of people tend to skip 1.13 now.

mcenderdragon commented 5 years ago

I already started on 1.13 and am almost done. The changes from 1.13->1.14 are rather small so porting should be quick, also remapper should handle alot of name changes. Are you sure you don't want to write a mod for all of that? All resource problems would be gone and you had full control over the researches (as the API was more or less written for that).

DevTimur commented 5 years ago

https://media.tenor.com/images/8fb198fb521ebb1e0a7dcc979a37307f/tenor.gif ^That's me in terms of Coding.^ All I do is modpack. And FP mod, at curent state, is your property, i can not just steal it. All i can do is find my backdoor to insert features I want to see in there. Or ask You to hack an backdoor for me. If that's hard, don't bother. If you can explain me how to use "resourcepacks". Not sure I know how to use it. Some tutorials maybe?

P.S. So far my progress looking good for me, i just wanted to step back from editing JAR, if possible.

mcenderdragon commented 5 years ago

https://minecraft.gamepedia.com/Tutorials/Creating_a_resource_pack

https://mcforge.readthedocs.io/en/latest/concepts/resources/ https://mcforge.readthedocs.io/en/latest/concepts/internationalization/

And basicaly when something is at "assets/miencraft/lang/en_us.lang" it gets loaded and added to the Translator. So create a zip put a en_us into it and you should be able to add translations.

mcenderdragon commented 4 years ago

this is possible in 1.14 because we now have teh data folders. So just toss your recipes into the recipes folder and they get send to the client.