Hytale Asset ReferenceUnofficial
Versions / 0.5.0-pre.9 / Item / Items / Deco / Deco_Bucket.json

Deco_Bucket

Server/Item/Items/Deco/Deco_Bucket.json, 10.0 KB

Fields

FieldType
TranslationPropertiesobject
Iconstring
Categoriesarray[1]
MaxStacknumber
Interactionsobject
Stateobject
BlockTypeobject
PlayerAnimationsIdstring
IconPropertiesobject
Tagsobject
Scalenumber
ItemSoundSetIdstring
ResourceTypesarray[0]

Source

{
  "TranslationProperties": {
    "Name": "server.items.Deco_Bucket.name",
    "Description": "server.items.Deco_Bucket.description"
  },
  "Icon": "Icons/ItemsGenerated/Deco_Bucket.png",
  "Categories": [
    "Blocks.Deco"
  ],
  "MaxStack": 1,
  "Interactions": {
    "Secondary": {
      "Interactions": [
        {
          "Type": "Condition",
          "Crouching": false,
          "Next": {
            "$Comment": "Not crouching: try water, then milk, then nothing",
            "Type": "RefillContainer",
            "Effects": {
              "ClearSoundEventOnFinish": true,
              "LocalSoundEventId": "SFX_WATER_MoveOut"
            },
            "States": {
              "Filled_Water": {
                "AllowedFluids": [
                  "Water_Source"
                ],
                "TransformFluid": "Empty"
              }
            },
            "Failed": "Deco_Bucket_Milk_Cow"
          },
          "Failed": {
            "$Comment": "Crouching: try water, then milk, then place bucket",
            "Type": "RefillContainer",
            "Effects": {
              "ClearSoundEventOnFinish": true,
              "LocalSoundEventId": "SFX_WATER_MoveOut"
            },
            "States": {
              "Filled_Water": {
                "AllowedFluids": [
                  "Water_Source"
                ],
                "TransformFluid": "Empty"
              }
            },
            "Failed": "Deco_Bucket_Milk_Cow_Crouching"
          }
        }
      ]
    }
  },
  "State": {
    "Filled_Water": {
      "Variant": true,
      "Icon": "Icons/ItemsGenerated/Deco_Bucket_Water.png",
      "$TODO": "Parent: Container_Bucket",
      "TranslationProperties": {
        "Name": "server.items.Deco_Bucket_Water.name",
        "Description": "server.items.Deco_Bucket_Water.description"
      },
      "Recipe": null,
      "Interactions": {
        "Secondary": {
          "Interactions": [
            {
              "Type": "PlaceFluid",
              "RemoveItemInHand": false,
              "Effects": {
                "ClearSoundEventOnFinish": true,
                "LocalSoundEventId": "SFX_WATER_MoveOut"
              },
              "Next": {
                "Type": "ModifyInventory",
                "AdjustHeldItemDurability": -1,
                "BrokenItem": "Deco_Bucket"
              },
              "FluidToPlace": "Water_Source"
            }
          ]
        }
      },
      "Consumable": true,
      "MaxDurability": 1,
      "DurabilityLossOnDeath": false,
      "MaxStack": 1,
      "$Comment": "FOLLOWING PROPERTIES DUPLICATED BECAUSE OF SERVER BUG",
      "BlockType": {
        "Material": "Empty",
        "DrawType": "Model",
        "Opacity": "Transparent",
        "CustomModel": "Blocks/Miscellaneous/Bucket_Full.blockymodel",
        "CustomModelTexture": [
          {
            "Weight": 1,
            "Texture": "Blocks/Miscellaneous/Bucket_Texture_Water.png"
          }
        ],
        "CustomModelScale": 1,
        "RandomRotation": "YawStep1",
        "Gathering": {
          "Soft": {
            "IsWeaponBreakable": true
          }
        },
        "HitboxType": "Plant_Medium",
        "BlockParticleSetId": "Wood",
        "BlockSoundSetId": "Wood",
        "PhysicalMaterialId": "Wood",
        "Support": {
          "Down": [
            {
              "FaceType": "Full"
            }
          ]
        }
      }
    },
    "Filled_Milk": {
      "Variant": true,
      "Icon": "Icons/ItemsGenerated/Deco_Bucket_Milk.png",
      "TranslationProperties": {
        "Name": "server.items.Deco_Bucket_Milk.name",
        "Description": "server.items.Deco_Bucket_Milk.description"
      },
      "ResourceTypes": [
        {
          "Id": "Milk_Bucket",
          "Quantity": 1
        }
      ],
      "Interactions": {
        "Secondary": "Root_Secondary_Consume_Drink"
      },
      "InteractionVars": {
        "Effect": {
          "Interactions": [
            {
              "Type": "ApplyEffect",
              "EffectId": "Antidote"
            }
          ]
        },
        "ConsumeSFX": {
          "Interactions": [
            {
              "Parent": "Consume_SFX",
              "Effects": {
                "LocalSoundEventId": "SFX_Health_Potion_High_Drink"
              }
            }
          ]
        },
        "ConsumedSFX": {
          "Interactions": [
            {
              "Parent": "Consumed_SFX",
              "Effects": {
                "LocalSoundEventId": "SFX_Water_MoveOut"
              }
            }
          ]
        },
        "DurabilityModify": {
          "Interactions": [
            {
              "Type": "ModifyInventory",
              "AdjustHeldItemDurability": -1,
              "BrokenItem": "Deco_Bucket"
            }
          ]
        }
      },
      "Consumable": true,
      "MaxDurability": 1,
      "DurabilityLossOnDeath": false,
      "MaxStack": 1,
      "$Comment": "FOLLOWING PROPERTIES DUPLICATED BECAUSE OF SERVER BUG",
      "BlockType": {
        "Material": "Empty",
        "DrawType": "Model",
        "Opacity": "Transparent",
        "CustomModel": "Blocks/Miscellaneous/Bucket_Full.blockymodel",
        "CustomModelTexture": [
          {
            "Weight": 1,
            "Texture": "Blocks/Miscellaneous/Bucket_Texture_Milk.png"
          }
        ],
        "CustomModelScale": 1,
        "RandomRotation": "YawStep1",
        "Gathering": {
          "Soft": {
            "IsWeaponBreakable": true
          }
        },
        "HitboxType": "Plant_Medium",
        "BlockParticleSetId": "Wood",
        "BlockSoundSetId": "Wood",
        "Support": {
          "Down": [
            {
              "FaceType": "Full"
            }
          ]
        }
      },
      "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
          }
        }
      }
    },
    "Filled_Mosshorn_Milk": {
      "Variant": true,
      "Icon": "Icons/ItemsGenerated/Deco_Bucket_Milk_Mosshorn.png",
      "TranslationProperties": {
        "Name": "server.items.Deco_Bucket_Mosshorn_Milk.name",
        "Description": "server.items.Deco_Bucket_Mosshorn_Milk.description"
      },
      "ResourceTypes": [
        {
          "Id": "Milk_Mosshorn_Bucket",
          "Quantity": 1
        }
      ],
      "Interactions": {
        "Secondary": "Root_Secondary_Consume_Drink"
      },
      "InteractionVars": {
        "Effect": {
          "Interactions": [
            {
              "Type": "ApplyEffect",
              "EffectId": "Potion_Morph_Mosshorn"
            }
          ]
        },
        "ConsumeSFX": {
          "Interactions": [
            {
              "Parent": "Consume_SFX",
              "Effects": {
                "LocalSoundEventId": "SFX_Health_Potion_High_Drink"
              }
            }
          ]
        },
        "ConsumedSFX": {
          "Interactions": [
            {
              "Parent": "Consumed_SFX",
              "Effects": {
                "LocalSoundEventId": "SFX_Water_MoveOut"
              }
            }
          ]
        },
        "DurabilityModify": {
          "Interactions": [
            {
              "Type": "ModifyInventory",
              "AdjustHeldItemDurability": -1,
              "BrokenItem": "Deco_Bucket"
            }
          ]
        }
      },
      "Consumable": true,
      "MaxDurability": 1,
      "DurabilityLossOnDeath": false,
      "MaxStack": 1,
      "$Comment": "FOLLOWING PROPERTIES DUPLICATED BECAUSE OF SERVER BUG",
      "BlockType": {
        "Material": "Empty",
        "DrawType": "Model",
        "Opacity": "Transparent",
        "CustomModel": "Blocks/Miscellaneous/Bucket_Full.blockymodel",
        "CustomModelTexture": [
          {
            "Weight": 1,
            "Texture": "Blocks/Miscellaneous/Bucket_Texture_Mosshorn_Milk.png"
          }
        ],
        "CustomModelScale": 1,
        "RandomRotation": "YawStep1",
        "Gathering": {
          "Soft": {
            "IsWeaponBreakable": true
          }
        },
        "HitboxType": "Plant_Medium",
        "BlockParticleSetId": "Wood",
        "BlockSoundSetId": "Wood",
        "Support": {
          "Down": [
            {
              "FaceType": "Full"
            }
          ]
        }
      },
      "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
          }
        }
      }
    }
  },
  "BlockType": {
    "Material": "Solid",
    "DrawType": "Model",
    "Opacity": "Transparent",
    "CustomModel": "Blocks/Miscellaneous/Bucket.blockymodel",
    "CustomModelTexture": [
      {
        "Texture": "Blocks/Miscellaneous/Bucket_Texture.png",
        "Weight": 1
      }
    ],
    "Group": "Wood",
    "HitboxType": "Plant_Medium",
    "Flags": {},
    "Gathering": {
      "Soft": {
        "IsWeaponBreakable": false
      }
    },
    "BlockParticleSetId": "Wood",
    "BlockSoundSetId": "Wood",
    "Support": {
      "Down": [
        {
          "FaceType": "Full"
        }
      ],
      "Up": [
        {
          "FaceType": "Full"
        }
      ],
      "East": [
        {
          "FaceType": "Full"
        }
      ],
      "West": [
        {
          "FaceType": "Full"
        }
      ]
    },
    "RandomRotation": "YawStep1",
    "TextureComputedColor": "#382F21"
  },
  "PlayerAnimationsId": "Block",
  "IconProperties": {
    "Scale": 1,
    "Rotation": [
      22.5,
      77,
      22.5
    ],
    "Translation": [
      -3,
      -6.895
    ]
  },
  "Tags": {
    "Type": [
      "Deco"
    ]
  },
  "Scale": 1.5,
  "ItemSoundSetId": "ISS_Blocks_Wood",
  "ResourceTypes": []
}