Skip to content
LeviMC
English
AutoLightDark
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;
13namespace BlockEvents { class BlockEntityFallOnEvent; }
14// clang-format on
15
16class SlimeBlock : public ::BlockType {
17public:
18 // virtual functions
19 // NOLINTBEGIN
20 virtual void onStandOn(::EntityContext& entity, ::BlockPos const& pos) const /*override*/;
21
22 virtual int getExtraRenderLayers() const /*override*/;
23
24 virtual float getBounciness(::IConstBlockSource const&, ::BlockPos const&) const /*override*/;
25 // NOLINTEND
26
27public:
28 // member functions
29 // NOLINTBEGIN
30 MCNAPI void onFallOn(::BlockEvents::BlockEntityFallOnEvent& eventData) const;
31 // NOLINTEND
32
33public:
34 // virtual function thunks
35 // NOLINTBEGIN
36 MCNAPI void $onStandOn(::EntityContext& entity, ::BlockPos const& pos) const;
37
38 MCNAPI int $getExtraRenderLayers() const;
39
40 MCNAPI float $getBounciness(::IConstBlockSource const&, ::BlockPos const&) const;
41
42
43 // NOLINTEND
44
45public:
46 // vftables
47 // NOLINTBEGIN
48 MCNAPI static void** $vftable();
49 // NOLINTEND
50};
Definition BlockEntityFallOnEvent.h:17
Definition BlockPos.h:14
Definition EntityContext.h:15
Definition IConstBlockSource.h:25
Definition SlimeBlock.h:16
MCAPI int $getExtraRenderLayers() const
MCAPI void onFallOn(::BlockEvents::BlockEntityFallOnEvent &eventData) const
MCAPI float $getBounciness(::IConstBlockSource const &, ::BlockPos const &) const
static MCAPI void ** $vftable()
MCAPI void $onStandOn(::EntityContext &entity, ::BlockPos const &pos) const