Distant Horizons v2.0.0
(and up) shader compatibility information.
This is a high level, non-exhaustive overview on how to migrate your mod from 1.19.4 to 1.20 using Forge.
This primer is licensed under the Creative Commons Attribution 4.0 International, so feel free to use it as a reference and leave a link so that other readers can consume the primer.
If there's any incorrect or missing information, please leave a comment below. Thanks!
"string" // [Mandatory] || Mojangson string representation of a Compound Tag -- See https://github.com/aramperes/Mojangson for spec | |
OR | |
Object // [Mandatory] || Object representation of a Compound Tag, which is just write a JSON object that maps to your desired nbt. | |
// A string representation of CompoundTag implies -> "nbt": "{Data:0}" | |
// The object representation implies -> "nbt": { "Data": 0 } | |
// Either form is valid, and the object form is easier. |
import com.mojang.datafixers.util.Function3; | |
import com.mojang.serialization.Codec; | |
import com.mojang.serialization.codecs.RecordCodecBuilder; | |
import net.minecraft.block.BlockState; | |
import java.util.List; | |
public class CodecExample { | |
public static final Codec<CodecExample> CODEC = RecordCodecBuilder.create( | |
instance -> instance.group( |
This primer is licensed under CC0, do whatever you want.
BUT do note that this can be updated, so leave a link here so readers can see the updated information themselves.
1.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.
1.15 stuff: https://gist.github.com/williewillus/30d7e3f775fe93c503bddf054ef3f93e
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. More precisely, domains must only contain alphanumeric lowercase, underscore (_), dash (-), or dot (.). Paths have the same restrictions, but can also contain forward slashes (/).
minecraft:entities/sheep/light_blue | |
main | |
Name: minecraft:wool weight: 1 Quality: 0 Item: Wool Type: LootEntryItem | |
pool1 | |
Name: minecraft:entities/sheep weight: 1 Quality: 0 Type: LootEntryTable | |
minecraft:entities/ocelot | |
minecraft:entities/silverfish | |
minecraft:chests/stronghold_corridor | |
main | |
Name: minecraft:ender_pearl weight: 10 Quality: 0 Item: Ender Pearl Type: LootEntryItem |
#WIP
Last updated: Wednesday, April 6
This is a quick primer for the cool 1.8.9 kids. Knowledge of 1.8.9 assumed.
- Notable class remappings:
- See https://github.com/kashike/migration/wiki/1.8.9-to-1.9
- If you use IntelliJ IDEA, import this migration mapping and it will zap half of your compile errors! :P
- https://gist.github.com/bonii-xx/dcb1b6a9a1d13b69a1c9
--- | |
#### | |
#### THIS IS OLD AND OUTDATED | |
#### LIKE, ANSIBLE 1.0 OLD. | |
#### | |
#### PROBABLY HIT UP https://docs.ansible.com MY DUDES | |
#### | |
#### IF IT BREAKS I'M JUST SOME GUY WITH | |
#### A DOG, OK, SORRY | |
#### |