LeviLamina
Loading...
Searching...
No Matches
ScriptBlockPotionContainerComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
7#include "mc/deps/scripting/runtime/Result_deprecated.h"
8#include "mc/scripting/modules/minecraft/block/components/BaseScriptBlockLiquidContainerComponent.h"
9
10// auto generated forward declare list
11// clang-format off
12class BlockPos;
13class BlockSource;
14namespace ScriptModuleMinecraft { class ScriptItemStack; }
15namespace Scripting { class WeakLifetimeScope; }
16namespace Scripting { struct ClassBinding; }
17// clang-format on
18
19namespace ScriptModuleMinecraft {
20
21class ScriptBlockPotionContainerComponent : public ::ScriptModuleMinecraft::BaseScriptBlockLiquidContainerComponent {
22public:
23 // prevent constructor by default
24 ScriptBlockPotionContainerComponent& operator=(ScriptBlockPotionContainerComponent const&);
25 ScriptBlockPotionContainerComponent();
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 virtual ~ScriptBlockPotionContainerComponent() /*override*/ = default;
31 // NOLINTEND
32
33public:
34 // member functions
35 // NOLINTBEGIN
36 MCAPI ScriptBlockPotionContainerComponent(::ScriptModuleMinecraft::ScriptBlockPotionContainerComponent const&);
37
38 MCAPI ::Scripting::Result_deprecated<void> setPotionType(::ScriptModuleMinecraft::ScriptItemStack const& item);
39 // NOLINTEND
40
41public:
42 // static functions
43 // NOLINTBEGIN
44 MCAPI static ::Scripting::ClassBinding bind();
45
46 MCAPI static ::std::optional<
48 tryCreate(::BlockSource& region, ::BlockPos position, ::Scripting::WeakLifetimeScope const& scope);
49 // NOLINTEND
50
51public:
52 // static variables
53 // NOLINTBEGIN
54 MCAPI static char const*& ComponentId();
55 // NOLINTEND
56
57public:
58 // constructor thunks
59 // NOLINTBEGIN
61 // NOLINTEND
62
63public:
64 // vftables
65 // NOLINTBEGIN
66 MCNAPI static void** $vftable();
67 // NOLINTEND
68};
69
70} // namespace ScriptModuleMinecraft
Definition BlockPos.h:19
Definition BlockSource.h:68
Definition BaseScriptBlockLiquidContainerComponent.h:19
Definition ScriptBlockPotionContainerComponent.h:21
Definition ScriptItemStack.h:35
Definition StrongTypedObjectHandle.h:8
Definition WeakLifetimeScope.h:7
Definition ClassBinding.h:19