Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/22/18 in all areas

  1. You need to add serverSideOnly=true to your @Mod annotation. This will make your mod not load on the client side. Also when making server side only mod, remember not to use client side methods such as displaying Guis.
    1 point
  2. In your @Mod annotation you can set serverSideOnly to true and acceptableRemoteVersions to *
    1 point
  3. Define "send a message". Send it to a server for everyone to see? Or display it for the player who clicks on the block? If it's the former use PlayerList#sendMessage. If it's the latter use Entity#sendMessage
    1 point
  4. Because you are not specifying your account that you want to play as in the program arguments. There is a post on here about that and it was posted in just recently.
    1 point
  5. Don’t use IHasModel (or something similar I.e. ItemModelProvider). Nothing to do with model registration requires private/protected access. You can register all your models in 3 lines of code. Also don’t implement it on a Block. Also interface names should start with “I”. Did you try looking at the vanilla hay blockstate?
    1 point
  6. As an ex-programmer, stuff does takes time. These guy's are doing the best they can, it's not like their being paid to do it. These people are taking time out of their busy lives to make something we all can enjoy, so please lay off when it's going to be done crap.
    1 point
  7. Hi Kander16, I can try to help clarify some things with the new 1.12 recipe formatting: As far as I know of with the shaped crafting recipes go, you are only allowed to 1 shape per .json file, thus requiring 2 files assuming you still want those same configurations. Also for the shapeless recipes and the id's of the materials used. I experienced this as well but I had to change it to if I had more than one of the same thing I had to repeat the entry instead of using the ["count: X]; however, because Forge 1.12 is still in the early works, it's possible this could or couldn't change. And as for the last one, I can't help you there as I've never messed with the OreDictionary.WILDCARD_VALUE too much. But I hope the rest helped you somewhat!
    1 point
  8. I found how to use specific potions in recipes. I used TheMasterGabriel's method, by using PotionUtils. Example code for future googlers: new PotionUtils.addPotionToItemStack(new ItemStack(Items.POTIONITEM), PotionTypes.STRONG_HEALING));
    1 point
×
×
  • Create New...

Important Information

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