Hytale Asset ReferenceUnofficial
Versions / 0.5.5 / Item / Items / Deco / Deco_Tankard.json

Deco_Tankard

Server/Item/Items/Deco/Deco_Tankard.json, 4.3 KB

Fields

FieldType
TranslationPropertiesobject
Iconstring
Categoriesarray[1]
Recipeobject
Interactionsobject
Consumableboolean
Utilityobject
Stateobject
BlockTypeobject
PlayerAnimationsIdobject
IconPropertiesobject
Scalenumber
Tagsobject
ItemSoundSetIdstring

Source

{
  "TranslationProperties": {
    "Name": "server.items.Deco_Tankard.name",
    "Description": "server.items.Deco_Tankard.description"
  },
  "Icon": "Icons/ItemsGenerated/Deco_Tankard.png",
  "Categories": [
    "Blocks.Deco"
  ],
  "Recipe": {
    "Input": [
      {
        "ItemId": "Wood_Hardwood_Planks",
        "Quantity": 1
      },
      {
        "ItemId": "Ingredient_Bar_Iron",
        "Quantity": 1
      }
    ],
    "BenchRequirement": [
      {
        "Id": "Farmingbench",
        "Type": "Crafting",
        "Categories": [
          "Farming"
        ]
      }
    ]
  },
  "Interactions": {
    "Primary": "Block_Primary",
    "Secondary": "Root_Mug_Fill"
  },
  "Consumable": true,
  "Utility": {
    "Compatible": true
  },
  "State": {
    "Filled_Water": {
      "Variant": true,
      "TranslationProperties": {
        "Name": "server.items.Deco_Tankard_Water.name",
        "Description": "server.items.Deco_Tankard_Water.description"
      },
      "Recipe": null,
      "Consumable": true,
      "MaxDurability": 1,
      "DurabilityLossOnDeath": false,
      "MaxStack": 1,
      "BlockType": {
        "CustomModelTexture": [
          {
            "Texture": "Blocks/Miscellaneous/Tankard_Texture_Water.png",
            "Weight": 1
          }
        ],
        "DrawType": "Model",
        "Opacity": "Transparent",
        "CustomModel": "Blocks/Miscellaneous/Tankard.blockymodel",
        "CustomModelScale": 1.2,
        "HitboxType": "Food_Medium",
        "Flags": {
          "IsStackable": false
        },
        "RandomRotation": "YawStep1",
        "BlockSoundSetId": "Wood",
        "PhysicalMaterialId": "Wood",
        "Gathering": {
          "Harvest": {},
          "Soft": {
            "IsWeaponBreakable": false
          }
        }
      },
      "Scale": 1.43,
      "IconProperties": {
        "Scale": 1.3,
        "Rotation": [
          22.5,
          24.0,
          22.5
        ],
        "Translation": [
          0.305,
          -6.895
        ]
      },
      "Icon": "Icons/ItemsGenerated/Deco_Tankard_Water.png",
      "Interactions": {
        "Secondary": "Root_Secondary_Consume_Drink"
      },
      "InteractionVars": {
        "Effect": {
          "Interactions": [
            {
              "Type": "ApplyEffect",
              "EffectId": "Food_Health_Restore_Small"
            }
          ]
        },
        "ConsumeSFX": {
          "Interactions": [
            {
              "Parent": "Consume_SFX",
              "Effects": {
                "LocalSoundEventId": "SFX_Health_Potion_Low_Drink"
              }
            }
          ]
        },
        "ConsumedSFX": {
          "Interactions": [
            {
              "Parent": "Consume_SFX",
              "Effects": {
                "LocalSoundEventId": "SFX_WATER_MoveOut"
              }
            }
          ]
        },
        "DurabilityModify": {
          "Interactions": [
            {
              "Type": "ModifyInventory",
              "AdjustHeldItemDurability": -1,
              "BrokenItem": "Deco_Tankard"
            }
          ]
        }
      }
    }
  },
  "BlockType": {
    "DrawType": "Model",
    "Opacity": "Transparent",
    "CustomModel": "Blocks/Miscellaneous/Tankard.blockymodel",
    "CustomModelScale": 1.2,
    "CustomModelTexture": [
      {
        "Texture": "Blocks/Miscellaneous/Tankard_Texture.png",
        "Weight": 1
      }
    ],
    "HitboxType": "Food_Medium",
    "Flags": {
      "IsStackable": false
    },
    "RandomRotation": "YawStep1",
    "Gathering": {
      "Harvest": {},
      "Soft": {
        "IsWeaponBreakable": false
      }
    },
    "BlockParticleSetId": "Wood",
    "BlockSoundSetId": "Wood",
    "TextureComputedColor": "#756D67"
  },
  "PlayerAnimationsId": {
    "Parent": "Item",
    "Animations": {
      "Consume": {
        "FirstPerson": "Characters/Animations/Items/Main_Handed/Item/Attacks/Drink/Drink_FPS.blockyanim",
        "ThirdPerson": "Characters/Animations/Items/Main_Handed/Item/Attacks/Drink/Drink.blockyanim",
        "Speed": 1,
        "Looping": true
      }
    }
  },
  "IconProperties": {
    "Scale": 1.3,
    "Rotation": [
      20.0,
      302.0,
      340.0
    ],
    "Translation": [
      2.0,
      -6.0
    ]
  },
  "Scale": 1.4,
  "Tags": {
    "Type": [
      "Deco"
    ]
  },
  "ItemSoundSetId": "ISS_Blocks_Wood"
}