Commit Graph

820 Commits

Author SHA1 Message Date
Piotr Brzozowski
cbd0262612 Update loot table schemas (#391)
* update loot table schemas

* remove entity_properties and use new int_or_range definition

* remove entity_properties from conditions.json as well
2025-10-15 19:48:05 +02:00
Xterionix
2082ad8e86 1.21.110 (#376)
* - Added precipitation client biome component

* - Renamed input_air_controlled to free_camera_controlled

* - Added vertical_movement_action

* - Renamed dash to dash_action

* - Updated on_death documentation

* - Updated :interact slot list

* - Added drop_item event response

* - Removed experimental markers for poly_mesh

* - Removed experimental markers for texture_meshes

* - Added use_pixel_depth option to texture_mesh

* - Updated swamp surface builder

* - Updated roar behavior

* - Standardize control_flags definition

* - Updated slime_attack behavior

* - Added control_flags to certain goals based on vanilla schemas

* - Added direction to dash_action

* - Added fire_resistant component

* - Added underwater_music field to biome_music

* - Added redstone_producer block component

* - Added flower_pottable

* - Added embedded_visual component

* - Added embedded item_display_transform

* - Added y_rotation filter

* - Added on_take_flower trigger to give_flower behavior

* - Added passenger_of_entity loot condition

* - Added is_baby loot condition

* - Added manifest v3

* - Added stonecutter recipe tag
- Remove duplicate description in recipe schema

* - Give entity_placer block a type
2025-09-08 14:01:39 +02:00
Freddie
3848dcbd82 Add NonMSAA option (#375) 2025-09-06 14:18:20 +00:00
8Crafter
57b510cee3 Fixes to enchantments, loot tables, and materials, and typo fixes. (#372)
-   Added the missing enchantment types to the enum for the `minecraft:enchantable` item component.
-   Fixed a typo where the `killed_by_player_or_pets` condition was called "Killed By Player Or Pets Or Pets" instead of "Killed By Player Or Pets".
-   Fixed the match tool loot table condition to use the correct schema for the `enchantments` property.
-   Fixed a typo where the title of the match tool loot table condition schema was "Killed By Player" instead of "Match Tool".
-   Added the missing `skinning_alphatest` value to the variant enum for materials (this variant type is used in the vanilla material files).
-   Fixed a typo where the title of the `skins.json` schema was "Skip Pack" instead of "Skin Pack".
2025-08-28 17:55:05 +00:00
Smell of curry
e771879d8c Update recipes.json to fix spelling (#369) 2025-08-19 18:43:45 +02:00
Legopitstop
f362802799 Add required properties (#364) 2025-08-13 08:47:00 +02:00
Xterionix
5503ea5612 1.21.100 (#363)
* - Added replacements for enderman block place/take behaviors
* - Added transport items goal
* - Added grass_is_shaded property
* - Removed experimental tag for movable component
* - Remove experimental tag from random offset
* - Added can_wear_armor field
* - Added "none" heightmap projection
* - Improved descriptions for jigsaw rule
* - Added blockstate and random block state predicates
* - Improve rule descriptions
* - Added min and max values for terrain texture variations
* - Update template pool with empty pool
* - Improved surface builder component
* - Added humidity biome component
* - Added partially frozen biome component
* - Renamed to rotation_axis_aligned
* - Added map_tints biome component
2025-08-08 15:59:24 +02:00
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
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
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
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
Legopitstop
299afc41f8 Add uv_rotation to model_entity 1.21.0 (#345) 2025-04-30 10:18:37 +02: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
Piotr Brzozowski
317e935a77 Fix BP entity snippet (#342) 2025-04-07 10:00:26 +02:00
Piotr Brzozowski
b4aacd0bf4 Make first_valid an array (#341) 2025-04-04 16:20:26 +02:00
Xterionix
94e80d956b Updated float_wander (#340) 2025-03-26 08:58:08 +01: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
DaanV2
871d32ae49 there might be a collision with other json files 2025-03-16 20:48:57 +01: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
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
QuazChick
b4ddd0b31f Added foliage and grass appearance components (#333) 2025-01-08 21:32:09 +01:00
Xterionix
4b804a844d - Update block sounds list (#332) 2024-12-27 20:37:39 +01:00
Omniac
2d7ba56535 Update default format_version to 1.21.50 (#331) 2024-12-23 20:12:34 +01: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
Nguyễn Văn Đức
160f09a092 fix: damage_sensor | triggers | deals_damage accept string only (#328)
* damage_sensor.triggers.deals_damage accept string only
* fixing the damage_sensor json

---------

Co-authored-by: Daan Verstraten <daanverstraten@hotmail.com>
2024-12-03 09:24:35 +01:00
Lucy
97a728529c Correct spelling of "mincraft" for geode features (#326)
* Update minecraft.geode_feature.json

* Update geode_feature.json
2024-11-27 14:33:46 +01:00
Xterionix
32d6a0effb - Updated for 1.21.40 (#324) 2024-11-18 15:33:19 +01:00
StealthyX
0151650784 Addded "minecraft:dimension_bound":{} with documentation. (#323)
* Updated components.json list for auto completes.
* Add dimension_bound.json with documentation
2024-11-09 23:06:23 +01:00
Daan Verstraten
8e59f63167 Feature/jest2 (#322)
* Adding more tests
* adding jest
* fixing tests
* fixing linting
* removing 1 slash less
* fixing more tests
* fixing last test
* more last fixes
2024-11-09 10:08:30 +01:00
QuazChick
bad3e5d6d5 Added client biome schema (#319) 2024-10-12 16:47:16 +02:00
Beltsazar
fa09417d60 Fix item damage component and event object schema (#316)
* Fix item damage component
* Remove duplicate event schema and unnecessary pattern match
2024-10-08 13:37:06 +02:00
Xterionix
ca1b07bc2d Update from 1.21.0 to 1.21.30 (#307)
* - Remove deprecated biome components
* - Remove block hcf
* - Add item specific destroy speeds
* - Add owner distance filter
* - Update scatter feature distribution property
* - Add new entity components
- Remove behavior.peek
* - Add new item components
- Remove hcf item stuff
* - Remove volumes
* - Add set_potion loot table function
* - Mark fields as required
* - Add item display transforms
* - Add redstone conductivity block component
* - Add is_navigating filter
* - Fix move around target ref
* - Add pack namespaced loot tables functions
2024-09-22 13:25:16 +02:00
HIPPOKLEIDES
6e7eee9f31 Fix ingredients in shapeless recipe schema (#309) 2024-09-21 12:10:27 +02:00
Xterionix
a84820d612 - Some misc tweaks (#301)
* - Remove molang examples
* - Update has damage because apparently not every value is accepted
* - Add materials enum and adjust entity/attachable accordingly
* - Update damage source list
* - Change to example

---------

Co-authored-by: Daan Verstraten <daanverstraten@hotmail.com>
2024-08-17 11:04:11 +02:00
StealthyX
2aa26b104a Fixed terrain_texture.json edits and added descriptions on "num_mip_levels" and "padding" (#304)
CHANGELOG:

Added description for the "num_mip_levels" property, describing its function in setting mipmap levels.

Added description for the "padding" property, describing its function in adding buffer space to prevent texture bleeding.

Moved it towards the correct placements.
2024-08-15 07:43:47 +02:00
DaanV2
8e9af595ee fixing has_damaged_equipment 2024-08-14 20:22:58 +02:00
DaanV2
b0be25825d cleanup 2024-07-23 21:26:23 +02:00
Xterionix
9a31d2cb9a Update example recipe tags, make tags required and add support for extent and distribution in feature rules (#300)
* - Update example recipe tags

* - Make tags required

* - Add support for extent and distribution
2024-07-18 10:34:52 +02:00
Xterionix
4067bae98a Allow 1.8.0 as a format version for bp/rp animations and render controllers (#299)
* - change rp animation format_version

* - change bp animation format_version

* Update render controller format_version
2024-07-14 14:01:24 +02:00