Search results
1.17, the first release of Caves & Cliffs: Part I, is a major update to Java Edition announced at Minecraft Live 2020[1] and released on June 8, 2021.[2] On April 14, 2021, Mojang Studios announced that the update would be split into two updates due to the amount and complexity of content, as...
Official documentation. Absolute basics with an interactive editor. Ongoing online course with assignments. Porting from 1.16.5 to 1.17.1. Two part tutorial explaining how to port a mod from 1.16.5 to 1.17.1: Part 1: https://www.youtube.com/watch?v=9aJjI7UDHeI&ab_channel=JorritTyberghein.
Jul 13, 2023 · Focused on making the bridge between the on-disk save files and directory structure and their NBT content, much like NBTExplorer, presenting all World data in a structured, convenient way so other tools can build on top of it and add more semantics to that data. Features. Read and write .dat NBT files, both uncompressed and gzip-compressed.
- Java 16
- Fabric API
- Yarn
- CurseForge
Minecraft 1.17 is now built against Java 16; this is a big step up from Java 8 and will affect modders. To set up a development environment you will need to use Java 16, Gradle 7 and fabric-loom 0.8 or higher. In most cases this will not break your existing code (excluding the normal porting procedure). There is a 1.17 branch of the fabric-example-...
Fabric API has been fully updated to Java 16 and 1.17. It doesn’t use any Java 16 features yet, nor will it break compatibility to adopt any. New or updated modules may introduce records and other features into the API where it makes sense, the implementation is expected to use Java 16 features where it doesn’t harm necessary backporting too much. ...
Constants
In 1.17, Mojang no longer strips out unused code including the constant fields that are inlined by the Java compiler. We have seamlessly integrated unpick(created by Daomephsta) into the Fabric toolchain to undo some of this inlining. Once you have updated your development environment to 1.17, you can also use these constants in your mod code just like you would with any other field.
Names
During the 1.17 snapshot season, some important classes have been renamed in Yarn. The most notable instance is the rename of all NBT-related classes thanks to contributor @LambdAurora. This is to prevent confusion between the data-driven net.minecraft.tag.Tags and NBT tag interface net.minecraft.nbt.Tag, which is now named NbtElementinstead. You can use the automated migrateMappingstask in Loom to transition to the new names efficiently. Since 1.16.5, there have been over 500 commits to Yarn...
Documentation
Trying to document the Minecraft codebase is a massive job, especially as it is constantly evolving. Improving the documentation provided by Yarn is an ongoing effort by all of the contributors. You can view the online Javadoc for 1.17 pre-release 1 hereor inline with the decompiled and named Minecraft sources directly attached in your IDE.
CurseForge have recently announced in their May Updates blog postthat they will be adding native Fabric support to their client. In preparation for this, they have asked all mod developers to ensure that uploaded files are correctly tagged against the relevant mod loader. The linked blog post contains details on how to do this.
Script Components. This is the documentation for the attributes, properties, and components available from the Minecraft Script Engine. There are two kinds of components: server components and client components. We will go into a bit more detail on what they are in their respective sections below.
Jun 9, 2021 · The /item command can be used to copy items between block and entity slots or to apply item modifier JSON files (previously integrated as loot table functions). Loot tables: New functions: set_banner_pattern and set_enchantments. New condition: value_check condition.
Jul 28, 2024 · 1.17.1 Pre-release 1 (known as 1.17.1-pre1 in the launcher) is the first pre-release for Java Edition 1.17.1, released on June 18, 2021,[1] which tweaks some game mechanics and fixes bugs.