172 posts
Location
United States
Posted 22 April 2015 - 07:20 PM
I'm trying to build a peripheral addon but its my first time and I'm not exactly sure what I'm doing. Here is the error from my work so far:
http://paste.ee/p/GU1FfHere is the repository with the code:
https://github.com/Cyb3rWarri0r8/CCUUID
8543 posts
Posted 22 April 2015 - 07:29 PM
Java arrays are zero-indexed, not one-indexed.
172 posts
Location
United States
Posted 23 April 2015 - 12:17 AM
Java arrays are zero-indexed, not one-indexed.
ahh duh! Sorry I'm taking a class where the flowchart thing we use is one-indexed.. :wacko:/>
EDIT: This happened though:
http://paste.ee/p/T4wGM
Edited on 22 April 2015 - 10:31 PM
7508 posts
Location
Australia
Posted 23 April 2015 - 12:19 AM
if it's not clear Lyqyd is probably talking about right
here. which on that note
@Override
public String[] getMethodNames() {
return new String[]{ "generateUUID" };
}
will create a new string array of the size required and add the supplied elements into it.
172 posts
Location
United States
Posted 23 April 2015 - 04:13 AM
if it's not clear Lyqyd is probably talking about right
here. which on that note
@Override
public String[] getMethodNames() {
return new String[]{ "generateUUID" };
}
will create a new string array of the size required and add the supplied elements into it.
Oh okay gotcha! Its working now thanks!
172 posts
Location
United States
Posted 25 April 2015 - 01:35 AM
So I've been doing some work and I have it thus far. It doesn't apply the texture to the entity model. What do I need to do to fix that?
EDIT: Nevermind. I fixed it.
Edited on 25 April 2015 - 03:06 PM