diff --git a/core/src/ru/deadsoftware/cavedroid/game/model/dto/ItemDto.kt b/core/src/ru/deadsoftware/cavedroid/game/model/dto/ItemDto.kt
index 4d57886372db315bea5d5fa884099c90c0e0aca8..373db466baf14f54fb86b352be00acbb8353f3e6 100644 (file)
@Serializable
data class ItemDto(
- @Deprecated("numeric ids will be removed") @SerialName("id") val id: Int,
@SerialName("name") val name: String,
- @SerialName("type") val type: String,
+ @SerialName("type") val type: String = "normal",
@SerialName("texture") val texture: String,
@SerialName("origin_x") val originX: Float = 0f,
@SerialName("origin_y") val origin_y: Float = 1f,
@SerialName("block_damage_multiplier") val blockDamageMultiplier: Float = 1f,
@SerialName("top_slab_block") val topSlabBlock: String? = null,
@SerialName("bottom_slab_block") val bottomSlabBlock: String? = null,
+ @SerialName("tool_level") val toolLevel: Int? = null,
+ @SerialName("max_stack") val maxStack: Int = 64,
+ @SerialName("tint") val tint: String? = null,
+ @SerialName("burning_time") val burningTime: Long? = null,
+ @SerialName("smelt_product") val smeltProduct: String? = null,
)