Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
DiscPressContainerManagerModel.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/containers/managers/models/ContainerManagerModel.h"
7#include "mc/world/level/BlockPos.h"
8
9// auto generated forward declare list
10// clang-format off
12class ItemStack;
13// clang-format on
14
15class DiscPressContainerManagerModel : public ::ContainerManagerModel {
16public:
17 // DiscPressContainerManagerModel inner types define
18 enum class Slot : int {
19 Block = 0,
20 Dye = 1,
21 Disc = 2,
22 Result = 3,
23 Count = 4,
24 };
25
26public:
27 // member variables
28 // NOLINTBEGIN
29 ::ll::TypedStorage<4, 12, ::BlockPos> mBlockPos;
30 // NOLINTEND
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual ~DiscPressContainerManagerModel() /*override*/ = default;
36
37 virtual ::std::vector<::ItemStack> getItemCopies() const /*override*/;
38
39 virtual void setSlot(int slot, ::ItemStack const& item, bool) /*override*/;
40
41 virtual ::ItemStack const& getSlot(int slot) const /*override*/;
42
43 virtual void setData(int, int) /*override*/;
44
45 virtual void broadcastChanges() /*override*/;
46
47 virtual bool isValid(float pickRange) /*override*/;
48
49 virtual ::ContainerScreenContext _postInit() /*override*/;
50 // NOLINTEND
51
52public:
53 // virtual function thunks
54 // NOLINTBEGIN
55 MCNAPI ::std::vector<::ItemStack> $getItemCopies() const;
56
57 MCNAPI void $setSlot(int slot, ::ItemStack const& item, bool);
58
59 MCNAPI ::ItemStack const& $getSlot(int slot) const;
60
61 MCNAPI void $setData(int, int);
62
63 MCNAPI void $broadcastChanges();
64
65 MCNAPI bool $isValid(float pickRange);
66
67 MCNAPI ::ContainerScreenContext $_postInit();
68
69
70 // NOLINTEND
71
72public:
73 // vftables
74 // NOLINTBEGIN
75 MCNAPI static void** $vftable();
76 // NOLINTEND
77};
Definition Block.h:42
Definition ContainerScreenContext.h:16
Definition DiscPressContainerManagerModel.h:15
static MCAPI void ** $vftable()
MCAPI ::std::vector<::ItemStack > $getItemCopies() const
MCAPI void $setData(int, int)
MCAPI void $setSlot(int slot, ::ItemStack const &item, bool)
MCAPI::ContainerScreenContext $_postInit()
MCAPI::ItemStack const & $getSlot(int slot) const
MCAPI bool $isValid(float pickRange)
Definition ItemStack.h:26