|
386 | 386 | "on_damage": { |
387 | 387 | "filters": { |
388 | 388 | "test": "on_fire", |
389 | | - "subject": "other" |
| 389 | + "subject": "damager" |
390 | 390 | }, |
391 | 391 | "event": "minecraft:try_priming" |
392 | 392 | }, |
|
424 | 424 | "cause": "fire", |
425 | 425 | "deals_damage": "yes" |
426 | 426 | }, |
| 427 | + { |
| 428 | + "on_damage": { |
| 429 | + "event": "minecraft:try_priming" |
| 430 | + }, |
| 431 | + "cause": "fire_tick", |
| 432 | + "deals_damage": "yes" |
| 433 | + }, |
| 434 | + { |
| 435 | + "cause": "magma", |
| 436 | + "deals_damage": "no_but_entity_effects_apply" |
| 437 | + }, |
427 | 438 | { |
428 | 439 | "cause": "all", |
429 | 440 | "deals_damage": "yes" |
|
432 | 443 | } |
433 | 444 | }, |
434 | 445 | "minecraft:sulfur_cube_medium_with_block_interactable": { |
435 | | - "minecraft:leashable": { |
436 | | - }, |
437 | | - "minecraft:leashable_to": { |
438 | | - }, |
439 | 446 | "minecraft:environment_sensor": { |
440 | 447 | "triggers": [ |
441 | 448 | { |
|
608 | 615 | }, |
609 | 616 | "hurt_item": 1, |
610 | 617 | "interact_text": "action.interact.creeper", |
611 | | - "play_sounds": "ignite", |
| 618 | + "play_sounds": "fuse", |
612 | 619 | "swing": true |
613 | 620 | }, |
614 | 621 | { |
|
637 | 644 | }, |
638 | 645 | "use_item": true, |
639 | 646 | "interact_text": "action.interact.creeper", |
640 | | - "play_sounds": "ignite", |
| 647 | + "play_sounds": "fuse", |
641 | 648 | "swing": true |
642 | 649 | } |
643 | 650 | ] |
|
647 | 654 | "minecraft:sulfur_cube_medium_primed": { |
648 | 655 | "minecraft:explode": { |
649 | 656 | "causes_fire": false, |
| 657 | + "destroy_affected_by_griefing": true, |
650 | 658 | "fuse_lit": true, |
651 | 659 | "power": 3, |
652 | 660 | "fuse_length": 6 |
|
655 | 663 | "minecraft:sulfur_cube_medium_primed_by_explosion": { |
656 | 664 | "minecraft:explode": { |
657 | 665 | "causes_fire": false, |
| 666 | + "destroy_affected_by_griefing": true, |
658 | 667 | "fuse_lit": true, |
659 | 668 | "power": 3, |
660 | 669 | "fuse_length": { |
|
697 | 706 | "presets": [ |
698 | 707 | { |
699 | 708 | "filters": { |
700 | | - "test": "is_family", |
701 | | - "subject": "other", |
702 | | - "value": "player" |
| 709 | + "any_of": [ |
| 710 | + { |
| 711 | + "test": "is_family", |
| 712 | + "subject": "other", |
| 713 | + "value": "player" |
| 714 | + }, |
| 715 | + { |
| 716 | + "test": "is_controlling_passenger_family", |
| 717 | + "subject": "other", |
| 718 | + "value": "player" |
| 719 | + } |
| 720 | + ] |
703 | 721 | }, |
704 | 722 | "push_mode": "ball", |
705 | 723 | "push_scale_self": 3.0, |
|
744 | 762 | "presets": [ |
745 | 763 | { |
746 | 764 | "filters": { |
747 | | - "test": "is_family", |
748 | | - "subject": "other", |
749 | | - "value": "player" |
| 765 | + "any_of": [ |
| 766 | + { |
| 767 | + "test": "is_family", |
| 768 | + "subject": "other", |
| 769 | + "value": "player" |
| 770 | + }, |
| 771 | + { |
| 772 | + "test": "is_controlling_passenger_family", |
| 773 | + "subject": "other", |
| 774 | + "value": "player" |
| 775 | + } |
| 776 | + ] |
750 | 777 | }, |
751 | 778 | "push_mode": "ball", |
752 | 779 | "push_scale_self": 2.0, |
|
756 | 783 | "min_kick_speed": 0.0, |
757 | 784 | "max_kick_speed": 0.5, |
758 | 785 | "vertical_kick_multiplier": 0.3, |
759 | | - "play_sound_impulse_threshold": 0.0, |
| 786 | + "play_sound_impulse_threshold": 0.1, |
760 | 787 | "play_sound_cooldown_in_seconds": 0.7 |
761 | 788 | } |
762 | 789 | ] |
|
791 | 818 | "presets": [ |
792 | 819 | { |
793 | 820 | "filters": { |
794 | | - "test": "is_family", |
795 | | - "subject": "other", |
796 | | - "value": "player" |
| 821 | + "any_of": [ |
| 822 | + { |
| 823 | + "test": "is_family", |
| 824 | + "subject": "other", |
| 825 | + "value": "player" |
| 826 | + }, |
| 827 | + { |
| 828 | + "test": "is_controlling_passenger_family", |
| 829 | + "subject": "other", |
| 830 | + "value": "player" |
| 831 | + } |
| 832 | + ] |
797 | 833 | }, |
798 | 834 | "push_mode": "ball", |
799 | 835 | "push_scale_self": 0.3, |
|
826 | 862 | "presets": [ |
827 | 863 | { |
828 | 864 | "filters": { |
829 | | - "test": "is_family", |
830 | | - "subject": "other", |
831 | | - "value": "player" |
| 865 | + "any_of": [ |
| 866 | + { |
| 867 | + "test": "is_family", |
| 868 | + "subject": "other", |
| 869 | + "value": "player" |
| 870 | + }, |
| 871 | + { |
| 872 | + "test": "is_controlling_passenger_family", |
| 873 | + "subject": "other", |
| 874 | + "value": "player" |
| 875 | + } |
| 876 | + ] |
832 | 877 | }, |
833 | 878 | "push_mode": "ball", |
834 | 879 | "push_scale_self": 0.3, |
|
861 | 906 | "presets": [ |
862 | 907 | { |
863 | 908 | "filters": { |
864 | | - "test": "is_family", |
865 | | - "subject": "other", |
866 | | - "value": "player" |
| 909 | + "any_of": [ |
| 910 | + { |
| 911 | + "test": "is_family", |
| 912 | + "subject": "other", |
| 913 | + "value": "player" |
| 914 | + }, |
| 915 | + { |
| 916 | + "test": "is_controlling_passenger_family", |
| 917 | + "subject": "other", |
| 918 | + "value": "player" |
| 919 | + } |
| 920 | + ] |
867 | 921 | }, |
868 | 922 | "push_mode": "ball", |
869 | 923 | "push_scale_self": 3.0, |
|
908 | 962 | "presets": [ |
909 | 963 | { |
910 | 964 | "filters": { |
911 | | - "test": "is_family", |
912 | | - "subject": "other", |
913 | | - "value": "player" |
| 965 | + "any_of": [ |
| 966 | + { |
| 967 | + "test": "is_family", |
| 968 | + "subject": "other", |
| 969 | + "value": "player" |
| 970 | + }, |
| 971 | + { |
| 972 | + "test": "is_controlling_passenger_family", |
| 973 | + "subject": "other", |
| 974 | + "value": "player" |
| 975 | + } |
| 976 | + ] |
914 | 977 | }, |
915 | 978 | "push_mode": "ball", |
916 | 979 | "push_scale_self": 2.0, |
|
955 | 1018 | "presets": [ |
956 | 1019 | { |
957 | 1020 | "filters": { |
958 | | - "test": "is_family", |
959 | | - "subject": "other", |
960 | | - "value": "player" |
| 1021 | + "any_of": [ |
| 1022 | + { |
| 1023 | + "test": "is_family", |
| 1024 | + "subject": "other", |
| 1025 | + "value": "player" |
| 1026 | + }, |
| 1027 | + { |
| 1028 | + "test": "is_controlling_passenger_family", |
| 1029 | + "subject": "other", |
| 1030 | + "value": "player" |
| 1031 | + } |
| 1032 | + ] |
961 | 1033 | }, |
962 | 1034 | "push_mode": "ball", |
963 | 1035 | "push_scale_self": 0.5, |
|
990 | 1062 | "presets": [ |
991 | 1063 | { |
992 | 1064 | "filters": { |
993 | | - "test": "is_family", |
994 | | - "subject": "other", |
995 | | - "value": "player" |
| 1065 | + "any_of": [ |
| 1066 | + { |
| 1067 | + "test": "is_family", |
| 1068 | + "subject": "other", |
| 1069 | + "value": "player" |
| 1070 | + }, |
| 1071 | + { |
| 1072 | + "test": "is_controlling_passenger_family", |
| 1073 | + "subject": "other", |
| 1074 | + "value": "player" |
| 1075 | + } |
| 1076 | + ] |
996 | 1077 | }, |
997 | 1078 | "push_mode": "ball", |
998 | 1079 | "push_scale_self": 0.2, |
|
1025 | 1106 | "presets": [ |
1026 | 1107 | { |
1027 | 1108 | "filters": { |
1028 | | - "test": "is_family", |
1029 | | - "subject": "other", |
1030 | | - "value": "player" |
| 1109 | + "any_of": [ |
| 1110 | + { |
| 1111 | + "test": "is_family", |
| 1112 | + "subject": "other", |
| 1113 | + "value": "player" |
| 1114 | + }, |
| 1115 | + { |
| 1116 | + "test": "is_controlling_passenger_family", |
| 1117 | + "subject": "other", |
| 1118 | + "value": "player" |
| 1119 | + } |
| 1120 | + ] |
1031 | 1121 | }, |
1032 | 1122 | "push_mode": "ball", |
1033 | 1123 | "push_scale_self": 3.0, |
|
1060 | 1150 | "presets": [ |
1061 | 1151 | { |
1062 | 1152 | "filters": { |
1063 | | - "test": "is_family", |
1064 | | - "subject": "other", |
1065 | | - "value": "player" |
| 1153 | + "any_of": [ |
| 1154 | + { |
| 1155 | + "test": "is_family", |
| 1156 | + "subject": "other", |
| 1157 | + "value": "player" |
| 1158 | + }, |
| 1159 | + { |
| 1160 | + "test": "is_controlling_passenger_family", |
| 1161 | + "subject": "other", |
| 1162 | + "value": "player" |
| 1163 | + } |
| 1164 | + ] |
1066 | 1165 | }, |
1067 | 1166 | "push_mode": "ball", |
1068 | 1167 | "push_scale_self": 0.3, |
|
1095 | 1194 | "presets": [ |
1096 | 1195 | { |
1097 | 1196 | "filters": { |
1098 | | - "test": "is_family", |
1099 | | - "subject": "other", |
1100 | | - "value": "player" |
| 1197 | + "any_of": [ |
| 1198 | + { |
| 1199 | + "test": "is_family", |
| 1200 | + "subject": "other", |
| 1201 | + "value": "player" |
| 1202 | + }, |
| 1203 | + { |
| 1204 | + "test": "is_controlling_passenger_family", |
| 1205 | + "subject": "other", |
| 1206 | + "value": "player" |
| 1207 | + } |
| 1208 | + ] |
1101 | 1209 | }, |
1102 | 1210 | "push_mode": "ball", |
1103 | 1211 | "push_scale_self": 2.0, |
|
1142 | 1250 | "presets": [ |
1143 | 1251 | { |
1144 | 1252 | "filters": { |
1145 | | - "test": "is_family", |
1146 | | - "subject": "other", |
1147 | | - "value": "player" |
| 1253 | + "any_of": [ |
| 1254 | + { |
| 1255 | + "test": "is_family", |
| 1256 | + "subject": "other", |
| 1257 | + "value": "player" |
| 1258 | + }, |
| 1259 | + { |
| 1260 | + "test": "is_controlling_passenger_family", |
| 1261 | + "subject": "other", |
| 1262 | + "value": "player" |
| 1263 | + } |
| 1264 | + ] |
1148 | 1265 | }, |
1149 | 1266 | "push_mode": "ball", |
1150 | 1267 | "push_scale_self": 2.0, |
|
1187 | 1304 | "cause": "entity_attack", |
1188 | 1305 | "damage_cooldown": 0.0, |
1189 | 1306 | "damage_per_tick": 1, |
1190 | | - "damage_range": 0.2, |
| 1307 | + "damage_range": 0.4, |
1191 | 1308 | "use_self_as_damage_source": false, |
1192 | 1309 | "entity_filter": { |
1193 | | - "subject": "other", |
1194 | | - "test": "is_family", |
1195 | | - "operator": "not", |
1196 | | - "value": "sulfur_cube" |
| 1310 | + "all_of": [ |
| 1311 | + { |
| 1312 | + "subject": "other", |
| 1313 | + "test": "is_family", |
| 1314 | + "operator": "not", |
| 1315 | + "value": "sulfur_cube" |
| 1316 | + }, |
| 1317 | + { |
| 1318 | + "any_of": [ |
| 1319 | + { |
| 1320 | + "subject": "other", |
| 1321 | + "test": "is_family", |
| 1322 | + "value": "mob" |
| 1323 | + }, |
| 1324 | + { |
| 1325 | + "subject": "other", |
| 1326 | + "test": "is_family", |
| 1327 | + "value": "player" |
| 1328 | + } |
| 1329 | + ] |
| 1330 | + } |
| 1331 | + ] |
1197 | 1332 | } |
1198 | 1333 | } |
1199 | 1334 | } |
|
1202 | 1337 | "components": { |
1203 | 1338 | "minecraft:is_hidden_when_invisible": { |
1204 | 1339 | }, |
| 1340 | + "minecraft:renders_when_invisible": { |
| 1341 | + }, |
1205 | 1342 | "minecraft:offspring": { |
1206 | 1343 | "blend_attributes": false, |
1207 | 1344 | "offspring_pairs": { |
|
0 commit comments