Skip to content

Commit

Permalink
refactor: remove biome accessor
Browse files Browse the repository at this point in the history
  • Loading branch information
OEOTYAN committed May 1, 2024
1 parent 916c2ce commit 65c2640
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions src/mc/world/level/biome/Biome.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,26 +25,6 @@ class Biome {
};

public:
// clang-format off
[[nodiscard]] constexpr HashedString const& getName() const { return ll::memory::dAccess<HashedString>(this, 0x8); }
[[nodiscard]] constexpr int getDebugMapColor() const { return ll::memory::dAccess<int>(this, 0x38); }
[[nodiscard]] constexpr int getDebugMapOddColor() const { return ll::memory::dAccess<int>(this, 0x3C); }
[[nodiscard]] constexpr float getRedSporeDensity() const { return ll::memory::dAccess<float>(this, 0x48); }
[[nodiscard]] constexpr float getBlueSporeDensity() const { return ll::memory::dAccess<float>(this, 0x4C); }
[[nodiscard]] constexpr float getAshDensity() const { return ll::memory::dAccess<float>(this, 0x50); }
[[nodiscard]] constexpr float getWhiteAshDensity() const { return ll::memory::dAccess<float>(this, 0x54); }
[[nodiscard]] constexpr float getSnowAccumulation() const { return ll::memory::dAccess<float>(this, 0x58); }
[[nodiscard]] constexpr float getFoliageSnow() const { return ll::memory::dAccess<float>(this, 0x5C); }
[[nodiscard]] constexpr float getMinSnowLevel() const { return ll::memory::dAccess<float>(this, 0x60); }
[[nodiscard]] constexpr float getMaxSnowLevel() const { return ll::memory::dAccess<float>(this, 0x64); }
[[nodiscard]] constexpr float getDepth() const { return ll::memory::dAccess<float>(this, 0x68); }
[[nodiscard]] constexpr float getScale() const { return ll::memory::dAccess<float>(this, 0x6C); }
[[nodiscard]] constexpr mce::Color const& getWaterColor() const { return ll::memory::dAccess<mce::Color>(this, 0x70); }
[[nodiscard]] constexpr float getWaterTransparency() const { return ll::memory::dAccess<float>(this, 0x80); }
[[nodiscard]] constexpr bool getRain() const { return ll::memory::dAccess<bool>(this, 0x84); }
[[nodiscard]] constexpr int getId() const { return ll::memory::dAccess<int>(this, 0x88); }
// clang-format on

// prevent constructor by default
Biome& operator=(Biome const&);
Biome(Biome const&);
Expand Down

0 comments on commit 65c2640

Please sign in to comment.