Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/06/19 in all areas

  1. I'm having a similar problem, my game just won't start and on the top right it say "Error! Unable to start game." and when I try to delete it to reinstall it it doesn't show up on the versions folder. Edit: I am on 1.12.2 so maybe that's the reason.
    1 point
  2. You could probably use ForgeConfigSpec.Builder#define(String, T, Predicate<Object>) with a Predicate that checks if every integer in the array is within the appropriate range. The only downside I can see is that Forge will correct single number properties outside the defined range to the minimum or maximum of the range; but if any number in your array is outside the defined range, Forge will correct the entire property to the default array value.
    1 point
  3. Metadata doesn't exist in 1.13+. To copy damage (or any other value) from an ingredient to the output, you'll need a custom recipe type that overrides IRecipe#getCraftingResult. You can see an example of this here, with a JSON recipe that uses it here.
    1 point
  4. I'm using Eclipse, which did not recommend it when I typed the old name. I had the same problem with ItemBlock/BlockItem - solved it by looking into the net.minecraft.item package. Thanks for the quick answer.
    1 point
×
×
  • Create New...

Important Information

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