Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
IcicleBlock.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/SpeleothemBlock.h"
7#include "mc/world/level/block/SpeleothemThickness.h"
8
9// auto generated forward declare list
10// clang-format off
11class AABB;
12class Actor;
13class Block;
14class BlockPos;
15class BlockSource;
17class Vec3;
18namespace BlockEvents { class BlockRandomTickEvent; }
19namespace mce { class Color; }
20// clang-format on
21
22class IcicleBlock : public ::SpeleothemBlock {
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 virtual ::AABB const& getOutline(
27 ::Block const& block,
28 ::IConstBlockSource const& region,
29 ::BlockPos const& pos,
30 ::AABB& bufferValue
31 ) const /*override*/;
32
33 virtual ::Block const& getPlacementBlock(
34 ::Actor const& placingActor,
35 ::BlockPos const& pos,
36 uchar face,
37 ::Vec3 const& clickPos,
38 int itemValue
39 ) const /*override*/;
40
41 virtual void randomTick(::BlockEvents::BlockRandomTickEvent& eventData) const /*override*/;
42
43 virtual ::mce::Color getDustColor(::Block const&) const /*override*/;
44
45 virtual ::std::string getDustParticleName(::Block const&) const /*override*/;
46
47 virtual bool _isValidTipGrowPos(::BlockSource& region, ::BlockPos const& growPos, uchar growDirection) const
48 /*override*/;
49
50 virtual void _createSpeleothem(
51 ::BlockSource& region,
52 ::BlockPos const& pos,
53 uchar direction,
54 ::SpeleothemThickness thickness
55 ) const /*override*/;
56 // NOLINTEND
57
58public:
59 // member functions
60 // NOLINTBEGIN
61 MCNAPI void tryMelting(::BlockSource& region, ::BlockPos const& pos, ::Block const& block) const;
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67 MCNAPI ::AABB const& $getOutline(
68 ::Block const& block,
69 ::IConstBlockSource const& region,
70 ::BlockPos const& pos,
71 ::AABB& bufferValue
72 ) const;
73
74 MCNAPI ::Block const& $getPlacementBlock(
75 ::Actor const& placingActor,
76 ::BlockPos const& pos,
77 uchar face,
78 ::Vec3 const& clickPos,
79 int itemValue
80 ) const;
81
82 MCNAPI void $randomTick(::BlockEvents::BlockRandomTickEvent& eventData) const;
83
84 MCNAPI ::mce::Color $getDustColor(::Block const&) const;
85
86 MCNAPI ::std::string $getDustParticleName(::Block const&) const;
87
88 MCNAPI bool $_isValidTipGrowPos(::BlockSource& region, ::BlockPos const& growPos, uchar growDirection) const;
89
90 MCNAPI void $_createSpeleothem(
91 ::BlockSource& region,
92 ::BlockPos const& pos,
93 uchar direction,
94 ::SpeleothemThickness thickness
95 ) const;
96
97
98 // NOLINTEND
99
100public:
101 // vftables
102 // NOLINTBEGIN
103 MCNAPI static void** $vftable();
104 // NOLINTEND
105};
Definition AABB.h:18
Definition Actor.h:116
Definition BlockRandomTickEvent.h:16
Definition BlockPos.h:14
Definition BlockSource.h:72
Definition Block.h:42
Definition IConstBlockSource.h:25
Definition IcicleBlock.h:22
MCAPI::Block const & $getPlacementBlock(::Actor const &placingActor, ::BlockPos const &pos, uchar face, ::Vec3 const &clickPos, int itemValue) const
MCAPI void $randomTick(::BlockEvents::BlockRandomTickEvent &eventData) const
MCAPI bool $_isValidTipGrowPos(::BlockSource &region, ::BlockPos const &growPos, uchar growDirection) const
MCAPI::mce::Color $getDustColor(::Block const &) const
MCAPI void tryMelting(::BlockSource &region, ::BlockPos const &pos, ::Block const &block) const
MCAPI::std::string $getDustParticleName(::Block const &) const
MCAPI void $_createSpeleothem(::BlockSource &region, ::BlockPos const &pos, uchar direction, ::SpeleothemThickness thickness) const
MCAPI::AABB const & $getOutline(::Block const &block, ::IConstBlockSource const &region, ::BlockPos const &pos, ::AABB &bufferValue) const
static MCAPI void ** $vftable()
Definition Vec3.h:10
Definition Color.h:13