Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

2veryicey

Members
  • Posts

    16
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

2veryicey's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Hello! I was wondering if it is possible to edit files from in game...I want to add a feature to my mod that lets users change the case of their name without logging out and manually changing the files...I am fairly sure I would need to change usercache.json & usernamecache.json Any help is greatly appreciated!
  2. Hello, I was wondering how I update my mod form 1.11.2 to 1.12 And, I was also wondering if it is possible to modify main files from in game, as I want to implement a feature to change name case without leaving the server that you are on
  3. Is it possible to have a custom packet that is listened for in a spigot plugin, I am making a client side mod and want to ask the server for the tps, the ping, and a few other things including running some commands (as server), I was wondering if it was possible to make a custom packet that interacts with a plugin, and how to do it
  4. if I didn't understand java, i would not be here having what I have done done, I simply want to know what to call in my statement instead of the autogenerated null text...if you can't figure that out you are stupider than I possibly imagined
  5. My god! there is not ONE helpful person on these forums, UNLIKE YOU BRATS, I learn by doing, And to do it, I NEED TO KNOW HOW TO DO IT! SO IF YOU TROLLS COULD STFU AND PLEASE...JUST PLEASE help by correcting the issues, or linking me to an example of correcting the mistake, also, for your information you bitches, I remove final....AND GUESS WHAT!!!!13121!!!!!!!11111!!11!!!!!111 IT STILL GIVES ME THE SAME ERROR!!!!!!!!!! go to hell, get off MCForge, and learn to be helpful (not in that order)
  6. Yes, you have been from the start...my replies are REACTIVE, not active, but still, whether it is array or ArrayList, this is not grammar school, and you are correct it is not java school It is a help forum...which is the opposite of what you are doing...perhaps guide me into the direction of how to fix it if you are too lazy or worried about my learning capabilities to actually fix my code, but IT DOES NOT BLOODY MATTER, I know basic java, if I didn't how the bloody hell did I get this far...I came for a SIMPLE answer to a question, you moan about how I am not using the correct term for a LIST of ordered terms,anyway don't waste your limited life replying to me, your mental inability to provide help to someone who asked a basic question instead of going all Proper wording police is annoying me
  7. Thank you :), but is it possible to have your code work as the ArrayList for registering keys like the one I have is supposed to do?
  8. Okay, because eclipse gets mad at me if I don't, this is my code without the initializer: package io.github.TooVeryIcey.Frostwave.Utils; import java.awt.event.InputEvent; import org.lwjgl.input.Keyboard; import io.github.TooVeryIcey.Frostwave.Modules.Exploit.PlayerFinder; import net.minecraft.client.settings.KeyBinding; import net.minecraftforge.fml.client.registry.ClientRegistry; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; public class KeyHandler { public static final KeyBinding[] KeyBindings; KeyBindings[0] = new KeyBinding("Player Finder", Keyboard.KEY_NUMPAD1, "Frostwave"); for (int i = 0; i < KeyBindings.length; ++i) { ClientRegistry.registerKeyBinding(KeyBindings[i]); } @SideOnly(Side.CLIENT) @SubscribeEvent(receiveCanceled = true) public void onKeyEvent(InputEvent event) { if (KeyBindings[0].isPressed()) { PlayerFinder.togglePF(); } } } } when doing this, I am errored at the line for creating the arraylist (you know, THE ONE THAT SAYS public static final KeyBinding[] KeyBindings; ), it errors me as follows: Multiple markers at this line - Syntax error on token ";", { expected after this token - The blank final field KeyBindings may not have been initialized and the line for my onKeyEvent, I am errored as follows: Multiple markers at this line - Syntax error on token ")", ; expected - Syntax error on token "(", ; expected Any chance instead of yelling at me...you could I don't know...HELP
  9. Okay, well can you give me an EXAMPLE of fixed code? like how I would insert the arraylist
  10. forgive my stupidity, but, would the code now be: import java.awt.event.InputEvent; import org.lwjgl.input.Keyboard; import io.github.TooVeryIcey.Frostwave.Modules.Exploit.PlayerFinder; import net.minecraft.client.settings.KeyBinding; import net.minecraftforge.fml.client.registry.ClientRegistry; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; public class KeyHandler { public static final KeyBinding[] KeyBindings = KeyBinding[];{ KeyBindings[0] = new KeyBinding("Player Finder", Keyboard.KEY_NUMPAD1, "Frostwave"); for (int i = 0; i < KeyBindings.length; ++i) { ClientRegistry.registerKeyBinding(KeyBindings[i]); } @SideOnly(Side.CLIENT) @SubscribeEvent(receiveCanceled = true) public void onKeyEvent(InputEvent event) { if (KeyBindings[0].isPressed()) { PlayerFinder.togglePF(); } } } } Or: import java.awt.event.InputEvent; import org.lwjgl.input.Keyboard; import io.github.TooVeryIcey.Frostwave.Modules.Exploit.PlayerFinder; import net.minecraft.client.settings.KeyBinding; import net.minecraftforge.fml.client.registry.ClientRegistry; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; public class KeyHandler { public static final KeyBindings = KeyBinding[];{ KeyBindings[0] = new KeyBinding("Player Finder", Keyboard.KEY_NUMPAD1, "Frostwave"); for (int i = 0; i < KeyBindings.length; ++i) { ClientRegistry.registerKeyBinding(KeyBindings[i]); } @SideOnly(Side.CLIENT) @SubscribeEvent(receiveCanceled = true) public void onKeyEvent(InputEvent event) { if (KeyBindings[0].isPressed()) { PlayerFinder.togglePF(); } } } } both of them give me errors, in which the top of the two pastes literally breaks EVERY file, and the second one just breaks every reference to the Keybindings in the file
  11. Alright, thank you should i replace it with the number of keybinds?
  12. Here is what is wrong with your FIRST statement: I DO NOT CARE about your opinion, this mod is being privately developed and NOT BY YOU, this is not a modpack, this is a MOD, modpacks have nothing to do with this, it is 17 seconds (which for anyone who isn't IMPATIENT like yourself), it won't matter anyway...for all YOU know I am removing it in the final release...shut up...PLEASE; secondly, Thank you for informing me, however, I don't truly get bothered by efficiency, if you want me to use YOUR system, tell me how to do it; and I quote "if this is not obvious to you"; lastly, I am not entirely aware of how the MINECRAFT code wants it to be, so I am asking for clarification in the sense of "Minecraft says no to this; what does minecraft want...its THIS"... to sum it up GET OFF THIS THREAD AND LET A COMPETENT PERSON HELP
  13. What Should I Change It With? Do I Set It To The Number of Keybinds I Have At That Moment?
  14. Well, I have the message and everything there so I can see when things are initializing (the things inside the start and end messages are for effect), plus They don't break anything. why shouldn't I use key Event; Thank you for doing something useful with your last point; And, finally, I am not, I created a Key handler class for the purpose of key bind management
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.