Git Product home page Git Product logo

Comments (6)

Astavie avatar Astavie commented on August 12, 2024 2

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]);"

from from-the-ground-up.

Astavie avatar Astavie commented on August 12, 2024

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.

from from-the-ground-up.

Astavie avatar Astavie commented on August 12, 2024

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)

from from-the-ground-up.

GazbonicAcid avatar GazbonicAcid commented on August 12, 2024

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.

from from-the-ground-up.

Astavie avatar Astavie commented on August 12, 2024

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!

from from-the-ground-up.

GazbonicAcid avatar GazbonicAcid commented on August 12, 2024

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.

from from-the-ground-up.

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.