Skip to content

Commit

Permalink
v1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
smell-of-curry committed Jun 23, 2023
1 parent 7294778 commit 9565aa4
Show file tree
Hide file tree
Showing 89 changed files with 1,075 additions and 914 deletions.
30 changes: 0 additions & 30 deletions blocks/anvil.json

This file was deleted.

16 changes: 14 additions & 2 deletions blocks/healing_machine.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,21 @@
"origin": [-8, 0, -8],
"size": [16, 16, 16]
},
"minecraft:geometry": "geometry.healing_machine_0",
"minecraft:geometry": "geometry.healing_machine",
"minecraft:block_light_absorption": 0,
"minecraft:destroy_time": 3
"minecraft:destroy_time": 3,
"minecraft:on_interact": {
"event": "on_interact",
"target": "self"
}
},
"events": {
"on_interact": {
"run_command": {
"command": ["scriptevent pokeb:interact_with_healing_machine"],
"target": "other"
}
}
}
}
}
4 changes: 4 additions & 0 deletions blocks/pc.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
"pokeb:set_in_use": {
"set_block_property": {
"pokeb:is_in_use": true
},
"run_command": {
"command": ["scriptevent pokeb:interact_with_pc"],
"target": "other"
}
},
"pokeb:set_not_use": {
Expand Down
10 changes: 10 additions & 0 deletions blocks/trade_machine.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
"set_block_property": {
"wiki:rotation": "(query.cardinal_facing_2d)"
}
},
"on_interact": {
"run_command": {
"command": ["scriptevent pokeb:interact_with_trade_machine"],
"target": "other"
}
}
},
"components": {
Expand All @@ -36,6 +42,10 @@
"minecraft:destroy_time": 3,
"minecraft:on_player_placing": {
"event": "wiki:set_rotation"
},
"minecraft:on_interact": {
"event": "on_interact",
"target": "self"
}
},
"permutations": [
Expand Down
65 changes: 0 additions & 65 deletions feature_rules/apricorn_sapling_feature_rule.json

This file was deleted.

4 changes: 2 additions & 2 deletions feature_rules/bauxite_ore_feature_rule.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
}
},
"distribution": {
"iterations": 5,
"iterations": 10,
"coordinate_eval_order": "zyx",
"x": {
"distribution": "uniform",
"extent": [0, 16]
},
"y": {
"distribution": "uniform",
"extent": [0, 50]
"extent": [0, 62]
},
"z": {
"distribution": "uniform",
Expand Down
36 changes: 36 additions & 0 deletions feature_rules/black_apricorn_tree_feature_rule.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"format_version": "1.17.0",
"minecraft:feature_rules": {
"description": {
"identifier": "pokeb:black_apricorn_tree_feature_rule",
"places_feature": "pokeb:black_apricorn_tree_feature"
},
"conditions": {
"placement_pass": "surface_pass",
"minecraft:biome_filter": {
"test": "has_biome_tag",
"operator": "==",
"value": "roofed"
}
},
"distribution": {
"iterations": 1,
"x": {
"distribution": "uniform",
"extent": [
0,
16
]
},
"y": "query.heightmap(variable.worldx, variable.worldz)",
"z": {
"distribution": "uniform",
"extent": [
0,
16
]
},
"scatter_chance": 10
}
}
}
45 changes: 45 additions & 0 deletions feature_rules/blue_apricorn_tree_feature_rule.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"format_version": "1.17.0",
"minecraft:feature_rules": {
"description": {
"identifier": "pokeb:blue_apricorn_tree_feature_rule",
"places_feature": "pokeb:blue_apricorn_tree_feature"
},
"conditions": {
"placement_pass": "surface_pass",
"minecraft:biome_filter": {
"any_of": [
{
"test": "has_biome_tag",
"operator": "==",
"value": "meadow"
},
{
"test": "has_biome_tag",
"operator": "==",
"value": "flower_forest"
}
]
}
},
"distribution": {
"iterations": 1,
"x": {
"distribution": "uniform",
"extent": [
0,
16
]
},
"y": "query.heightmap(variable.worldx, variable.worldz)",
"z": {
"distribution": "uniform",
"extent": [
0,
16
]
},
"scatter_chance": 10
}
}
}
77 changes: 36 additions & 41 deletions feature_rules/dawn_stone_ore_feature_rule.json
Original file line number Diff line number Diff line change
@@ -1,42 +1,37 @@
{
"format_version": "1.13.0",
"minecraft:feature_rules": {
"description": {
"identifier": "pokeb:dawn_stone_ore_feature_rule",
"places_feature": "pokeb:dawn_stone_ore_feature"
},
"conditions": {
"placement_pass": "underground_pass",
"minecraft:biome_filter": {
"any_of": [
{
"test": "has_biome_tag",
"operator": "==",
"value": "overworld"
},
{
"test": "has_biome_tag",
"operator": "==",
"value": "overworld_generation"
}
]
}
},
"distribution": {
"iterations": 2,
"coordinate_eval_order": "zyx",
"x": {
"distribution": "uniform",
"extent": [0, 16]
},
"y": {
"distribution": "uniform",
"extent": [0, 100]
},
"z": {
"distribution": "uniform",
"extent": [0, 16]
}
}
}
}
"format_version": "1.17.0",
"minecraft:feature_rules": {
"description": {
"identifier": "pokeb:dawn_stone_ore_feature_rule",
"places_feature": "pokeb:dawn_stone_ore_feature"
},
"conditions": {
"placement_pass": "underground_pass",
"minecraft:biome_filter": {
"any_of": [
{
"test": "has_biome_tag",
"operator": "==",
"value": "plains"
}
]
}
},
"distribution": {
"iterations": 10,
"coordinate_eval_order": "zyx",
"x": {
"distribution": "uniform",
"extent": [0, 16]
},
"y": {
"distribution": "uniform",
"extent": [0, 62]
},
"z": {
"distribution": "uniform",
"extent": [0, 16]
}
}
}
}
37 changes: 37 additions & 0 deletions feature_rules/dusk_stone_ore_feature_rule.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"format_version": "1.17.0",
"minecraft:feature_rules": {
"description": {
"identifier": "pokeb:dusk_stone_ore_feature_rule",
"places_feature": "pokeb:dusk_stone_ore_feature"
},
"conditions": {
"placement_pass": "underground_pass",
"minecraft:biome_filter": {
"any_of": [
{
"test": "has_biome_tag",
"operator": "==",
"value": "swamp"
}
]
}
},
"distribution": {
"iterations": 10,
"coordinate_eval_order": "zyx",
"x": {
"distribution": "uniform",
"extent": [0, 16]
},
"y": {
"distribution": "uniform",
"extent": [0, 62]
},
"z": {
"distribution": "uniform",
"extent": [0, 16]
}
}
}
}
Loading

0 comments on commit 9565aa4

Please sign in to comment.