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
7
class
Biome
;
8
class
BiomeRegistry
;
9
class
Block
;
10
namespace
SharedTypes::v1_20_60 {
struct
BlockSpecifier
; }
11
namespace
SharedTypes::v1_20_60 {
struct
IBiomeJsonComponent
; }
12
// clang-format on
13
14
struct
IBiomeComponentGlue
{
15
public
:
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
25
public
:
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
37
public
:
38
// virtual function thunks
39
// NOLINTBEGIN
40
41
// NOLINTEND
42
};
BiomeRegistry
Definition
BiomeRegistry.h:37
Biome
Definition
Biome.h:23
Block
Definition
Block.h:43
IBiomeComponentGlue
Definition
IBiomeComponentGlue.h:14
SharedTypes::v1_20_60::BlockSpecifier
Definition
BlockSpecifier.h:15
SharedTypes::v1_20_60::IBiomeJsonComponent
Definition
IBiomeJsonComponent.h:10
src
mc
world
level
biome
glue
IBiomeComponentGlue.h
Generated on
for LeviLamina by
1.16.1