diff options
| author | daoge_cmd <3523206925@qq.com> | 2026-03-01 12:16:08 +0800 |
|---|---|---|
| committer | daoge_cmd <3523206925@qq.com> | 2026-03-01 12:16:08 +0800 |
| commit | b691c43c44ff180d10e7d4a9afc83b98551ff586 (patch) | |
| tree | 3e9849222cbc6ba49f2f1fc6e5fe7179632c7390 /Minecraft.World/TheEndBiome.cpp | |
| parent | def8cb415354ac390b7e89052a50605285f1aca9 (diff) | |
Initial commit
Diffstat (limited to 'Minecraft.World/TheEndBiome.cpp')
| -rw-r--r-- | Minecraft.World/TheEndBiome.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Minecraft.World/TheEndBiome.cpp b/Minecraft.World/TheEndBiome.cpp new file mode 100644 index 00000000..9b95d76a --- /dev/null +++ b/Minecraft.World/TheEndBiome.cpp @@ -0,0 +1,26 @@ +#include "stdafx.h" +#include "TheEndBiome.h" +#include "TheEndBiomeDecorator.h" +#include "net.minecraft.world.entity.monster.h" +#include "net.minecraft.world.level.tile.h" + +TheEndBiome::TheEndBiome(int id) : Biome(id) +{ + enemies.clear(); + friendlies.clear(); + friendlies_chicken.clear(); // 4J added + friendlies_wolf.clear(); // 4J added + waterFriendlies.clear(); + + enemies.push_back(new MobSpawnerData(eTYPE_ENDERMAN, 10, 4, 4)); + topMaterial = (byte) Tile::dirt_Id; + this->material = (byte) Tile::dirt_Id; + + decorator = new TheEndBiomeDecorator(this); +} + +// 4J Stu - Don't need override +//int TheEndBiome::getSkyColor(float temp) +//{ +// return 0x000000; +//}
\ No newline at end of file |
