Skip to content

Commit

Permalink
fix: fix StructureTemplate
Browse files Browse the repository at this point in the history
  • Loading branch information
OEOTYAN committed May 1, 2024
1 parent 9fbd6de commit 916c2ce
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/mc/world/level/levelgen/structure/StructureTemplate.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,17 @@

class BlockSource;
class BlockPos;
class Block;

class StructureTemplate {
public:
std::string mName; // this+0x8
StructureTemplateData mStructureTemplateData; // this+0x28
uchar mStructureVersion; // this+0xD8
Bedrock::NonOwnerPointer<IUnknownBlockTypeRegistry> mUnknownBlockRegistry; // this+0xE0
uchar mUnknown0;
uchar mUnknown1;
uchar mUnknown2;
uchar mRemovable; // this+0xF0
std::map<Block const*, int> mUnknown0; // this+0xF8
uchar mUnoptimized; // this+0x108

inline bool load(class CompoundTag const& nbt) { return mStructureTemplateData.load(nbt); }

Expand Down

0 comments on commit 916c2ce

Please sign in to comment.