LeviLamina
Loading...
Searching...
No Matches
BreathableDefinition.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/json_util/JsonSchemaObjectNode.h"
7#include "mc/world/level/block/BlockDescriptor.h"
8
9// auto generated forward declare list
10// clang-format off
12class EntityContext;
13namespace JsonUtil { class EmptyClass; }
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<4, 4, int> mTotalSupply;
21 ::ll::TypedStorage<4, 4, int> mSuffocateTime;
22 ::ll::TypedStorage<4, 4, float> mInhaleTime;
23 ::ll::TypedStorage<1, 1, bool> mBreathesAir;
24 ::ll::TypedStorage<1, 1, bool> mBreathesWater;
25 ::ll::TypedStorage<1, 1, bool> mBreathesLava;
26 ::ll::TypedStorage<1, 1, bool> mBreathesSolids;
27 ::ll::TypedStorage<1, 1, bool> mGeneratesBubbles;
28 ::ll::TypedStorage<8, 24, ::std::vector<::BlockDescriptor>> mBreathableBlocks;
29 ::ll::TypedStorage<8, 24, ::std::vector<::BlockDescriptor>> mNonBreathableBlocks;
30 // NOLINTEND
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCAPI void addBreathableBlockDescriptor(::BlockDescriptor const& blockDescriptor);
36
37 MCAPI void addNonBreathableBlockDescriptor(::BlockDescriptor const& blockDescriptor);
38
39 MCAPI void initialize(::EntityContext& entity, ::BreathableComponent& component) const;
40 // NOLINTEND
41
42public:
43 // static functions
44 // NOLINTBEGIN
45 MCAPI static void buildSchema(
47 );
48 // NOLINTEND
49};
Definition BlockDescriptor.h:21
Definition BreathableComponent.h:13
Definition BreathableDefinition.h:16
Definition EntityContext.h:15
Definition EmptyClass.h:7
Definition JsonSchemaObjectNode.h:8