Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
PotatoBlock.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/optional_ref.h"
7#include "mc/world/level/block/CropBlock.h"
8
9// auto generated forward declare list
10// clang-format off
11class AABB;
12class Block;
13class BlockPos;
16class ItemInstance;
17// clang-format on
18
19class PotatoBlock : public ::CropBlock {
20public:
21 // prevent constructor by default
22 PotatoBlock();
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 virtual ::ItemInstance const getBaseSeed() const /*override*/;
28
29 virtual int getVariant(::Block const& block) const /*override*/;
30
31 virtual ::AABB getCollisionShape(
32 ::Block const&,
34 ::BlockPos const&,
36 ) const /*override*/;
37
38 virtual ::AABB const&
39 getOutline(::Block const& block, ::IConstBlockSource const&, ::BlockPos const& pos, ::AABB& bufferValue) const
40 /*override*/;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCNAPI PotatoBlock(::std::string const& nameId, int id);
47 // NOLINTEND
48
49public:
50 // constructor thunks
51 // NOLINTBEGIN
52 MCNAPI void* $ctor(::std::string const& nameId, int id);
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58 MCNAPI ::ItemInstance const $getBaseSeed() const;
59
60 MCNAPI int $getVariant(::Block const& block) const;
61
62 MCNAPI ::AABB $getCollisionShape(
63 ::Block const&,
65 ::BlockPos const&,
67 ) const;
68
69 MCNAPI ::AABB const&
70 $getOutline(::Block const& block, ::IConstBlockSource const&, ::BlockPos const& pos, ::AABB& bufferValue) const;
71
72
73 // NOLINTEND
74
75public:
76 // vftables
77 // NOLINTBEGIN
78 MCNAPI static void** $vftable();
79 // NOLINTEND
80};
Definition AABB.h:18
Definition BlockPos.h:14
Definition Block.h:42
Definition GetCollisionShapeInterface.h:13
Definition IConstBlockSource.h:25
Definition ItemInstance.h:15
MCAPI PotatoBlock(::std::string const &nameId, int id)
static MCAPI void ** $vftable()
MCAPI::AABB $getCollisionShape(::Block const &, ::IConstBlockSource const &, ::BlockPos const &, ::optional_ref<::GetCollisionShapeInterface const >) const
MCAPI void * $ctor(::std::string const &nameId, int id)
MCAPI::AABB const & $getOutline(::Block const &block, ::IConstBlockSource const &, ::BlockPos const &pos, ::AABB &bufferValue) const
MCAPI::ItemInstance const $getBaseSeed() const
MCAPI int $getVariant(::Block const &block) const
Definition optional_ref.h:10