Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
RedStoneDustItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/HandSlot.h"
7#include "mc/world/item/Item.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class BlockPos;
14class ItemStack;
15class ItemStackBase;
16class Vec3;
17// clang-format on
18
19class RedStoneDustItem : public ::Item {
20public:
21 // virtual functions
22 // NOLINTBEGIN
23 virtual ::InteractionResult _useOn(
24 ::ItemStack& instance,
25 ::Actor& actor,
26 ::BlockPos pos,
27 uchar face,
28 ::HandSlot handSlot,
29 ::Vec3 const& clickPos
30 ) const /*override*/;
31
32 virtual bool _calculatePlacePos(::ItemStackBase const&, ::Actor const& entity, uchar& face, ::BlockPos& pos) const
33 /*override*/;
34 // NOLINTEND
35
36public:
37 // virtual function thunks
38 // NOLINTBEGIN
39 MCNAPI ::InteractionResult $_useOn(
40 ::ItemStack& instance,
41 ::Actor& actor,
42 ::BlockPos pos,
43 uchar face,
44 ::HandSlot handSlot,
45 ::Vec3 const& clickPos
46 ) const;
47
48 MCNAPI bool $_calculatePlacePos(::ItemStackBase const&, ::Actor const& entity, uchar& face, ::BlockPos& pos) const;
49
50
51 // NOLINTEND
52};
Definition Actor.h:116
Definition BlockPos.h:14
Definition InteractionResult.h:5
Definition ItemStackBase.h:45
Definition ItemStack.h:26
Definition RedStoneDustItem.h:19
MCAPI bool $_calculatePlacePos(::ItemStackBase const &, ::Actor const &entity, uchar &face, ::BlockPos &pos) const
MCAPI::InteractionResult $_useOn(::ItemStack &instance, ::Actor &actor, ::BlockPos pos, uchar face, ::HandSlot handSlot, ::Vec3 const &clickPos) const
Definition Vec3.h:10