Class CookableDough

java.lang.Object
com.petrolpark.compat.create.core.dough.type.CookableDough
All Implemented Interfaces:
IDough, ICookableDough

public class CookableDough extends Object implements IDough, ICookableDough
  • Field Details

    • type

      protected CookableDough.Type type
    • timesCooked

      protected final int timesCooked
    • minimumThickness

      protected final float minimumThickness
    • cuttable

      protected final boolean cuttable
    • toppable

      protected final boolean toppable
    • translationKey

      protected final String translationKey
    • textureLocation

      protected final net.minecraft.resources.ResourceLocation textureLocation
    • tint

      protected final int tint
  • Constructor Details

  • Method Details

    • getTimesCooked

      public int getTimesCooked()
      Specified by:
      getTimesCooked in interface ICookableDough
    • minimumThickness

      public float minimumThickness()
      Specified by:
      minimumThickness in interface IDough
    • cuttable

      public boolean cuttable()
      Specified by:
      cuttable in interface IDough
    • toppable

      public boolean toppable()
      Specified by:
      toppable in interface IDough
    • name

      public net.minecraft.network.chat.Component name()
      Specified by:
      name in interface IDough
    • textureLocation

      public net.minecraft.resources.ResourceLocation textureLocation()
      Specified by:
      textureLocation in interface IDough
    • tint

      public int tint()
      Specified by:
      tint in interface IDough
    • getType

      public CookableDough.Type getType()
      Specified by:
      getType in interface IDough