User:Umucraft/Common myths about Minecraft game mechanics - minecraft.fandom.com

Jump to navigation Jump to search
Treść tej podstrony pochodzi z artykułu „User:Umucraft/Common myths about Minecraft game mechanics” w domenie minecraft.fandom.com na licencji CC BY-NC-SA 3.0
Information icon
This feature is exclusive to Java Edition. 

This page is for debunking common myths about registration and ID mapping system of Minecraft.

Myth: The direct item form of blocks can not be obtained in any circumstances in Java Edition.

Explanation: Claiming that this cannot be done in "any circumstances" is literally exaggerated and they can be obtained through manual registration or downgrading/backporting/rolling back to 14w21b and backwards.

Myth: The numerical ids were removed in 1.8.

Explanation: Numerical ids were not removed in 1.8, instead they have been removed in 1.13. Let's explain:

Firstly, registering items required an unused ID until 17w47a (1.13). Example of item registry in net.minecraft.item.Item:

registerItem(512, "example_item", (new Item()).setTranslationKey("exampleItem"));

If you did not use a numerical ID in versions 1.12.2 and backwards, the item would not be registered and you would get errors.

Block registry example in net.minecraft.block.Block:

registerBlock(987, "example_block", (new BlockExample()).setHardness(5.0F).setSoundType(SoundType.STONE).setTranslationKey("exampleBlock"));

If you did not use a numerical ID in versions 1.12.2 and backwards, the block would not be registered and you would get errors in this case too.

Myth: The air item existed in versions before 13w37a.

Explanation: The "air" block did not exist until 13w38b, this means it could not be obtained as an item. "Air" was the nonexistence of blocks before 13w38b.

Myth: The fake chunks (which existed in versions prior 1.7.2) is a Java limitation.

Explanation: Fake chunks were completely arbitrary and intentional, they were implemented for preventing players to explore Far and Farther Lands. They can be removed by simple modding, which is replacing the 32000000 mark by 2147483647 in versions prior b1.8. In versions between b1.8 and 1.6.4, this can be done through replacing the 30000000 mark by 2147483647. Java limitation about chunks is player collision limit, which arises in 2^53 with 64-bit floating-point numbers double.

About numbers: In old MCP, the numbers appear as hexadecimal numbers. You should use a dec <-> hex converter to replace numbers.

Myth: Far Lands are myth.

Explanation: Far Lands are not myth and arises in 12550824 in versions prior b1.8. Why arises in 12550824? Because 2147483647 / 171.103 = 12550824.0475, which is rounded to 12550824.

Myth: Stripe and Slice Lands are unfixable.

Explanation: They could be fixed through replacing float numbers by double numbers but developers are insisting in using float numbers for Bedrock Edition and I think it is illogical because double numbers are used for Java Edition.

Explanation 2: With float, Stripe Lands appear in 2^24 but with double, Stripe Lands appear in 2^54. because double uses 53 bits for fraction and float uses 23 bits for fraction.