Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/11/19 in all areas

  1. No problem! We all make mistakes, it's the small ones that's difficult to solve
    1 point
  2. Did you read the "README.txt" file? Because it contains all the information you need to know in order to setup a project, it describes the process for both Eclipse and Intellij, if you follow it correctly you should be able to view the source code just fine.
    1 point
  3. You can do something like this: private void doClientStuff(final FMLClientSetupEvent event) { GameRules.getDefinitions().put("test", new GameRules.ValueDefinition("1", GameRules.ValueType.NUMERICAL_VALUE)); } There's also a method in GameRules called setOrCreateGameRule, however that doesn't actually seem to create a gamerule, only sets the value, so that probably should only be used when setting the value, not creating the gamerule. Quick tip: If you're trying to do something that vanilla already does (GameRules, Commands, etc...), look through the code and look at how vanilla does it, or just dig around the code and try to figure out how to solve your problem ?
    1 point
  4. @DifferentiationIt is good that you understand the rules of the forum, and also nice that you're actively particpating and interested in modding. However, the only people that should enforce the rules are official moderators. It is even okay to suggest someone should spend time learning more Java, but some of your posts are literally telling people to "go away" or "we're not going to support that". No one except official moderators should ever tell someone to go away or try to draw a line over support. Now I often see people who post and I can tell that they're likely going to need a LOT of help, or want to do something they probably shouldn't. In those cases I simply don't respond. Sometimes other people will, sometimes not, but it is up to them if they want to spend the time supporting someone. One other thing to note is you never really know who the person posting is. Perhaps it is a younger kid. Perhaps it is someone with some special needs. So it is best to always err on the side of compassion and tolerance even if they seem a bit misguided. Anyway, please leave the rules to the moderators -- our moderators do a good job. If someone posting annoys you then just don't respond to their thread.
    1 point
×
×
  • Create New...

Important Information

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