LeviLamina
Loading...
Searching...
No Matches
InfestedBlock.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/string/HashedString.h"
7#include "mc/world/level/block/BlockType.h"
8
9// auto generated forward declare list
10// clang-format off
11class Block;
12class BlockPos;
13class BlockSource;
15// clang-format on
16
17class InfestedBlock : public ::BlockType {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 48, ::HashedString const> mUninfestedBlockId;
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 InfestedBlock();
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual ::Block const* tryGetUninfested(::Block const& block) const /*override*/;
32
33 virtual void spawnAfterBreak(
34 ::BlockSource& region,
35 ::Block const& pos,
36 ::BlockPos const& resourceDropsContext,
38 ) const /*override*/;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI InfestedBlock(::std::string const& nameId, int id, ::HashedString const& uninfestedBlockId);
45 // NOLINTEND
46
47public:
48 // static functions
49 // NOLINTBEGIN
50 MCAPI static void spawnSilverfish(::BlockSource& region, ::BlockPos const& pos);
51 // NOLINTEND
52
53public:
54 // constructor thunks
55 // NOLINTBEGIN
56 MCAPI void* $ctor(::std::string const& nameId, int id, ::HashedString const& uninfestedBlockId);
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCFOLD ::Block const* $tryGetUninfested(::Block const& block) const;
63
64 MCAPI void $spawnAfterBreak(
65 ::BlockSource& region,
66 ::Block const& pos,
67 ::BlockPos const& resourceDropsContext,
69 ) const;
70
71
72 // NOLINTEND
73
74public:
75 // vftables
76 // NOLINTBEGIN
77 MCAPI static void** $vftable();
78 // NOLINTEND
79};
Definition BlockPos.h:21
Definition BlockSource.h:73
Definition Block.h:69
Definition HashedString.h:5
Definition ResourceDropsContext.h:19