LeviLamina
Loading...
Searching...
No Matches
SlimeBlock.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/BlockType.h"
7
8// auto generated forward declare list
9// clang-format off
10class BlockPos;
11class EntityContext;
13class Material;
14namespace BlockEvents { class BlockEntityFallOnEvent; }
15// clang-format on
16
17class SlimeBlock : public ::BlockType {
18public:
19 // prevent constructor by default
20 SlimeBlock();
21
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 virtual void onStandOn(::EntityContext& entity, ::BlockPos const&) const /*override*/;
26
27 virtual int getExtraRenderLayers() const /*override*/;
28
29 virtual float getBounciness(::IConstBlockSource const&, ::BlockPos const&) const /*override*/;
30 // NOLINTEND
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCAPI SlimeBlock(::std::string const& nameId, int id, ::Material const& material);
36
37 MCFOLD void onFallOn(::BlockEvents::BlockEntityFallOnEvent& eventData) const;
38 // NOLINTEND
39
40public:
41 // constructor thunks
42 // NOLINTBEGIN
43 MCAPI void* $ctor(::std::string const& nameId, int id, ::Material const& material);
44 // NOLINTEND
45
46public:
47 // virtual function thunks
48 // NOLINTBEGIN
49 MCFOLD void $onStandOn(::EntityContext& entity, ::BlockPos const&) const;
50
51 MCFOLD int $getExtraRenderLayers() const;
52
53 MCFOLD float $getBounciness(::IConstBlockSource const&, ::BlockPos const&) const;
54
55
56 // NOLINTEND
57
58public:
59 // vftables
60 // NOLINTBEGIN
61 MCAPI static void** $vftable();
62 // NOLINTEND
63};
Definition BlockEntityFallOnEvent.h:20
Definition BlockPos.h:21
Definition EntityContext.h:17
Definition IConstBlockSource.h:24
Definition Material.h:8