Class SmeltingContainer
- Namespace
- Obsidian.API.Containers
- Assembly
- Obsidian.API.dll
public class SmeltingContainer : ResultContainer, IEnumerable<ItemStack>, IEnumerable, IBlockEntity
- Inheritance
-
SmeltingContainer
- Implements
-
- Inherited Members
-
Constructors
SmeltingContainer(InventoryType, int, string)
public SmeltingContainer(InventoryType type, int size, string id)
Parameters
type
InventoryType
size
int
id
string
Properties
BlockPosition
public Vector BlockPosition { get; set; }
Property Value
- Vector
CookTime
public short CookTime { get; set; }
Property Value
- short
CookTimeTotal
public short CookTimeTotal { get; set; }
Property Value
- short
FuelBurnTime
public short FuelBurnTime { get; set; }
Property Value
- short
Id
public string Id { get; }
Property Value
- string
Methods
FromNbt()
GetFuel()
public virtual ItemStack? GetFuel()
Returns
- ItemStack
GetIngredients()
public virtual ItemStack?[] GetIngredients()
Returns
- ItemStack[]
GetResult()
public override ItemStack? GetResult()
Returns
- ItemStack
SetResult(ItemStack?)
public override void SetResult(ItemStack? result)
Parameters
result
ItemStack
ToNbt()