Git Product home page Git Product logo

Comments (7)

Astavie avatar Astavie commented on August 12, 2024

You are indeed giving very little... What is your code?

from from-the-ground-up.

ChipsAhoyMcCoy16 avatar ChipsAhoyMcCoy16 commented on August 12, 2024

Okay. Let me try to start over with what I have attempted, now that I am a little level headed now and not so frustrated.

Giving some better background knowledge, and some obvious things.
I wanted to use the "From the Ground Up" mod in my minecraft. I also wanted to use other mods and combine the "From the Ground Up" experience with other mods.

I saw that "From the Ground Up" had "Native CraftTweaker Support".
So in turn, I followed this link to the code to use to allow that addition of pages and technologies:
https://github.com/TheRActivator/From-the-Ground-Up/wiki/CraftTweaker-Support#pages

I then followed the tutorials from here:
http://minetweaker3.powerofbytes.com/wiki/Main_Page
That way, I would have some knowledge of how to work this mod.

Also want to add, I also added the mod, "ModTweaker".

So the process I went through, was that I added the basic code for adding a new page, just to test the mod.
The specific code was:
mods.ftgu.Page.addPage

But once I got a weird Java exception error, I realized I needed a ;

The next change to the code was to this:
mods.ftgu.Page.addPage;

Which results in:
2017-06-19_18 24 16

So, I also realize that this code requires an argument. Now I am new to coding and I do not fully understand the definition of an argument and what they are supposed to look like.

But the next piece of code I tried was:
import mods.ftgu.Page.addPage("Test Page");

Which results in:
2017-06-19_18 28 45

I hope this is much more to work off of. Thank you for the reply. If you need more info, just ask!

from from-the-ground-up.

Astavie avatar Astavie commented on August 12, 2024

You just have to do mods.ftgu.Page.addPage("Test Page");, no import required.
Import is used like this:

import mods.ftgu.Page;
Page.addPage("Test Page 1");
Page.addPage("Test Page 2");

I think, at least

from from-the-ground-up.

ChipsAhoyMcCoy16 avatar ChipsAhoyMcCoy16 commented on August 12, 2024

I attempted to use the code you suggested and I got this error:
2017-06-20_19 03 28
2017-06-20_19 03 30

I then try to use the import version and I get this error:
2017-06-20_19 07 42

2017-06-20_19 07 50

2017-06-20_19 07 52

from from-the-ground-up.

Ksehn avatar Ksehn commented on August 12, 2024

Hi @ChipsAhoyMcCoy16,

Are you sure you're running the latest version of From the Ground Up ?
The error in your screens remind me this: #23 (Actually fixed by TheRActivator in FtGU 1.1.5).

from from-the-ground-up.

Astavie avatar Astavie commented on August 12, 2024

@ChipsAhoyMcCoy16 yeah you might be using an outdated version if it doesn't recognise ftgu as a member

from from-the-ground-up.

ChipsAhoyMcCoy16 avatar ChipsAhoyMcCoy16 commented on August 12, 2024

I lowered my game version to 1.10.2 along with the mods. It seemed to have worked.
I was running on 1.11.2 before with the mods and that is where I kept getting the errors.

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.