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
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
33 virtual ~StoneCutterContainerScreenValidator() /*override*/ = default;
34 // NOLINTEND
35
36public:
37 // member functions
38 // NOLINTBEGIN
39 MCNAPI ::ItemInstance
40 _getResultFromId(::ContainerScreenContext const& screenContext, ::RecipeNetId const& recipeNetId);
41
42 MCNAPI bool _recipeMatches(
43 ::ContainerScreenContext const& screenContext,
44 ::RecipeNetId const& recipeNetId,
45 ::ItemStack const& inputStack
46 ) const;
47 // NOLINTEND
48
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
53
54 MCNAPI ::ContainerValidationCraftResult $getCraftResult(
55 ::ContainerScreenContext const& screenContext,
56 ::ContainerScreenValidation& screenValidation,
57 ::std::unique_ptr<::ContainerValidationCraftInputs> craftInputs,
58 uchar const numCrafts
59 );
60
61
62 // NOLINTEND
63
64public:
65 // vftables
66 // NOLINTBEGIN
67 MCNAPI static void** $vftable();
68 // NOLINTEND
69};
Definition ContainerScreenContext.h:17
Definition ContainerScreenValidation.h:27
Definition ContainerScreenValidatorBase.h:18
Definition ItemInstance.h:15
Definition ItemStack.h:26
Definition StoneCutterContainerScreenValidator.h:20
MCAPI::ContainerValidationCraftResult $getCraftResult(::ContainerScreenContext const &screenContext, ::ContainerScreenValidation &screenValidation, ::std::unique_ptr<::ContainerValidationCraftInputs > craftInputs, uchar const numCrafts)
MCAPI::ItemInstance _getResultFromId(::ContainerScreenContext const &screenContext, ::RecipeNetId const &recipeNetId)
static MCAPI void ** $vftable()
MCAPI bool _recipeMatches(::ContainerScreenContext const &screenContext, ::RecipeNetId const &recipeNetId, ::ItemStack const &inputStack) const
Definition ContainerValidationCraftInputs.h:5
Definition ContainerValidationCraftResult.h:14
Definition RecipeNetIdTag.h:5