LeviLamina
Loading...
Searching...
No Matches
RandomizableBlockActorContainer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/ContainerType.h"
7#include "mc/world/Container.h"
8#include "mc/world/level/block/actor/BlockActorRendererId.h"
9#include "mc/world/level/block/actor/BlockActorType.h"
10#include "mc/world/level/block/actor/RandomizableBlockActorContainerBase.h"
11
12// auto generated forward declare list
13// clang-format off
14class Actor;
15class BlockPos;
16class BlockSource;
17class Vec3;
18// clang-format on
19
20class RandomizableBlockActorContainer : public ::RandomizableBlockActorContainerBase, public ::Container {
21public:
22 // prevent constructor by default
23 RandomizableBlockActorContainer();
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 virtual ~RandomizableBlockActorContainer() /*override*/;
29
30 virtual void setContainerChanged(int slot) /*override*/;
31
32 virtual void startOpen(::Actor& actor) /*override*/;
33
34 virtual void dropSlotContent(::BlockSource& region, ::Vec3 const& pos, bool randomizeDrop, int slot) /*override*/;
35
36 virtual void dropContents(::BlockSource& region, ::Vec3 const& pos, bool randomizeDrop) /*override*/;
37
38 virtual void onRemoved(::BlockSource& region) /*override*/;
39
40 virtual void initializeContainerContents(::BlockSource& region) /*override*/;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI RandomizableBlockActorContainer(
47 ::BlockActorType blockEntityType,
48 ::BlockPos const& pos,
49 ::SharedTypes::Legacy::ContainerType,
50 ::BlockActorRendererId rendererId
51 );
52 // NOLINTEND
53
54public:
55 // constructor thunks
56 // NOLINTBEGIN
57 MCAPI void* $ctor(
58 ::BlockActorType blockEntityType,
59 ::BlockPos const& pos,
60 ::SharedTypes::Legacy::ContainerType,
61 ::BlockActorRendererId rendererId
62 );
63 // NOLINTEND
64
65public:
66 // destructor thunk
67 // NOLINTBEGIN
68 MCAPI void $dtor();
69 // NOLINTEND
70
71public:
72 // virtual function thunks
73 // NOLINTBEGIN
74 MCFOLD void $setContainerChanged(int slot);
75
76 MCAPI void $startOpen(::Actor& actor);
77
78 MCFOLD void $dropSlotContent(::BlockSource& region, ::Vec3 const& pos, bool randomizeDrop, int slot);
79
80 MCFOLD void $dropContents(::BlockSource& region, ::Vec3 const& pos, bool randomizeDrop);
81
82 MCFOLD void $onRemoved(::BlockSource& region);
83
84 MCFOLD void $initializeContainerContents(::BlockSource& region);
85
86
87 // NOLINTEND
88
89public:
90 // vftables
91 // NOLINTBEGIN
92 MCAPI static void** $vftableForRandomizableBlockActorContainerBase();
93
94 MCAPI static void** $vftableForContainer();
95 // NOLINTEND
96};
Definition Actor.h:123
Definition BlockPos.h:21
Definition BlockSource.h:72
Definition RandomizableBlockActorContainerBase.h:19
Definition Vec3.h:10