-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update blocks and items to newest format (#215)
* Add emit_vibration * Add min and max bounds to collision_box * Remove experimental label from crafting_table * Fix flammable definition * Add geometry.cross * Add culling property to block_culling_rules * Add max length to loot * Remove part visibility * Remove experimental label from placement filter * Add min max bounds to selection box * Remove unit cube as deprecated * Remove armor component * Add protection to wearable * Remove render offsets * Remove on_dig * Remove dye powder * Remove knockback resistance * Update durability * Remove foil * Add glint * Update hand_equipped * Update food * Remove frame from :icon * Remove max damage * Remove on_use * Remove on_use_on * Update max stack size * Update repairable * Updated :shooter * Update stacked by data * Add use modifiers * Remove use_duration * Remove weapon * Add allow_off_hand * Add can_destroy_in_creative * Add damage * Fix max_stack_size * Add enchantable * Add hover text color * Add liquid clipped * Add record * Add should_despawn * Tags component * Add use_animation * Update item components * Update block components * Update source/behavior/entities/format/events.json --------- Co-authored-by: Daan Verstraten <daanverstraten@hotmail.com>
- Loading branch information
Showing
44 changed files
with
386 additions
and
398 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
source/behavior/blocks/format/components/part_visibility.json
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
source/behavior/items/format/components/allow_off_hand.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"$id": "blockception.minecraft.behavior.items.minecraft:allow_off_hand", | ||
"additionalProperties": false, | ||
"type": "object", | ||
"title": "Allow Off Hand", | ||
"description": "The allow off hand component determines whether the item can be placed in the off hand slot of the inventory.", | ||
"required": ["value"], | ||
"properties": { "value": { "type": "boolean", "title": "Value", "description": "Whether the item can be placed in the off hand slot" } }, | ||
"examples": [ | ||
{ "value": true } | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
source/behavior/items/format/components/can_destroy_in_creative.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"$id": "blockception.minecraft.behavior.items.minecraft:can_destroy_in_creative", | ||
"additionalProperties": false, | ||
"type": "object", | ||
"title": "Can Destroy In Creative", | ||
"description": "The can destroy in creative component determines if the item will break blocks in creative when swinging.", | ||
"required": ["value"], | ||
"properties": { "value": { "type": "boolean", "title": "Value", "description": "Whether the item can destroy blocks while in creative" } }, | ||
"examples": [ | ||
{ "value": false } | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"$id": "blockception.minecraft.behavior.items.minecraft:damage", | ||
"additionalProperties": false, | ||
"type": "object", | ||
"title": "Damage", | ||
"description": "The damage component determines how much extra damage the item does on attack.", | ||
"required": ["value"], | ||
"properties": { "value": { "type": "number", "title": "Value", "description": "How much extra damage the item does, must be a positive number.", "minimum": 1 } }, | ||
"examples": [ | ||
{ "value": 7 } | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"$id": "blockception.minecraft.behavior.items.minecraft:enchantable", | ||
"title": "Enchantable", | ||
"description": "The enchantable component determines what enchantments can be applied to the item.", | ||
"type": "object", | ||
"additionalProperties": false, | ||
"required": ["slot"], | ||
"properties": { | ||
"slot": { | ||
"title": "Slot", | ||
"description": "If true you can always eat this item (even when not hungry), defaults to false.", | ||
"enum": [ | ||
"axe", | ||
"bow", | ||
"armor_feet", | ||
"armor_torso", | ||
"armor_head", | ||
"armor_legs", | ||
"hoe", | ||
"pickaxe", | ||
"shovel", | ||
"elytra", | ||
"fishing_rod", | ||
"flintsteel", | ||
"sword", | ||
"shears", | ||
"cosmetic_head" | ||
] | ||
}, | ||
"value": { | ||
"title": "Value", | ||
"description": "The value of the enchantment.", | ||
"type": "number", | ||
"minimum": 0 | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.