Jump to content

How would I go about adding tags to blocks that would be used for ----


Recommended Posts

Posted

Ok, so the gist of the mod is civilzation like. Different ages. Each age unlocks blocks/items as you progress etc.

Now bare with me. Im super noobie to coding.

 

So what I was thinking was adding a value to each and every block/item. The value determines its age. Which in turn determines weather or not this block is allowed to be crafted, placed, crafted with, broken, etc etc.

 

For instance. In the stone age. Blocks with age value 1 are free reign. Iron has value 2. So you cannot mine iron ore. Lets say you find an iron ingot in a dungeon chest. If you try to craft with it, it wont complete the recipe.

 

Im not worried about the ages program yet, so much as being able to add the values so they can be read by that program.

Posted

Before anything else, you will need to be quite confident on your Java basics, and I really do mean BEFORE anything else.

http://thenewboston.org/list.php?cat=31 <--- Great resource for the basics, short and easy to follow videos, but any where you can learn to be comfortable with the basics is fine :)

 

Thats truely the place to start as a newbie, I say that as an statement from former newbie coder.

If you guys dont get it.. then well ya.. try harder...

Posted

yes, but not without an good foundation of basics. You will need to devout a lot of your time to learning programming and Java before you start with this project :)

If you guys dont get it.. then well ya.. try harder...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.