pub struct PlayUnlockRecipesSpec {
pub action: RecipeUnlockAction,
pub crafting_book_open: bool,
pub crafting_book_active: bool,
pub smelting_book_open: bool,
pub smelting_book_active: bool,
pub blast_furnace_recipe_book_open: bool,
pub blast_furnace_recipe_book_active: bool,
pub smoke_recipe_book_open: bool,
pub smoke_recipe_book_active: bool,
pub recipe_ids: CountedArray<String, VarInt>,
pub other_recipe_ids: RemainingBytes,
}
Fields§
§action: RecipeUnlockAction
§crafting_book_open: bool
§crafting_book_active: bool
§smelting_book_open: bool
§smelting_book_active: bool
§blast_furnace_recipe_book_open: bool
§blast_furnace_recipe_book_active: bool
§smoke_recipe_book_open: bool
§smoke_recipe_book_active: bool
§recipe_ids: CountedArray<String, VarInt>
§other_recipe_ids: RemainingBytes
Trait Implementations§
Source§impl Clone for PlayUnlockRecipesSpec
impl Clone for PlayUnlockRecipesSpec
Source§fn clone(&self) -> PlayUnlockRecipesSpec
fn clone(&self) -> PlayUnlockRecipesSpec
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PlayUnlockRecipesSpec
impl Debug for PlayUnlockRecipesSpec
Source§impl Deserialize for PlayUnlockRecipesSpec
impl Deserialize for PlayUnlockRecipesSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<(RecipeUnlockAction, bool, bool, bool, bool, bool, bool, bool, bool, CountedArray<String, VarInt>, RemainingBytes)> for PlayUnlockRecipesSpec
impl From<(RecipeUnlockAction, bool, bool, bool, bool, bool, bool, bool, bool, CountedArray<String, VarInt>, RemainingBytes)> for PlayUnlockRecipesSpec
Source§impl From<PlayUnlockRecipesSpec> for (RecipeUnlockAction, bool, bool, bool, bool, bool, bool, bool, bool, CountedArray<String, VarInt>, RemainingBytes)
impl From<PlayUnlockRecipesSpec> for (RecipeUnlockAction, bool, bool, bool, bool, bool, bool, bool, bool, CountedArray<String, VarInt>, RemainingBytes)
Source§fn from(other: PlayUnlockRecipesSpec) -> Self
fn from(other: PlayUnlockRecipesSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlayUnlockRecipesSpec
impl PartialEq for PlayUnlockRecipesSpec
Source§impl Serialize for PlayUnlockRecipesSpec
impl Serialize for PlayUnlockRecipesSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for PlayUnlockRecipesSpec
Auto Trait Implementations§
impl Freeze for PlayUnlockRecipesSpec
impl RefUnwindSafe for PlayUnlockRecipesSpec
impl Send for PlayUnlockRecipesSpec
impl Sync for PlayUnlockRecipesSpec
impl Unpin for PlayUnlockRecipesSpec
impl UnwindSafe for PlayUnlockRecipesSpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more