Merge pull request #65 from ChibiMango/main

edited some errors
This commit is contained in:
Daan Verstraten
2022-07-20 21:32:14 +02:00
committed by GitHub
3 changed files with 22 additions and 50 deletions

View File

@@ -75,12 +75,6 @@
"default": 1.0,
"description": "Multiplier for walking speed. 1.0 means keep the regular speed, while higher numbers make the walking speed faster."
},
"work_in_rain_tolerance": {
"title": "Work In Rain Tolerance",
"type": "integer",
"default": -1,
"description": "If \"can_work_in_rain\" is false, this is the maximum number of ticks left in the goal where rain will not interrupt the goal"
},
"ignore_visibility": {
"type": "boolean",
"default": false,

View File

@@ -2,32 +2,33 @@
"$id": "blockception.minecraft.behavior.entities.minecraft.angry",
"type": "object",
"title": "Angry",
"description": "Adds a timer for the entity to grow up. It can be accelerated by giving the entity the items it likes as defined by feedItems.",
"description": "Defines the entity's 'angry' state using a timer",
"additionalProperties": false,
"required": [],
"properties": {
"broadcast_anger": {
"title": "Broadcast Anger",
"type": "boolean",
"default": false,
"description": "If true, other entities of the same entity definition within the broadcastRange will also become angry",
"title": "Broadcast Anger"
"description": "If true, other entities of the same entity definition within the broadcastRange will also become angry"
},
"broadcast_filters": {
"title": "Broadcast Filters",
"$ref": "../../filters/filters.json",
"description": "Conditions that make this entry in the list valid",
"title": "Broadcast Filters"
"description": "Conditions that make this entry in the list valid"
},
"filters": {
"$ref": "../../filters/filters.json",
"description": "Filter out mob types that it should not attack while angry (other Piglins)"
},
"broadcast_range": {
"title": "Broadcast Range",
"type": "integer",
"default": 20,
"description": "Distance in blocks within which other entities of the same entity definition will become angry",
"title": "Broadcast Range"
"description": "Distance in blocks within which other entities of the same entity definition will become angry"
},
"broadcast_targets": {
"title": "Broadcast Targets",
"type": "array",
"description": "A list of entity families to broadcast anger to",
"items": {
@@ -36,24 +37,24 @@
"pattern": "^.+$",
"title": "Broadcast Targets"
},
"title": "Broadcast Targets"
},
"calm_event": {
"title": "Calm Event",
"$ref": "../types/event.json",
"description": "Event to run after the number of seconds specified in duration expires (when the entity stops being `angry')",
"title": "Calm Event"
"description": "Event to run after the number of seconds specified in duration expires (when the entity stops being \"angry\")"
},
"angry_sound": {
"title": "Angry Sound",
"type": "string",
"default": "",
"description": "The sound event to play when the mob is angry",
"title": "Angry Sound"
"description": "The sound event to play when the mob is angry"
},
"broadcast_anger_on_attack": {
"title": "Broadcast Anger On Attack",
"type": "boolean",
"default": false,
"description": "If true, other entities of the same entity definition within the broadcastRange will also become angry whenever this mob attacks",
"title": "Broadcast Anger On Attack"
"description": "If true, other entities of the same entity definition within the broadcastRange will also become angry whenever this mob attacks"
},
"broadcast_anger_on_being_attacked": {
"type": "boolean",
@@ -62,16 +63,16 @@
"title": "Broadcast Anger On Being Attacked"
},
"duration": {
"title": "Duration",
"type": "integer",
"default": 25,
"description": "The amount of time in seconds that the entity will be angry",
"title": "Duration"
"description": "The amount of time in seconds that the entity will be angry"
},
"duration_delta": {
"title": "Duration Delta",
"type": "integer",
"default": 0,
"description": "Variance in seconds added to the duration [-delta, delta]",
"title": "Duration Delta"
"description": "Variance in seconds added to the duration [-delta, delta]"
},
"sound_interval": {
"description": "The range of time in seconds to randomly wait before playing the sound again",

View File

@@ -1,31 +1,8 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.block_climber",
"type": "object",
"title": "Block Climber",
"type": "object",
"additionalProperties": false,
"description": "Fires off a specified event when a block in the block list is broken within the sensor range.",
"properties": {
"on_break": {
"title": "On Break",
"type": "array",
"description": "List of blocks to watch for being broken to fire off a specified event. If a block is in multiple lists, multiple events will fire.",
"items": {
"$ref": "../../../../general/block/identifier.json"
}
},
"sensor_radius": {
"title": "Sensor Radius",
"type": "number",
"default": 16.0,
"description": "The maximum radial distance in which a specified block can be detected. The biggest radius is 32.0."
},
"sources": {
"title": "Sources",
"type": "array",
"description": "List of sources that break the block to listen for. If none are specified, all block breaks will be detected.",
"items": {
"$ref": "../../../../general/block/identifier.json"
}
}
}
"description": "Allows the player to detect and manuever on the scaffolding block.",
"properties": {}
}