Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/17/19 in all areas

  1. I have some values in my config which are relevant for my items. Now I would like to pass those settings as an argument at item registration. Like this: event.getRegistry().register(itemFoo = new ItemFoo(Config.testvalue.get())); But using the get() method to get the config value will result in a crash: java.lang.NullPointerException: Cannot get config value without assigned Config object present at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:787) When should I register my config to make sure, that all config values are set (not null) when the item registration triggers? I tried the FMLCommonSetupEvent at first, but it seems like that one actually fires after item registration. (By the way is there some kind of info graphic to see the event order?)
    1 point
  2. Have you looked at Cubic Chunks?
    1 point
  3. Guis are client side, but the server has absolute authority on data. You need to send a packet. Also, use Capabilities, not NBT.
    1 point
  4. The best for the image editing would be Photoshop but paint.net is good for a free software and for models the best is blockbench
    1 point
  5. I'm D18, does that make me 11 revisions better?
    1 point
  6. nevermind I just wanted to bring it up. Ive accepted it at this point you guys can make theorys about it but im not going to
    0 points
×
×
  • Create New...

Important Information

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