From the Ground Up

From the Ground Up

41.7k Downloads

I'm building the source to test the CraftTweaker integeration. If it works, may I...?

Closed this issue ยท 6 comments

commented

I'm building the source to test the CraftTweaker integeration.
If it works and I don't experience any bugs, may I include it in my modpack?
I would ofcourse put in a warning that I built it from source and thus is a more prone to bugs and breaking/crashing.
But that's if it works for me and I get the okay from you.

commented

It has been a month, hasn't it? I am currently releasing an experimental version that has the crafttweaker support in it. I am planning to start adding new features in the holidays, but I may be busy with other things, who knows.

commented

Also yes, this mod is free to use in any modpack if you give me credit in some visible way (like linking to the curseforge page)

commented

Thanks, Awesome!
Though I meant specifically the copy I built from source myself.
However since you're releasing your own build with the crafttweaker support in I won't need to.

commented

https://github.com/TheRActivator/From-the-Ground-Up/releases/tag/1.10.2-b1.1_pre1
Here is the pre-release for now, and this thread is closed!

commented

Will you be putting the crafttweaker support documentation up on the minetweaker wiki once the crafttweaker support is officially released?
As a matter of fact, I'm feeling some mild emotional discomfort at the thought of trial and erroring my way to figuring out how to do it from source.
Right when I got to the point of typing "...feeling some mild..." I made up my mind to do so anyway.
Doubly thinking to myself "f*** it, I'm doing it anyway."
Once for the trial and error experimentation,
and a second time for posting that statement anyway despite the "f*** it" on experimenting.
P.S. I posted the statement anyway because I feel it would be too dishonest, or too "sleazy", of me to simply cut it out of the conversation.

commented

Oh right, I should probably explain how the crafttweaker support even works, and - even though you said yourself you like the idea of experimenting - I think I should probably tell you.
So there are 4 methods:

  1. "mods.ftgu.Technology.addTechnology"
  • String page: Since you can't make a new page yet, I recommend putting "Minecraft" here
  • String prev: The name of the technology prior to the one you are making. Can be null
  • String[] secret (optional): Names of other techs that are prerequisites
  • IItemStack icon: An item that is shown as the icon of the tech
  • boolean hide (optional): Hide this tech from the book until it is researched
  • int x, int y, String name: Should be obvious
  • IIngredient[] item: Modded items that are unlocked by researching this tech

For example: "mods.ftgu.Technology.addTechnology("Minecraft", null, <minecraft:dye:0>, 10, 5, "the_holy_ink_sac", [<minecraft:dye:0>,<minecraft:wool:15>]);"

  1. "mods.ftgu.Idea.addIdea"
  • String tech: The name of the tech you want to add a recipe to
  • IIngredient[] item: A list of 1-3 items that make up your recipe

For example: "mods.ftgu.Idea.addIdea("the_holy_ink_sac", [<minecraft:dye:0>,<minecraft:wool:15>]);"

  1. "mods.ftgu.Research.addResearch"
  • String tech: The name of the tech
  • IIngredient[][] item: A 3x3 grid of items, should be made like adding a crafting recipe with crafttweaker

For example: "mods.ftgu.Research.addResearch("the_holy_ink_sac", [[null, null, null],[null,<minecraft:dye:0>,null],[null,<minecraft:wool:15>,null]]);"

  1. "mods.ftgu.Scramble.addScrambled"
  • String tech: The name
  • IIngredient ingredient: The block you need to look at to unscramble the hint
  • int[] slots: The slots that are affected (from 0-8)

For example: "mods.ftgu.Scramble.addScrambled("the_holy_ink_sac", <minecraft:wool:15>, [4, 7]);"