LeviLamina
Loading...
Searching...
No Matches
Cushion.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/Actor.h"
7
8// auto generated forward declare list
9// clang-format off
12class ActorHurtResult;
13class BlockSource;
14class EntityContext;
15class HashedString;
16class Vec3;
18struct HurtParameters;
19// clang-format on
20
21class Cushion : public ::Actor {
22public:
23 // prevent constructor by default
24 Cushion();
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 virtual float getInterpolatedBodyYaw(float) const /*override*/;
30
31 virtual void remove() /*override*/;
32
33 virtual float getShadowRadius() const /*override*/;
34
35 virtual ::ActorHurtResult _hurt(::ActorDamageSource const& source, float, ::HurtParameters const&) /*override*/;
36 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCAPI Cushion(
42 ::ActorDefinitionGroup* definitions,
43 ::ActorDefinitionIdentifier const& definitionName,
44 ::EntityContext& entityContext
45 );
46
47 MCAPI bool _wouldSurviveAt(::BlockSource const& region, ::Vec3 const& at) const;
48
49 MCAPI void dropCushionAndRemove(bool dropCushion, ::Actor* breakingActor);
50
51 MCAPI bool wouldSurvive(::BlockSource const& region) const;
52 // NOLINTEND
53
54public:
55 // static functions
56 // NOLINTBEGIN
57 MCAPI static ::HashedString getVariantItemName(int color);
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63 MCAPI void* $ctor(
64 ::ActorDefinitionGroup* definitions,
65 ::ActorDefinitionIdentifier const& definitionName,
66 ::EntityContext& entityContext
67 );
68 // NOLINTEND
69
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73 MCAPI float $getInterpolatedBodyYaw(float) const;
74
75 MCAPI void $remove();
76
77 MCFOLD float $getShadowRadius() const;
78
79 MCAPI ::ActorHurtResult $_hurt(::ActorDamageSource const& source, float, ::HurtParameters const&);
80
81
82 // NOLINTEND
83
84public:
85 // vftables
86 // NOLINTBEGIN
87 MCNAPI static void** $vftable();
88 // NOLINTEND
89};
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:26
Definition ActorHurtResult.h:5
Definition BlockSource.h:71
static MCAPI void ** $vftable()
Definition EntityContext.h:15
Definition HashedString.h:5
Definition Vec3.h:10
Definition ActorDefinitionIdentifier.h:15
Definition HurtParameters.h:8