Class ItemStack
- Namespace
- Shard.Assets.Generated.ModelAssets
- Assembly
- Shard.Assets.dll
[SchemaImported("assets/common.json#/definitions/ItemStack", "20f2c2a62e9930969013a09d5620717bb7fd4c03662adc9063beb508b994bbee")]
public sealed record ItemStack : IEquatable<ItemStack>
- Inheritance
-
ItemStack
- Implements
-
- Inherited Members
-
Properties
Codec
public static Codec<ItemStack> Codec { get; }
Property Value
- Codec<ItemStack>
Durability
public double Durability { get; init; }
Property Value
- double
Id
public string Id { get; init; }
Property Value
- string
MaxDurability
public double MaxDurability { get; init; }
Property Value
- double
public MetadataDocument? Metadata { get; init; }
Property Value
- MetadataDocument
OverrideDroppedItemAnimation
public bool OverrideDroppedItemAnimation { get; init; }
Property Value
- bool
Quality
public int Quality { get; init; }
Property Value
- int
Quantity
public int Quantity { get; init; }
Property Value
- int