LeviLamina
Loading...
Searching...
No Matches
UpdateEntityAfterFallOn.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/ecs/ViewT.h"
7#include "mc/deps/ecs/strict/EntityModifier.h"
8#include "mc/deps/ecs/strict/Include.h"
9
10// auto generated forward declare list
11// clang-format off
12class Block;
13class BlockPos;
16struct BounceComponent;
18struct PlayerComponent;
19// clang-format on
20
21namespace UpdateEntityAfterFallOn {
22// functions
23// NOLINTBEGIN
24MCNAPI void applyRestitution(
25 ::StrictEntityContext const& entity,
26 ::BlockPos const& bounceStartPos,
27 ::Block const& block,
28 float posDeltaY,
29 float coefficientOfRestitution,
30 ::ViewT<::StrictEntityContext, ::Include<::PlayerComponent>, ::BounceComponent> const& playerView,
31 ::ViewT<::StrictEntityContext, ::Include<::MinecartFlagComponent>> const& minecartView,
32 ::EntityModifier<::ApplyRestitutionComponent> modifier
33);
34// NOLINTEND
35
36} // namespace UpdateEntityAfterFallOn
Definition BlockPos.h:19
Definition Block.h:43
Definition StrictEntityContext.h:8
Definition ApplyRestitutionComponent.h:8
Definition BounceComponent.h:13
Definition MinecartFlagComponent.h:5
Definition PlayerComponent.h:5