LeviLamina
Loading...
Searching...
No Matches
BedBlockActor.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/legacy/ActorUniqueID.h"
7#include "mc/world/level/block/actor/BlockActor.h"
8
9// auto generated forward declare list
10// clang-format off
11class Block;
13class BlockPos;
14class BlockSource;
15class CompoundTag;
16class DataLoadHelper;
17class ILevel;
18class SaveContext;
19// clang-format on
20
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<4, 4, int> mDyeColor;
26 ::ll::TypedStorage<1, 1, bool> mDirty;
27 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mPetSleepingOnBed;
28 ::ll::TypedStorage<8, 8, ::Block const&> mBedBlock;
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 BedBlockActor& operator=(BedBlockActor const&);
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 // vIndex: 9
41 virtual void tick(::BlockSource& region) /*override*/;
42
43 // vIndex: 11
44 virtual void onPlace(::BlockSource& region) /*override*/;
45
46 // vIndex: 10
47 virtual void onChanged(::BlockSource& region) /*override*/;
48
49 // vIndex: 1
50 virtual void load(::ILevel& level, ::CompoundTag const& base, ::DataLoadHelper& dataLoadHelper) /*override*/;
51
52 // vIndex: 2
53 virtual bool save(::CompoundTag& tag, ::SaveContext const& saveContext) const /*override*/;
54
55 // vIndex: 3
56 virtual bool saveItemInstanceData(::CompoundTag& tag, ::SaveContext const& saveContext) const /*override*/;
57
58 // vIndex: 21
59 virtual ::BlockActor* getCrackEntity(::BlockSource& region, ::BlockPos const& pos) /*override*/;
60
61 // vIndex: 25
62 virtual ::std::string getName() const /*override*/;
63
64 // vIndex: 42
65 virtual ::std::unique_ptr<::BlockActorDataPacket> _getUpdatePacket(::BlockSource& region) /*override*/;
66
67 // vIndex: 43
68 virtual void _onUpdatePacket(::CompoundTag const& data, ::BlockSource& region) /*override*/;
69
70 // vIndex: 0
71 virtual ~BedBlockActor() /*override*/ = default;
72 // NOLINTEND
73
74public:
75 // member functions
76 // NOLINTBEGIN
77 MCAPI explicit BedBlockActor(::BlockPos const& pos);
78
79 MCAPI void stopSleepingOn(::BlockSource& region, bool forcefulAwake);
80 // NOLINTEND
81
82public:
83 // constructor thunks
84 // NOLINTBEGIN
85 MCAPI void* $ctor(::BlockPos const& pos);
86 // NOLINTEND
87
88public:
89 // virtual function thunks
90 // NOLINTBEGIN
91 MCAPI void $tick(::BlockSource& region);
92
93 MCFOLD void $onPlace(::BlockSource& region);
94
95 MCFOLD void $onChanged(::BlockSource& region);
96
97 MCAPI void $load(::ILevel& level, ::CompoundTag const& base, ::DataLoadHelper& dataLoadHelper);
98
99 MCAPI bool $save(::CompoundTag& tag, ::SaveContext const& saveContext) const;
100
101 MCAPI bool $saveItemInstanceData(::CompoundTag& tag, ::SaveContext const& saveContext) const;
102
103 MCAPI ::BlockActor* $getCrackEntity(::BlockSource& region, ::BlockPos const& pos);
104
105 MCAPI ::std::string $getName() const;
106
107 MCFOLD ::std::unique_ptr<::BlockActorDataPacket> $_getUpdatePacket(::BlockSource& region);
108
109 MCFOLD void $_onUpdatePacket(::CompoundTag const& data, ::BlockSource& region);
110 // NOLINTEND
111
112public:
113 // vftables
114 // NOLINTBEGIN
115 MCAPI static void** $vftable();
116 // NOLINTEND
117};
Definition BedBlockActor.h:21
Definition BlockActorDataPacket.h:19
Definition BlockActor.h:32
Definition BlockPos.h:17
Definition BlockSource.h:66
Definition Block.h:38
Definition CompoundTag.h:13
Definition DataLoadHelper.h:20
Definition ILevel.h:211
Definition SaveContext.h:5