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;
12class Experiments;
14namespace BlockEvents { class BlockEntityFallOnEvent; }
15// clang-format on
16
17class SlimeBlock : public ::BlockType {
18public:
19 // virtual functions
20 // NOLINTBEGIN
21 virtual void _addHardCodedBlockComponents(::Experiments const&) /*override*/;
22
23 virtual void onStandOn(::EntityContext& entity, ::BlockPos const& pos) const /*override*/;
24
25 virtual void updateEntityAfterFallOn(::BlockPos const& pos, ::UpdateEntityAfterFallOnInterface& entity) const
26 /*override*/;
27
28 virtual bool isBounceBlock() const /*override*/;
29
30 virtual int getExtraRenderLayers() const /*override*/;
31
32 virtual ~SlimeBlock() /*override*/ = default;
33 // NOLINTEND
34
35public:
36 // member functions
37 // NOLINTBEGIN
38 MCFOLD void onFallOn(::BlockEvents::BlockEntityFallOnEvent& eventData) const;
39 // NOLINTEND
40
41public:
42 // virtual function thunks
43 // NOLINTBEGIN
44 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
45
46 MCFOLD void $onStandOn(::EntityContext& entity, ::BlockPos const& pos) const;
47
48 MCAPI void $updateEntityAfterFallOn(::BlockPos const& pos, ::UpdateEntityAfterFallOnInterface& entity) const;
49
50 MCFOLD bool $isBounceBlock() const;
51
52 MCFOLD int $getExtraRenderLayers() const;
53
54
55 // NOLINTEND
56
57public:
58 // vftables
59 // NOLINTBEGIN
60 MCAPI static void** $vftable();
61 // NOLINTEND
62};
Definition BlockEntityFallOnEvent.h:16
Definition BlockPos.h:19
Definition EntityContext.h:16
Definition Experiments.h:14
Definition SlimeBlock.h:17
Definition UpdateEntityAfterFallOnInterface.h:13