LeviLamina
Loading...
Searching...
No Matches
UnlockedRecipesServerComponent Class Reference

Classes

struct  UnlockingInstruction

Public Member Functions

MCAPI void addAdditionalSaveData (::CompoundTag &tag) const
MCAPI void addChangedInventorySlot (int slot)
MCAPI void addUnlockedRecipe (::std::string const &recipeId)
MCAPI void addUnlockingInstruction (::UnlockedRecipesServerComponent::UnlockingInstruction instruction)
MCAPI void clearChangedInventorySlots ()
MCAPI void clearUnlockingInstructions ()
MCFOLD ::std::unordered_set< int > const & getChangedInventorySlots () const
MCFOLD ::std::unordered_set<::std::string > const & getUnlockedRecipes () const
MCFOLD ::std::vector<::UnlockedRecipesServerComponent::UnlockingInstruction > const & getUnlockingInstructions () const
MCAPI bool hasContextBeenUsed (::RecipeUnlockingRequirement::UnlockingContext context) const
MCFOLD bool hasInitialDataBeenSent () const
MCFOLD bool hasInventoryChanged () const
MCFOLD bool hasUnlockedRecipes () const
MCAPI bool hasUnlockingInstructions () const
MCAPI bool isRecipeUnlocked (::std::string const &recipeId) const
MCAPI void markContextAsUsed (::RecipeUnlockingRequirement::UnlockingContext context)
MCFOLD void markInitialDataAsSent ()
MCAPI void readAdditionalSaveData (::Actor &, ::CompoundTag const &tag, ::DataLoadHelper &)
MCAPI void removeAllUnlockedRecipes ()
MCAPI void removeUnlockedRecipe (::std::string const &recipeId)
MCAPI void resetUsedContexts ()
MCAPI void * $ctor ()
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI ::std::string const & COMPONENT_TAG ()
static MCAPI ::std::string const & UNLOCKED_RECIPES_TAG ()
static MCAPI ::std::string const & USED_CONTEXTS_TAG ()

Public Attributes

::ll::TypedStorage< 1, 1, bool > mInventoryHasChanged
::ll::TypedStorage< 1, 1, bool > mInitialDataSent
::ll::TypedStorage< 4, 4, uint > mUsedContexts
::ll::TypedStorage< 8, 64, ::std::unordered_set<::std::string > > mUnlockedRecipes
::ll::TypedStorage< 8, 64, ::std::unordered_set< int > > mChangedInventorySlots
::ll::TypedStorage< 8, 24, ::std::vector<::UnlockedRecipesServerComponent::UnlockingInstruction > > mUnlockingInstructions

The documentation for this class was generated from the following file: