Jump to content

Recommended Posts

Posted

I'm sorry but, how can I use it? (I say it because it gives me these errors and I am confused)

 

 

Multiple markers at this line

- Syntax error on token "if", assert

expected

- y cannot be resolved to a variable

- z cannot be resolved to a variable

- x cannot be resolved to a variable

 

 

I'm getting these errors in the "60." line

 

My code (If you want to see it):

http://pastebin.com/QbquX9MU

 

Posted

I'm sorry but, how can I use it? (I say it because it gives me these errors and I am confused)

 

 

Multiple markers at this line

- Syntax error on token "if", assert

expected

- y cannot be resolved to a variable

- z cannot be resolved to a variable

- x cannot be resolved to a variable

 

 

I'm getting these errors in the "60." line

 

My code (If you want to see it):

http://pastebin.com/QbquX9MU

Are you a Java coder or not? That was Python syntax, which I'm sorry for, but not enough to tell you that you need parentheses around a Java "if" condition. And you should be putting that condition around line 66, and, if you're not smart enough to know which variables use instead of "x","y", and "z", then I'm not going to tell you. (Hint: You defined them yourself.)

 

Okay, rant over... I needed that. I'm sorry, I've been struggling with entities all day.

BEWARE OF GOD

---

Co-author of Pentachoron Labs' SBFP Tech.

Posted

Yes, I am a Java coder but not a veteran, so I can make many mistakes. It's okay, but as you can see, I'm relatively new and I need help to create new things. I learn when I write my code. Thank you for your help ;). Now I have this error. It occurs when I enter into a Ocean biome (Where I want to spawn the Seaweeds)

 

Sorry if I misspelled something, my English isn't very good (currently ;)):-[

 

 

20130611234713.png

 

 

Posted

Yes...I can see it, but I need it to spawn underwater, at the bottom of the ocean, like seaweeds. I think I have to decrease the Ycoord, isn't it? (But the ocean hasn't a regular bottom, so I'm trying to find out how.)

Posted

You could make it so it use ore generation methods to spawn in ocean biomes, below laver 64 and above 50 (or something) that way it will spawn in oceans, and in the oceans, not below it

Why bother?

Posted

(1) You need to put a check in there for whatever block you want to replace.

(2) Make sure you have it as y+1 instead of y-1.

(3) You'll probably want to change waterStill to waterMoving (or whatever moving water is.) Sorry about that.

BEWARE OF GOD

---

Co-author of Pentachoron Labs' SBFP Tech.

Posted

Hello ;D! I just make a new world generator (WorldGeneratorSeaWeed) that extends WorldGenerator. It checks what there are above and below of my block, so it can be placed in sand or dirt (for example). Thank you all for helping me and I'm sorry if I've been a bit lazy ;).

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.