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