Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
Loading...
Searching...
No Matches
FeedItem.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/effect/EffectDuration.h"
7
#include "mc/world/item/ItemDescriptor.h"
8
9
struct
FeedItem
{
10
public
:
11
// FeedItem inner types declare
12
// clang-format off
13
struct
Effect
;
14
// clang-format on
15
16
// FeedItem inner types define
17
struct
Effect
{
18
public
:
19
// member variables
20
// NOLINTBEGIN
21
::ll::TypedStorage<8, 32, ::std::string> descriptionId;
22
::ll::TypedStorage<4, 4, int> id;
23
::ll::TypedStorage<4, 4, ::EffectDuration> duration;
24
::ll::TypedStorage<4, 4, int> amplifier;
25
::ll::TypedStorage<4, 4, float> chance;
26
// NOLINTEND
27
28
public
:
29
// member functions
30
// NOLINTBEGIN
31
MCNAPI
~Effect
();
32
// NOLINTEND
33
34
public
:
35
// destructor thunk
36
// NOLINTBEGIN
37
MCNAPI
void
$dtor
();
38
// NOLINTEND
39
};
40
41
public
:
42
// member variables
43
// NOLINTBEGIN
44
::ll::TypedStorage<8, 16, ::ItemDescriptor> mItemDescriptor;
45
::ll::TypedStorage<8, 16, ::ItemDescriptor> mResultItem;
46
::ll::TypedStorage<4, 4, int> mValue;
47
::ll::TypedStorage<8, 24, ::std::vector<::FeedItem::Effect>> mEffects;
48
// NOLINTEND
49
50
public
:
51
// member functions
52
// NOLINTBEGIN
53
MCNAPI
void
addEffect
(
::FeedItem::Effect
const
& effect);
54
55
MCNAPI
~FeedItem
();
56
// NOLINTEND
57
58
public
:
59
// destructor thunk
60
// NOLINTBEGIN
61
MCNAPI
void
$dtor
();
62
// NOLINTEND
63
};
FeedItem::Effect
Definition
FeedItem.h:17
FeedItem::Effect::~Effect
MCAPI ~Effect()
FeedItem::Effect::$dtor
MCAPI void $dtor()
FeedItem
Definition
FeedItem.h:9
FeedItem::addEffect
MCAPI void addEffect(::FeedItem::Effect const &effect)
FeedItem::~FeedItem
MCAPI ~FeedItem()
FeedItem::$dtor
MCAPI void $dtor()
src
mc
world
actor
FeedItem.h
Generated on
for LeviLamina by
1.16.1