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;
12class BlockActorDataPacket;
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: 41
65 virtual ::std::unique_ptr<::BlockActorDataPacket> _getUpdatePacket(::BlockSource& region) /*override*/;
66
67 // vIndex: 42
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 void stopSleepingOn(::BlockSource& region, bool forcefulAwake);
78 // NOLINTEND
79
80public:
81 // virtual function thunks
82 // NOLINTBEGIN
83 MCAPI void $tick(::BlockSource& region);
84
85 MCFOLD void $onPlace(::BlockSource& region);
86
87 MCFOLD void $onChanged(::BlockSource& region);
88
89 MCAPI void $load(::ILevel& level, ::CompoundTag const& base, ::DataLoadHelper& dataLoadHelper);
90
91 MCAPI bool $save(::CompoundTag& tag, ::SaveContext const& saveContext) const;
92
93 MCAPI bool $saveItemInstanceData(::CompoundTag& tag, ::SaveContext const& saveContext) const;
94
95 MCAPI ::BlockActor* $getCrackEntity(::BlockSource& region, ::BlockPos const& pos);
96
97 MCAPI ::std::string $getName() const;
98
99 MCFOLD ::std::unique_ptr<::BlockActorDataPacket> $_getUpdatePacket(::BlockSource& region);
100
101 MCFOLD void $_onUpdatePacket(::CompoundTag const& data, ::BlockSource& region);
102 // NOLINTEND
103
104public:
105 // vftables
106 // NOLINTBEGIN
107 MCAPI static void** $vftable();
108 // NOLINTEND
109};
Definition BedBlockActor.h:21
Definition BlockActor.h:32
Definition BlockPos.h:17
Definition BlockSource.h:66
Definition Block.h:37
Definition CompoundTag.h:13
Definition DataLoadHelper.h:20
Definition ILevel.h:207
Definition SaveContext.h:5