Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/21/18 in all areas

  1. Oh lord, where to start. You are using this to store what? A String name, and int value right.. so why is it a <String,String> and not a <String,Integer> Why are you immediately converting the string to a int, why not just take in a int? It would save you all of these Integer calls... You do this line 4 times, you should probably move this to a 'isValidKey' function, OR start using a enum. You do realize this function doesn't actually return anything and thus is completely useless... right... ? Looks to me that you want to do something more like: public enum Stat { STRENGTH, CONSTITUTION, DEXTERITY, WILLPOWER, MIND, SPIRIT}; HashMap<Stat, Integer> stats = new HashMap<>(); public void add(Stat stat, int value) { stats.set(stat, stats.getOrDefault(stat, 0) + value); }
    2 points
  2. Forge does not typically add getters/setters to fields. As that would get out of hand quite quickely. The standard options are existing functions, reflection, and access transformers, in that order.
    1 point
  3. Don't be an ass. What you're asking is for us to put in hundreds of thousands of hours of work because you don't feel like updating. Not to mention all the future costs. Technically it's possible yes, but realistically it will never happen. Mods only work for the version they are built for. This is just how Minecraft works. Deal with it. As for your comment about '90% of the good mods' No.. 'good' is subjective. There are plenty of 'good' mods on ALL MC versions.
    1 point
  4. Armchair lawyering is not allowed in here. Its just one of those things that you're gunna have to trust I know what i'm talking about as i've actually had to contest something similar in court. At the end of the day Mojang could come along and say 'Screw everyone all these projects are now shut down'. But they don't. And this has nothing to do with the Mojang side of things. But ya, to answer your question, No Bukkit/Spigot/Whatever external project will not merge with Forge.
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.