LeviLamina
Loading...
Searching...
No Matches
OminousItemSpawner.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/ecs/WeakEntityRef.h"
7#include "mc/world/actor/Actor.h"
8#include "mc/world/item/ItemStack.h"
9
10// auto generated forward declare list
11// clang-format off
13class CompoundTag;
14class DataLoadHelper;
15class EntityContext;
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<4, 4, int> mTicksBeforeRemoval;
24 ::ll::TypedStorage<4, 4, int> mHasTicked;
25 ::ll::TypedStorage<8, 152, ::ItemStack> mItemToSpawn;
26 ::ll::TypedStorage<8, 24, ::WeakEntityRef> mDisplayEntity;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 // vIndex: 11
37 virtual void remove() /*override*/;
38
39 // vIndex: 137
40 virtual void addAdditionalSaveData(::CompoundTag& tag) const /*override*/;
41
42 // vIndex: 136
43 virtual void readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper) /*override*/;
44
45 // vIndex: 25
46 virtual void baseTick() /*override*/;
47
48 // vIndex: 8
49 virtual ~OminousItemSpawner() /*override*/ = default;
50 // NOLINTEND
51
52public:
53 // member functions
54 // NOLINTBEGIN
56 ::ActorDefinitionGroup* definitions,
57 ::ActorDefinitionIdentifier const& definitionName,
58 ::EntityContext& entityContext
59 );
60
61 MCAPI void _clientTick();
62
63 MCAPI ::ItemStack const& _getItem();
64
65 MCAPI void _onTimePassed();
66
67 MCAPI void init(::ItemStack const& itemToSpawn, int ticksBeforeRemoval);
68 // NOLINTEND
69
70public:
71 // constructor thunks
72 // NOLINTBEGIN
73 MCAPI void* $ctor(
74 ::ActorDefinitionGroup* definitions,
75 ::ActorDefinitionIdentifier const& definitionName,
76 ::EntityContext& entityContext
77 );
78 // NOLINTEND
79
80public:
81 // virtual function thunks
82 // NOLINTBEGIN
83 MCAPI void $remove();
84
85 MCAPI void $addAdditionalSaveData(::CompoundTag& tag) const;
86
87 MCAPI void $readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
88
89 MCAPI void $baseTick();
90 // NOLINTEND
91
92public:
93 // vftables
94 // NOLINTBEGIN
95 MCNAPI static void** $vftable();
96 // NOLINTEND
97};
Definition ActorDefinitionGroup.h:32
Definition Actor.h:102
Definition CompoundTag.h:13
Definition DataLoadHelper.h:20
Definition EntityContext.h:16
Definition ItemStack.h:23
Definition OminousItemSpawner.h:19
static MCAPI void ** $vftable()
Definition ActorDefinitionIdentifier.h:15