LeviLamina
Loading...
Searching...
No Matches
ChemistryTableBlock.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/ActorBlockBase.h"
7#include "mc/world/level/block/BlockType.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class BaseGameVersion;
13class Block;
14class BlockPos;
15class BlockSource;
16class HashedString;
17class Player;
18class Vec3;
19namespace BlockEvents { class BlockPlayerInteractEvent; }
20// clang-format on
21
22class ChemistryTableBlock : public ::ActorBlock {
23public:
24 // prevent constructor by default
25 ChemistryTableBlock();
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 virtual bool isCraftingBlock() const /*override*/;
31
32 virtual bool isLavaBlocking() const /*override*/;
33
34 virtual ::Block const&
35 getPlacementBlock(::Actor const& by, ::BlockPos const& pos, uchar id, ::Vec3 const& clickPos, int itemValue) const
36 /*override*/;
37
38 virtual void onRemove(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
39
40 virtual uchar getMappedFace(uchar face, ::Block const& block) const /*override*/;
41
42 virtual void onFillBlock(::BlockSource& region, ::BlockPos const& pos, ::Block const& block) const /*override*/;
43
44 virtual bool canBeUsedInCommands(::BaseGameVersion const& baseGameVersion) const /*override*/;
45
46 virtual bool isInteractiveBlock() const /*override*/;
47 // NOLINTEND
48
49public:
50 // member functions
51 // NOLINTBEGIN
52 MCAPI ChemistryTableBlock(::std::string const& nameId, int id);
53
54 MCFOLD void use(::BlockEvents::BlockPlayerInteractEvent& eventData) const;
55 // NOLINTEND
56
57public:
58 // static functions
59 // NOLINTBEGIN
60 MCAPI static bool
61 isUIValidForPlayer(::BlockPos const& pos, ::Player& player, float pickRange, ::HashedString const& expectedType);
62 // NOLINTEND
63
64public:
65 // constructor thunks
66 // NOLINTBEGIN
67 MCAPI void* $ctor(::std::string const& nameId, int id);
68 // NOLINTEND
69
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73 MCFOLD bool $isCraftingBlock() const;
74
75 MCFOLD bool $isLavaBlocking() const;
76
77 MCAPI ::Block const&
78 $getPlacementBlock(::Actor const& by, ::BlockPos const& pos, uchar id, ::Vec3 const& clickPos, int itemValue) const;
79
80 MCAPI void $onRemove(::BlockSource& region, ::BlockPos const& pos) const;
81
82 MCAPI uchar $getMappedFace(uchar face, ::Block const& block) const;
83
84 MCAPI void $onFillBlock(::BlockSource& region, ::BlockPos const& pos, ::Block const& block) const;
85
86 MCFOLD bool $canBeUsedInCommands(::BaseGameVersion const& baseGameVersion) const;
87
88 MCFOLD bool $isInteractiveBlock() const;
89
90
91 // NOLINTEND
92
93public:
94 // vftables
95 // NOLINTBEGIN
96 MCAPI static void** $vftable();
97 // NOLINTEND
98};
Definition Actor.h:125
Definition BaseGameVersion.h:13
Definition BlockPlayerInteractEvent.h:20
Definition BlockPos.h:21
Definition BlockSource.h:73
Definition Block.h:69
Definition HashedString.h:5
Definition Player.h:137
Definition Vec3.h:10