LeviLamina
Loading...
Searching...
No Matches
IBiomeComponentGlue.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Biome;
8class BiomeRegistry;
9class Block;
10namespace SharedTypes::v1_20_60 { struct BlockSpecifier; }
11namespace SharedTypes::v1_20_60 { struct IBiomeJsonComponent; }
12// clang-format on
13
15public:
16 // virtual functions
17 // NOLINTBEGIN
18 virtual ~IBiomeComponentGlue() = default;
19
20 virtual bool resolveAndValidate(::SharedTypes::v1_20_60::IBiomeJsonComponent const&, ::BiomeRegistry const&) = 0;
21
22 virtual void applyToBiome(::Biome&, ::SharedTypes::v1_20_60::IBiomeJsonComponent const&) const = 0;
23 // NOLINTEND
24
25public:
26 // static functions
27 // NOLINTBEGIN
28 MCAPI static ::Block const*
29 _getResolvedBlock(::std::string const& fieldName, ::SharedTypes::v1_20_60::BlockSpecifier const& blockSpecifier);
30
31 MCAPI static ::std::vector<::Block const*> _getResolvedBlocks(
32 ::std::string const& fieldName,
33 ::std::vector<::SharedTypes::v1_20_60::BlockSpecifier> const& blockSpecifiers
34 );
35 // NOLINTEND
36
37public:
38 // virtual function thunks
39 // NOLINTBEGIN
40
41 // NOLINTEND
42};
Definition BiomeRegistry.h:37
Definition Biome.h:23
Definition Block.h:43
Definition IBiomeComponentGlue.h:14
Definition BlockSpecifier.h:15
Definition IBiomeJsonComponent.h:10