LeviLamina
Loading...
Searching...
No Matches
ScriptBlockVolumeBase.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/lifetime_registry/WeakHandleFromThis.h"
8#include "mc/deps/scripting/runtime/Result_deprecated.h"
9#include "mc/scripting/modules/minecraft/ScriptBlockVolumeIterable.h"
10
11// auto generated forward declare list
12// clang-format off
14class BlockPos;
15class BoundingBox;
16class Vec3;
17namespace ScriptModuleMinecraft { class ScriptBlockLocationIterator; }
18namespace Scripting { class WeakLifetimeScope; }
19namespace Scripting { struct ClassBinding; }
20// clang-format on
21
22namespace ScriptModuleMinecraft {
23
25 public ::Scripting::WeakHandleFromThis<::ScriptModuleMinecraft::ScriptBlockVolumeBase> {
26public:
27 // member variables
28 // NOLINTBEGIN
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
37
38public:
39 // virtual functions
40 // NOLINTBEGIN
41 // vIndex: 0
42 virtual ~ScriptBlockVolumeBase() /*override*/ = default;
43
44 // vIndex: 1
45 virtual ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockLocationIterator>
46 getBlockLocationIterator(::Scripting::WeakLifetimeScope) = 0;
47
48 // vIndex: 2
49 virtual ::std::unique_ptr<::BaseBlockLocationIterator> createBlockLocationIterator() = 0;
50 // NOLINTEND
51
52public:
53 // member functions
54 // NOLINTBEGIN
55 MCNAPI void forEach(::std::function<bool(::BlockPos const&)> callback) const;
56
57 MCNAPI ::Scripting::Result_deprecated<::BoundingBox> getBoundingBox() const;
58
59 MCNAPI int getCapacity() const;
60
61 MCNAPI ::Scripting::Result_deprecated<::Vec3> getMax() const;
62
63 MCNAPI ::Scripting::Result_deprecated<::Vec3> getMin() const;
64
65 MCNAPI ::Vec3 getSpan() const;
66
67 MCNAPI bool isInside(::Vec3 const& location) const;
68
69 MCNAPI void translate(::Vec3 const& delta);
70 // NOLINTEND
71
72public:
73 // static functions
74 // NOLINTBEGIN
75 MCNAPI static ::Scripting::ClassBinding bind();
76 // NOLINTEND
77
78public:
79 // virtual function thunks
80 // NOLINTBEGIN
81
82 // NOLINTEND
83
84public:
85 // vftables
86 // NOLINTBEGIN
87 MCNAPI static void** $vftable();
88 // NOLINTEND
89};
90
91} // namespace ScriptModuleMinecraft
Definition BaseBlockLocationIterator.h:10
Definition BlockPos.h:18
Definition BoundingBox.h:13
Definition ScriptBlockVolumeBase.h:25
static MCAPI ::Scripting::ClassBinding bind()
MCAPI void forEach(::std::function< bool(::BlockPos const &)> callback) const
MCAPI ::Scripting::Result_deprecated<::BoundingBox > getBoundingBox() const
MCAPI bool isInside(::Vec3 const &location) const
MCAPI ::Scripting::Result_deprecated<::Vec3 > getMin() const
MCAPI ::Scripting::Result_deprecated<::Vec3 > getMax() const
MCAPI void translate(::Vec3 const &delta)
Definition ScriptBlockVolumeIterable.h:7
Definition WeakHandleFromThis.h:8
Definition WeakLifetimeScope.h:12
Definition Vec3.h:10
Definition Alias.h:14