Refactoring block
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.block_light_absorption",
|
||||
"additionalProperties": false,
|
||||
"type": "integer",
|
||||
"title": "Block Light Absorption 1.17.0",
|
||||
"description": "The amount of light this block will absorb.",
|
||||
"default": 0
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.block_light_emission",
|
||||
"additionalProperties": false,
|
||||
"type": "number",
|
||||
"title": "Block Light Emission 1.17.0",
|
||||
"description": "The amount of light this block will emit in a range [0.0, 1.0].",
|
||||
"minimum": 0,
|
||||
"maximum": 1,
|
||||
"default": 0.0
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.breakonpush",
|
||||
"additionalProperties": false,
|
||||
"type": "boolean",
|
||||
"title": "Break On Push 1.17.0",
|
||||
"description": "When pushed by a piston the block breaks."
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.breathability",
|
||||
"additionalProperties": false,
|
||||
"type": "string",
|
||||
"title": "Breathability 1.17.0",
|
||||
"description": "Property describing the breathability of the block, and whether it's treated as a solid block or a block of air",
|
||||
"enum": ["solid", "air"],
|
||||
"default": "solid"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.creative_category",
|
||||
"additionalProperties": false,
|
||||
"type": "boolean",
|
||||
"title": "Creative Category 1.17.0",
|
||||
"description": "Specifies the creative group for the block."
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.destroy_time",
|
||||
"additionalProperties": false,
|
||||
"type": "number",
|
||||
"title": "Destroy Time 1.17.0",
|
||||
"description": "Sets the destroy time property for the block. Greater numbers result in greater mining times. Time is measured in seconds with base equipment.",
|
||||
"default": 0.0
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.display_name",
|
||||
"additionalProperties": false,
|
||||
"type": "string",
|
||||
"title": "Display Name 1.17.0",
|
||||
"description": "Specifies the language file key that maps to what text will be displayed when you hover over the block."
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.entity_collision",
|
||||
"title": "Entity Collision 1.17.0",
|
||||
"description": "Can only be set to false or an object, it disables the collision of the block with entities.",
|
||||
"oneOf": [
|
||||
{ "type": "boolean", "const": false },
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"origin": {
|
||||
"type": "array",
|
||||
"title": "Origin",
|
||||
"description": "Minimal position Bounds of the collision box",
|
||||
"default": [-8.0, 0.0, -8.0],
|
||||
"items": [
|
||||
{ "type": "number", "title": "X", "description": "The x offset" },
|
||||
{ "type": "number", "title": "Y", "description": "The y offset" },
|
||||
{ "type": "number", "title": "Z", "description": "The z offset" }
|
||||
]
|
||||
},
|
||||
"size": {
|
||||
"type": "array",
|
||||
"title": "Size",
|
||||
"description": "Size of each side of the box of the component",
|
||||
"default": [16.0, 16.0, 16.0],
|
||||
"items": [
|
||||
{ "type": "number", "title": "X", "description": "The x size" },
|
||||
{ "type": "number", "title": "Y", "description": "The y size" },
|
||||
{ "type": "number", "title": "Z", "description": "The z size" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.explosion_resistance",
|
||||
"additionalProperties": false,
|
||||
"type": "number",
|
||||
"title": "Explosion Resistance 1.17.0",
|
||||
"description": "Sets the explosion resistance for this block.",
|
||||
"default": 0.0
|
||||
}
|
||||
22
source/behavior/blocks/format/components/flammable.json
Normal file
22
source/behavior/blocks/format/components/flammable.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.flammable",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Flammable 1.17.0",
|
||||
"description": "Describes the flammable properties for this block.",
|
||||
"additionalItems": false,
|
||||
"properties": {
|
||||
"burn_odds": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "How likely the block will be destroyed by flames when on fire. Value must be greater than or equal to 0.",
|
||||
"title": "Burn Odds"
|
||||
},
|
||||
"flame_odds": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "How likely the block will catch flame when next to a fire. Value must be greater than or equal to 0.",
|
||||
"title": "Flame Odds"
|
||||
}
|
||||
}
|
||||
}
|
||||
8
source/behavior/blocks/format/components/friction.json
Normal file
8
source/behavior/blocks/format/components/friction.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.friction",
|
||||
"additionalProperties": false,
|
||||
"type": "number",
|
||||
"title": "Friction 1.17.0",
|
||||
"description": "Property describing the friction for this block. Friction effects an entities movements when it walks on the block.",
|
||||
"default": 0.1
|
||||
}
|
||||
8
source/behavior/blocks/format/components/geometry.json
Normal file
8
source/behavior/blocks/format/components/geometry.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.geometry",
|
||||
"additionalProperties": false,
|
||||
"type": "string",
|
||||
"title": "Geometry 1.17.0",
|
||||
"description": "The geometry description identifier to use, this identifier must match an existing geometry identifier in any of the currently loaded resource packs.",
|
||||
"pattern": "^geometry\\.[a-zA-Z0-9_\\-\\.]+$"
|
||||
}
|
||||
7
source/behavior/blocks/format/components/immovable.json
Normal file
7
source/behavior/blocks/format/components/immovable.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.immovable",
|
||||
"additionalProperties": false,
|
||||
"type": "boolean",
|
||||
"title": "Immovable 1.17.0",
|
||||
"description": "An Immovable block cannot be pushed by pistons"
|
||||
}
|
||||
8
source/behavior/blocks/format/components/loot.json
Normal file
8
source/behavior/blocks/format/components/loot.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.loot",
|
||||
"additionalProperties": false,
|
||||
"type": "string",
|
||||
"title": "Loot 1.17.0",
|
||||
"description": "The path to the loot table, relative to the behavior pack.",
|
||||
"pattern": "loot_tables/.*\\.json$"
|
||||
}
|
||||
9
source/behavior/blocks/format/components/map_color.json
Normal file
9
source/behavior/blocks/format/components/map_color.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.map_color",
|
||||
"additionalProperties": false,
|
||||
"type": "string",
|
||||
"title": "Map Color 1.17.0",
|
||||
"description": "A color represented as a hex value. This will be the color rendered to a map.",
|
||||
"format": "color-hex",
|
||||
"examples": ["#FFFFFF"]
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.material_instances",
|
||||
"type": "object",
|
||||
"title": "Material Instances 1.17.0",
|
||||
"description": "Maps face or material_instance names in a geometry file to an actual material instance. Material instance can either be a full material instance or a name to another already defined instance",
|
||||
"definitions": {
|
||||
"material_instance": {
|
||||
"title": "Material Instance",
|
||||
"description": "A single material instance",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"ambient_occlusion": {
|
||||
"title": "Ambient Occlusion",
|
||||
"type": "boolean",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
},
|
||||
"face_dimming": {
|
||||
"title": "Face Dimming",
|
||||
"type": "boolean",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
},
|
||||
"render_method": {
|
||||
"type": "string",
|
||||
"title": "Render Method",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"enum": ["blend", "opaque", "alpha_test"]
|
||||
},
|
||||
"texture": { "type": "string", "title": "Texture", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
|
||||
}
|
||||
}
|
||||
},
|
||||
"properties": { "*": { "$ref": "#/definitions/material_instance" } },
|
||||
"additionalProperties": { "$ref": "#/definitions/material_instance" }
|
||||
}
|
||||
17
source/behavior/blocks/format/components/on_fall_on.json
Normal file
17
source/behavior/blocks/format/components/on_fall_on.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.on_fall_on",
|
||||
"type": "object",
|
||||
"title": "On Fall On",
|
||||
"description": "Describes event for this block.",
|
||||
"properties": {
|
||||
"condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" },
|
||||
"event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" },
|
||||
"min_fall_distance": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "The minimum distance in blocks that an actor needs to fall to trigger this event.",
|
||||
"title": "Minimum Fall Distance"
|
||||
},
|
||||
"target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" }
|
||||
}
|
||||
}
|
||||
11
source/behavior/blocks/format/components/on_interact.json
Normal file
11
source/behavior/blocks/format/components/on_interact.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.on_interact",
|
||||
"type": "object",
|
||||
"title": "On Fall On",
|
||||
"description": "Describes event for this block.",
|
||||
"properties": {
|
||||
"condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" },
|
||||
"event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" },
|
||||
"target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" }
|
||||
}
|
||||
}
|
||||
11
source/behavior/blocks/format/components/on_placed.json
Normal file
11
source/behavior/blocks/format/components/on_placed.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.on_placed",
|
||||
"type": "object",
|
||||
"title": "On Placed 1.17.0",
|
||||
"description": "Describes event for this block.",
|
||||
"properties": {
|
||||
"condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" },
|
||||
"event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" },
|
||||
"target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.on_player_destroyed",
|
||||
"type": "object",
|
||||
"title": "On Player Destroyed 1.17.0",
|
||||
"description": "Describes event for this block.",
|
||||
"properties": {
|
||||
"condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" },
|
||||
"event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" },
|
||||
"target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.on_player_placing",
|
||||
"type": "object",
|
||||
"title": "On Player Placing 1.17.0",
|
||||
"description": "Describes event for this block.",
|
||||
"properties": {
|
||||
"condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" },
|
||||
"event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" },
|
||||
"target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" }
|
||||
}
|
||||
}
|
||||
11
source/behavior/blocks/format/components/on_step_off.json
Normal file
11
source/behavior/blocks/format/components/on_step_off.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.on_step_off",
|
||||
"type": "object",
|
||||
"title": "On Step Off 1.17.0",
|
||||
"description": "Describes event for this block.",
|
||||
"properties": {
|
||||
"condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" },
|
||||
"event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" },
|
||||
"target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" }
|
||||
}
|
||||
}
|
||||
11
source/behavior/blocks/format/components/on_step_on.json
Normal file
11
source/behavior/blocks/format/components/on_step_on.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.on_step_on",
|
||||
"type": "object",
|
||||
"title": "On Step On 1.17.0",
|
||||
"description": "Describes event for this block.",
|
||||
"properties": {
|
||||
"condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" },
|
||||
"event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" },
|
||||
"target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.onlypistonpush",
|
||||
"type": "boolean",
|
||||
"title": "Only Piston Push 1.17.0",
|
||||
"description": "Blocks with those components won't stick to stickyPistons"
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.part_visibility",
|
||||
"title": "Part Visibility 1.17.0",
|
||||
"description": "Maps bone names in a geometry file to a condition that turns their rendering on/off. The condition should be a Molang query that uses block properties to determine true/falseSupported queries include 'has_block_property', 'block_property', and other queries that can evaluate without knowledge of the block's in-game positional or player affected data.",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"title": "Bone Name",
|
||||
"examples": [{ "root": "query.variant" }],
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
36
source/behavior/blocks/format/components/pick_collision.json
Normal file
36
source/behavior/blocks/format/components/pick_collision.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.pick_collision",
|
||||
"title": "Pick Collision 1.17.0",
|
||||
"description": "Can only be set to false, it disables the collision of the block with entities",
|
||||
"oneOf": [
|
||||
{ "type": "boolean", "const": false },
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"origin": {
|
||||
"type": "array",
|
||||
"title": "Origin",
|
||||
"description": "Minimal position Bounds of the collision box",
|
||||
"default": [-8.0, 0.0, -8.0],
|
||||
"items": [
|
||||
{ "type": "number", "title": "X", "description": "The x offset" },
|
||||
{ "type": "number", "title": "Y", "description": "The y offset" },
|
||||
{ "type": "number", "title": "Z", "description": "The z offset" }
|
||||
]
|
||||
},
|
||||
"size": {
|
||||
"type": "array",
|
||||
"title": "Size",
|
||||
"description": "Size of each side of the box of the component",
|
||||
"default": [16.0, 16.0, 16.0],
|
||||
"items": [
|
||||
{ "type": "number", "title": "X", "description": "The x size" },
|
||||
{ "type": "number", "title": "Y", "description": "The y size" },
|
||||
{ "type": "number", "title": "Z", "description": "The z size" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.placement_filter",
|
||||
"title": "Placement Filter 1.17.0",
|
||||
"description": "Sets rules for under what conditions the block can be placed/survive",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"conditions": {
|
||||
"title": "Conditions",
|
||||
"description": "List of conditions where the block can be placed/survive",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"title": "Condition",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"properties": {
|
||||
"allowed_faces": {
|
||||
"title": "Allowed Faces",
|
||||
"description": "List of any of the following strings: up, down, north, south, east, west, side, all",
|
||||
"type": "array",
|
||||
"items": { "type": "string", "enum": ["up", "down", "north", "south", "east", "west", "side", "all"] }
|
||||
},
|
||||
"block_filter": {
|
||||
"title": "Block Filter",
|
||||
"description": "List of blocks (can use tags to specify them) that this block can be placed against in the allowed_faces direction",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"title": "Block Identifier",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.preventsjumping",
|
||||
"title": "Prevents Jumping 1.17.0",
|
||||
"description": "This component makes it so actors can't jump when walking on this block",
|
||||
"type": "boolean"
|
||||
}
|
||||
38
source/behavior/blocks/format/components/random_ticking.json
Normal file
38
source/behavior/blocks/format/components/random_ticking.json
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.random_ticking",
|
||||
"title": "Random Ticking 1.17.0",
|
||||
"description": "Describes the component that will trigger an even at a regular interval between two values",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"on_tick": {
|
||||
"title": "On Tick",
|
||||
"description": "Describes the component that will trigger an even at a regular interval between two values",
|
||||
"type": "string",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"condition": {
|
||||
"title": "Condition",
|
||||
"type": "string",
|
||||
"default": "1",
|
||||
"description": "The condition of event to be executed on the block. Molang"
|
||||
},
|
||||
"event": { "title": "Event", "type": "string", "default": "set_block_property", "description": "The type of event executed on the block." },
|
||||
"range": { "title": "Range", "type": "array", "items": [{ "type": "integer" }, { "type": "integer" }] },
|
||||
"target": {
|
||||
"title": "Target",
|
||||
"description": "The target of event executed on the block.",
|
||||
"type": "string",
|
||||
"enum": ["block", "damager", "other", "parent", "player", "self", "target"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"looping": { "type": "boolean", "default": true, "description": "Does the event loop", "title": "Looping" },
|
||||
"range": {
|
||||
"type": "array",
|
||||
"default": [10, 10],
|
||||
"description": "The Range between which the component will trigger his event.",
|
||||
"title": "Range"
|
||||
}
|
||||
}
|
||||
}
|
||||
12
source/behavior/blocks/format/components/rotation.json
Normal file
12
source/behavior/blocks/format/components/rotation.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.rotation",
|
||||
"title": "Rotation 1.17.0",
|
||||
"description": "This is the block's rotation around the center of the cube in degrees. The rotation order is x-y-z.",
|
||||
"type": "array",
|
||||
"additionalProperties": false,
|
||||
"items": [
|
||||
{ "type": "number", "title": "X" },
|
||||
{ "type": "number", "title": "Y" },
|
||||
{ "type": "number", "title": "Z" }
|
||||
]
|
||||
}
|
||||
29
source/behavior/blocks/format/components/ticking.json
Normal file
29
source/behavior/blocks/format/components/ticking.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.ticking",
|
||||
"title": "Ticking 1.17.0",
|
||||
"description": "Describes the component that will trigger an even at a regular interval between two values",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"looping": { "type": "boolean", "title": "Looping", "description": "Does the event loop" },
|
||||
"range": {
|
||||
"title": "Range",
|
||||
"description": "The Range between which the component will trigger his event.",
|
||||
"type": "array",
|
||||
"items": [{ "type": "integer" }, { "type": "integer" }]
|
||||
},
|
||||
"on_tick": {
|
||||
"type": "object",
|
||||
"title": "On Tick",
|
||||
"description": "Describes the component that will trigger an even at a regular interval between two values",
|
||||
"condition": { "title": "Condition", "type": "string", "description": "The condition of event to be executed on the block. Molang" },
|
||||
"event": { "title": "Event", "type": "string", "description": "The type of event executed on the block." },
|
||||
"target": {
|
||||
"title": "Target",
|
||||
"description": "The target of event executed on the block.",
|
||||
"type": "string",
|
||||
"enum": ["block", "damager", "other", "parent", "player", "self", "target"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
6
source/behavior/blocks/format/components/unit_cube.json
Normal file
6
source/behavior/blocks/format/components/unit_cube.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.unit_cube",
|
||||
"title": "Unit Cube 1.17.0",
|
||||
"description": "Specifies that a unit cube is to be used with tessellation.",
|
||||
"type": "object"
|
||||
}
|
||||
7
source/behavior/blocks/format/components/unwalkable.json
Normal file
7
source/behavior/blocks/format/components/unwalkable.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.unwalkable",
|
||||
"title": "Unwalkable 1.17.0",
|
||||
"description": "Sets the block as unwalkable. Mobs would not attempt to path over top of it when the value is set to true.",
|
||||
"default": false,
|
||||
"type": "boolean"
|
||||
}
|
||||
Reference in New Issue
Block a user