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 // clang-format on
26
27 // BlockGraphics inner types define
29
30public:
31 // member variables
32 // NOLINTBEGIN
44 // NOLINTEND
45
46public:
47 // prevent constructor by default
48 BlockGraphics& operator=(BlockGraphics const&);
51
52public:
53 // virtual functions
54 // NOLINTBEGIN
55 // vIndex: 0
56 virtual ~BlockGraphics() = default;
57
58 // vIndex: 1
59 virtual ::BlockRenderLayer getRenderLayer(::BlockSource&, ::BlockPos const&) const;
60
61 // vIndex: 3
62 virtual int getColor(int) const;
63
64 // vIndex: 2
65 virtual int getColor(::BlockSource&, ::BlockPos const&) const;
66
67 // vIndex: 4
68 virtual bool isSeasonTinted(::BlockSource&, ::BlockPos const&) const;
69
70 // vIndex: 5
71 virtual void onGraphicsModeChanged(bool, bool);
72
73 // vIndex: 6
74 virtual int getExtraRenderLayers();
75
76 // vIndex: 7
77 virtual ::TextureUVCoordinateSet const& getCarriedTexture(uint64, int) const;
78
79 // vIndex: 9
80 virtual ::Vec3 randomlyModifyPosition(::BlockPos const&, int&) const;
81
82 // vIndex: 8
83 virtual ::Vec3 randomlyModifyPosition(::BlockPos const&) const;
84
85 // vIndex: 11
86 virtual void setVisualShape(::AABB const&);
87
88 // vIndex: 10
89 virtual void setVisualShape(::Vec3 const&, ::Vec3 const&);
90 // NOLINTEND
91
92public:
93 // virtual function thunks
94 // NOLINTBEGIN
95
96 // NOLINTEND
97};
Definition AABB.h:18
Definition BlockGraphics.h:20
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition HashedString.h:5
Definition Vec3.h:10
Definition BlockGraphics.h:28
Definition TextureUVCoordinateSet.h:5
Definition Alias.h:14