LeviLamina
Loading...
Searching...
No Matches
RandomizableBlockActorFillingContainer.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/inventory/FillingContainer.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 RandomizableBlockActorFillingContainer : public ::RandomizableBlockActorContainerBase, public ::FillingContainer {
21public:
22 // prevent constructor by default
23 RandomizableBlockActorFillingContainer();
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 virtual ~RandomizableBlockActorFillingContainer() /*override*/ = default;
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 RandomizableBlockActorFillingContainer(
47 ::BlockActorType blockEntityType,
48 ::BlockPos const& pos,
49 int numTotalSlots,
50 ::SharedTypes::Legacy::ContainerType containerType,
51 ::BlockActorRendererId rendererId
52 );
53 // NOLINTEND
54
55public:
56 // constructor thunks
57 // NOLINTBEGIN
58 MCAPI void* $ctor(
59 ::BlockActorType blockEntityType,
60 ::BlockPos const& pos,
61 int numTotalSlots,
62 ::SharedTypes::Legacy::ContainerType containerType,
63 ::BlockActorRendererId rendererId
64 );
65 // NOLINTEND
66
67public:
68 // virtual function thunks
69 // NOLINTBEGIN
70 MCFOLD void $setContainerChanged(int slot);
71
72 MCAPI void $startOpen(::Actor& actor);
73
74 MCFOLD void $dropSlotContent(::BlockSource& region, ::Vec3 const& pos, bool randomizeDrop, int slot);
75
76 MCFOLD void $dropContents(::BlockSource& region, ::Vec3 const& pos, bool randomizeDrop);
77
78 MCFOLD void $onRemoved(::BlockSource& region);
79
80 MCFOLD void $initializeContainerContents(::BlockSource& region);
81
82
83 // NOLINTEND
84
85public:
86 // vftables
87 // NOLINTBEGIN
88 MCNAPI static void** $vftable();
89
90 MCNAPI static void** $vftableForBlockActor();
91
93
95
97 // NOLINTEND
98};
Definition Actor.h:113
Definition BlockPos.h:17
Definition BlockSource.h:71
Definition FillingContainer.h:17
Definition RandomizableBlockActorContainerBase.h:20
static MCAPI void ** $vftableForIVanillaRenderBlockActorComponent()
static MCAPI void ** $vftableForIVanillaMainBlockActorComponent()
static MCAPI void ** $vftableForBlockActor()
static MCAPI void ** $vftableForIVanillaTickBlockActorComponent()
Definition Vec3.h:10