
Now: the string is split on "," and dynamically built into a Predicate.Before: the variant string was expected in a very specific format: alphabetized list of propertyname=value pairs, based on the statemapper.Vanilla blockstate jsons are smarter now.For most mods, the flattening should also solve most of the cases you need a statemapper (for appending a suffix, just do it manually for splitting on a variant, should not happen anymore due to flattening).This is because for vanilla usecases, the flattening has completely removed any need they have for statemappers.Statemappers are now gone, replaced with a function hardcoding the old default logic in BlockModelShapes.If you need something else, look into using a custom baked model in ModelBakeEvent.Items are looked up using their own registry name, meaning foomod:fooitem will look in assets/foomod/models/item/fooitem.json by default.

Minecraft forge 1.14 mods mods#
YOU NEED PROPER CONCURRENCY CONTROL IF YOU'RE COMMUNICATING TO OTHER MODS Paths have the same restrictions, but can also contain forward slashes (/).

More precisely, domains must only contain alphanumeric lowercase, underscore (_), dash (-), or dot (.). ResourceLocation now throw on non-snake-case names instead of silently lowercasing for you, so you probably should go and change all those string constants now.This primer is licensed under CC0, do whatever you want.īUT do note that this can be updated, so leave a link here so readers can see the updated information themselves.ġ.13 and 1.14 are lumped together in this doc, you're on your own if you just want to go to 1.13 and not 1.14, for some reason.
