Idk Lol (Bukkit Developing)

Status
This thread has been locked.

CloutGoggles

Genitals Do Not Equal Gender
Banned
Feedback score
0
Posts
700
Reactions
230
Resources
0
How the hell do people do it.
I look at it and I draw the worlds biggest blank ever.

if(e.getNewArmorPiece()!=null&& e.getNewArmorPiece().getType()!= Material.AIR)

Like lol... Does anyone have a tutorial on how to wrap your head around it. Not just a tutorial on Java Programing lol. I have a very basic knowledge of java itself my brother is a god at it and he tried teaching me but. I just see that and draw a blank. Is there anything that can help get rid of this said "blank" lol.

Because I do want to bukkit code, but when I see this I get a mind fuck lol.

(ArmorEquipEvent API is used there, but for everything this happens)​
 
Banned forever. Reason: Account compromised
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

CloutGoggles

Genitals Do Not Equal Gender
Banned
Feedback score
0
Posts
700
Reactions
230
Resources
0
Just read it like it's normal words:
if(e.getNewArmorPiece()!=null&& e.getNewArmorPiece().getType()!= Material.AIR) could also be
if a user get's a new armor peice, then he get's this type of armor, and this material number.

Just read it likes words.
Ok but how do I get to that point. I understand what it does. but how to I get from point A to point B?
 
Banned forever. Reason: Account compromised

CloutGoggles

Genitals Do Not Equal Gender
Banned
Feedback score
0
Posts
700
Reactions
230
Resources
0
Ok here it is

when server enabled plugin enables| check
when set a full set of diamond armor is enabled it will give you speed 1million| Idk
tell the player You have enabled a test kit| check[DOUBLEPOST=1471541308][/DOUBLEPOST]I have the onEnable etc done
I dont have the full diamond give 1mil speed done
player.sendMessage("You have enabled fun kit");
 
Banned forever. Reason: Account compromised
Status
This thread has been locked.
Top