LeviLamina
Loading...
Searching...
No Matches
ScriptBlockPistonComponent.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/BaseScriptBlockActorComponent.h"
9#include "mc/world/level/block/actor/PistonState.h"
10
11// auto generated forward declare list
12// clang-format off
13class BlockPos;
14class BlockSource;
15class Vec3;
16namespace ScriptModuleMinecraft { class ScriptBlock; }
17namespace ScriptModuleMinecraft { class ScriptComponentTypeEnumBuilder; }
18namespace Scripting { class WeakLifetimeScope; }
19namespace Scripting { struct ClassBinding; }
20// clang-format on
21
22namespace ScriptModuleMinecraft {
23
25public:
26 // member variables
27 // NOLINTBEGIN
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 // vIndex: 0
41 virtual ~ScriptBlockPistonComponent() /*override*/ = default;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCNAPI ::Scripting::Result_deprecated<
48 ::std::vector<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlock>>>
50
51 MCNAPI ::Scripting::Result_deprecated<::std::vector<::Vec3>> getAttachedBlocksLocations();
52
53 MCNAPI ::Scripting::Result_deprecated<::std::vector<::BlockPos>> getAttachedBlocks_V010();
54
55 MCNAPI ::Scripting::Result_deprecated<bool> isExpanded();
56
57 MCNAPI ::Scripting::Result_deprecated<bool> isExpanding();
58
59 MCNAPI ::Scripting::Result_deprecated<bool> isMoving();
60
61 MCNAPI ::Scripting::Result_deprecated<bool> isRetracted();
62
63 MCNAPI ::Scripting::Result_deprecated<bool> isRetracting();
64
65 MCNAPI ::Scripting::Result_deprecated<::PistonState> state();
66 // NOLINTEND
67
68public:
69 // static functions
70 // NOLINTBEGIN
71 MCNAPI static ::Scripting::ClassBinding
73
74 MCNAPI static ::std::optional<
77 // NOLINTEND
78
79public:
80 // static variables
81 // NOLINTBEGIN
82 MCNAPI static char const*& ComponentId();
83 // NOLINTEND
84
85public:
86 // vftables
87 // NOLINTBEGIN
88 MCNAPI static void** $vftable();
89 // NOLINTEND
90};
91
92} // namespace ScriptModuleMinecraft
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition BaseScriptBlockActorComponent.h:10
Definition ScriptBlockPistonComponent.h:24
MCAPI ::Scripting::Result_deprecated< bool > isMoving()
MCAPI ::Scripting::Result_deprecated< bool > isRetracted()
MCAPI ::Scripting::Result_deprecated<::std::vector<::BlockPos > > getAttachedBlocks_V010()
MCAPI ::Scripting::Result_deprecated< bool > isExpanding()
MCAPI ::Scripting::Result_deprecated< bool > isExpanded()
static MCAPI ::Scripting::ClassBinding bind(::ScriptModuleMinecraft::ScriptComponentTypeEnumBuilder &componentTypeEnumBuilder)
MCAPI ::Scripting::Result_deprecated<::PistonState > state()
static MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockPistonComponent > > tryCreate(::BlockSource &region, ::BlockPos position, ::Scripting::WeakLifetimeScope const &scope)
MCAPI ::Scripting::Result_deprecated< ::std::vector<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlock > > > getAttachedBlocks()
MCAPI ::Scripting::Result_deprecated<::std::vector<::Vec3 > > getAttachedBlocksLocations()
MCAPI ::Scripting::Result_deprecated< bool > isRetracting()
Definition ScriptComponentTypeEnumBuilder.h:16
Definition StrongTypedObjectHandle.h:8
Definition WeakLifetimeScope.h:12
Definition Vec3.h:10
Definition Alias.h:14