Commit Graph

1734 Commits

Author SHA1 Message Date
Legopitstop
b2f33a0ca9 Replaced surface_parameters with surface_builder (#362) 2025-08-08 10:19:57 +02:00
Smell of curry
cd9e499382 Update tick.json to have actual items typed (#360)
* Update tick.json to have actual items typed

* Update source/behavior/blocks/format/components/tick.json

---------

Co-authored-by: Daan Verstraten <daanverstraten@hotmail.com>
2025-08-01 22:02:58 +02:00
QuazChick
0967f0790f Correct collision/selection box schemas (#359)
* Corrected collision box schema

* Corrected selection box schema
2025-07-09 11:35:04 +02:00
BrodBlox09
108d85e9ee Update JSON UI Schema (#357)
* Add permutations description

* Adjust grammar

* Update description of "num_mip_levels"

* Update "atlas_tile" and "blend_frames" property

Some properties had completely incorrect titles as well, those were fixed in this commit too.

* Update JSON UI schema

* Update item schema

* Update terrain_texture schema

* Update animations schema

* Update go_home.json

* Update textures schemas

* Update bindings schema

* Add some missing JSON UI from vanilla controls

And modify some that incorrectly make vanilla JSON UI wrong.

* Update modifications property

Modifications now understand the difference between element and array operations, and requires different things for different operations.

* Update vec2 equation definition

Made the regex pattern much more robust and able to handle niche units like %sm, as well as the add and subtract operators

* Add to enums

There were several enum values that were valid in the vanilla JSON UI but not listed in the schemas. This has now been amended.

* Add new general types

Animation and texture file path types

* Add a few missing vanilla properties

At this point pretty much the only thing left to do is add all of the rest of the vanilla properties, there are  196 "problems" left in the vanilla JSON UI in the 1.21.80.3 Minecraft version and 189 of which are missing properties. That is not to say there are 189 properties to add, there are only 65 that are missing. Those missing properties are, in order of most to least commonly referenced in the vanilla JSON UI files from the vanilla 1.21.80.3 Minecraft resource pack:

[
  {
    "propertyName": "use_selected_skin",
    "count": 16
  },
  {
    "propertyName": "clip_state_change_event",
    "count": 14
  },
  {
    "propertyName": "gesture_tracking_button",
    "count": 11
  },
  {
    "propertyName": "use_priority",
    "count": 11
  },
  {
    "propertyName": "rotation",
    "count": 9
  },
  {
    "propertyName": "use_skin_gui_scale",
    "count": 9
  },
  {
    "propertyName": "always_handle_controller_direction",
    "count": 7
  },
  {
    "propertyName": "starting_rotation",
    "count": 7
  },
  {
    "propertyName": "focus_container_custom_left",
    "count": 7
  },
  {
    "propertyName": "text_tts",
    "count": 6
  },
  {
    "propertyName": "enable_scissor_test",
    "count": 6
  },
  {
    "propertyName": "tts_skip_message",
    "count": 5
  },
  {
    "propertyName": "should_be_skipped_during_automation",
    "count": 4
  },
  {
    "propertyName": "notify_on_ellipses",
    "count": 4
  },
  {
    "propertyName": "tiled_scale",
    "count": 3
  },
  {
    "propertyName": "debug",
    "count": 3
  },
  {
    "propertyName": "tts_play_on_unchanged_focus_control",
    "count": 3
  },
  {
    "propertyName": "focus_container_custom_right",
    "count": 3
  },
  {
    "propertyName": "always_accepts_input",
    "count": 2
  },
  {
    "propertyName": "use_player_paperdoll",
    "count": 2
  },
  {
    "propertyName": "reset_event",
    "count": 2
  },
  {
    "propertyName": "size",
    "count": 2
  },
  {
    "propertyName": "consume_event",
    "count": 2
  },
  {
    "propertyName": "inner_radius",
    "count": 2
  },
  {
    "propertyName": "outer_radius",
    "count": 2
  },
  {
    "propertyName": "state_controls",
    "count": 2
  },
  {
    "propertyName": "resettable",
    "count": 2
  },
  {
    "propertyName": "focus_container_custom_up",
    "count": 2
  },
  {
    "propertyName": "inline_modal",
    "count": 2
  },
  {
    "propertyName": "rotation_x",
    "count": 2
  },
  {
    "propertyName": "rotation_y",
    "count": 2
  },
  {
    "propertyName": "activated",
    "count": 2
  },
  {
    "propertyName": "always_listening",
    "count": 1
  },
  {
    "propertyName": "grid_fill_direction",
    "count": 1
  },
  {
    "propertyName": "end_event",
    "count": 1
  },
  {
    "propertyName": "text_color",
    "count": 1
  },
  {
    "propertyName": "background_color",
    "count": 1
  },
  {
    "propertyName": "load_screen_immediately",
    "count": 1
  },
  {
    "propertyName": "gamepad_cursor_deflection_mode",
    "count": 1
  },
  {
    "propertyName": "renderer_properties",
    "count": 1
  },
  {
    "propertyName": "color_corrected",
    "count": 1
  },
  {
    "propertyName": "notify_ellipses_sibling",
    "count": 1
  },
  {
    "propertyName": "target_cycler_to_compare",
    "count": 1
  },
  {
    "propertyName": "grid_item_when_current",
    "count": 1
  },
  {
    "propertyName": "grid_item_when_not_current",
    "count": 1
  },
  {
    "propertyName": "cycler_manager_size_control_target",
    "count": 1
  },
  {
    "propertyName": "slice_count",
    "count": 1
  },
  {
    "propertyName": "select_button_name",
    "count": 1
  },
  {
    "propertyName": "hover_button_name",
    "count": 1
  },
  {
    "propertyName": "analog_button_name",
    "count": 1
  },
  {
    "propertyName": "iterate_left_button_name",
    "count": 1
  },
  {
    "propertyName": "iterate_right_button_name",
    "count": 1
  },
  {
    "propertyName": "initial_button_slice",
    "count": 1
  },
  {
    "propertyName": "gamepad_deflection_mode",
    "count": 1
  },
  {
    "propertyName": "looping",
    "count": 1
  },
  {
    "propertyName": "wait_until_rendered_to_play",
    "count": 1
  },
  {
    "propertyName": "clip_ratio",
    "count": 1
  },
  {
    "propertyName": "grayscale",
    "count": 1
  },
  {
    "propertyName": "tts_skip_children",
    "count": 1
  },
  {
    "propertyName": "$main_content_fo",
    "count": 1
  },
  {
    "propertyName": "selected",
    "count": 1
  },
  {
    "propertyName": "can_be_deselected",
    "count": 1
  },
  {
    "propertyName": "ignoreCollectionItem",
    "count": 1
  },
  {
    "propertyName": "factory_variables",
    "count": 1
  },
  {
    "propertyName": "start_event",
    "count": 1
  }
]

* Fix PR Error

Until issue https://github.com/Blockception/Minecraft-bedrock-json-schemas/issues/358 is resolved $refs may not refer to JSON definitions of other files.
2025-06-29 20:03:09 +02:00
BrodBlox09
4e6f730320 Fill in some undocumented entries (#356)
* Add permutations description

* Adjust grammar

* Update description of "num_mip_levels"

* Update "atlas_tile" and "blend_frames" property

Some properties had completely incorrect titles as well, those were fixed in this commit too.

* Update JSON UI schema

* Update item schema

* Update terrain_texture schema

* Update animations schema

* Update go_home.json

* Update textures schemas
2025-06-25 20:35:53 +02:00
Piotr Brzozowski
c5da42a423 fix: remove incorrect type definitions in features (#353) 2025-06-10 12:03:17 +02:00
Xterionix
b8bc676bd0 - Added is_vehicle_family filter (#352) 2025-06-03 12:57:17 +02:00
DaanV2
c7893c0d90 fix 2025-06-02 22:41:11 +02:00
DaanV2
b7f0501fb1 fixup 2025-06-02 22:10:28 +02:00
DaanV2
b3b377b2ef last upgrade? 2025-06-02 22:07:56 +02:00
DaanV2
efad46fc70 maybe this will work 2025-06-02 22:03:14 +02:00
DaanV2
9c1f4edc1f getting reall sick of this bullshit 2025-06-02 21:57:54 +02:00
DaanV2
91577edb85 upgrading docker image 2025-06-02 21:49:18 +02:00
DaanV2
099d67f1ee upgrading version 2025-06-02 21:33:03 +02:00
DaanV2
8353e520cc fixing version 2025-06-02 21:20:01 +02:00
Daan Verstraten
b957fc93e8 chore: upgrading to v3 for json compression (#351)
* chore: upgrading to v3 for json compression

* adding local build step

* adding test for compress

* auto: generate
2025-06-02 21:17:32 +02:00
DaanV2
ca6239c35c fix: sorted and moved lightning from bp to rp 2025-06-02 18:58:42 +02:00
Xterionix
caef874bf8 1.21.90 (#350)
* - Added VV

* - Updated block culling

* - Added remove_in_peaceful

* - Added leashable_to

* - Updated leashable

* - Added body_rotation_always_follows_head

* - Added particle count to destruction_particles

* - Added uv_lock

* - Added liquid_settings to jigsaws

* - Added missing jigsaw fields

* - Added random_offset

* - Updated color grading description for one field

* - Added damaged_by_entity loot table condition

* - Added y offset to interact > spawn_items

* - Added is_riding_self filter

* - Added hides_player_location to wearable

* - Added henyey_greenstein_g to fog

* - Added block component movable

* - Removed internal markers for VV client biome components

* - Removed experimental marker for air controlled
2025-06-02 14:48:10 +02:00
DaanV2
6c6420b96f 1.21.73-0 2025-05-05 19:45:21 +02:00
DaanV2
698017948b adding workflow merge 2025-05-05 19:44:25 +02:00
Xterionix
64e084d95b - Changed pattern to not require start to be "mystructure" (#348) 2025-05-03 20:16:40 +02:00
Xterionix
ba22100784 Misc improvements (#347)
* - Allow for items without namespaces in loot tables

* - Made rolls in loot table required

* - Account for match tag conditions by not requiring item and count

* - Allow forward / in feature (and rule) identifers

* - Added pattern for structure names

* - Change atlas > texture_name to const

* - Allow . in texture entries in atlas files

* - Food nutrition can only be ints
2025-05-03 11:15:47 +02:00
Orbi-bot
24c3407e3b auto: generated json schemas 2025-04-30 2025-04-30 08:18:52 +00:00
Legopitstop
299afc41f8 Add uv_rotation to model_entity 1.21.0 (#345) 2025-04-30 10:18:37 +02:00
Orbi-bot
4da712c74d auto: generated json schemas 2025-04-29 2025-04-29 07:02:19 +00:00
Xterionix
ae9e79c04d 1.21.80 (#343)
* - Updated old biome format

* - Added biome tags component

* - Added dismount mode, and rider enter/exit event

* - Made surface_color not required

* - Update float wander goal

* - Update follow mob behavior

* - Added music def field

* - Added camera fields to rideable

* - Add array snippet

* - Updated leashable component with presets

* - Made texture field optional in destruction particles

* - Marked isotropic as stable

* - Moved can_be_stolen back

* - Updated tempt goal

* - Added float tempt behavior

* - Made heightmap project optional

* - Added distance based render methods

* - Marked tint method as stable

* - Added droop item y offset

* - Added has_equipment_tag filter

* - Remove unnused test.json

* - Allow for custom components

* - Add new block culling support

* - Removed enum for biome tags in support of custom biomes

* - Added replace_biomes component

* - Fix errors
2025-04-29 09:02:06 +02:00
Orbi-bot
9a916b580b auto: generated json schemas 2025-04-07 2025-04-07 08:00:40 +00:00
Piotr Brzozowski
317e935a77 Fix BP entity snippet (#342) 2025-04-07 10:00:26 +02:00
Orbi-bot
9770498284 auto: generated json schemas 2025-04-04 2025-04-04 14:20:41 +00:00
Piotr Brzozowski
b4aacd0bf4 Make first_valid an array (#341) 2025-04-04 16:20:26 +02:00
Orbi-bot
2d24f4f5cd auto: generated json schemas 2025-03-26 2025-03-26 07:58:21 +00:00
Xterionix
94e80d956b Updated float_wander (#340) 2025-03-26 08:58:08 +01:00
Orbi-bot
e10d93d424 auto: generated json schemas 2025-03-23 2025-03-23 16:39:24 +00:00
QuazChick
30a9de7a9b Improve texture set schema (#339)
* Added `metalness_emissive_roughness_subsurface` parameter

* Prevent incompatible parameters from being specified at the same time

* Corrected color array schema

* Improved color schemas

* Require `format_version` to be a supported value

* Require `format_version` and `minecraft:texture_set` to be included

* Sorted parameter definitions

* Prevent UI texture definition schema from being applied to texture sets

* Corrected `format_version` schema
2025-03-23 17:39:12 +01:00
Orbi-bot
c35566e0f4 auto: generated json schemas 2025-03-16 2025-03-16 19:49:13 +00:00
DaanV2
871d32ae49 there might be a collision with other json files 2025-03-16 20:48:57 +01:00
Orbi-bot
83e35ab140 auto: generated json schemas 2025-03-03 2025-03-03 07:44:21 +00:00
Xterionix
c9449c75d6 Updated for 1.21.70 along with other improvements (#337)
* Update vscode-settings.json

* - Updated map color

* - Added replaceable block component

* - Effect durations can be set to infinite now

* - Added support for entity sound variants

* - Fix description for renders_when_invisible entity component

* - Added is_collidable component

* - Updated entity_sensor

* - Added body_rotation_axis_aligned

* - Updated projectile > on_hit

* - Set min and max for collision_box

* - Added locator field to sounds in animation controllers and animations

* - Added new event response

* - Removed peak_factor from mountain_parameters component

* - Added isotropic field to material_instances

* - Added tint field to material_instances

* - Added input_air_controlled entity component

* - Added use_beta_features property to entity.json

* - Added missing match_tool property

* - Added use_home_position_restriction to float_wander goal

* - Added deferred client biome components

* - Added dry_foliage_color client biome component

* - Added destruction_particles

* - Marked biome tinting as experimental

* - Fix property_inheritance under breedable

* - Fix inconsistency with scatter feature

* - Update rideable description

* - Allowed event.add/remove to be strings

* - Added missing property in move_around_target behavior

* - Made features accept block references

* - Allowed repairable to use item descriptors

* - Fix typo
2025-03-03 08:44:05 +01:00
Xterionix
8de19607a3 Update vscode-settings.json (#336) 2025-02-24 08:49:36 +01:00
Orbi-bot
98fda1fd41 auto: generated json schemas 2025-02-13 2025-02-13 13:38:46 +00:00
Xterionix
40569873a8 Updated for 1.21.60 (#334)
* - Add crafting item catalogs
* - Removed experimental warning for item visual
* - Added renders_when_invisible entity component
* - Removed experimental warning for liquid detection
* - Added property inheritance to breedable
* - Added min_looked_at_duration field to look_at component
* - Added combine_parent_colors to breedable
* - Update catalog file schema
* - Split storage item components
* - Added new entity filters
* - Added surface opacity to water appearance biome component
* - Remove actor_id loot table example as it is no longer the standard
* - Add set_armor_trim trim loot table function
* - Added match_tool loot table condition
* - Added creature_spawn_probability component
* - Added verticalFlySpeed to has_ability
* - Update descriptions and default values
* - Add base field to block_sounds
* - Removed block sounds enum as creators can specify custom ones too
* - Change default format version
2025-02-13 14:38:27 +01:00
DaanV2
968d0c70d2 formatted 2025-02-02 22:28:09 +01:00
Orbi-bot
378ff7d28c auto: generated json schemas 2025-01-08 2025-01-08 20:32:27 +00:00
QuazChick
b4ddd0b31f Added foliage and grass appearance components (#333) 2025-01-08 21:32:09 +01:00
Orbi-bot
fb7560414f auto: generated json schemas 2024-12-27 2024-12-27 19:37:54 +00:00
Xterionix
4b804a844d - Update block sounds list (#332) 2024-12-27 20:37:39 +01:00
Orbi-bot
97918c408b auto: generated json schemas 2024-12-23 2024-12-23 19:12:51 +00:00
Omniac
2d7ba56535 Update default format_version to 1.21.50 (#331) 2024-12-23 20:12:34 +01:00
Orbi-bot
5b374fbfa6 auto: generated json schemas 2024-12-05 2024-12-05 15:54:47 +00:00
Xterionix
ec99529c64 Updated to 1.21.50 (#330)
* - Add new client biome components
* - Added built-in block tags
* - Add liquid detection block component
* - Add item visual component
* - Allow ambient_occlusion to use floats
* - Added cannot_be_attacked and ignore component
* - Added play_sound event response
* - Added summon_event property to summon_entity behavior
* - Updated home and looked_at components
* - Added compostable item component
* - Added jigsaws
* - Added processor_lists
* - Made identifier required in jigsaws
* - Added structure sets
* - Remove compressed volume file
* - Add template pools
* - Setup jigsaw schemas
* - Added broadcast_when_dying
* - Update interact.vibration
* - Fix format_version ref in jigsaw schemas
2024-12-05 16:54:27 +01:00