1

How To Give Conditions While Modding?

Agent7's Avatar Agent712/12/18 2:21 pm history
1 emeralds 138 4
12/12/2018 5:26 pm
Agent7's Avatar Agent7
Plz, I am lost... Whenever I create a new void and stuffs in it, like if(...), nothing happens

Why?!

I forgot something?...

By Agent7,
thank ya for answering


Posted by Agent7's Avatar
Agent7
Level 38 : Artisan Modder
8

Create an account or sign in to comment.

4

1
12/12/2018 5:20 pm
Level 38 : Artisan Modder
Agent7
Agent7's Avatar
Ok
1
12/12/2018 5:26 pm
Level 38 : Artisan Modder
Agent7
Agent7's Avatar
package agents.mod;

import... //(sorry am using a phone to recopy it all)

public class Handler extends AgentsMod {
public static void onUpdate(EntityPlayer player)
{
while(transform.isPressed())
{
lvl++;
}
}
3
12/12/2018 3:06 pm
Level 51 : Grandmaster Modder
Nuparu00
Nuparu00's Avatar
Hi. Can you provide a bit more information, like your code? Or what actually are you trying to accomplish? Without these only I can advise to you is checking whether the code is actually fired from your code. You can, for example, try to print something to the console for doing so.
2
12/12/2018 4:43 pm
Level 16 : Journeyman Engineer
AstaZora
AstaZora's Avatar
yeah, we can't assist without any code. if you wish to not use us for information, try github
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome