Skip to content

Commit d53bd21

Browse files
committed
Updating the molang data for 1.20.40
1 parent de69ee1 commit d53bd21

File tree

1 file changed

+46
-3
lines changed

1 file changed

+46
-3
lines changed

src/MolangData/General.ts

Lines changed: 46 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,11 @@ export namespace General {
262262
{
263263
id: "block_property",
264264
documentation: "Returns the value of the associated Blocks Block State",
265+
deprecated: "No longer available in pack min_engine_version 1.20.40."
266+
},
267+
{
268+
id: "block_state",
269+
documentation: "Returns the value of the associated block's Block State."
265270
},
266271
{
267272
id: "blocking",
@@ -370,6 +375,7 @@ export namespace General {
370375
{
371376
id: "dash_cooldown_progress",
372377
documentation: "Returns dash cooldown progress if the entity can dash, else it returns 0.0.",
378+
deprecated: "Deprecated after 1.20.3. Please see camel.entity.json script.pre_animation for example of how to now process dash cooldown"
373379
},
374380
{ id: "day", documentation: "Returns the day of the current level." },
375381
{
@@ -476,11 +482,16 @@ export namespace General {
476482
},
477483
{
478484
id: "has_biome_tag",
479-
documentation: "Returns whether or not a Block Placement Target has a specific biome tag",
485+
documentation: "Returns whether or not a Block Placement Target has a specific biome tag.",
480486
},
481487
{
482488
id: "has_block_property",
483-
documentation: "Returns 1.0 if the associated block has the given block property or 0.0 if not",
489+
documentation: "Returns 1.0 if the associated block has the given block property or 0.0 if not.",
490+
deprecated: "No longer available in pack min_engine_version 1.20.40."
491+
},
492+
{
493+
id: "has_block_state",
494+
documentation: "Returns 1.0 if the associated block has the given block state or 0.0 if not."
484495
},
485496
{
486497
id: "has_cape",
@@ -632,6 +643,10 @@ export namespace General {
632643
id: "is_chested",
633644
documentation: "Returns 1.0 if the entity has chests attached to it, else it returns 0.0.",
634645
},
646+
{
647+
id: "is_crawling",
648+
documentation: "Returns 1.0 if the entity is crawling, else it returns 0.0.",
649+
},
635650
{
636651
id: "is_critical",
637652
documentation: "Returns 1.0 if the entity is critical, else it returns 0.0.",
@@ -676,6 +691,10 @@ export namespace General {
676691
id: "is_enchanted",
677692
documentation: "Returns 1.0 if the entity is enchanted, else it returns 0.0.",
678693
},
694+
{
695+
id: "is_feeling_happy",
696+
documentation: "Returns 1.0 if the entity is feeling happy, else it returns 0.0.",
697+
},
679698
{
680699
id: "is_fire_immune",
681700
documentation: "Returns 1.0 if the entity is immune to fire, else it returns 0.0.",
@@ -729,6 +748,10 @@ export namespace General {
729748
id: "is_in_water",
730749
documentation: "Returns 1.0 if the entity is in water, else it returns 0.0.",
731750
},
751+
{
752+
id: "is_in_lava",
753+
documentation: "Returns 1.0 if the entity is in lava, else it returns 0.0.",
754+
},
732755
{
733756
id: "is_interested",
734757
documentation: "Returns 1.0 if the entity is interested, else it returns 0.0.",
@@ -861,6 +884,10 @@ export namespace General {
861884
id: "is_riding",
862885
documentation: "Returns 1.0 if the entity is riding, else it returns 0.0.",
863886
},
887+
{
888+
id: "is_rising",
889+
documentation: "Returns 1.0 if the entity is rising, else it returns 0.0.",
890+
},
864891
{
865892
id: "is_roaring",
866893
documentation: "Returns 1.0 if the entity is currently roaring, else it returns 0.0.",
@@ -877,6 +904,10 @@ export namespace General {
877904
id: "is_scared",
878905
documentation: "Returns 1.0 if the entity is scared, else it returns 0.0.",
879906
},
907+
{
908+
id: "query.is_scenting",
909+
documentation: "Returns 1.0 if the entity is scenting, else it returns 0.0.",
910+
},
880911
{
881912
id: "is_selected_item",
882913
documentation: "Returns true if the player has selected an item in the inventory, else it returns 0.0.",
@@ -1241,6 +1272,18 @@ export namespace General {
12411272
id: "time_stamp",
12421273
documentation: "Returns the current time stamp of the level",
12431274
},
1275+
{
1276+
id: "timer_flag_1",
1277+
documentation: "Returns 1.0 if behavior.timer_flag_1 is running, else it returns 0.0.",
1278+
},
1279+
{
1280+
id: "timer_flag_2",
1281+
documentation: "Returns 1.0 if behavior.timer_flag_2 is running, else it returns 0.0.",
1282+
},
1283+
{
1284+
id: "timer_flag_3",
1285+
documentation: "Returns 1.0 if behavior.timer_flag_3 is running, else it returns 0.0.",
1286+
},
12441287
{
12451288
id: "total_emitter_count",
12461289
documentation: "Returns the total number of active emitters in the world",
@@ -1264,7 +1307,7 @@ export namespace General {
12641307
},
12651308
{
12661309
id: "walk_distance",
1267-
documentation: "Returns the walk distance of the entity.",
1310+
documentation: "Returns the total distance traveled by an entity while on the ground and not sneaking.",
12681311
},
12691312
{
12701313
id: "wing_flap_position",

0 commit comments

Comments
 (0)