pub struct Painting;Expand description
Handles painting variant recipes.
Stub: Waiting for Pumpkin API support for stonecutter recipes and item data components.
Trait Implementations§
Source§impl Recipe for Painting
impl Recipe for Painting
Source§fn shapeless(&self) -> Vec<ShapelessRecipe>
fn shapeless(&self) -> Vec<ShapelessRecipe>
Returns the shapeless crafting recipes to be registered. Read more
Source§fn shaped(&self) -> Vec<ShapedRecipe>
fn shaped(&self) -> Vec<ShapedRecipe>
Returns the shaped crafting recipes to be registered. Read more
Source§fn cooking(&self) -> Vec<CookingRecipe>
fn cooking(&self) -> Vec<CookingRecipe>
Returns the cooking recipes to be registered. Read more
Source§fn has_recipes(&self) -> bool
fn has_recipes(&self) -> bool
Returns
true if there is at least one recipe to register.Auto Trait Implementations§
impl Freeze for Painting
impl RefUnwindSafe for Painting
impl Send for Painting
impl Sync for Painting
impl Unpin for Painting
impl UnsafeUnpin for Painting
impl UnwindSafe for Painting
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