This commit is contained in:
DaanV2
2021-06-05 21:54:49 +02:00
parent 7fa54de89d
commit a0e4135b59
56 changed files with 717 additions and 147 deletions

View File

@@ -6,12 +6,12 @@
"additionalProperties": false,
"properties": {
"creation_expression": {
"$ref": "../../../../molang/1.8.0/string.json",
"$ref": "../../../../molang/string.json",
"description": "This is run once at emitter startup.",
"title": "Creation Expression"
},
"per_update_expression": {
"$ref": "../../../../molang/1.8.0/string.json",
"$ref": "../../../../molang/string.json",
"description": "This is run once per emitter update.",
"title": "Per Update Expression"
}

View File

@@ -6,12 +6,12 @@
"additionalProperties": false,
"properties": {
"activation_expression": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "When the expression is non-zero, the emitter will emit particles. Evaluated every frame",
"title": "Activation Expression"
},
"expiration_expression": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "Emitter will expire if the expression is non-zero. Evaluated every frame",
"title": "Expiration Expression"
}

View File

@@ -5,12 +5,12 @@
"additionalProperties": false,
"properties": {
"active_time": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "Emitter will emit particles for this time per loop evaluated once per particle emitter loop",
"title": "Active Time"
},
"sleep_time": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "Emitter will pause emitting particles for this time per loop evaluated once per particle emitter loop",
"title": "Sleep Time"
}

View File

@@ -5,7 +5,7 @@
"additionalProperties": false,
"properties": {
"active_time": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "How long the particles emit for evaluated once",
"title": "Active Time"
}

View File

@@ -5,7 +5,7 @@
"additionalProperties": false,
"properties": {
"num_particles": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "This many particles are emitted at once evaluated once per particle emitter loop.",
"title": "Num Particles",
"default": 10

View File

@@ -5,7 +5,7 @@
"additionalProperties": false,
"properties": {
"max_particles": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "Evaluated once per particle emitted",
"title": "Max Particles"
}

View File

@@ -5,12 +5,12 @@
"additionalProperties": false,
"properties": {
"max_particles": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "Maximum number of particles that can be active at once for this emitter, evaluated once per particle emitter loop",
"title": "Max Particles"
},
"spawn_rate": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "How often a particle is emitted, in particles/sec evaluated once per particle emitted",
"title": "Spawn Rate"
}

View File

@@ -10,16 +10,16 @@
"default": "outwards",
"anyOf": [
{ "type": "string", "enum": ["inwards", "outwards"] },
{ "type": "array", "minItems": 3, "maxItems": 3, "items": { "$ref": "../../../../molang/1.8.0/number.json" } }
{ "type": "array", "minItems": 3, "maxItems": 3, "items": { "$ref": "../../../../molang/number.json" } }
]
},
"radius": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: radius", "title": "Radius" },
"radius": { "$ref": "../../../../molang/number.json", "description": "TODO description: radius", "title": "Radius" },
"offset": {
"type": "array",
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "TODO description: offset",
"title": "Offset"
},
@@ -31,7 +31,7 @@
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "TODO description: half dimensions",
"title": "Half Dimensions"
},

View File

@@ -9,7 +9,7 @@
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "TODO description: direction",
"title": "Direction"
},
@@ -21,7 +21,7 @@
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "TODO description: offset",
"title": "Offset"
},

View File

@@ -7,18 +7,18 @@
"direction": {
"anyOf": [
{ "type": "string", "enum": ["inwards", "outwards"] },
{ "type": "array", "minItems": 3, "maxItems": 3, "items": { "$ref": "../../../../molang/1.8.0/number.json" } }
{ "type": "array", "minItems": 3, "maxItems": 3, "items": { "$ref": "../../../../molang/number.json" } }
],
"description": "TODO description: direction",
"title": "Direction"
},
"radius": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: radius", "title": "Radius" },
"radius": { "$ref": "../../../../molang/number.json", "description": "TODO description: radius", "title": "Radius" },
"offset": {
"type": "array",
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "TODO description: offset",
"title": "Offset"
},
@@ -34,9 +34,9 @@
{
"type": "array",
"items": [
{ "$ref": "../../../../molang/1.8.0/number.json" },
{ "$ref": "../../../../molang/1.8.0/number.json" },
{ "$ref": "../../../../molang/1.8.0/number.json" }
{ "$ref": "../../../../molang/number.json" },
{ "$ref": "../../../../molang/number.json" },
{ "$ref": "../../../../molang/number.json" }
]
}
]

View File

@@ -12,7 +12,7 @@
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "TODO description: Todo",
"title": "Todo"
},
@@ -28,7 +28,7 @@
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "TODO description: offset",
"title": "Offset"
},

View File

@@ -9,7 +9,7 @@
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "TODO description: direction",
"title": "Direction"
},
@@ -21,7 +21,7 @@
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "TODO description: offset",
"title": "Offset"
},

View File

@@ -12,7 +12,7 @@
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "TODO description: Todo",
"title": "Todo"
},
@@ -28,14 +28,14 @@
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "TODO description: offset",
"title": "Offset"
},
"description": "TODO description",
"title": "TODO Title"
},
"radius": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: radius", "title": "Radius" },
"radius": { "$ref": "../../../../molang/number.json", "description": "TODO description: radius", "title": "Radius" },
"surface_only": { "type": "boolean", "description": "TODO description: surface only", "title": "Surface Only" }
},
"description": "TODO description: "

View File

@@ -8,7 +8,7 @@
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: size", "title": "Size" },
"items": { "$ref": "../../../../molang/number.json", "description": "TODO description: size", "title": "Size" },
"description": "TODO description: size",
"title": "Size"
},
@@ -33,7 +33,7 @@
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: base UV", "title": "Base U V" },
"items": { "$ref": "../../../../molang/number.json", "description": "TODO description: base UV", "title": "Base U V" },
"description": "TODO description: base UV",
"title": "Base U V"
},
@@ -41,7 +41,7 @@
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: size UV", "title": "Size U V" },
"items": { "$ref": "../../../../molang/number.json", "description": "TODO description: size UV", "title": "Size U V" },
"description": "TODO description: size UV",
"title": "Size U V"
},
@@ -49,16 +49,16 @@
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: step UV", "title": "Step U V" },
"items": { "$ref": "../../../../molang/number.json", "description": "TODO description: step UV", "title": "Step U V" },
"description": "TODO description: step UV",
"title": "Step U V"
},
"frames_per_second": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "TODO description: frames per second",
"title": "Frames Per Second"
},
"max_frame": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: max frame", "title": "Max Frame" },
"max_frame": { "$ref": "../../../../molang/number.json", "description": "TODO description: max frame", "title": "Max Frame" },
"stretch_to_lifetime": { "type": "boolean", "description": "TODO description: stretch to lifetime", "title": "Stretch To Lifetime" },
"loop": { "type": "boolean", "description": "TODO description: loop", "title": "Loop" }
},
@@ -69,7 +69,7 @@
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: uv", "title": "Uv" },
"items": { "$ref": "../../../../molang/number.json", "description": "TODO description: uv", "title": "Uv" },
"description": "TODO description: uv",
"title": "Uv"
},
@@ -77,7 +77,7 @@
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: uv size", "title": "Uv Size" },
"items": { "$ref": "../../../../molang/number.json", "description": "TODO description: uv size", "title": "Uv Size" },
"description": "TODO description: uv size",
"title": "Uv Size"
}

View File

@@ -8,7 +8,7 @@
"color": {
"title": "Color",
"anyOf": [
{ "type": "array", "description": "Direct color field", "items": { "$ref": "../../../../molang/1.8.0/number.json" } },
{ "type": "array", "description": "Direct color field", "items": { "$ref": "../../../../molang/number.json" } },
{ "type": "string", "format": "color-hex", "description": "Direct color field" },
{
"description": "Interpolation based color",
@@ -45,7 +45,7 @@
}
]
},
"interpolant": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: interpolant", "title": "Interpolant" }
"interpolant": { "$ref": "../../../../molang/number.json", "description": "TODO description: interpolant", "title": "Interpolant" }
}
}
],

View File

@@ -3,10 +3,10 @@
"title": "Particle Initial Speed Component For 1.10.0",
"additionalProperties": false,
"anyOf": [
{ "$ref": "../../../../molang/1.8.0/number.json" },
{ "$ref": "../../../../molang/number.json" },
{
"type": "array",
"items": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description", "title": "TODO Title" },
"items": { "$ref": "../../../../molang/number.json", "description": "TODO description", "title": "TODO Title" },
"minItems": 3,
"maxItems": 3,
"description": "TODO description",

View File

@@ -5,9 +5,9 @@
"additionalProperties": false,
"type": "object",
"properties": {
"rotation": { "$ref": "../../../../molang/1.8.0/number.json", "description": "Specifies the initial rotation in degrees", "title": "Rotation" },
"rotation": { "$ref": "../../../../molang/number.json", "description": "Specifies the initial rotation in degrees", "title": "Rotation" },
"rotation_rate": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "Specifies the spin rate in degrees/second",
"title": "Rotation Rate"
}

View File

@@ -5,12 +5,12 @@
"additionalProperties": false,
"properties": {
"per_update_expression": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "TODO description: per update expression",
"title": "Per Update Expression"
},
"per_render_expression": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "TODO description: per render expression",
"title": "Per Render Expression"
}

View File

@@ -2,6 +2,6 @@
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_kill_plane",
"type": "array",
"title": "Particle Kill Plane Component For 1.10.0",
"items": { "minItems": 4, "maxItems": 4, "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description", "title": "TODO Title" },
"items": { "minItems": 4, "maxItems": 4, "$ref": "../../../../molang/number.json", "description": "TODO description", "title": "TODO Title" },
"description": "TODO description"
}

View File

@@ -8,10 +8,10 @@
"expiration_expression": {
"title": "Expiration Expression",
"description": "This expression makes the particle expire when true (non-zero), The float/expr is evaluated once per particle, evaluated every frame",
"$ref": "../../../../molang/1.8.0/number.json"
"$ref": "../../../../molang/number.json"
},
"max_lifetime": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "Alternate way to express lifetime, particle will expire after this much time, evaluated once",
"title": "Max Lifetime"
}

View File

@@ -11,7 +11,7 @@
"title": "Coefficient Of Restitution"
},
"collision_radius": { "type": "number", "description": "TODO description: collision radius", "title": "Collision Radius" },
"enabled": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: enabled", "title": "Enabled" },
"enabled": { "$ref": "../../../../molang/number.json", "description": "TODO description: enabled", "title": "Enabled" },
"expire_on_contact": { "type": "boolean", "description": "TODO description: expire on contact", "title": "Expire On Contact" },
"events": {
"type": "array",

View File

@@ -10,24 +10,24 @@
"default": [0, 0, 0],
"minItems": 3,
"maxItems": 3,
"items": { "$ref": "../../../../molang/1.8.0/number.json" },
"items": { "$ref": "../../../../molang/number.json" },
"description": "The linear acceleration applied to the particle. Units are blocks/sec/sec",
"title": "Linear Acceleration"
},
"linear_drag_coefficient": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "Using the equation: 'acceleration = -linear_drag_coefficient*velocity' where velocity is the current direction times speed. Think of this as air-drag. The higher the value, the more drag evaluated every frame",
"default": 0,
"title": "Linear Drag Coefficient"
},
"rotation_acceleration": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "Acceleration applies to the rotation speed of the particle",
"title": "Rotation Acceleration",
"default": 0
},
"rotation_drag_coefficient": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "Drag applied to rotation",
"title": "Rotation Drag Coefficient",
"default": 0

View File

@@ -8,11 +8,11 @@
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: relative position", "title": "Relative Position" },
"items": { "$ref": "../../../../molang/number.json", "description": "TODO description: relative position", "title": "Relative Position" },
"description": "TODO description: relative position",
"title": "Relative Position"
},
"rotation": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: rotation", "title": "Rotation" }
"rotation": { "$ref": "../../../../molang/number.json", "description": "TODO description: rotation", "title": "Rotation" }
},
"description": "TODO description: "
}