Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
MinecartHopper.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/item/Minecart.h"
7#include "mc/world/actor/item/MinecartType.h"
8#include "mc/world/level/BlockPos.h"
9
10// auto generated forward declare list
11// clang-format off
13class Block;
14class BlockSource;
15// clang-format on
16
17class MinecartHopper : public ::Minecart {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<4, 12, ::BlockPos> mLastPosition;
22 // NOLINTEND
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 virtual void destroy(::ActorDamageSource const& source, bool dropMinecartComponents) /*override*/;
28
29 virtual void applyNaturalSlowdown(::BlockSource& region) /*override*/;
30
31 virtual ::MinecartType getType() /*override*/;
32
33 virtual ::Block const* getDefaultDisplayBlock() const /*override*/;
34
35 virtual int getDefaultDisplayOffset() const /*override*/;
36 // NOLINTEND
37
38public:
39 // virtual function thunks
40 // NOLINTBEGIN
41 MCNAPI void $destroy(::ActorDamageSource const& source, bool dropMinecartComponents);
42
44
45 MCNAPI ::MinecartType $getType();
46
47 MCNAPI ::Block const* $getDefaultDisplayBlock() const;
48
49 MCNAPI int $getDefaultDisplayOffset() const;
50
51
52 // NOLINTEND
53
54public:
55 // vftables
56 // NOLINTBEGIN
57 MCNAPI static void** $vftable();
58 // NOLINTEND
59};
Definition ActorDamageSource.h:18
Definition BlockSource.h:72
Definition Block.h:42
Definition MinecartHopper.h:17
MCAPI void $destroy(::ActorDamageSource const &source, bool dropMinecartComponents)
MCAPI::MinecartType $getType()
static MCAPI void ** $vftable()
MCAPI void $applyNaturalSlowdown(::BlockSource &region)
MCAPI::Block const * $getDefaultDisplayBlock() const
MCAPI int $getDefaultDisplayOffset() const