LeviLamina
Loading...
Searching...
No Matches
BlockRedstoneConsumerComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/components/IBlockComponent.h"
7
8// auto generated forward declare list
9// clang-format off
10class Block;
11class BlockPos;
12class BlockSource;
13// clang-format on
14
16public:
17 // BlockRedstoneConsumerComponent inner types define
18 using OnSetupRedstoneComponentCallback = void(::BlockSource&, ::BlockPos const&);
19
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<1, 1, schar> mMinPower;
24 ::ll::TypedStorage<1, 1, bool> mPropagatePower;
25 ::ll::TypedStorage<1, 1, bool> mConsumePowerAnyDirection;
26 ::ll::TypedStorage<1, 1, bool> mAcceptSameDirection;
27 ::ll::TypedStorage<1, 1, bool> mAcceptHalfPulse;
28 ::ll::TypedStorage<1, 1, bool> mIgnoreFirstUpdate;
29 ::ll::TypedStorage<8, 8, void (*)(::BlockSource&, ::BlockPos const&)> mOnSetupRedstoneComponentCallback;
30 // NOLINTEND
31
32public:
33 // static functions
34 // NOLINTBEGIN
35 MCAPI static void setupRedstoneComponent(::Block const& block, ::BlockSource& region, ::BlockPos const& pos);
36 // NOLINTEND
37};
Definition BlockPos.h:17
Definition BlockRedstoneConsumerComponent.h:15
Definition BlockSource.h:71
Definition Block.h:41
Definition IBlockComponent.h:5