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