Class CookableDough
java.lang.Object
com.petrolpark.compat.create.core.dough.type.CookableDough
- All Implemented Interfaces:
IDough,ICookableDough
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final booleanprotected final floatprotected final net.minecraft.resources.ResourceLocationprotected final intprotected final intprotected final booleanprotected final Stringprotected CookableDough.TypeFields inherited from interface com.petrolpark.compat.create.core.dough.IDough
CODEC, STREAM_CODEC, TYPED_CODEC -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
type
-
timesCooked
protected final int timesCooked -
minimumThickness
protected final float minimumThickness -
cuttable
protected final boolean cuttable -
toppable
protected final boolean toppable -
translationKey
-
textureLocation
protected final net.minecraft.resources.ResourceLocation textureLocation -
tint
protected final int tint
-
-
Constructor Details
-
CookableDough
-
-
Method Details
-
getTimesCooked
public int getTimesCooked()- Specified by:
getTimesCookedin interfaceICookableDough
-
minimumThickness
public float minimumThickness()- Specified by:
minimumThicknessin interfaceIDough
-
cuttable
public boolean cuttable() -
toppable
public boolean toppable() -
name
public net.minecraft.network.chat.Component name() -
textureLocation
public net.minecraft.resources.ResourceLocation textureLocation()- Specified by:
textureLocationin interfaceIDough
-
tint
public int tint() -
getType
-