▲
1
▼
The source code below is generated using RetroMCP for version 1.2.5 unless otherwise stated.
Around line 340 of WorldGenBigTree.java, this can be found:
[code]
if(this.heightLimit == 0) {
this.heightLimit = 5 + this.rand.nextInt(this.heightLimitLimit);
}
[/code]
This code randomises the height of generated large oak trees. However, this height limit is set once due to the [code]this.heightLimit == 0[/code] check.
Line 51 of BiomeGenBase.java shows the generator instance being created: [code]protected WorldGenBigTree worldGenBigTree = new WorldGenBigTree(false);[/code] The instance is unique for every biome created and is used whenever a biome has large trees in it. Therefore, large tree heights are unique per biome. This is not too noticable however, since these trees only generate in forests, extreme hills, ice plains, jungles and plains.
Between Alpha v1.2.0 and Beta 1.7.3, BiomeGenBase still controlled what trees were generated, but it used a new large tree generator instance every time, as seen on line 64: [code]return (WorldGenerator)(var1.nextInt(10) == 0 ? new WorldGenBigTree() : new WorldGenTrees());[/code] In earlier versions, new generator instances were still being created with the exception that the height was shared per chunk: in Alpha v1.1.2_01, the following code was used around line 380 in ChunkProviderGenerate.populate().
[code]
Object var18 = new WorldGenTrees();
if(this.rand.nextInt(10) == 0) {
var18 = new WorldGenBigTree();
}
[/code]
In the image attached to this submission, it shows a world generated in Minecraft Java Edition 1.9.4. The red sand border shows the border between chunks generated before and after game reset. Trees with sea lanterns are large trees generated before the reset and trees with glowstone are large trees generated after the reset.
This bug has its own report on the official bug tracker:
https://bugs.mojang.com/browse/MC-11208
Around line 340 of WorldGenBigTree.java, this can be found:
[code]
if(this.heightLimit == 0) {
this.heightLimit = 5 + this.rand.nextInt(this.heightLimitLimit);
}
[/code]
This code randomises the height of generated large oak trees. However, this height limit is set once due to the [code]this.heightLimit == 0[/code] check.
Line 51 of BiomeGenBase.java shows the generator instance being created: [code]protected WorldGenBigTree worldGenBigTree = new WorldGenBigTree(false);[/code] The instance is unique for every biome created and is used whenever a biome has large trees in it. Therefore, large tree heights are unique per biome. This is not too noticable however, since these trees only generate in forests, extreme hills, ice plains, jungles and plains.
Between Alpha v1.2.0 and Beta 1.7.3, BiomeGenBase still controlled what trees were generated, but it used a new large tree generator instance every time, as seen on line 64: [code]return (WorldGenerator)(var1.nextInt(10) == 0 ? new WorldGenBigTree() : new WorldGenTrees());[/code] In earlier versions, new generator instances were still being created with the exception that the height was shared per chunk: in Alpha v1.1.2_01, the following code was used around line 380 in ChunkProviderGenerate.populate().
[code]
Object var18 = new WorldGenTrees();
if(this.rand.nextInt(10) == 0) {
var18 = new WorldGenBigTree();
}
[/code]
In the image attached to this submission, it shows a world generated in Minecraft Java Edition 1.9.4. The red sand border shows the border between chunks generated before and after game reset. Trees with sea lanterns are large trees generated before the reset and trees with glowstone are large trees generated after the reset.
This bug has its own report on the official bug tracker:
https://bugs.mojang.com/browse/MC-11208
▲
1
▼
▲
1
▼
If a Parrot is near a music box when the player inserts a music disc and plays music then the parrot will dance along with the music by bobbing it's head around.
▲
1
▼
▲
1
▼
During the game's early years, the game's creator Markus "Notch" Persson had heavily promoted the game on a number of websites including 4chan, which its success he partly attributed to the website.
▲
1
▼
Feeding cookies to parrots was also a subtle reference to the song "Polly" by the band Nirvana.
▲
1
▼
On the title screen, random splash text is displayed below the bottom right of the title. One example is "Let's Danec!". This is a typo Notch (the game creator) made while working on "Wurm Online".
▲
1
▼
The partnership that spawned from this is called "Block by Block", which uses Minecraft to help teach young people in the planning of urban public spaces. Haiti, Nepal, India, Rwanda, and Kenya are countries undergoing projects with the help of said program.
▲
1
▼
If the game crashes, a witty comment is placed at the very beginning of the crash report. These comments include parodies of Zero Wing's "Somebody set up us the bomb", lines from "2001: A Space Odyssey", and even Minecraft in-jokes like "You should try our sister game, Minceraft!"
▲
1
▼
If the game's language is set to Australian English, there are a number of interesting changes that occur, including all new names for each type of tree, pigs being renamed wombats, and many more. Many in-game messages are also changed, like if you try to use a bed when a hostile mob is nearby, it will say "You can't sleep. The neighbors are having a party." instead of "You can't sleep. There are monsters nearby."
▲
1
▼
Whenever the player unlocks an achievement in the PC release, the notification will read "Achievement get!" This is a reference to the Japanese release of Super Mario Sunshine, where upon collecting a "shine" the words "Shine Get!" pop up on screen.
▲
1
▼
▲
1
▼
The Enderdragon can be damaged with snowballs.
▲
1
▼
Villagers were inspired by the shop keepers in Dungeon Master 2.
▲
1
▼
Lightning does not have an image file associated with it. It is coded directly into the game engine.
Related Games
Heretic
Payday 2
Fruit Ninja
Layers of Fear
Mortal Kombat X
Sonic Forces
Croc: Legend of the Gobbos
Batman: Arkham City
Condemned: Criminal Origins
Iji
Rise of the Tomb Raider
Barnyard
Tom Clancy's Ghost Recon: Future Soldier
VA-11 Hall-A: Cyberpunk Bartender Action
Robot Wars: Extreme Destruction
Fatal Fury: City of the Wolves
Shovel Knight
Carmageddon: Reincarnation
Soldier of Fortune II: Double Helix
Kindergarten 3
Freedom Fighters
Like a Dragon: Ishin!
Bayonetta
Kanye Quest 3030
Yakuza Kiwami
BoKe Travelog
Umamusume: Pretty Derby
Ultimate Marvel vs. Capcom 3
Streets of Rage 2
The Thing
Popgoes Arcade
LEGO Indiana Jones: The Original Adventures
Mark of the Ninja
Blasphemous
Bubsy: The Woolies Strike Back
Alvin and the Chipmunks
Dragon Age: Origins
Beyond Good & Evil 2
Starlight Inception
Ultra Street Fighter IV
Moon
Nightmare Ned
Toonstruck
Wallace & Gromit's Grand Adventures
WALL-E
Nitronic Rush
Ultrakill
Pac-Man World Rally
Pitfall: The Mayan Adventure
Tony Hawk's Pro Skater 2
