Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ILevelBlockDestroyerProxy.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/BlockDestroySound.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class Block;
12class BlockPos;
13class BlockSource;
15// clang-format on
16
18public:
19 // virtual functions
20 // NOLINTBEGIN
21 virtual ~ILevelBlockDestroyerProxy() = default;
22
23 virtual void sendEvents(
24 ::LevelEventManager& levelEventManager,
25 ::BlockSource& region,
26 ::BlockPos const& pos,
27 ::Block const& block,
28 ::BlockDestroySound destroySound
29 ) = 0;
30
31 virtual void
32 dropResources(::BlockSource& region, ::BlockPos const& pos, ::Block const& block, ::Actor const* actorContext) = 0;
33 // NOLINTEND
34};
Definition Actor.h:116
Definition BlockPos.h:14
Definition BlockSource.h:72
Definition Block.h:42
Definition ILevelBlockDestroyerProxy.h:17
Definition LevelEventManager.h:23