31 ::ll::TypedStorage<8, 8, ::BlockSource&> mBlockSource;
32 ::ll::TypedStorage<8, 80, ::WorldGenContext> mWorldGenContext;
33 ::ll::TypedStorage<1, 1, bool> mBlockSimpleIsAllowed;
38 WorldBlockTarget& operator=(WorldBlockTarget
const&);
39 WorldBlockTarget(WorldBlockTarget
const&);
45 virtual ~WorldBlockTarget() ;
47 virtual bool canGetChunk()
const ;
49 virtual ::LevelChunk* getChunk(
::ChunkPos const& pos) ;
51 virtual ::Block
const& getBlock(
::BlockPos const& pos)
const ;
53 virtual ::Block
const& getBlockNoBoundsCheck(
::BlockPos const& pos)
const ;
55 virtual ::Block
const& getExtraBlock(
::BlockPos const& pos)
const ;
57 virtual ::Block
const* tryGetLiquidBlock(
::BlockPos const& pos)
const ;
59 virtual ::gsl::span<::BlockDataFetchResult<::Block>
const>
62 virtual bool hasBiomeTag(uint64 tagNameHash,
::BlockPos const& pos)
const ;
64 virtual bool setBlock(
::BlockPos const& pos,
::Block const& newBlock,
int updateFlags) ;
68 virtual bool apply()
const ;
79 virtual short getMaxHeight()
const ;
81 virtual short getMinHeight()
const ;
86 virtual short getHeightmap(
int x,
int z) ;
88 virtual bool isLegacyLevel() ;
90 virtual ::Biome
const* getBiome(
::BlockPos const& pos)
const ;
92 virtual bool isInBounds(
::Pos const& pos)
const ;
94 virtual short getLocalWaterLevel(
::BlockPos const& pos)
const ;
96 virtual ::LevelData
const& getLevelData()
const ;
98 virtual ::WorldGenContext
const& getContext() ;
100 virtual void disableBlockSimple() ;
114 MCAPI ::LevelChunk* $getChunk(
::ChunkPos const& pos);
116 MCFOLD ::Block
const& $getBlock(
::BlockPos const& pos)
const;
118 MCFOLD ::Block
const& $getBlockNoBoundsCheck(
::BlockPos const& pos)
const;
120 MCFOLD ::Block
const& $getExtraBlock(
::BlockPos const& pos)
const;
122 MCAPI ::Block
const* $tryGetLiquidBlock(
::BlockPos const& pos)
const;
124 MCAPI ::gsl::span<::BlockDataFetchResult<::Block>
const>
127 MCAPI
bool $hasBiomeTag(uint64 tagNameHash,
::BlockPos const& pos)
const;
129 MCAPI
bool $setBlock(
::BlockPos const& pos,
::Block const& newBlock,
int updateFlags);
133 MCFOLD
bool $apply()
const;
143 MCAPI
short $getMaxHeight()
const;
145 MCAPI
short $getMinHeight()
const;
149 MCAPI
short $getHeightmap(
int x,
int z);
151 MCAPI
bool $isLegacyLevel();
153 MCAPI ::Biome
const* $getBiome(
::BlockPos const& pos)
const;
155 MCAPI
bool $isInBounds(
::Pos const& pos)
const;
157 MCAPI
short $getLocalWaterLevel(
::BlockPos const& pos)
const;
159 MCAPI ::LevelData
const& $getLevelData()
const;
161 MCFOLD ::WorldGenContext
const& $getContext();
163 MCAPI
void $disableBlockSimple();