Skip to content

Commit

Permalink
Sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Hirxs-MC committed Mar 10, 2024
1 parent ac92955 commit e999b1b
Show file tree
Hide file tree
Showing 404 changed files with 30,719 additions and 40,220 deletions.
Empty file added BP/animations/kid.json
Empty file.
15 changes: 15 additions & 0 deletions BP/animations/runtime.animation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"format_version": "1.8.0",
"animations": {
"animation.npc.runtime": {
"loop": true,
"animation_length": 0.05,
"timeline": {
"0.0": [
"/effect @s invisibility 9999 255 true",
"/tp @s ~~~"
]
}
}
}
}
190 changes: 64 additions & 126 deletions BP/blocks/ball_pit.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,132 +3,33 @@
"minecraft:block": {
"description": {
"identifier": "fb:ball_pit",
"is_experimental": false,
"properties": {
"p:north_neighbor": [
false,
true
],
"p:east_neighbor": [
false,
true
],
"p:south_neighbor": [
false,
true
],
"p:west_neighbor": [
false,
true
"bridge:block_rotation": [
2,
3,
4,
5
]
}
},
"permutations": [
{
"condition": "!q.block_property('p:north_neighbor')&&!q.block_property('p:east_neighbor')&&!q.block_property('p:south_neighbor')&&!q.block_property('p:west_neighbor')",
"components": {
"minecraft:geometry": "geometry.ball_pit"
}
},
{
"condition": "q.block_property('p:north_neighbor')&&!q.block_property('p:east_neighbor')&&!q.block_property('p:south_neighbor')&&!q.block_property('p:west_neighbor')",
"components": {
"minecraft:geometry": "geometry.ball_pit.end1"
}
},
{
"condition": "!q.block_property('p:north_neighbor')&&q.block_property('p:east_neighbor')&&!q.block_property('p:south_neighbor')&&!q.block_property('p:west_neighbor')",
"components": {
"minecraft:geometry": "geometry.ball_pit.end2"
}
},
{
"condition": "!q.block_property('p:north_neighbor')&&!q.block_property('p:east_neighbor')&&q.block_property('p:south_neighbor')&&!q.block_property('p:west_neighbor')",
"components": {
"minecraft:geometry": "geometry.ball_pit.end3"
}
},
{
"condition": "!q.block_property('p:north_neighbor')&&!q.block_property('p:east_neighbor')&&!q.block_property('p:south_neighbor')&&q.block_property('p:west_neighbor')",
"components": {
"minecraft:geometry": "geometry.ball_pit.end4"
}
},
{
"condition": "q.block_property('p:north_neighbor')&&!q.block_property('p:east_neighbor')&&!q.block_property('p:south_neighbor')&&q.block_property('p:west_neighbor')",
"components": {
"minecraft:geometry": "geometry.ball_pit.corner1"
}
},
{
"condition": "q.block_property('p:north_neighbor')&&q.block_property('p:east_neighbor')&&!q.block_property('p:south_neighbor')&&!q.block_property('p:west_neighbor')",
"components": {
"minecraft:geometry": "geometry.ball_pit.corner2"
}
},
{
"condition": "!q.block_property('p:north_neighbor')&&q.block_property('p:east_neighbor')&&q.block_property('p:south_neighbor')&&!q.block_property('p:west_neighbor')",
"components": {
"minecraft:geometry": "geometry.ball_pit.corner3"
}
},
{
"condition": "!q.block_property('p:north_neighbor')&&!q.block_property('p:east_neighbor')&&q.block_property('p:south_neighbor')&&q.block_property('p:west_neighbor')",
"components": {
"minecraft:geometry": "geometry.ball_pit.corner4"
}
},
{
"condition": "q.block_property('p:north_neighbor')&&q.block_property('p:south_neighbor')",
"components": {
"minecraft:geometry": "geometry.ball_pit.center"
}
},
{
"condition": "q.block_property('p:east_neighbor')&&q.block_property('p:west_neighbor')",
"components": {
"minecraft:geometry": "geometry.ball_pit.center"
}
},
{
"condition": "q.block_property('p:north_neighbor')&&q.block_property('p:south_neighbor')&&q.block_property('p:east_neighbor')&&q.block_property('p:west_neighbor')",
"components": {
"minecraft:geometry": "geometry.ball_pit.center"
}
}
],
"components": {
"tag:rustic": {},
"tag:ball_pit": {},
"minecraft:geometry": "geometry.ball_pit",
"minecraft:material_instances": {
"*": {
"texture": "ball_pit",
"render_method": "alpha_test",
"ambient_occlusion": false
"render_method": "alpha_test"
}
},
"minecraft:display_name": "fb:ball_pit",
"minecraft:creative_category": {
"category": "construction",
"group": "itemGroup.name.Construction"
},
"minecraft:map_color": "#b8945f",
"minecraft:destroy_time": 2,
"minecraft:explosion_resistance": 2,
"minecraft:block_light_absorption": 0,
"minecraft:breathability": "air",
"minecraft:flammable": {
"flame_odds": 30,
"burn_odds": 30
},
"minecraft:aim_collision": {
"minecraft:pick_collision": {
"origin": [
-8,
0,
-8
],
"size": [
16,
16,
2,
16
]
},
Expand All @@ -139,29 +40,66 @@
-8
],
"size": [
16,
2,
16
]
},
"minecraft:ticking": {
"looping": true,
"range": [
0,
0,
0
],
"on_tick": {
"event": "e:update.neighbors"
}
]
},
"minecraft:block_light_absorption": 0,
"minecraft:on_player_placing": {
"event": "bridge:update_rotation"
},
"minecraft:creative_category": {
"group": "construction",
"category": "construction"
}
},
"permutations": [
{
"condition": "query.block_property('bridge:block_rotation') == 2",
"components": {
"minecraft:rotation": [
0,
180,
0
]
}
},
{
"condition": "query.block_property('bridge:block_rotation') == 3",
"components": {
"minecraft:rotation": [
0,
0,
0
]
}
},
{
"condition": "query.block_property('bridge:block_rotation') == 4",
"components": {
"minecraft:rotation": [
0,
270,
0
]
}
},
{
"condition": "query.block_property('bridge:block_rotation') == 5",
"components": {
"minecraft:rotation": [
0,
90,
0
]
}
}
],
"events": {
"e:update.neighbors": {
"bridge:update_rotation": {
"set_block_property": {
"p:north_neighbor": "q.block_neighbor_has_any_tag(0,0,-1,'ball_pit')?true:false",
"p:east_neighbor": "q.block_neighbor_has_any_tag(1,0,0,'ball_pit')?true:false",
"p:south_neighbor": "q.block_neighbor_has_any_tag(0,0,1,'ball_pit')?true:false",
"p:west_neighbor": "q.block_neighbor_has_any_tag(-1,0,0,'ball_pit')?true:false"
"bridge:block_rotation": "query.cardinal_facing_2d"
}
}
}
Expand Down
Loading

0 comments on commit e999b1b

Please sign in to comment.