LeviLamina
Loading...
Searching...
No Matches
BlockGraphics.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/BlockRenderLayer.h"
7
8// auto generated forward declare list
9// clang-format off
10class AABB;
11class BlockPos;
12class BlockSource;
13class HashedString;
14class Vec3;
16namespace BlockTessellationFallbackUtils { struct TessellationConfigInfo; }
17namespace Json { class Value; }
18// clang-format on
19
21public:
22 // BlockGraphics inner types declare
23 // clang-format off
24 struct ConstructorToken;
25 struct ModelItem;
26 // clang-format on
27
28 // BlockGraphics inner types define
30
31 struct ModelItem {
32 public:
33 // member variables
34 // NOLINTBEGIN
38 // NOLINTEND
39
40 public:
41 // prevent constructor by default
42 ModelItem& operator=(ModelItem const&);
43 ModelItem(ModelItem const&);
44 ModelItem();
45 };
46
47public:
48 // member variables
49 // NOLINTBEGIN
64 // NOLINTEND
65
66public:
67 // prevent constructor by default
68 BlockGraphics& operator=(BlockGraphics const&);
71
72public:
73 // virtual functions
74 // NOLINTBEGIN
75 // vIndex: 0
76 virtual ~BlockGraphics() = default;
77
78 // vIndex: 1
79 virtual ::BlockRenderLayer getRenderLayer(::BlockSource&, ::BlockPos const&) const;
80
81 // vIndex: 3
82 virtual int getColor(int) const;
83
84 // vIndex: 2
85 virtual int getColor(::BlockSource&, ::BlockPos const&) const;
86
87 // vIndex: 4
88 virtual bool isSeasonTinted(::BlockSource&, ::BlockPos const&) const;
89
90 // vIndex: 5
91 virtual void onGraphicsModeChanged(bool, bool);
92
93 // vIndex: 6
94 virtual int getExtraRenderLayers();
95
96 // vIndex: 7
97 virtual ::TextureUVCoordinateSet const& getCarriedTexture(uint64, int) const;
98
99 // vIndex: 9
100 virtual ::Vec3 randomlyModifyPosition(::BlockPos const&, int&) const;
101
102 // vIndex: 8
103 virtual ::Vec3 randomlyModifyPosition(::BlockPos const&) const;
104
105 // vIndex: 11
106 virtual void setVisualShape(::AABB const&);
107
108 // vIndex: 10
109 virtual void setVisualShape(::Vec3 const&, ::Vec3 const&);
110 // NOLINTEND
111
112public:
113 // destructor thunk
114 // NOLINTBEGIN
115
116 // NOLINTEND
117
118public:
119 // virtual function thunks
120 // NOLINTBEGIN
121
122 // NOLINTEND
123};
Definition AABB.h:16
Definition BlockGraphics.h:20
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition HashedString.h:5
Definition Vec3.h:10
Definition BlockGraphics.h:29
Definition BlockGraphics.h:31
Definition TextureUVCoordinateSet.h:5
Definition Alias.h:14