[][src]Enum basin2_data::recipes::RecipeSerializer

pub enum RecipeSerializer {
    CraftingShaped {
        width: i32,
        height: i32,
        group: Option<String>,
        recipeItems: Vec<Vec<Vec<ItemStack>>>,
        result: ItemStack,
    },
    CraftingShapeless {
        group: Option<String>,
        ingredients: Vec<Vec<ItemStack>>,
        result: ItemStack,
    },
    CraftingSpecialArmordye,
    CraftingSpecialBookcloning,
    CraftingSpecialMapcloning,
    CraftingSpecialMapextending,
    CraftingSpecialFireworkRocket,
    CraftingSpecialFireworkStar,
    CraftingSpecialFireworkStarFade,
    CraftingSpecialTippedarrow,
    CraftingSpecialBannerduplicate,
    CraftingSpecialShielddecoration,
    CraftingSpecialShulkerboxcoloring,
    CraftingSpecialSuspiciousstew,
    CraftingSpecialRepairitem,
    Smelting(SimpleCookingSerializer),
    Blasting(SimpleCookingSerializer),
    Smoking(SimpleCookingSerializer),
    CampfireCooking(SimpleCookingSerializer),
    Stonecutting {
        group: Option<String>,
        ingredient: Vec<ItemStack>,
        result: ItemStack,
    },
}

Variants

CraftingShaped

Fields of CraftingShaped

width: i32height: i32group: Option<String>recipeItems: Vec<Vec<Vec<ItemStack>>>result: ItemStack
CraftingShapeless

Fields of CraftingShapeless

group: Option<String>ingredients: Vec<Vec<ItemStack>>result: ItemStack
CraftingSpecialArmordye
CraftingSpecialBookcloning
CraftingSpecialMapcloning
CraftingSpecialMapextending
CraftingSpecialFireworkRocket
CraftingSpecialFireworkStar
CraftingSpecialFireworkStarFade
CraftingSpecialTippedarrow
CraftingSpecialBannerduplicate
CraftingSpecialShielddecoration
CraftingSpecialShulkerboxcoloring
CraftingSpecialSuspiciousstew
CraftingSpecialRepairitem
CampfireCooking(SimpleCookingSerializer)
Stonecutting

Fields of Stonecutting

group: Option<String>ingredient: Vec<ItemStack>result: ItemStack

Trait Implementations

impl Clone for RecipeSerializer[src]

impl Debug for RecipeSerializer[src]

impl PartialEq<RecipeSerializer> for RecipeSerializer[src]

impl StructuralPartialEq for RecipeSerializer[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.