LeviLamina
Loading...
Searching...
No Matches
StoneCutterContainerScreenValidator.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/inventory/network/TypedServerNetId.h"
7#include "mc/world/inventory/simulation/validation/ContainerScreenValidatorBase.h"
8
9// auto generated forward declare list
10// clang-format off
13class ItemInstance;
14class ItemStack;
17struct RecipeNetIdTag;
18// clang-format on
19
20class StoneCutterContainerScreenValidator : public ::ContainerScreenValidatorBase {
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 virtual bool isCraftingImplemented() /*override*/;
25
26 virtual ::ContainerValidationCraftResult getCraftResult(
27 ::ContainerScreenContext const& screenContext,
28 ::ContainerScreenValidation& screenValidation,
29 ::std::unique_ptr<::ContainerValidationCraftInputs> craftInputs,
30 uchar const numCrafts
31 ) /*override*/;
32 // NOLINTEND
33
34public:
35 // member functions
36 // NOLINTBEGIN
37 MCAPI StoneCutterContainerScreenValidator();
38
39 MCAPI ::ItemInstance
40 _getResultFromId(::ContainerScreenContext const& screenContext, ::RecipeNetId const& recipeNetId);
41
42 MCAPI bool _recipeMatches(
43 ::ContainerScreenContext const& screenContext,
44 ::RecipeNetId const& recipeNetId,
45 ::ItemStack const& inputStack
46 ) const;
47 // NOLINTEND
48
49public:
50 // constructor thunks
51 // NOLINTBEGIN
52 MCAPI void* $ctor();
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58 MCFOLD bool $isCraftingImplemented();
59
60 MCAPI ::ContainerValidationCraftResult $getCraftResult(
61 ::ContainerScreenContext const& screenContext,
62 ::ContainerScreenValidation& screenValidation,
63 ::std::unique_ptr<::ContainerValidationCraftInputs> craftInputs,
64 uchar const numCrafts
65 );
66
67
68 // NOLINTEND
69
70public:
71 // vftables
72 // NOLINTBEGIN
73 MCNAPI static void** $vftable();
74 // NOLINTEND
75};
Definition ContainerScreenContext.h:19
Definition ContainerScreenValidation.h:29
Definition ContainerScreenValidatorBase.h:18
Definition ItemInstance.h:15
Definition ItemStack.h:35
static MCAPI void ** $vftable()
Definition ContainerValidationCraftInputs.h:5
Definition ContainerValidationCraftResult.h:14
Definition RecipeNetIdTag.h:5