1.21.120 (#392)
* - Fix typo "torse" -> "torso" * - Added "main_hand" as an equipment location * - Added support for "beta" version of script modules * - Update point lights to local light * - Added precipitation_interactions * - Added control flags field to more goals * - Update fire_resistant to not accept direct values * - Added swing_duration component * - Added emissive block rendering * - Added emit_vibrations field to use_modifiers * - Added underwater ambient sounds - Added chance field to ambient sound addition * - Added alpha_masked_tint * - Added apply_knockback_to_blocking_targets field to projectile
This commit is contained in:
@@ -25,6 +25,12 @@
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"alpha_masked_tint": {
|
||||
"title": "Alpha Masked Tint",
|
||||
"description": "Should the tint be multiplied by the alpha channel of texture (similar to grass_block's sides)?",
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"ambient_occlusion": {
|
||||
"title": "Ambient Occlusion",
|
||||
"description": "Should this material have ambient occlusion applied when lighting? If true, shadows will be created around and underneath the block.",
|
||||
@@ -39,6 +45,12 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"emissive": {
|
||||
"title": "Emissive",
|
||||
"description": "[Experimental] Should this material be rendered as emissive",
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"face_dimming": {
|
||||
"title": "Face Dimming",
|
||||
"type": "boolean",
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.minecraft.precipitation_interactions",
|
||||
"title": "Precipitation Interactions",
|
||||
"description": "Component that determines how the block will interact with rain and snow",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [ "precipitation_behavior" ],
|
||||
"properties": {
|
||||
"precipitation_behavior": {
|
||||
"title": "Precipitation Behavior",
|
||||
"description": "What behavior should the block have.",
|
||||
"type": "string",
|
||||
"enum": [ "obstruct_rain", "obstruct_rain_accumulate_snow", "none" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -34,6 +34,7 @@
|
||||
"minecraft:material_instances": { "$ref": "./components/material_instances.json" },
|
||||
"minecraft:movable": { "$ref": "./components/movable.json" },
|
||||
"minecraft:placement_filter": { "$ref": "./components/placement_filter.json" },
|
||||
"minecraft:precipitation_interactions": { "$ref": "./components/precipitation_interactions.json" },
|
||||
"minecraft:random_offset": { "$ref": "./components/random_offset.json" },
|
||||
"minecraft:redstone_conductivity": { "$ref": "./components/redstone_conductivity.json" },
|
||||
"minecraft:redstone_producer": { "$ref": "./components/redstone_producer.json" },
|
||||
|
||||
@@ -4,5 +4,5 @@
|
||||
"type": "string",
|
||||
"description": "The equipment location to test.",
|
||||
"default": "self",
|
||||
"enum": ["any", "armor", "feet", "hand", "head", "inventory", "leg", "torse"]
|
||||
"enum": ["any", "armor", "feet", "main_hand", "hand", "head", "inventory", "leg", "torso"]
|
||||
}
|
||||
|
||||
@@ -12,6 +12,9 @@
|
||||
"default": 1,
|
||||
"description": "Should start tick interval."
|
||||
},
|
||||
"control_flags": {
|
||||
"$ref": "./types/control_flags.json"
|
||||
},
|
||||
"search_range": {
|
||||
"type": "integer",
|
||||
"title": "Search Range",
|
||||
|
||||
@@ -9,6 +9,9 @@
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"control_flags": {
|
||||
"$ref": "./types/control_flags.json"
|
||||
},
|
||||
"avoid_mob_sound": {
|
||||
"title": "Avoid Mob Sound",
|
||||
"default": "",
|
||||
|
||||
@@ -8,6 +8,9 @@
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"control_flags": {
|
||||
"$ref": "./types/control_flags.json"
|
||||
},
|
||||
"allow_dig_when_named": {
|
||||
"title": "Allow Dig When Named",
|
||||
"type": "boolean",
|
||||
|
||||
@@ -6,6 +6,9 @@
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"control_flags": {
|
||||
"$ref": "./types/control_flags.json"
|
||||
},
|
||||
"cooldown_seconds": {
|
||||
"title": "Cooldown Seconds",
|
||||
"type": "number",
|
||||
|
||||
@@ -297,6 +297,12 @@
|
||||
"description": "Defines the damage that an entity may receive on being hit by this projectile. See the table below for all impact_damage parameters.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"apply_knockback_to_blocking_targets": {
|
||||
"title": "Apply Knockback To Blocking Targets",
|
||||
"description": "UNDOCUMENTED",
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"catch_fire": {
|
||||
"title": "Catch Fire",
|
||||
"description": "Determines if the struck object is set on fire.",
|
||||
|
||||
@@ -2,18 +2,11 @@
|
||||
"$id": "blockception.minecraft.behavior.items.minecraft:fire_resistant",
|
||||
"title": "Fire Resistant",
|
||||
"description": "Determines whether an item is immune to burning when dropped in fire or lava",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
15
source/behavior/items/format/components/swing_duration.json
Normal file
15
source/behavior/items/format/components/swing_duration.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.items.minecraft:swing_duration",
|
||||
"title": "Swing Duration",
|
||||
"description": "Duration, in seconds, of the item's swing animation played when mining or attacking. Affects visuals only and does not impact attack frequency or other gameplay mechanics.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"value": {
|
||||
"description": "Duration, in seconds, of the item's swing animation played when mining or attacking. Affects visuals only and does not impact attack frequency or other gameplay mechanics.",
|
||||
"minimum": 0,
|
||||
"type": "number",
|
||||
"default": 0.3
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -17,6 +17,12 @@
|
||||
"description": "How long the item takes to use in seconds.",
|
||||
"type": "number",
|
||||
"minimum": 0
|
||||
},
|
||||
"emit_vibrations": {
|
||||
"title": "Emit Vibrations",
|
||||
"description": "Whether vibrations are emitted when the item starts or stops being used.",
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -90,6 +90,7 @@
|
||||
"minecraft:storage_item": { "$ref": "./components/storage_item.json" },
|
||||
"minecraft:storage_weight_limit": { "$ref": "./components/storage_weight_limit.json" },
|
||||
"minecraft:storage_weight_modifier": { "$ref": "./components/storage_weight_modifier.json" },
|
||||
"minecraft:swing_duration": { "$ref": "./components/swing_duration.json" },
|
||||
"minecraft:tags": { "$ref": "./components/tags.json" },
|
||||
"minecraft:throwable": { "$ref": "./components/throwable.json" },
|
||||
"minecraft:use_animation": { "$ref": "./components/use_animation.json" },
|
||||
|
||||
Reference in New Issue
Block a user