java.lang.Object
net.darkhax.botanypots.common.api.data.recipes.BotanyPotRecipe
net.darkhax.botanypots.common.api.data.recipes.crop.Crop
net.darkhax.botanypots.common.impl.data.recipe.crop.BasicCrop
net.darkhax.botanypotsmystical.common.impl.data.recipe.crop.MysticalCrop
All Implemented Interfaces:
net.darkhax.botanypots.common.api.data.recipes.CacheableRecipe, net.minecraft.world.item.crafting.Recipe<net.darkhax.botanypots.common.api.context.BotanyPotContext>

public class MysticalCrop extends net.darkhax.botanypots.common.impl.data.recipe.crop.BasicCrop
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.darkhax.botanypots.common.impl.data.recipe.crop.BasicCrop

    net.darkhax.botanypots.common.impl.data.recipe.crop.BasicCrop.Properties
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.MapCodec<MysticalCrop>
     
    static final net.minecraft.world.item.crafting.RecipeSerializer<MysticalCrop>
     
    static final Supplier<Map<net.minecraft.resources.ResourceLocation,net.minecraft.world.item.crafting.Ingredient>>
     
    static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,MysticalCrop>
     

    Fields inherited from class net.darkhax.botanypots.common.impl.data.recipe.crop.BasicCrop

    DIRT, TOOLTIP_WRONG_SOIL

    Fields inherited from class net.darkhax.botanypots.common.api.data.recipes.crop.Crop

    CACHE, RECIPES, TYPE

    Fields inherited from interface net.minecraft.world.item.crafting.Recipe

    CONDITIONAL_CODEC, STREAM_CODEC
  • Constructor Summary

    Constructors
    Constructor
    Description
    MysticalCrop(net.minecraft.resources.ResourceLocation mysticalCropId)
     
    MysticalCrop(net.minecraft.resources.ResourceLocation mysticalCropId, net.darkhax.botanypots.common.impl.data.recipe.crop.BasicCrop.Properties properties)
     
  • Method Summary

    Methods inherited from class net.darkhax.botanypots.common.impl.data.recipe.crop.BasicCrop

    canBeCached, couldMatch, getBasicProperties, getDisplayState, getRequiredGrowthTicks, getSerializer, hoverTooltip, isCacheKey, isGrowthSustained, isValidSoil, matches, onHarvest

    Methods inherited from class net.darkhax.botanypots.common.api.data.recipes.crop.Crop

    canHarvest, getCrop, getLightLevelEmitted, getType, onGrowthTick, onTick

    Methods inherited from class net.darkhax.botanypots.common.api.data.recipes.BotanyPotRecipe

    assemble, canCraftInDimensions, getResultItem, isSpecial, recipeCodec, recipeStream, showNotification

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.world.item.crafting.Recipe

    getGroup, getIngredients, getRemainingItems, getToastSymbol, isIncomplete
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<MysticalCrop> CODEC
    • STREAM

      public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,MysticalCrop> STREAM
    • SERIALIZER

      public static final net.minecraft.world.item.crafting.RecipeSerializer<MysticalCrop> SERIALIZER
    • SOIL_TIERS

      public static final Supplier<Map<net.minecraft.resources.ResourceLocation,net.minecraft.world.item.crafting.Ingredient>> SOIL_TIERS
  • Constructor Details

    • MysticalCrop

      public MysticalCrop(net.minecraft.resources.ResourceLocation mysticalCropId)
    • MysticalCrop

      public MysticalCrop(net.minecraft.resources.ResourceLocation mysticalCropId, net.darkhax.botanypots.common.impl.data.recipe.crop.BasicCrop.Properties properties)