Show / Hide Table of Contents

Class CustomItemConversion

Main interface for adding custom item conversions to the game.
Supports and combines conversions for the cooking station, fermenter and smelter.
All custom item conversions have to be wrapped inside this class to add it to Jötunns ItemManager.
Inheritance
object
CustomEntity
CustomItemConversion
Inherited Members
CustomEntity.SourceMod
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()
Namespace: Jotunn.Entities
Assembly: Jotunn.dll
Syntax
public class CustomItemConversion : CustomEntity

Constructors

Name Description
CustomItemConversion(ConversionConfig) Create a custom item conversion. Depending on the config class this custom conversion represents one of the following item conversions:
  • CookingStation.ItemConversion
  • Fermenter.ItemConversion
  • Smelter.ItemConversion

Properties

Name Description
Config Config of the item conversion. Depends on the Type of the conversion.
Type Type of the item conversion. Defines to which station the conversion is added.

Methods

Name Description
Equals(object) Determines whether the specified object is equal to the current object.
GetHashCode() Serves as the default hash function.
IsValid() Checks if a custom item conversion is valid.
ToString() Returns a string that represents the current object.

Extension Methods

PrefabExtension.FixReferences(object)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾