Compare commits

..
10 Commits
50 changed files with 19304 additions and 104 deletions

No files matched your search

+38
View File
@@ -0,0 +1,38 @@
#!/usr/bin/env python3
from pathlib import Path
import zipfile
import argparse
parser = argparse.ArgumentParser()
parser.add_argument("source")
parser.add_argument("destination")
args = parser.parse_args()
ROOT = Path(__file__).resolve().parents[2]
SOURCE_DIR = ROOT / "raw" / args.source
OUTPUT_ZIP = ROOT / "src" / "main" / "resources" / "assets" / "alchemicalwizardry" / args.destination
def main():
if not SOURCE_DIR.is_dir():
raise SystemExit(f"Missing source directory: {SOURCE_DIR}")
OUTPUT_ZIP.parent.mkdir(parents=True, exist_ok=True)
files = sorted(p for p in SOURCE_DIR.rglob("*") if p.is_file())
with zipfile.ZipFile(OUTPUT_ZIP, "w") as zf:
for file in files:
info = zipfile.ZipInfo(file.relative_to(SOURCE_DIR).as_posix(), (1980, 1, 1, 0, 0, 0))
info.create_system = 3
info.compress_type = zipfile.ZIP_DEFLATED
info.external_attr = 0o100644 << 16
zf.writestr(info, file.read_bytes(), compresslevel=9)
print(f"Compressed {len(files)} file(s) into {OUTPUT_ZIP.relative_to(ROOT)}")
if __name__ == "__main__":
main()
@@ -0,0 +1,32 @@
name: Compress Default Meteor Configs
on:
push:
branches: [ master ]
paths: [ raw/meteor-reagents/* ]
workflow_dispatch: { }
jobs:
meteors:
name: Compress Default Meteor Reagent Configs
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v5
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: '3.10'
- name: Compress Default Meteor Reagent Configs
run: python .github/scripts/compress.py meteor-reagents meteors/reagents.zip
- name: Create PR
uses: peter-evans/create-pull-request@v7
with:
title: Compress Default Meteor Reagent Configs
body: Automated changes by Compress Default Meteor Reagent Configs workflow.
commit-message: Compress Default Meteor Reagent Configs
delete-branch: true
branch: meteor-reagents-configs/patch
+32
View File
@@ -0,0 +1,32 @@
name: Compress Default Meteor Configs
on:
push:
branches: [ master ]
paths: [ raw/meteors/* ]
workflow_dispatch: { }
jobs:
meteors:
name: Compress Default Meteor Configs
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v5
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: '3.10'
- name: Compress Default Meteor Configs
run: python .github/scripts/compress.py meteors meteors/meteors.zip
- name: Create PR
uses: peter-evans/create-pull-request@v7
with:
title: Compress Default Meteor Configs
body: Automated changes by Compress Default Meteor Configs workflow.
commit-message: Compress Default Meteor Configs
delete-branch: true
branch: meteor-configs/patch
+32
View File
@@ -0,0 +1,32 @@
name: Compress Demon City Buildings
on:
push:
branches: [ master ]
paths: [ raw/buildings/*.json ]
workflow_dispatch: { }
jobs:
buildings:
name: Compress Demon City Buildings
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v5
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: '3.10'
- name: Compress Demon City Buildings
run: python .github/scripts/compress.py buildings schematics/building/buildings.zip
- name: Create PR
uses: peter-evans/create-pull-request@v7
with:
title: Compress Demon City Buildings
body: Automated changes by Compress Demon City Buildings workflow.
commit-message: Compress Demon City Buildings
delete-branch: true
branch: demon-city-buildings/patch
File diff suppressed because it is too large. Load diff
+529
View File
@@ -0,0 +1,529 @@
{
"name": "LavaLight",
"doorX": 0,
"doorZ": 0,
"doorY": 0,
"buildingTier": 1,
"buildingType": 0,
"blockList": [
{
"blockid": "minecraft:stonebrick",
"metadata": [
0,
0,
0,
0
],
"positions": [
{
"xCoord": -2,
"yCoord": 0,
"zCoord": -2
},
{
"xCoord": -2,
"yCoord": 0,
"zCoord": 2
},
{
"xCoord": 2,
"yCoord": 0,
"zCoord": -2
},
{
"xCoord": 2,
"yCoord": 0,
"zCoord": 2
}
]
},
{
"blockid": "minecraft:stonebrick",
"metadata": [
0,
0,
0,
0
],
"positions": [
{
"xCoord": -2,
"yCoord": 0,
"zCoord": -1
},
{
"xCoord": -2,
"yCoord": 0,
"zCoord": 0
},
{
"xCoord": -2,
"yCoord": 0,
"zCoord": 1
},
{
"xCoord": -1,
"yCoord": 0,
"zCoord": -2
},
{
"xCoord": -1,
"yCoord": 0,
"zCoord": -1
},
{
"xCoord": -1,
"yCoord": 0,
"zCoord": 0
},
{
"xCoord": -1,
"yCoord": 0,
"zCoord": 1
},
{
"xCoord": -1,
"yCoord": 0,
"zCoord": 2
},
{
"xCoord": -1,
"yCoord": 1,
"zCoord": -1
},
{
"xCoord": -1,
"yCoord": 1,
"zCoord": 1
},
{
"xCoord": -1,
"yCoord": 2,
"zCoord": -1
},
{
"xCoord": -1,
"yCoord": 2,
"zCoord": 1
},
{
"xCoord": -1,
"yCoord": 3,
"zCoord": -1
},
{
"xCoord": -1,
"yCoord": 3,
"zCoord": 1
},
{
"xCoord": 0,
"yCoord": 0,
"zCoord": -2
},
{
"xCoord": 0,
"yCoord": 0,
"zCoord": -1
},
{
"xCoord": 0,
"yCoord": 0,
"zCoord": 2
},
{
"xCoord": 1,
"yCoord": 0,
"zCoord": -2
},
{
"xCoord": 1,
"yCoord": 0,
"zCoord": -1
},
{
"xCoord": 1,
"yCoord": 0,
"zCoord": 0
},
{
"xCoord": 1,
"yCoord": 0,
"zCoord": 1
},
{
"xCoord": 1,
"yCoord": 0,
"zCoord": 2
},
{
"xCoord": 1,
"yCoord": 1,
"zCoord": -1
},
{
"xCoord": 1,
"yCoord": 1,
"zCoord": 1
},
{
"xCoord": 1,
"yCoord": 2,
"zCoord": -1
},
{
"xCoord": 1,
"yCoord": 2,
"zCoord": 1
},
{
"xCoord": 1,
"yCoord": 3,
"zCoord": -1
},
{
"xCoord": 1,
"yCoord": 3,
"zCoord": 1
},
{
"xCoord": 2,
"yCoord": 0,
"zCoord": -1
},
{
"xCoord": 2,
"yCoord": 0,
"zCoord": 0
},
{
"xCoord": 2,
"yCoord": 0,
"zCoord": 1
}
]
},
{
"blockid": "minecraft:iron_bars",
"metadata": [
0,
0,
0,
0
],
"positions": [
{
"xCoord": -2,
"yCoord": 1,
"zCoord": -1
},
{
"xCoord": -2,
"yCoord": 1,
"zCoord": 0
},
{
"xCoord": -2,
"yCoord": 1,
"zCoord": 1
},
{
"xCoord": -2,
"yCoord": 3,
"zCoord": -1
},
{
"xCoord": -2,
"yCoord": 3,
"zCoord": 0
},
{
"xCoord": -2,
"yCoord": 3,
"zCoord": 1
},
{
"xCoord": -1,
"yCoord": 1,
"zCoord": -2
},
{
"xCoord": -1,
"yCoord": 1,
"zCoord": 2
},
{
"xCoord": -1,
"yCoord": 3,
"zCoord": -2
},
{
"xCoord": -1,
"yCoord": 3,
"zCoord": 2
},
{
"xCoord": 0,
"yCoord": 1,
"zCoord": -2
},
{
"xCoord": 0,
"yCoord": 1,
"zCoord": 2
},
{
"xCoord": 0,
"yCoord": 3,
"zCoord": -2
},
{
"xCoord": 0,
"yCoord": 3,
"zCoord": 2
},
{
"xCoord": 1,
"yCoord": 1,
"zCoord": -2
},
{
"xCoord": 1,
"yCoord": 1,
"zCoord": 2
},
{
"xCoord": 1,
"yCoord": 3,
"zCoord": -2
},
{
"xCoord": 1,
"yCoord": 3,
"zCoord": 2
},
{
"xCoord": 2,
"yCoord": 1,
"zCoord": -1
},
{
"xCoord": 2,
"yCoord": 1,
"zCoord": 0
},
{
"xCoord": 2,
"yCoord": 1,
"zCoord": 1
},
{
"xCoord": 2,
"yCoord": 3,
"zCoord": -1
},
{
"xCoord": 2,
"yCoord": 3,
"zCoord": 0
},
{
"xCoord": 2,
"yCoord": 3,
"zCoord": 1
}
]
},
{
"blockid": "minecraft:lava",
"metadata": [
10,
10,
10,
10
],
"positions": [
{
"xCoord": -1,
"yCoord": 1,
"zCoord": 0
},
{
"xCoord": -1,
"yCoord": 2,
"zCoord": 0
},
{
"xCoord": 0,
"yCoord": 1,
"zCoord": -1
},
{
"xCoord": 0,
"yCoord": 1,
"zCoord": 1
},
{
"xCoord": 0,
"yCoord": 2,
"zCoord": -1
},
{
"xCoord": 0,
"yCoord": 2,
"zCoord": 1
},
{
"xCoord": 1,
"yCoord": 1,
"zCoord": 0
},
{
"xCoord": 1,
"yCoord": 2,
"zCoord": 0
}
]
},
{
"blockid": "minecraft:lava",
"metadata": [
2,
2,
2,
2
],
"positions": [
{
"xCoord": -1,
"yCoord": 3,
"zCoord": 0
},
{
"xCoord": 0,
"yCoord": 3,
"zCoord": -1
},
{
"xCoord": 0,
"yCoord": 3,
"zCoord": 1
},
{
"xCoord": 1,
"yCoord": 3,
"zCoord": 0
}
]
},
{
"blockid": "minecraft:stone_slab",
"metadata": [
5,
5,
5,
5
],
"positions": [
{
"xCoord": -1,
"yCoord": 4,
"zCoord": -1
},
{
"xCoord": -1,
"yCoord": 4,
"zCoord": 0
},
{
"xCoord": -1,
"yCoord": 4,
"zCoord": 1
},
{
"xCoord": 0,
"yCoord": 4,
"zCoord": -1
},
{
"xCoord": 0,
"yCoord": 4,
"zCoord": 0
},
{
"xCoord": 0,
"yCoord": 4,
"zCoord": 1
},
{
"xCoord": 1,
"yCoord": 4,
"zCoord": -1
},
{
"xCoord": 1,
"yCoord": 4,
"zCoord": 0
},
{
"xCoord": 1,
"yCoord": 4,
"zCoord": 1
}
]
},
{
"blockid": "minecraft:stonebrick",
"metadata": [
0,
0,
0,
0
],
"positions": [
{
"xCoord": 0,
"yCoord": 0,
"zCoord": 0
}
]
},
{
"blockid": "minecraft:lava",
"metadata": [
8,
8,
8,
8
],
"positions": [
{
"xCoord": 0,
"yCoord": 1,
"zCoord": 0
},
{
"xCoord": 0,
"yCoord": 2,
"zCoord": 0
}
]
},
{
"blockid": "minecraft:lava",
"metadata": [
0,
0,
0,
0
],
"positions": [
{
"xCoord": 0,
"yCoord": 3,
"zCoord": 0
}
]
}
]
}
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+908
View File
@@ -0,0 +1,908 @@
{
"name": "MedHouse1",
"doorX": 0,
"doorZ": 0,
"doorY": 0,
"buildingTier": 1,
"buildingType": 0,
"blockList": [
{
"blockid": "AWWayofTime:blockDemonChest",
"metadata": [
2,
2,
2,
2
],
"positions": [
{
"xCoord": 3,
"yCoord": 1,
"zCoord": 0
}
]
},
{
"blockid": "minecraft:grass",
"metadata": [
0,
0,
0,
0
],
"positions": [
{
"xCoord": -2,
"yCoord": 0,
"zCoord": -2
},
{
"xCoord": -2,
"yCoord": 0,
"zCoord": -1
},
{
"xCoord": -1,
"yCoord": 0,
"zCoord": -2
},
{
"xCoord": -1,
"yCoord": 0,
"zCoord": -1
},
{
"xCoord": 0,
"yCoord": 0,
"zCoord": -2
},
{
"xCoord": 0,
"yCoord": 0,
"zCoord": -1
}
]
},
{
"blockid": "minecraft:stonebrick",
"metadata": [
0,
0,
0,
0
],
"positions": [
{
"xCoord": -2,
"yCoord": 0,
"zCoord": 0
},
{
"xCoord": -2,
"yCoord": 0,
"zCoord": 1
},
{
"xCoord": -2,
"yCoord": 0,
"zCoord": 2
},
{
"xCoord": -2,
"yCoord": 0,
"zCoord": 3
},
{
"xCoord": -2,
"yCoord": 0,
"zCoord": 4
},
{
"xCoord": -2,
"yCoord": 1,
"zCoord": 0
},
{
"xCoord": -2,
"yCoord": 1,
"zCoord": 2
},
{
"xCoord": -2,
"yCoord": 1,
"zCoord": 4
},
{
"xCoord": -2,
"yCoord": 2,
"zCoord": 0
},
{
"xCoord": -2,
"yCoord": 2,
"zCoord": 2
},
{
"xCoord": -2,
"yCoord": 2,
"zCoord": 4
},
{
"xCoord": -2,
"yCoord": 3,
"zCoord": 0
},
{
"xCoord": -2,
"yCoord": 3,
"zCoord": 2
},
{
"xCoord": -2,
"yCoord": 3,
"zCoord": 4
},
{
"xCoord": -1,
"yCoord": 0,
"zCoord": 0
},
{
"xCoord": -1,
"yCoord": 0,
"zCoord": 1
},
{
"xCoord": -1,
"yCoord": 0,
"zCoord": 2
},
{
"xCoord": -1,
"yCoord": 0,
"zCoord": 3
},
{
"xCoord": -1,
"yCoord": 0,
"zCoord": 4
},
{
"xCoord": -1,
"yCoord": 1,
"zCoord": 0
},
{
"xCoord": -1,
"yCoord": 2,
"zCoord": 0
},
{
"xCoord": -1,
"yCoord": 3,
"zCoord": 0
},
{
"xCoord": 0,
"yCoord": 0,
"zCoord": 1
},
{
"xCoord": 0,
"yCoord": 0,
"zCoord": 2
},
{
"xCoord": 0,
"yCoord": 0,
"zCoord": 3
},
{
"xCoord": 0,
"yCoord": 0,
"zCoord": 4
},
{
"xCoord": 0,
"yCoord": 1,
"zCoord": 4
},
{
"xCoord": 0,
"yCoord": 2,
"zCoord": 4
},
{
"xCoord": 0,
"yCoord": 3,
"zCoord": 4
},
{
"xCoord": 1,
"yCoord": 0,
"zCoord": -2
},
{
"xCoord": 1,
"yCoord": 0,
"zCoord": -1
},
{
"xCoord": 1,
"yCoord": 0,
"zCoord": 0
},
{
"xCoord": 1,
"yCoord": 0,
"zCoord": 1
},
{
"xCoord": 1,
"yCoord": 0,
"zCoord": 2
},
{
"xCoord": 1,
"yCoord": 0,
"zCoord": 3
},
{
"xCoord": 1,
"yCoord": 0,
"zCoord": 4
},
{
"xCoord": 1,
"yCoord": 1,
"zCoord": 0
},
{
"xCoord": 1,
"yCoord": 2,
"zCoord": 0
},
{
"xCoord": 1,
"yCoord": 3,
"zCoord": 0
},
{
"xCoord": 2,
"yCoord": 0,
"zCoord": -2
},
{
"xCoord": 2,
"yCoord": 0,
"zCoord": -1
},
{
"xCoord": 2,
"yCoord": 0,
"zCoord": 0
},
{
"xCoord": 2,
"yCoord": 0,
"zCoord": 1
},
{
"xCoord": 2,
"yCoord": 0,
"zCoord": 2
},
{
"xCoord": 2,
"yCoord": 0,
"zCoord": 3
},
{
"xCoord": 2,
"yCoord": 0,
"zCoord": 4
},
{
"xCoord": 2,
"yCoord": 1,
"zCoord": -1
},
{
"xCoord": 2,
"yCoord": 1,
"zCoord": 4
},
{
"xCoord": 2,
"yCoord": 2,
"zCoord": -1
},
{
"xCoord": 2,
"yCoord": 2,
"zCoord": 4
},
{
"xCoord": 2,
"yCoord": 3,
"zCoord": -1
},
{
"xCoord": 2,
"yCoord": 3,
"zCoord": 4
},
{
"xCoord": 3,
"yCoord": 0,
"zCoord": -2
},
{
"xCoord": 3,
"yCoord": 0,
"zCoord": -1
},
{
"xCoord": 3,
"yCoord": 0,
"zCoord": 0
},
{
"xCoord": 3,
"yCoord": 0,
"zCoord": 1
},
{
"xCoord": 3,
"yCoord": 0,
"zCoord": 2
},
{
"xCoord": 3,
"yCoord": 0,
"zCoord": 3
},
{
"xCoord": 3,
"yCoord": 0,
"zCoord": 4
},
{
"xCoord": 3,
"yCoord": 1,
"zCoord": -1
},
{
"xCoord": 3,
"yCoord": 2,
"zCoord": -1
},
{
"xCoord": 3,
"yCoord": 3,
"zCoord": -1
},
{
"xCoord": 4,
"yCoord": 0,
"zCoord": -2
},
{
"xCoord": 4,
"yCoord": 0,
"zCoord": -1
},
{
"xCoord": 4,
"yCoord": 0,
"zCoord": 0
},
{
"xCoord": 4,
"yCoord": 0,
"zCoord": 1
},
{
"xCoord": 4,
"yCoord": 0,
"zCoord": 2
},
{
"xCoord": 4,
"yCoord": 0,
"zCoord": 3
},
{
"xCoord": 4,
"yCoord": 0,
"zCoord": 4
},
{
"xCoord": 4,
"yCoord": 1,
"zCoord": 0
},
{
"xCoord": 4,
"yCoord": 1,
"zCoord": 2
},
{
"xCoord": 4,
"yCoord": 1,
"zCoord": 4
},
{
"xCoord": 4,
"yCoord": 2,
"zCoord": 0
},
{
"xCoord": 4,
"yCoord": 2,
"zCoord": 2
},
{
"xCoord": 4,
"yCoord": 2,
"zCoord": 4
},
{
"xCoord": 4,
"yCoord": 3,
"zCoord": 0
},
{
"xCoord": 4,
"yCoord": 3,
"zCoord": 2
},
{
"xCoord": 4,
"yCoord": 3,
"zCoord": 4
}
]
},
{
"blockid": "minecraft:iron_bars",
"metadata": [
0,
0,
0,
0
],
"positions": [
{
"xCoord": -2,
"yCoord": 1,
"zCoord": -1
},
{
"xCoord": -2,
"yCoord": 2,
"zCoord": -1
},
{
"xCoord": -2,
"yCoord": 2,
"zCoord": 1
},
{
"xCoord": -2,
"yCoord": 2,
"zCoord": 3
},
{
"xCoord": -2,
"yCoord": 3,
"zCoord": -1
},
{
"xCoord": -1,
"yCoord": 2,
"zCoord": 4
},
{
"xCoord": 1,
"yCoord": 2,
"zCoord": 4
},
{
"xCoord": 3,
"yCoord": 2,
"zCoord": 4
},
{
"xCoord": 4,
"yCoord": 2,
"zCoord": 1
},
{
"xCoord": 4,
"yCoord": 2,
"zCoord": 3
}
]
},
{
"blockid": "minecraft:stone_brick_stairs",
"metadata": [
1,
0,
2,
3
],
"positions": [
{
"xCoord": -2,
"yCoord": 1,
"zCoord": 1
},
{
"xCoord": -2,
"yCoord": 1,
"zCoord": 3
},
{
"xCoord": 4,
"yCoord": 1,
"zCoord": -1
}
]
},
{
"blockid": "minecraft:stone_brick_stairs",
"metadata": [
5,
4,
6,
7
],
"positions": [
{
"xCoord": -2,
"yCoord": 3,
"zCoord": 1
},
{
"xCoord": -2,
"yCoord": 3,
"zCoord": 3
}
]
},
{
"blockid": "minecraft:stone_slab",
"metadata": [
0,
0,
0,
0
],
"positions": [
{
"xCoord": -2,
"yCoord": 4,
"zCoord": -1
},
{
"xCoord": -2,
"yCoord": 4,
"zCoord": 0
},
{
"xCoord": -2,
"yCoord": 4,
"zCoord": 2
},
{
"xCoord": -2,
"yCoord": 4,
"zCoord": 4
},
{
"xCoord": -1,
"yCoord": 4,
"zCoord": -1
},
{
"xCoord": -1,
"yCoord": 4,
"zCoord": 0
},
{
"xCoord": -1,
"yCoord": 4,
"zCoord": 1
},
{
"xCoord": -1,
"yCoord": 4,
"zCoord": 2
},
{
"xCoord": -1,
"yCoord": 4,
"zCoord": 3
},
{
"xCoord": 0,
"yCoord": 4,
"zCoord": -1
},
{
"xCoord": 0,
"yCoord": 4,
"zCoord": 0
},
{
"xCoord": 0,
"yCoord": 4,
"zCoord": 1
},
{
"xCoord": 0,
"yCoord": 4,
"zCoord": 3
},
{
"xCoord": 0,
"yCoord": 4,
"zCoord": 4
},
{
"xCoord": 1,
"yCoord": 4,
"zCoord": -1
},
{
"xCoord": 1,
"yCoord": 4,
"zCoord": 0
},
{
"xCoord": 1,
"yCoord": 4,
"zCoord": 1
},
{
"xCoord": 1,
"yCoord": 4,
"zCoord": 2
},
{
"xCoord": 1,
"yCoord": 4,
"zCoord": 3
},
{
"xCoord": 2,
"yCoord": 4,
"zCoord": -1
},
{
"xCoord": 2,
"yCoord": 4,
"zCoord": 0
},
{
"xCoord": 2,
"yCoord": 4,
"zCoord": 1
},
{
"xCoord": 2,
"yCoord": 4,
"zCoord": 3
},
{
"xCoord": 2,
"yCoord": 4,
"zCoord": 4
},
{
"xCoord": 3,
"yCoord": 4,
"zCoord": -1
},
{
"xCoord": 3,
"yCoord": 4,
"zCoord": 0
},
{
"xCoord": 3,
"yCoord": 4,
"zCoord": 1
},
{
"xCoord": 3,
"yCoord": 4,
"zCoord": 2
},
{
"xCoord": 3,
"yCoord": 4,
"zCoord": 3
},
{
"xCoord": 4,
"yCoord": 4,
"zCoord": 0
},
{
"xCoord": 4,
"yCoord": 4,
"zCoord": 2
},
{
"xCoord": 4,
"yCoord": 4,
"zCoord": 4
}
]
},
{
"blockid": "minecraft:stone_brick_stairs",
"metadata": [
2,
3,
0,
1
],
"positions": [
{
"xCoord": -1,
"yCoord": 1,
"zCoord": 4
},
{
"xCoord": 1,
"yCoord": 1,
"zCoord": -2
},
{
"xCoord": 1,
"yCoord": 1,
"zCoord": 4
},
{
"xCoord": 2,
"yCoord": 1,
"zCoord": -2
},
{
"xCoord": 3,
"yCoord": 1,
"zCoord": -2
},
{
"xCoord": 3,
"yCoord": 1,
"zCoord": 4
},
{
"xCoord": 4,
"yCoord": 1,
"zCoord": -2
}
]
},
{
"blockid": "minecraft:stone_brick_stairs",
"metadata": [
6,
7,
4,
5
],
"positions": [
{
"xCoord": -1,
"yCoord": 3,
"zCoord": 4
},
{
"xCoord": 0,
"yCoord": 3,
"zCoord": 0
},
{
"xCoord": 1,
"yCoord": 3,
"zCoord": 4
},
{
"xCoord": 3,
"yCoord": 3,
"zCoord": 4
}
]
},
{
"blockid": "minecraft:stonebrick",
"metadata": [
0,
0,
0,
0
],
"positions": [
{
"xCoord": 0,
"yCoord": 0,
"zCoord": 0
}
]
},
{
"blockid": "minecraft:glass",
"metadata": [
0,
0,
0,
0
],
"positions": [
{
"xCoord": 0,
"yCoord": 4,
"zCoord": 2
},
{
"xCoord": 2,
"yCoord": 4,
"zCoord": 2
}
]
},
{
"blockid": "minecraft:stone_brick_stairs",
"metadata": [
0,
1,
3,
2
],
"positions": [
{
"xCoord": 1,
"yCoord": 1,
"zCoord": -1
},
{
"xCoord": 4,
"yCoord": 1,
"zCoord": 1
},
{
"xCoord": 4,
"yCoord": 1,
"zCoord": 3
}
]
},
{
"blockid": "minecraft:stone_brick_stairs",
"metadata": [
4,
5,
7,
6
],
"positions": [
{
"xCoord": 4,
"yCoord": 3,
"zCoord": 1
},
{
"xCoord": 4,
"yCoord": 3,
"zCoord": 3
}
]
}
]
}
File diff suppressed because it is too large. Load diff
+976
View File
@@ -0,0 +1,976 @@
{
"name": "MossyCellar1",
"doorX": 0,
"doorZ": 0,
"doorY": 0,
"buildingTier": 0,
"buildingType": 0,
"blockList": [
{
"blockid": "minecraft:cobblestone",
"metadata": [
0,
0,
0,
0
],
"positions": [
{
"xCoord": -2,
"yCoord": -3,
"zCoord": -2
},
{
"xCoord": -2,
"yCoord": -3,
"zCoord": -1
},
{
"xCoord": -2,
"yCoord": -3,
"zCoord": 0
},
{
"xCoord": -2,
"yCoord": -3,
"zCoord": 2
},
{
"xCoord": -2,
"yCoord": -2,
"zCoord": -2
},
{
"xCoord": -2,
"yCoord": -2,
"zCoord": 0
},
{
"xCoord": -2,
"yCoord": -2,
"zCoord": 1
},
{
"xCoord": -2,
"yCoord": -1,
"zCoord": -1
},
{
"xCoord": -2,
"yCoord": -1,
"zCoord": 0
},
{
"xCoord": -2,
"yCoord": -1,
"zCoord": 1
},
{
"xCoord": -2,
"yCoord": 0,
"zCoord": -2
},
{
"xCoord": -2,
"yCoord": 0,
"zCoord": -1
},
{
"xCoord": -2,
"yCoord": 0,
"zCoord": 0
},
{
"xCoord": -2,
"yCoord": 0,
"zCoord": 1
},
{
"xCoord": -2,
"yCoord": 0,
"zCoord": 2
},
{
"xCoord": -2,
"yCoord": 1,
"zCoord": -1
},
{
"xCoord": -2,
"yCoord": 1,
"zCoord": 0
},
{
"xCoord": -2,
"yCoord": 1,
"zCoord": 1
},
{
"xCoord": -2,
"yCoord": 2,
"zCoord": -1
},
{
"xCoord": -2,
"yCoord": 2,
"zCoord": 0
},
{
"xCoord": -2,
"yCoord": 2,
"zCoord": 1
},
{
"xCoord": -2,
"yCoord": 3,
"zCoord": -1
},
{
"xCoord": -2,
"yCoord": 3,
"zCoord": 1
},
{
"xCoord": -1,
"yCoord": -3,
"zCoord": -2
},
{
"xCoord": -1,
"yCoord": -3,
"zCoord": -1
},
{
"xCoord": -1,
"yCoord": -3,
"zCoord": 0
},
{
"xCoord": -1,
"yCoord": -3,
"zCoord": 1
},
{
"xCoord": -1,
"yCoord": -3,
"zCoord": 2
},
{
"xCoord": -1,
"yCoord": -2,
"zCoord": -2
},
{
"xCoord": -1,
"yCoord": -2,
"zCoord": 2
},
{
"xCoord": -1,
"yCoord": -1,
"zCoord": 2
},
{
"xCoord": -1,
"yCoord": 0,
"zCoord": -2
},
{
"xCoord": -1,
"yCoord": 0,
"zCoord": -1
},
{
"xCoord": -1,
"yCoord": 0,
"zCoord": 0
},
{
"xCoord": -1,
"yCoord": 0,
"zCoord": 1
},
{
"xCoord": -1,
"yCoord": 0,
"zCoord": 2
},
{
"xCoord": -1,
"yCoord": 1,
"zCoord": 2
},
{
"xCoord": -1,
"yCoord": 2,
"zCoord": -2
},
{
"xCoord": 0,
"yCoord": -3,
"zCoord": -1
},
{
"xCoord": 0,
"yCoord": -3,
"zCoord": 0
},
{
"xCoord": 0,
"yCoord": -3,
"zCoord": 1
},
{
"xCoord": 0,
"yCoord": -3,
"zCoord": 2
},
{
"xCoord": 0,
"yCoord": -2,
"zCoord": -2
},
{
"xCoord": 0,
"yCoord": -1,
"zCoord": 2
},
{
"xCoord": 0,
"yCoord": 0,
"zCoord": -2
},
{
"xCoord": 0,
"yCoord": 0,
"zCoord": -1
},
{
"xCoord": 0,
"yCoord": 0,
"zCoord": 1
},
{
"xCoord": 0,
"yCoord": 0,
"zCoord": 2
},
{
"xCoord": 0,
"yCoord": 1,
"zCoord": 2
},
{
"xCoord": 0,
"yCoord": 2,
"zCoord": 2
},
{
"xCoord": 0,
"yCoord": 3,
"zCoord": 2
},
{
"xCoord": 0,
"yCoord": 4,
"zCoord": -1
},
{
"xCoord": 0,
"yCoord": 4,
"zCoord": 1
},
{
"xCoord": 1,
"yCoord": -3,
"zCoord": -2
},
{
"xCoord": 1,
"yCoord": -3,
"zCoord": -1
},
{
"xCoord": 1,
"yCoord": -3,
"zCoord": 0
},
{
"xCoord": 1,
"yCoord": -3,
"zCoord": 1
},
{
"xCoord": 1,
"yCoord": -3,
"zCoord": 2
},
{
"xCoord": 1,
"yCoord": -2,
"zCoord": 2
},
{
"xCoord": 1,
"yCoord": -1,
"zCoord": -2
},
{
"xCoord": 1,
"yCoord": 0,
"zCoord": -2
},
{
"xCoord": 1,
"yCoord": 0,
"zCoord": -1
},
{
"xCoord": 1,
"yCoord": 0,
"zCoord": 1
},
{
"xCoord": 1,
"yCoord": 0,
"zCoord": 2
},
{
"xCoord": 1,
"yCoord": 1,
"zCoord": -2
},
{
"xCoord": 1,
"yCoord": 2,
"zCoord": 2
},
{
"xCoord": 1,
"yCoord": 3,
"zCoord": -2
},
{
"xCoord": 1,
"yCoord": 4,
"zCoord": 0
},
{
"xCoord": 2,
"yCoord": -3,
"zCoord": -1
},
{
"xCoord": 2,
"yCoord": -3,
"zCoord": 0
},
{
"xCoord": 2,
"yCoord": -3,
"zCoord": 1
},
{
"xCoord": 2,
"yCoord": -2,
"zCoord": 0
},
{
"xCoord": 2,
"yCoord": -1,
"zCoord": -2
},
{
"xCoord": 2,
"yCoord": -1,
"zCoord": -1
},
{
"xCoord": 2,
"yCoord": -1,
"zCoord": 1
},
{
"xCoord": 2,
"yCoord": -1,
"zCoord": 2
},
{
"xCoord": 2,
"yCoord": 0,
"zCoord": 0
},
{
"xCoord": 2,
"yCoord": 0,
"zCoord": 1
},
{
"xCoord": 2,
"yCoord": 0,
"zCoord": 2
},
{
"xCoord": 2,
"yCoord": 1,
"zCoord": -1
},
{
"xCoord": 2,
"yCoord": 1,
"zCoord": 1
},
{
"xCoord": 2,
"yCoord": 2,
"zCoord": 0
},
{
"xCoord": 2,
"yCoord": 2,
"zCoord": 1
},
{
"xCoord": 2,
"yCoord": 3,
"zCoord": -1
},
{
"xCoord": 2,
"yCoord": 3,
"zCoord": 0
}
]
},
{
"blockid": "minecraft:mossy_cobblestone",
"metadata": [
0,
0,
0,
0
],
"positions": [
{
"xCoord": -2,
"yCoord": -3,
"zCoord": 1
},
{
"xCoord": -2,
"yCoord": -2,
"zCoord": -1
},
{
"xCoord": -2,
"yCoord": -2,
"zCoord": 2
},
{
"xCoord": -2,
"yCoord": -1,
"zCoord": -2
},
{
"xCoord": -2,
"yCoord": -1,
"zCoord": 2
},
{
"xCoord": -2,
"yCoord": 3,
"zCoord": 0
},
{
"xCoord": -1,
"yCoord": -1,
"zCoord": -2
},
{
"xCoord": -1,
"yCoord": 1,
"zCoord": -2
},
{
"xCoord": -1,
"yCoord": 2,
"zCoord": 2
},
{
"xCoord": -1,
"yCoord": 3,
"zCoord": -2
},
{
"xCoord": -1,
"yCoord": 3,
"zCoord": 2
},
{
"xCoord": -1,
"yCoord": 4,
"zCoord": -1
},
{
"xCoord": -1,
"yCoord": 4,
"zCoord": 0
},
{
"xCoord": -1,
"yCoord": 4,
"zCoord": 1
},
{
"xCoord": 0,
"yCoord": -3,
"zCoord": -2
},
{
"xCoord": 0,
"yCoord": -2,
"zCoord": 2
},
{
"xCoord": 0,
"yCoord": -1,
"zCoord": -2
},
{
"xCoord": 1,
"yCoord": -2,
"zCoord": -2
},
{
"xCoord": 1,
"yCoord": -1,
"zCoord": 2
},
{
"xCoord": 1,
"yCoord": 1,
"zCoord": 2
},
{
"xCoord": 1,
"yCoord": 2,
"zCoord": -2
},
{
"xCoord": 1,
"yCoord": 3,
"zCoord": 2
},
{
"xCoord": 1,
"yCoord": 4,
"zCoord": -1
},
{
"xCoord": 1,
"yCoord": 4,
"zCoord": 1
},
{
"xCoord": 2,
"yCoord": -3,
"zCoord": -2
},
{
"xCoord": 2,
"yCoord": -3,
"zCoord": 2
},
{
"xCoord": 2,
"yCoord": -2,
"zCoord": -2
},
{
"xCoord": 2,
"yCoord": -2,
"zCoord": -1
},
{
"xCoord": 2,
"yCoord": -2,
"zCoord": 1
},
{
"xCoord": 2,
"yCoord": -2,
"zCoord": 2
},
{
"xCoord": 2,
"yCoord": -1,
"zCoord": 0
},
{
"xCoord": 2,
"yCoord": 0,
"zCoord": -2
},
{
"xCoord": 2,
"yCoord": 0,
"zCoord": -1
},
{
"xCoord": 2,
"yCoord": 1,
"zCoord": 0
},
{
"xCoord": 2,
"yCoord": 2,
"zCoord": -1
},
{
"xCoord": 2,
"yCoord": 3,
"zCoord": 1
}
]
},
{
"blockid": "minecraft:cobblestone_wall",
"metadata": [
0,
0,
0,
0
],
"positions": [
{
"xCoord": -2,
"yCoord": 1,
"zCoord": -2
},
{
"xCoord": -2,
"yCoord": 1,
"zCoord": 2
},
{
"xCoord": -2,
"yCoord": 2,
"zCoord": 2
},
{
"xCoord": -2,
"yCoord": 3,
"zCoord": -2
},
{
"xCoord": 2,
"yCoord": 1,
"zCoord": 2
},
{
"xCoord": 2,
"yCoord": 2,
"zCoord": -2
},
{
"xCoord": 2,
"yCoord": 2,
"zCoord": 2
},
{
"xCoord": 2,
"yCoord": 3,
"zCoord": -2
}
]
},
{
"blockid": "minecraft:cobblestone_wall",
"metadata": [
1,
1,
1,
1
],
"positions": [
{
"xCoord": -2,
"yCoord": 2,
"zCoord": -2
},
{
"xCoord": -2,
"yCoord": 3,
"zCoord": 2
},
{
"xCoord": 2,
"yCoord": 1,
"zCoord": -2
},
{
"xCoord": 2,
"yCoord": 3,
"zCoord": 2
}
]
},
{
"blockid": "minecraft:stone_stairs",
"metadata": [
2,
3,
0,
1
],
"positions": [
{
"xCoord": -2,
"yCoord": 4,
"zCoord": -2
},
{
"xCoord": -1,
"yCoord": 4,
"zCoord": -2
},
{
"xCoord": 0,
"yCoord": 4,
"zCoord": -2
},
{
"xCoord": 1,
"yCoord": 4,
"zCoord": -2
},
{
"xCoord": 2,
"yCoord": 4,
"zCoord": -2
}
]
},
{
"blockid": "minecraft:stone_stairs",
"metadata": [
0,
1,
3,
2
],
"positions": [
{
"xCoord": -2,
"yCoord": 4,
"zCoord": -1
},
{
"xCoord": -2,
"yCoord": 4,
"zCoord": 0
},
{
"xCoord": -2,
"yCoord": 4,
"zCoord": 1
}
]
},
{
"blockid": "minecraft:stone_stairs",
"metadata": [
3,
2,
1,
0
],
"positions": [
{
"xCoord": -2,
"yCoord": 4,
"zCoord": 2
},
{
"xCoord": -1,
"yCoord": 4,
"zCoord": 2
},
{
"xCoord": 0,
"yCoord": 4,
"zCoord": 2
},
{
"xCoord": 1,
"yCoord": 4,
"zCoord": 2
}
]
},
{
"blockid": "AWWayofTime:blockDemonChest",
"metadata": [
2,
2,
2,
2
],
"positions": [
{
"xCoord": -1,
"yCoord": -2,
"zCoord": 1
}
]
},
{
"blockid": "minecraft:torch",
"metadata": [
3,
4,
1,
2
],
"positions": [
{
"xCoord": -1,
"yCoord": -1,
"zCoord": 0
}
]
},
{
"blockid": "minecraft:mossy_cobblestone",
"metadata": [
0,
0,
0,
0
],
"positions": [
{
"xCoord": 0,
"yCoord": 0,
"zCoord": 0
}
]
},
{
"blockid": "minecraft:torch",
"metadata": [
4,
3,
2,
1
],
"positions": [
{
"xCoord": 0,
"yCoord": 2,
"zCoord": 1
}
]
},
{
"blockid": "minecraft:stone_stairs",
"metadata": [
6,
7,
4,
5
],
"positions": [
{
"xCoord": 0,
"yCoord": 3,
"zCoord": -2
}
]
},
{
"blockid": "minecraft:stained_glass",
"metadata": [
0,
0,
0,
0
],
"positions": [
{
"xCoord": 0,
"yCoord": 4,
"zCoord": 0
}
]
},
{
"blockid": "minecraft:ladder",
"metadata": [
4,
5,
3,
2
],
"positions": [
{
"xCoord": 1,
"yCoord": -2,
"zCoord": 0
},
{
"xCoord": 1,
"yCoord": -1,
"zCoord": 0
}
]
},
{
"blockid": "minecraft:trapdoor",
"metadata": [
10,
11,
9,
8
],
"positions": [
{
"xCoord": 1,
"yCoord": 0,
"zCoord": 0
}
]
},
{
"blockid": "minecraft:stone_stairs",
"metadata": [
1,
0,
2,
3
],
"positions": [
{
"xCoord": 2,
"yCoord": 4,
"zCoord": -1
},
{
"xCoord": 2,
"yCoord": 4,
"zCoord": 0
},
{
"xCoord": 2,
"yCoord": 4,
"zCoord": 1
},
{
"xCoord": 2,
"yCoord": 4,
"zCoord": 2
}
]
}
]
}
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+632
View File
@@ -0,0 +1,632 @@
{
"name": "QuickDemonStructure1",
"doorX": 0,
"doorZ": 0,
"doorY": 0,
"buildingTier": 0,
"buildingType": 0,
"blockList": [
{
"blockid": "minecraft:mossy_cobblestone",
"metadata": [
0,
0,
0,
0
],
"positions": [
{
"xCoord": -2,
"yCoord": 0,
"zCoord": -2
},
{
"xCoord": -2,
"yCoord": 0,
"zCoord": 0
},
{
"xCoord": -2,
"yCoord": 0,
"zCoord": 2
},
{
"xCoord": -1,
"yCoord": 0,
"zCoord": -2
},
{
"xCoord": -1,
"yCoord": 0,
"zCoord": -1
},
{
"xCoord": -1,
"yCoord": 0,
"zCoord": 1
},
{
"xCoord": -1,
"yCoord": 0,
"zCoord": 2
},
{
"xCoord": 0,
"yCoord": 0,
"zCoord": 2
},
{
"xCoord": 1,
"yCoord": 0,
"zCoord": -1
},
{
"xCoord": 2,
"yCoord": 0,
"zCoord": -2
},
{
"xCoord": 2,
"yCoord": 0,
"zCoord": -1
},
{
"xCoord": 2,
"yCoord": 0,
"zCoord": 2
}
]
},
{
"blockid": "minecraft:cobblestone",
"metadata": [
0,
0,
0,
0
],
"positions": [
{
"xCoord": -2,
"yCoord": 0,
"zCoord": -1
},
{
"xCoord": -2,
"yCoord": 0,
"zCoord": 1
},
{
"xCoord": -1,
"yCoord": 0,
"zCoord": 0
},
{
"xCoord": 0,
"yCoord": 0,
"zCoord": -2
},
{
"xCoord": 0,
"yCoord": 0,
"zCoord": -1
},
{
"xCoord": 0,
"yCoord": 0,
"zCoord": 1
},
{
"xCoord": 1,
"yCoord": 0,
"zCoord": -2
},
{
"xCoord": 1,
"yCoord": 0,
"zCoord": 0
},
{
"xCoord": 1,
"yCoord": 0,
"zCoord": 1
},
{
"xCoord": 1,
"yCoord": 0,
"zCoord": 2
},
{
"xCoord": 2,
"yCoord": 0,
"zCoord": 0
},
{
"xCoord": 2,
"yCoord": 0,
"zCoord": 1
}
]
},
{
"blockid": "minecraft:stone_stairs",
"metadata": [
0,
1,
3,
2
],
"positions": [
{
"xCoord": -2,
"yCoord": 1,
"zCoord": -2
},
{
"xCoord": -2,
"yCoord": 1,
"zCoord": -1
},
{
"xCoord": -2,
"yCoord": 1,
"zCoord": 0
},
{
"xCoord": -2,
"yCoord": 1,
"zCoord": 1
}
]
},
{
"blockid": "minecraft:stone_stairs",
"metadata": [
3,
2,
1,
0
],
"positions": [
{
"xCoord": -2,
"yCoord": 1,
"zCoord": 2
},
{
"xCoord": -1,
"yCoord": 1,
"zCoord": 2
},
{
"xCoord": 0,
"yCoord": 1,
"zCoord": 2
},
{
"xCoord": 1,
"yCoord": 1,
"zCoord": 2
},
{
"xCoord": 2,
"yCoord": 1,
"zCoord": 2
}
]
},
{
"blockid": "minecraft:stone_stairs",
"metadata": [
4,
5,
7,
6
],
"positions": [
{
"xCoord": -2,
"yCoord": 2,
"zCoord": -2
},
{
"xCoord": -2,
"yCoord": 2,
"zCoord": -1
},
{
"xCoord": -2,
"yCoord": 2,
"zCoord": 0
},
{
"xCoord": -2,
"yCoord": 2,
"zCoord": 1
},
{
"xCoord": -2,
"yCoord": 2,
"zCoord": 2
}
]
},
{
"blockid": "minecraft:cobblestone_wall",
"metadata": [
1,
1,
1,
1
],
"positions": [
{
"xCoord": -2,
"yCoord": 3,
"zCoord": -2
},
{
"xCoord": -2,
"yCoord": 3,
"zCoord": 0
},
{
"xCoord": -2,
"yCoord": 4,
"zCoord": 0
},
{
"xCoord": -1,
"yCoord": 3,
"zCoord": 2
},
{
"xCoord": -1,
"yCoord": 4,
"zCoord": 0
},
{
"xCoord": 0,
"yCoord": 3,
"zCoord": 2
},
{
"xCoord": 0,
"yCoord": 4,
"zCoord": -1
},
{
"xCoord": 0,
"yCoord": 4,
"zCoord": 2
},
{
"xCoord": 1,
"yCoord": 4,
"zCoord": 0
},
{
"xCoord": 2,
"yCoord": 3,
"zCoord": 0
},
{
"xCoord": 2,
"yCoord": 3,
"zCoord": 1
},
{
"xCoord": 2,
"yCoord": 3,
"zCoord": 2
}
]
},
{
"blockid": "minecraft:cobblestone_wall",
"metadata": [
0,
0,
0,
0
],
"positions": [
{
"xCoord": -2,
"yCoord": 3,
"zCoord": -1
},
{
"xCoord": -2,
"yCoord": 3,
"zCoord": 1
},
{
"xCoord": -2,
"yCoord": 3,
"zCoord": 2
},
{
"xCoord": -1,
"yCoord": 3,
"zCoord": -2
},
{
"xCoord": 0,
"yCoord": 3,
"zCoord": -2
},
{
"xCoord": 0,
"yCoord": 4,
"zCoord": -2
},
{
"xCoord": 0,
"yCoord": 4,
"zCoord": 0
},
{
"xCoord": 0,
"yCoord": 4,
"zCoord": 1
},
{
"xCoord": 1,
"yCoord": 3,
"zCoord": -2
},
{
"xCoord": 1,
"yCoord": 3,
"zCoord": 2
},
{
"xCoord": 2,
"yCoord": 3,
"zCoord": -2
},
{
"xCoord": 2,
"yCoord": 3,
"zCoord": -1
},
{
"xCoord": 2,
"yCoord": 4,
"zCoord": 0
}
]
},
{
"blockid": "minecraft:stone_stairs",
"metadata": [
2,
3,
0,
1
],
"positions": [
{
"xCoord": -1,
"yCoord": 1,
"zCoord": -2
},
{
"xCoord": 1,
"yCoord": 1,
"zCoord": -2
},
{
"xCoord": 2,
"yCoord": 1,
"zCoord": -2
}
]
},
{
"blockid": "minecraft:mossy_cobblestone",
"metadata": [
0,
0,
0,
0
],
"positions": [
{
"xCoord": 0,
"yCoord": 0,
"zCoord": 0
}
]
},
{
"blockid": "minecraft:redstone_wire",
"metadata": [
0,
0,
0,
0
],
"positions": [
{
"xCoord": -1,
"yCoord": 1,
"zCoord": 0
},
{
"xCoord": 0,
"yCoord": 1,
"zCoord": 0
},
{
"xCoord": 1,
"yCoord": 1,
"zCoord": -1
},
{
"xCoord": 1,
"yCoord": 1,
"zCoord": 1
}
]
},
{
"blockid": "minecraft:stone_stairs",
"metadata": [
6,
7,
4,
5
],
"positions": [
{
"xCoord": -1,
"yCoord": 2,
"zCoord": -2
},
{
"xCoord": 1,
"yCoord": 2,
"zCoord": -2
}
]
},
{
"blockid": "minecraft:stone_stairs",
"metadata": [
7,
6,
5,
4
],
"positions": [
{
"xCoord": -1,
"yCoord": 2,
"zCoord": 2
},
{
"xCoord": 0,
"yCoord": 2,
"zCoord": 2
},
{
"xCoord": 1,
"yCoord": 2,
"zCoord": 2
},
{
"xCoord": 2,
"yCoord": 2,
"zCoord": 2
}
]
},
{
"blockid": "minecraft:wooden_door",
"metadata": [
3,
1,
2,
0
],
"positions": [
{
"xCoord": 0,
"yCoord": 1,
"zCoord": -2
}
]
},
{
"blockid": "minecraft:wooden_door",
"metadata": [
8,
8,
8,
8
],
"positions": [
{
"xCoord": 0,
"yCoord": 2,
"zCoord": -2
}
]
},
{
"blockid": "minecraft:redstone_torch",
"metadata": [
4,
3,
2,
1
],
"positions": [
{
"xCoord": 0,
"yCoord": 2,
"zCoord": 1
}
]
},
{
"blockid": "minecraft:stone_stairs",
"metadata": [
1,
0,
2,
3
],
"positions": [
{
"xCoord": 2,
"yCoord": 1,
"zCoord": -1
},
{
"xCoord": 2,
"yCoord": 1,
"zCoord": 0
},
{
"xCoord": 2,
"yCoord": 1,
"zCoord": 1
}
]
},
{
"blockid": "minecraft:stone_stairs",
"metadata": [
5,
4,
6,
7
],
"positions": [
{
"xCoord": 2,
"yCoord": 2,
"zCoord": -2
},
{
"xCoord": 2,
"yCoord": 2,
"zCoord": -1
},
{
"xCoord": 2,
"yCoord": 2,
"zCoord": 0
},
{
"xCoord": 2,
"yCoord": 2,
"zCoord": 1
}
]
}
]
}
+598
View File
@@ -0,0 +1,598 @@
{
"name": "SmallHouse1",
"doorX": 0,
"doorZ": 0,
"doorY": 0,
"buildingTier": 1,
"buildingType": 0,
"blockList": [
{
"blockid": "AWWayofTime:blockDemonChest",
"metadata": [
2,
2,
2,
2
],
"positions": [
{
"xCoord": -1,
"yCoord": 1,
"zCoord": 1
}
]
},
{
"blockid": "minecraft:stonebrick",
"metadata": [
0,
0,
0,
0
],
"positions": [
{
"xCoord": -2,
"yCoord": 0,
"zCoord": -2
},
{
"xCoord": -2,
"yCoord": 0,
"zCoord": -1
},
{
"xCoord": -2,
"yCoord": 0,
"zCoord": 0
},
{
"xCoord": -2,
"yCoord": 0,
"zCoord": 1
},
{
"xCoord": -2,
"yCoord": 0,
"zCoord": 2
},
{
"xCoord": -2,
"yCoord": 1,
"zCoord": -2
},
{
"xCoord": -2,
"yCoord": 1,
"zCoord": 2
},
{
"xCoord": -2,
"yCoord": 2,
"zCoord": -2
},
{
"xCoord": -2,
"yCoord": 2,
"zCoord": 2
},
{
"xCoord": -2,
"yCoord": 3,
"zCoord": -2
},
{
"xCoord": -2,
"yCoord": 3,
"zCoord": 2
},
{
"xCoord": -1,
"yCoord": 0,
"zCoord": -2
},
{
"xCoord": -1,
"yCoord": 0,
"zCoord": -1
},
{
"xCoord": -1,
"yCoord": 0,
"zCoord": 0
},
{
"xCoord": -1,
"yCoord": 0,
"zCoord": 1
},
{
"xCoord": -1,
"yCoord": 0,
"zCoord": 2
},
{
"xCoord": -1,
"yCoord": 1,
"zCoord": -2
},
{
"xCoord": -1,
"yCoord": 3,
"zCoord": -2
},
{
"xCoord": 0,
"yCoord": 0,
"zCoord": -2
},
{
"xCoord": 0,
"yCoord": 0,
"zCoord": -1
},
{
"xCoord": 0,
"yCoord": 0,
"zCoord": 1
},
{
"xCoord": 0,
"yCoord": 0,
"zCoord": 2
},
{
"xCoord": 1,
"yCoord": 0,
"zCoord": -2
},
{
"xCoord": 1,
"yCoord": 0,
"zCoord": -1
},
{
"xCoord": 1,
"yCoord": 0,
"zCoord": 0
},
{
"xCoord": 1,
"yCoord": 0,
"zCoord": 1
},
{
"xCoord": 1,
"yCoord": 0,
"zCoord": 2
},
{
"xCoord": 1,
"yCoord": 1,
"zCoord": -2
},
{
"xCoord": 1,
"yCoord": 3,
"zCoord": -2
},
{
"xCoord": 2,
"yCoord": 0,
"zCoord": -2
},
{
"xCoord": 2,
"yCoord": 0,
"zCoord": -1
},
{
"xCoord": 2,
"yCoord": 0,
"zCoord": 0
},
{
"xCoord": 2,
"yCoord": 0,
"zCoord": 1
},
{
"xCoord": 2,
"yCoord": 0,
"zCoord": 2
},
{
"xCoord": 2,
"yCoord": 1,
"zCoord": -2
},
{
"xCoord": 2,
"yCoord": 1,
"zCoord": 2
},
{
"xCoord": 2,
"yCoord": 2,
"zCoord": -2
},
{
"xCoord": 2,
"yCoord": 2,
"zCoord": 2
},
{
"xCoord": 2,
"yCoord": 3,
"zCoord": -2
},
{
"xCoord": 2,
"yCoord": 3,
"zCoord": 2
}
]
},
{
"blockid": "minecraft:stone_brick_stairs",
"metadata": [
1,
0,
2,
3
],
"positions": [
{
"xCoord": -2,
"yCoord": 1,
"zCoord": -1
},
{
"xCoord": -2,
"yCoord": 1,
"zCoord": 0
},
{
"xCoord": -2,
"yCoord": 1,
"zCoord": 1
}
]
},
{
"blockid": "minecraft:iron_bars",
"metadata": [
0,
0,
0,
0
],
"positions": [
{
"xCoord": -2,
"yCoord": 2,
"zCoord": -1
},
{
"xCoord": -2,
"yCoord": 2,
"zCoord": 0
},
{
"xCoord": -2,
"yCoord": 2,
"zCoord": 1
},
{
"xCoord": -1,
"yCoord": 2,
"zCoord": -2
},
{
"xCoord": -1,
"yCoord": 2,
"zCoord": 2
},
{
"xCoord": 0,
"yCoord": 2,
"zCoord": 2
},
{
"xCoord": 1,
"yCoord": 2,
"zCoord": -2
},
{
"xCoord": 1,
"yCoord": 2,
"zCoord": 2
},
{
"xCoord": 2,
"yCoord": 2,
"zCoord": -1
},
{
"xCoord": 2,
"yCoord": 2,
"zCoord": 0
},
{
"xCoord": 2,
"yCoord": 2,
"zCoord": 1
}
]
},
{
"blockid": "minecraft:stone_brick_stairs",
"metadata": [
5,
4,
6,
7
],
"positions": [
{
"xCoord": -2,
"yCoord": 3,
"zCoord": -1
},
{
"xCoord": -2,
"yCoord": 3,
"zCoord": 0
},
{
"xCoord": -2,
"yCoord": 3,
"zCoord": 1
}
]
},
{
"blockid": "minecraft:stone_slab",
"metadata": [
0,
0,
0,
0
],
"positions": [
{
"xCoord": -2,
"yCoord": 4,
"zCoord": -1
},
{
"xCoord": -2,
"yCoord": 4,
"zCoord": 1
},
{
"xCoord": -1,
"yCoord": 4,
"zCoord": -2
},
{
"xCoord": -1,
"yCoord": 4,
"zCoord": -1
},
{
"xCoord": -1,
"yCoord": 4,
"zCoord": 0
},
{
"xCoord": -1,
"yCoord": 4,
"zCoord": 1
},
{
"xCoord": -1,
"yCoord": 4,
"zCoord": 2
},
{
"xCoord": 0,
"yCoord": 4,
"zCoord": -1
},
{
"xCoord": 0,
"yCoord": 4,
"zCoord": 1
},
{
"xCoord": 1,
"yCoord": 4,
"zCoord": -2
},
{
"xCoord": 1,
"yCoord": 4,
"zCoord": -1
},
{
"xCoord": 1,
"yCoord": 4,
"zCoord": 0
},
{
"xCoord": 1,
"yCoord": 4,
"zCoord": 1
},
{
"xCoord": 1,
"yCoord": 4,
"zCoord": 2
},
{
"xCoord": 2,
"yCoord": 4,
"zCoord": -1
},
{
"xCoord": 2,
"yCoord": 4,
"zCoord": 1
}
]
},
{
"blockid": "minecraft:stone_brick_stairs",
"metadata": [
2,
3,
0,
1
],
"positions": [
{
"xCoord": -1,
"yCoord": 1,
"zCoord": 2
},
{
"xCoord": 0,
"yCoord": 1,
"zCoord": 2
},
{
"xCoord": 1,
"yCoord": 1,
"zCoord": 2
}
]
},
{
"blockid": "minecraft:stone_brick_stairs",
"metadata": [
6,
7,
4,
5
],
"positions": [
{
"xCoord": -1,
"yCoord": 3,
"zCoord": 2
},
{
"xCoord": 0,
"yCoord": 3,
"zCoord": 2
},
{
"xCoord": 1,
"yCoord": 3,
"zCoord": 2
}
]
},
{
"blockid": "minecraft:stonebrick",
"metadata": [
0,
0,
0,
0
],
"positions": [
{
"xCoord": 0,
"yCoord": 0,
"zCoord": 0
}
]
},
{
"blockid": "minecraft:stone_brick_stairs",
"metadata": [
7,
6,
5,
4
],
"positions": [
{
"xCoord": 0,
"yCoord": 3,
"zCoord": -2
}
]
},
{
"blockid": "minecraft:glass",
"metadata": [
0,
0,
0,
0
],
"positions": [
{
"xCoord": 0,
"yCoord": 4,
"zCoord": 0
}
]
},
{
"blockid": "minecraft:stone_brick_stairs",
"metadata": [
0,
1,
3,
2
],
"positions": [
{
"xCoord": 2,
"yCoord": 1,
"zCoord": -1
},
{
"xCoord": 2,
"yCoord": 1,
"zCoord": 0
},
{
"xCoord": 2,
"yCoord": 1,
"zCoord": 1
}
]
},
{
"blockid": "minecraft:stone_brick_stairs",
"metadata": [
4,
5,
7,
6
],
"positions": [
{
"xCoord": 2,
"yCoord": 3,
"zCoord": -1
},
{
"xCoord": 2,
"yCoord": 3,
"zCoord": 0
},
{
"xCoord": 2,
"yCoord": 3,
"zCoord": 1
}
]
}
]
}
+633
View File
@@ -0,0 +1,633 @@
{
"name": "SmallHouse2",
"doorX": 0,
"doorZ": 0,
"doorY": 0,
"buildingTier": 1,
"buildingType": 0,
"blockList": [
{
"blockid": "minecraft:stonebrick",
"metadata": [
0,
0,
0,
0
],
"positions": [
{
"xCoord": -2,
"yCoord": 0,
"zCoord": -2
},
{
"xCoord": -2,
"yCoord": 0,
"zCoord": -1
},
{
"xCoord": -2,
"yCoord": 0,
"zCoord": 0
},
{
"xCoord": -2,
"yCoord": 0,
"zCoord": 1
},
{
"xCoord": -2,
"yCoord": 0,
"zCoord": 2
},
{
"xCoord": -2,
"yCoord": 1,
"zCoord": -2
},
{
"xCoord": -2,
"yCoord": 1,
"zCoord": 0
},
{
"xCoord": -2,
"yCoord": 1,
"zCoord": 2
},
{
"xCoord": -2,
"yCoord": 2,
"zCoord": -2
},
{
"xCoord": -2,
"yCoord": 2,
"zCoord": 0
},
{
"xCoord": -2,
"yCoord": 2,
"zCoord": 2
},
{
"xCoord": -2,
"yCoord": 3,
"zCoord": -2
},
{
"xCoord": -2,
"yCoord": 3,
"zCoord": 0
},
{
"xCoord": -2,
"yCoord": 3,
"zCoord": 2
},
{
"xCoord": -1,
"yCoord": 0,
"zCoord": -2
},
{
"xCoord": -1,
"yCoord": 0,
"zCoord": -1
},
{
"xCoord": -1,
"yCoord": 0,
"zCoord": 0
},
{
"xCoord": -1,
"yCoord": 0,
"zCoord": 1
},
{
"xCoord": -1,
"yCoord": 0,
"zCoord": 2
},
{
"xCoord": -1,
"yCoord": 3,
"zCoord": -2
},
{
"xCoord": 0,
"yCoord": 0,
"zCoord": -2
},
{
"xCoord": 0,
"yCoord": 0,
"zCoord": -1
},
{
"xCoord": 0,
"yCoord": 0,
"zCoord": 1
},
{
"xCoord": 0,
"yCoord": 0,
"zCoord": 2
},
{
"xCoord": 0,
"yCoord": 1,
"zCoord": 2
},
{
"xCoord": 0,
"yCoord": 2,
"zCoord": 2
},
{
"xCoord": 0,
"yCoord": 3,
"zCoord": 2
},
{
"xCoord": 1,
"yCoord": 0,
"zCoord": -2
},
{
"xCoord": 1,
"yCoord": 0,
"zCoord": -1
},
{
"xCoord": 1,
"yCoord": 0,
"zCoord": 0
},
{
"xCoord": 1,
"yCoord": 0,
"zCoord": 1
},
{
"xCoord": 1,
"yCoord": 0,
"zCoord": 2
},
{
"xCoord": 1,
"yCoord": 3,
"zCoord": -2
},
{
"xCoord": 2,
"yCoord": 0,
"zCoord": -2
},
{
"xCoord": 2,
"yCoord": 0,
"zCoord": -1
},
{
"xCoord": 2,
"yCoord": 0,
"zCoord": 0
},
{
"xCoord": 2,
"yCoord": 0,
"zCoord": 1
},
{
"xCoord": 2,
"yCoord": 0,
"zCoord": 2
},
{
"xCoord": 2,
"yCoord": 1,
"zCoord": -2
},
{
"xCoord": 2,
"yCoord": 1,
"zCoord": 0
},
{
"xCoord": 2,
"yCoord": 1,
"zCoord": 2
},
{
"xCoord": 2,
"yCoord": 2,
"zCoord": -2
},
{
"xCoord": 2,
"yCoord": 2,
"zCoord": 0
},
{
"xCoord": 2,
"yCoord": 2,
"zCoord": 2
},
{
"xCoord": 2,
"yCoord": 3,
"zCoord": -2
},
{
"xCoord": 2,
"yCoord": 3,
"zCoord": 0
},
{
"xCoord": 2,
"yCoord": 3,
"zCoord": 2
}
]
},
{
"blockid": "minecraft:stone_brick_stairs",
"metadata": [
0,
1,
3,
2
],
"positions": [
{
"xCoord": -2,
"yCoord": 1,
"zCoord": -1
},
{
"xCoord": -2,
"yCoord": 1,
"zCoord": 1
}
]
},
{
"blockid": "minecraft:iron_bars",
"metadata": [
0,
0,
0,
0
],
"positions": [
{
"xCoord": -2,
"yCoord": 2,
"zCoord": -1
},
{
"xCoord": -2,
"yCoord": 2,
"zCoord": 1
},
{
"xCoord": -1,
"yCoord": 1,
"zCoord": -2
},
{
"xCoord": -1,
"yCoord": 2,
"zCoord": -2
},
{
"xCoord": -1,
"yCoord": 2,
"zCoord": 2
},
{
"xCoord": 1,
"yCoord": 1,
"zCoord": -2
},
{
"xCoord": 1,
"yCoord": 2,
"zCoord": -2
},
{
"xCoord": 1,
"yCoord": 2,
"zCoord": 2
},
{
"xCoord": 2,
"yCoord": 2,
"zCoord": -1
},
{
"xCoord": 2,
"yCoord": 2,
"zCoord": 1
}
]
},
{
"blockid": "minecraft:stone_brick_stairs",
"metadata": [
4,
5,
7,
6
],
"positions": [
{
"xCoord": -2,
"yCoord": 3,
"zCoord": -1
},
{
"xCoord": -2,
"yCoord": 3,
"zCoord": 1
}
]
},
{
"blockid": "minecraft:stone_slab",
"metadata": [
0,
0,
0,
0
],
"positions": [
{
"xCoord": -2,
"yCoord": 4,
"zCoord": -2
},
{
"xCoord": -2,
"yCoord": 4,
"zCoord": 0
},
{
"xCoord": -2,
"yCoord": 4,
"zCoord": 2
},
{
"xCoord": -1,
"yCoord": 4,
"zCoord": -1
},
{
"xCoord": -1,
"yCoord": 4,
"zCoord": 0
},
{
"xCoord": -1,
"yCoord": 4,
"zCoord": 1
},
{
"xCoord": 0,
"yCoord": 4,
"zCoord": -2
},
{
"xCoord": 0,
"yCoord": 4,
"zCoord": -1
},
{
"xCoord": 0,
"yCoord": 4,
"zCoord": 1
},
{
"xCoord": 0,
"yCoord": 4,
"zCoord": 2
},
{
"xCoord": 1,
"yCoord": 4,
"zCoord": -1
},
{
"xCoord": 1,
"yCoord": 4,
"zCoord": 0
},
{
"xCoord": 1,
"yCoord": 4,
"zCoord": 1
},
{
"xCoord": 2,
"yCoord": 4,
"zCoord": -2
},
{
"xCoord": 2,
"yCoord": 4,
"zCoord": 0
},
{
"xCoord": 2,
"yCoord": 4,
"zCoord": 2
}
]
},
{
"blockid": "minecraft:stone_brick_stairs",
"metadata": [
3,
2,
1,
0
],
"positions": [
{
"xCoord": -1,
"yCoord": 1,
"zCoord": 2
},
{
"xCoord": 1,
"yCoord": 1,
"zCoord": 2
}
]
},
{
"blockid": "minecraft:stone_slab",
"metadata": [
13,
13,
13,
13
],
"positions": [
{
"xCoord": -1,
"yCoord": 3,
"zCoord": -1
},
{
"xCoord": -1,
"yCoord": 3,
"zCoord": 0
},
{
"xCoord": -1,
"yCoord": 3,
"zCoord": 1
},
{
"xCoord": 0,
"yCoord": 3,
"zCoord": -1
},
{
"xCoord": 0,
"yCoord": 3,
"zCoord": 1
},
{
"xCoord": 1,
"yCoord": 3,
"zCoord": -1
},
{
"xCoord": 1,
"yCoord": 3,
"zCoord": 0
},
{
"xCoord": 1,
"yCoord": 3,
"zCoord": 1
}
]
},
{
"blockid": "minecraft:stone_brick_stairs",
"metadata": [
7,
6,
5,
4
],
"positions": [
{
"xCoord": -1,
"yCoord": 3,
"zCoord": 2
},
{
"xCoord": 1,
"yCoord": 3,
"zCoord": 2
}
]
},
{
"blockid": "minecraft:stonebrick",
"metadata": [
0,
0,
0,
0
],
"positions": [
{
"xCoord": 0,
"yCoord": 0,
"zCoord": 0
}
]
},
{
"blockid": "minecraft:stone_brick_stairs",
"metadata": [
6,
7,
4,
5
],
"positions": [
{
"xCoord": 0,
"yCoord": 3,
"zCoord": -2
}
]
},
{
"blockid": "minecraft:glass",
"metadata": [
0,
0,
0,
0
],
"positions": [
{
"xCoord": 0,
"yCoord": 4,
"zCoord": 0
}
]
},
{
"blockid": "minecraft:stone_brick_stairs",
"metadata": [
1,
0,
2,
3
],
"positions": [
{
"xCoord": 2,
"yCoord": 1,
"zCoord": -1
},
{
"xCoord": 2,
"yCoord": 1,
"zCoord": 1
}
]
},
{
"blockid": "minecraft:stone_brick_stairs",
"metadata": [
5,
4,
6,
7
],
"positions": [
{
"xCoord": 2,
"yCoord": 3,
"zCoord": -1
},
{
"xCoord": 2,
"yCoord": 3,
"zCoord": 1
}
]
}
]
}
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+99
View File
@@ -0,0 +1,99 @@
#############################################
### Blood Magic Meteor Reagent Config Guide ###
#############################################
The butter for your bread.
This file and the other default meteor reagent configs (crystallos.json, incendium.json, orbisTerrae.json, tenebrae.json, and terrae.json) are generated when the folder config/BloodMagic/meteors/reagents/ is not present. Delete that folder if you want to regen these files with default values.
Remember that you need to use the Alchemic Calcinator to turn the reagent items into AR to put them into the Master Ritual Stone for them to have any effect. Also remember that only up to three different reagents may be in a Master Ritual Stone at a time. Try the Alchemic Segmenter to make dealing with multiple reagents easier.
If you are a player, feel free to delete this file. Nothing should fail to load for any of these configs like might happen with the default meteor ones.
If you are a pack creator, the instructions on how to create your own custom meteor reagent effects are below.
##############################################
### Custom Meteor Reagent File Specification ###
##############################################
------------------------------------------------
reagentName.json: These config files have more strict naming than the ones for meteors. You MUST name your file reagentName.json (using the reagent's internal name, case sensitive) to define how that reagent acts when summoning a meteor.
The easiest way to find a reagent's internal name is to look up crystal belljars in NEI and check their tooltips.
This config system *should* be able to account for custom reagents that you make if you register them in ReagentRegistry, but that is well beyond the scope of this guide.
Your file must contain a valid JSON object, and the properties within will define that reagent's characteristics when used to summon a meteor.
If you don't know how to read/write JSON, look at the default files as a reference or check out https://www.w3schools.com/js/js_json_intro.asp or any other online tutorial.
Reagents that you intend to only use for unlocking blocks in Meteor Component arrays do not need to have a file in config/BloodMagic/meteors/reagents/. Putting an empty one here anyway will not change any behavior.
Note that all reagents supplied to the Master Ritual Stone are still consumed whether they change anything or not.
------------------------------------------------
"filler": Array of Meteor Component Strings
Reagents with "filler" properties will *entirely replace* the filler of any meteor they are used to summon.
Only has an effect on meteors that have a fillerChance above zero (set directly or derived from maxWeight).
The same format as the "ores" and "filler" properties of meteors must be used:
modId:itemName:meta:weight(:reagent1, reagent2, ... optional)
OREDICT:oreDictName:weight(:reagent1, reagent2, ... optional)
For best results when players combine reagents, try to ensure that every reagent filler array you define (across every reagent) has the same total weight. Default configs use a total of 180 because it is highly composite, but any number may be used.
Meteor Components in a reagent's "filler" property CAN depend on other reagents being present!
If all reagents used to summon a meteor have "filler" properties that *only* contain Meteor Components with reagents that are not present (so they all end up becoming empty), then the meteor's original filler list will be unchanged.
------------------------------------------------
"radiusChange": Int (+/-)
Modify the meteor's radius by the given number.
Only the single largest increase and single largest decrease will impact the summoned meteor.
This is inspired by how Orbis Terrae completely overshadowed the effects of Terrae in the old system.
Default value if not included in a config is 0.
------------------------------------------------
"fillerChanceChange": Int (+/-)
Modify the filler chance of the summoned meteor. This is similar to how (Orbis) Terrae increased the max weight, except the numbers are smaller by a multiple of 10 (Orbis Terrae has a fillerChanceChange of 20 instead of adding 200 weight).
The full formula is newFillerChance = 100 * (fillerChance + change) / (100 + change).
For example, a meteor with a fillerChance of 50 which is summoned with Orbis Terrae will have a new fillerChance of ~58%.
Will not add filler to meteors with a fillerChance of 0.
Setting a value of -100 will completely remove filler (to avoid division by zero).
Only the single largest increase and single largest decrease will impact the summoned meteor.
This is inspired by how Orbis Terrae completely overshadowed the effects of Terrae in the old system.
Default value if not included in a config is 0.
------------------------------------------------
"rawFillerChanceChange": Float (+/-)
Directly add or subtract from the summoned meteor's fillerChance.
For example, a meteor with a fillerChance of 50 summoned with a custom reagent with rawFillerChanceChange set to -12.5 will have a new fillerChance of 37.5.
Only the single largest increase and single largest decrease will impact the summoned meteor.
This is inspired by how Orbis Terrae completely overshadowed the effects of Terrae in the old system.
Default value if not included in a config is 0.
Unused in any default reagent configs.
------------------------------------------------
"disableExplosions": true/false
Entirely disables explosions caused by a meteor summoned with any reagent that has this property set to true.
Default value if not included in a config is false.
Unused in any default reagent configs.
------------------------------------------------
"invertExplosionBlockDamage": true/false
Inverts the setting B:doMeteorsDestroyBlocks in config/AWWayofTime.cfg for meteors summoned with a reagent that has this property set to true.
May be used to make normally dangerous meteors safe, or can be used as a tradeoff to unlock a powerful effect when meteors are normally safe.
Overshadowed by disableExplosions if any reagent used to summon the meteor has it set, since there will be no explosion for blocks to break/not break.
Default value if not included in a config is false.
Unused in any default reagent configs.
------------------------------------------------
+3
View File
@@ -0,0 +1,3 @@
{
"filler": ["minecraft:ice:0:180"]
}
+7
View File
@@ -0,0 +1,7 @@
{
"filler": [
"minecraft:netherrack:0:60",
"minecraft:glowstone:0:60",
"minecraft:soul_sand:0:60"
]
}
+4
View File
@@ -0,0 +1,4 @@
{
"radiusChange": 2,
"fillerChanceChange": 20
}
+3
View File
@@ -0,0 +1,3 @@
{
"filler": ["minecraft:obsidian:0:180"]
}
+4
View File
@@ -0,0 +1,4 @@
{
"radiusChange": 1,
"fillerChanceChange": 10
}
+11
View File
@@ -0,0 +1,11 @@
{
"ores": [
"OREDICT:oreDiamond:100",
"OREDICT:oreEmerald:75",
"OREDICT:oreCinnabar:200",
"OREDICT:oreAmber:200"
],
"radius": 5,
"focusItem": "minecraft:diamond",
"maxWeight": 1000
}
+15
View File
@@ -0,0 +1,15 @@
{
"ores": [
"OREDICT:oreIron:400",
"OREDICT:oreGold:30",
"OREDICT:oreCopper:200",
"OREDICT:oreTin:140",
"OREDICT:oreSilver:70",
"OREDICT:oreLead:80",
"OREDICT:oreLapis:60",
"OREDICT:oreRedstone:100"
],
"radius": 7,
"focusItem": "minecraft:iron_block",
"maxWeight": 1000
}
+14
View File
@@ -0,0 +1,14 @@
{
"ores": [
"OREDICT:oreDiamond:150",
"OREDICT:oreEmerald:100",
"OREDICT:oreQuartz:250",
"OREDICT:oreSunstone:5",
"OREDICT:oreMoonstone:50",
"OREDICT:oreIridium:5",
"OREDICT:oreCertusQuartz:150"
],
"radius": 3,
"focusItem": "minecraft:nether_star",
"maxWeight": 1000
}
+117
View File
@@ -0,0 +1,117 @@
#####################################
### Blood Magic Meteor Config Guide ###
#####################################
"Meteor happens" - xQc
This file and the other default meteor configs (StoneBlockMeteor.json, IronBlockMeteor.json, DiamondMeteor.json, and NetherStarMeteor.json) are generated when the folder config/BloodMagic/meteors/ is not present. Delete that folder if you want to regen these files with default values.
If you are a player and your pack does not include certain ores in the default meteors (like cinnabar and amber from Thaumcraft in DiamondMeteor.json), feel free to remove those entries in the "ores" property for that meteor so that they don't send warnings that they can't be found to the log. Also feel free to delete this file.
If you are a pack creator, the instructions on how to create your own custom meteors are below.
######################################
### Custom Meteor File Specification ###
######################################
----------------------------------------
FileName.json: Name your file anything you like with the extension ".json" and place it in config/BloodMagic/meteors/.
Choose something descriptive for the file name; the Focus Item is often a good choice, but it can be anything. IronIngot.json, RAINBOWS.json, and NewMeteor2026.json are all valid names, but meteor.txt is not, as it does not end in .json.
Your file must contain a valid JSON object, and the properties explained below will alter the meteor's characteristics.
If you don't know how to read/write JSON, look at the default files as a reference or check out https://www.w3schools.com/js/js_json_intro.asp or any other online tutorial.
----------------------------------------
"ores": Array of Meteor Component Strings
The most complicated and most important thing to define for your meteor: the main blocks it places.
These two formats (which can be mixed and matched in the same "ores" property) may be used to specify a Meteor Component (a block, its associated weight, and any required reagents):
modId:itemName:meta:weight(:reagent1, reagent2, ... optional) - Note: specifying meta is REQUIRED, even if 0
OREDICT:oreDictName:weight(:reagent1, reagent2, ... optional) - Note: OREDICT: at the front stays the same, only replace oreDictName
For example, the following "ores" property will place iron and gold ore in a 2:1 ratio. It will also add end stone when either sanctus OR magicales is provided (resulting in a ratio of 2 iron : 1 gold : 1 end stone):
"ores": [
"OREDICT:oreIron:200",
"OREDICT:oreGold:100",
"minecraft:end_stone:0:100:sanctus, magicales"
]
Reagents that you intend to only use for unlocking blocks in Meteor Component arrays do not need to have a file in config/BloodMagic/meteors/reagents/. Putting an empty one there anyway will not change any behavior.
If the "ores" property is not present, is empty, or if it contains only blocks with reagents that are not provided (so the meteor would have no blocks to place), the block specified with S:defaultMeteorBlock in config/AWWayofTime.cfg will be used as a default. minecraft:stone is used as a fallback if the config is unset or if the specified block can't be found, such as minceraft:breadrock.
Try using the command "/iih" ("item in hand") from GTNHLib or "/mt hand" from MineTweaker while holding an item to get its modId, itemName, and meta automatically put in your clipboard.
----------------------------------------
"filler": Array of Meteor Component Strings
Just like the "ores" property, you can define custom blocks to be used as filler. Uses the same format to define Meteor Components, so you can set blocks in the filler list to have different relative weights or require specific reagents.
ALL filler blocks in a meteor will be replaced if it is summoned with a reagent that is configured to replace filler (incendium, tenebrae, and crystallos with the default configs).
Uses S:defaultMeteorBlock in config/AWWayofTime.cfg as the default filler block, just like the ores property.
----------------------------------------
"fillerChance": Floating Point Number from 0.0-100.0 inclusive
Defines the chance (out of 100%) that any block placed will pick a block from the "filler" property instead of the "ores" one.
A value of 50.0 means the meteor will be 50% filler and 50% ores, 75.5 means the meteor will be 75.5% filler and 24.5% ores, etc.
Default value if not specified is 0.
fillerChance of 100 means that the whole meteor will be filler. The "ores" list will not show up in NEI.
fillerChance of 0 means that the whole meteor will be ore. The "filler" list will not show up in NEI.
----------------------------------------
"maxWeight": Positive Integer
IGNORED when fillerChance is defined in the same meteor. It's recommended to use that property for new meteors instead of this one.
An alternate way to specify the fillerChance which is similar (but NOT identical) to the old weight system.
The formula used to turn maxWeight into fillerChance is 100 * (1 - (total ore list weight / maxWeight)).
The result of this formula will always be clamped between 0.0-100.0 inclusive, just like if you set the fillerChance yourself.
For example, this example "ores" property has a total list weight of 400:
"ores": [
"minecraft:log:0:100",
"minecraft:log:1:100",
"minecraft:log:2:100",
"minecraft:log:3:100:virtus"
]
Setting maxWeight to 1000 for that meteor would result in a fillerChance of 60%.
Setting maxWeight to 600 for that meteor would result in a fillerChance of 33.33%.
This does NOT account for blocks over the max weight requiring (Orbis) Terrae like the old system. Specify that the blocks require the reagent in the Meteor Component string if you want that functionality.
This does NOT account for blocks that are not present because they are missing reagents. The above example with a maxWeight of 1000 will have 60% filler whether or not you supply virtus.
This DOES account for blocks that can't be found when reading the configs. It is used in the default meteor configs for that purpose. It is recommended to only use this if you expect something similar to happen with your meteors.
----------------------------------------
"radius": Positive Integer
Sets the radius (in full blocks out from the center block) of your meteor.
A meteor of radius 5 will have a full diameter of 11, including the center block.
A meteor's radius is also used to calculate the strength of the explosion when it lands if that feature is enabled. The explosion strength is 4 * radius.
Default value is 1 if the property is not set, which will create a very wimpy meteor.
----------------------------------------
"cost": Non-Negative Integer
Sets the LP cost to summon this meteor.
Uses I:defaultMeteorCost in config/AWWayofTime.cfg if this property is not set.
The default value for that config is 1,000,000 LP.
Remember that Mark of the Falling Tower takes 100k LP to activate by default. Keep in mind that players can activate the ritual and leave the sacrifice of the Focus Item until after more LP has been added to their Soul Networks.
----------------------------------------
"focusItem": String in format "modId:name(:meta optional)"
The Focus Item is the block/item sacrificed to summon the meteor. Avoid configuring multiple meteors to use the same item, because only one will actually be able to be summoned in-game.
Having different focus items with the same ID but different metadata works fine, such as having multiple meteors summoned with different colors of wool.
Specifying Focus Items based on NBT is not currently possible.
Specifying Focus Items based on oredicts is not currently possible.
As an example, a meteor with this value for "focusItem" will require a birch log:
"focusItem": "minecraft:log:2"
The default value for meta is 0 if not provided. A meteor with this value for "focusItem" will require coal:
"focusItem": "minecraft:coal"
Charcoal (which is the same item ID with a metadata of 1) will NOT work.
Setting meta to 32767 will allow any item with the same ID. For the following example, oak, birch, spruce, and jungle logs will all be valid items to summon this meteor (because they all have the same block ID):
"focusItem": "minecraft:log:32767"
----------------------------------------
+10
View File
@@ -0,0 +1,10 @@
{
"ores": [
"OREDICT:oreCoal:150",
"OREDICT:oreApatite:50",
"OREDICT:oreIron:50"
],
"radius": 16,
"focusItem": "minecraft:stone",
"maxWeight": 1000
}
@@ -64,7 +64,6 @@ import WayofTime.alchemicalWizardry.common.ClientToServerPacketHandler;
import WayofTime.alchemicalWizardry.common.CommonProxy;
import WayofTime.alchemicalWizardry.common.LifeBucketHandler;
import WayofTime.alchemicalWizardry.common.LifeEssence;
import WayofTime.alchemicalWizardry.common.ModLivingDropsEvent;
import WayofTime.alchemicalWizardry.common.NewPacketHandler;
import WayofTime.alchemicalWizardry.common.achievements.ModAchievements;
import WayofTime.alchemicalWizardry.common.alchemy.CombinedPotionRegistry;
@@ -480,7 +479,7 @@ public class AlchemicalWizardry {
public static int ritualWeakCostThunderstorm;
public static int ritualWeakCostZombie;
public static boolean isGregTechLoaded;
public static boolean isGregTech5UnofficialNewHorizonsLoaded;
public static boolean isThaumcraftLoaded;
public static boolean isForestryLoaded;
public static boolean isBotaniaLoaded;
@@ -1554,7 +1553,6 @@ public class AlchemicalWizardry {
blacklistAccelerators();
MinecraftForge.EVENT_BUS.register(new ModLivingDropsEvent());
proxy.InitRendering();
NetworkRegistry.INSTANCE.registerGuiHandler(this, new GuiHandler());
@@ -3248,7 +3246,7 @@ public class AlchemicalWizardry {
@EventHandler
public void postInit(FMLPostInitializationEvent event) {
proxy.registerPostSideObjects();
isGregTechLoaded = Loader.isModLoaded("gregtech");
isGregTech5UnofficialNewHorizonsLoaded = Loader.isModLoaded("gregtech_nh");
isEndlessIdsLoaded = Loader.isModLoaded("endlessids");
// TODO Thaumcraft Integration
if (Loader.isModLoaded("Thaumcraft")) {
@@ -43,7 +43,7 @@ public class NEIBloodOrbShapedHandler extends ShapedRecipeHandler {
ArrayList<ItemStack> orbs = new ArrayList<>();
for (Item item : getBloodOrbs()) {
if (((IBloodOrb) item).getOrbLevel() >= i) {
orbs.add(new ItemStack(item));
orbs.add(new ItemStack(item, 0));
}
}
PositionedStack stack = new PositionedStack(orbs, 25 + x * 18, 6 + y * 18, false);
@@ -42,7 +42,7 @@ public class NEIBloodOrbShapelessHandler extends ShapelessRecipeHandler {
ArrayList<ItemStack> orbs = new ArrayList<>();
for (Item item : NEIConfig.getBloodOrbs()) {
if (((IBloodOrb) item).getOrbLevel() >= i) {
orbs.add(new ItemStack(item));
orbs.add(new ItemStack(item, 0));
}
}
@@ -11,6 +11,7 @@ import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.IProjectile;
import net.minecraft.entity.monster.EntityCreeper;
import net.minecraft.entity.monster.EntityMob;
import net.minecraft.entity.passive.EntityAnimal;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.entity.projectile.EntityArrow;
@@ -27,6 +28,7 @@ import net.minecraftforge.event.AnvilUpdateEvent;
import net.minecraftforge.event.entity.living.EnderTeleportEvent;
import net.minecraftforge.event.entity.living.LivingAttackEvent;
import net.minecraftforge.event.entity.living.LivingDeathEvent;
import net.minecraftforge.event.entity.living.LivingDropsEvent;
import net.minecraftforge.event.entity.living.LivingEvent.LivingJumpEvent;
import net.minecraftforge.event.entity.living.LivingEvent.LivingUpdateEvent;
import net.minecraftforge.event.entity.living.LivingHurtEvent;
@@ -35,14 +37,17 @@ import net.minecraftforge.event.entity.player.EntityInteractEvent;
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
import WayofTime.alchemicalWizardry.BloodMagicConfiguration;
import WayofTime.alchemicalWizardry.ModItems;
import WayofTime.alchemicalWizardry.api.BlockStack;
import WayofTime.alchemicalWizardry.api.alchemy.energy.Reagent;
import WayofTime.alchemicalWizardry.api.event.TeleposeEvent;
import WayofTime.alchemicalWizardry.api.items.interfaces.IBindable;
import WayofTime.alchemicalWizardry.api.soulNetwork.SoulNetworkHandler;
import WayofTime.alchemicalWizardry.api.spell.APISpellHelper;
import WayofTime.alchemicalWizardry.common.achievements.ModAchievements;
import WayofTime.alchemicalWizardry.common.demonVillage.demonHoard.demon.IHoardDemon;
import WayofTime.alchemicalWizardry.common.entity.projectile.EnergyBlastProjectile;
import WayofTime.alchemicalWizardry.common.items.EnergyItems;
import WayofTime.alchemicalWizardry.common.items.EnergySword;
import WayofTime.alchemicalWizardry.common.items.armour.BoundArmour;
import WayofTime.alchemicalWizardry.common.items.armour.OmegaArmour;
@@ -153,6 +158,31 @@ public class AlchemicalWizardryEventHooks {
}
}
@SubscribeEvent
public void onHurt(LivingHurtEvent event) {
if (!(event.source.getEntity() instanceof EntityPlayer player)) {
return;
}
ItemStack item = player.getCurrentEquippedItem();
if (item != null && item.getItem() instanceof EnergySword sword
&& IBindable.checkAndSetItemOwner(item, player)
&& EnergyItems.syphonBatteries(item, player, sword.drainCost())) {
event.entityLiving.addPotionEffect(new PotionEffect(Potion.weakness.id, 60, 2));
}
}
@SubscribeEvent
public void onEntityDrop(LivingDropsEvent event) {
if (!event.source.getDamageType().equals("player") || event.entityLiving instanceof EntityAnimal) {
return;
}
PotionEffect effect = event.entityLiving.getActivePotionEffect(Potion.weakness);
if (effect != null && effect.getAmplifier() >= 2 && Math.random() < 0.50d) {
event.entityLiving.dropItem(ModItems.weakBloodShard, 1);
}
}
@SubscribeEvent
public void omegaUpdateReagentAndHpEvent(LivingUpdateEvent event) {
if (event.entityLiving instanceof EntityPlayer player && !event.entityLiving.worldObj.isRemote) {
@@ -1,31 +0,0 @@
package WayofTime.alchemicalWizardry.common;
import net.minecraft.entity.passive.EntityAnimal;
import net.minecraft.potion.Potion;
import net.minecraft.potion.PotionEffect;
import net.minecraftforge.event.entity.living.LivingDropsEvent;
import WayofTime.alchemicalWizardry.ModItems;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
public class ModLivingDropsEvent {
public static double rand;
@SubscribeEvent
public void onEntityDrop(LivingDropsEvent event) {
if (event.source.getDamageType().equals("player")) {
rand = Math.random();
if (!(event.entityLiving instanceof EntityAnimal)) {
PotionEffect effect = event.entityLiving.getActivePotionEffect(Potion.weakness);
if (effect != null) {
if (effect.getAmplifier() >= 2) if (rand < 0.50d) {
event.entityLiving.dropItem(ModItems.weakBloodShard, 1);
}
}
}
}
}
}
@@ -14,8 +14,13 @@ import WayofTime.alchemicalWizardry.common.demonVillage.tileEntity.TEDemonPortal
public class BuildingSchematic {
public final String name;
public final int buildingType = DemonBuilding.BUILDING_HOUSE;
public final List<BlockSet> blockList = new ArrayList<>();
// Set by GSON when reading structure schematics, do not remove
public int doorX = 0;
public int doorZ = 0;
public int doorY = 0;
public int buildingTier = 0;
public int buildingType = DemonBuilding.BUILDING_HOUSE;
public BuildingSchematic() {
this("");
@@ -60,6 +65,13 @@ public class BuildingSchematic {
return holder;
}
public Int3 getGridSpotOfDoor() {
int gridX = (int) ((doorX + 2 * Math.signum(doorX)) / 5);
int gridZ = (int) ((doorZ + 2 * Math.signum(doorZ)) / 5);
return new Int3(gridX, doorY, gridZ);
}
public List<Int3> getGriddedPositions(ForgeDirection dir) {
List<Int3> positionList = new ArrayList<>();
@@ -20,9 +20,9 @@ public class DemonBuilding {
public DemonBuilding(BuildingSchematic schematic) {
this.schematic = schematic;
this.buildingType = schematic.buildingType;
this.buildingTier = 0;
this.buildingTier = schematic.buildingTier;
this.area = this.createGSHForSchematic(schematic);
this.doorGridSpace = new Int3(0, 0, 0);
this.doorGridSpace = schematic.getGridSpotOfDoor();
}
public String getName() {
@@ -67,18 +67,10 @@ public class DemonBuilding {
int z = doorSpace.z();
switch (sideOfRoad) {
case SOUTH:
z++;
break;
case EAST:
x++;
break;
case WEST:
x--;
break;
default:
z--;
break;
case SOUTH -> z++;
case EAST -> x++;
case WEST -> x--;
default -> z--;
}
return new Int3(x, yLevel, z);
@@ -0,0 +1,39 @@
package WayofTime.alchemicalWizardry.common.demonVillage.tileEntity;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import WayofTime.alchemicalWizardry.api.Int3;
public class Int3Adapter extends TypeAdapter<Int3> {
@Override
public Int3 read(JsonReader reader) throws IOException {
int x = 0, y = 0, z = 0;
reader.beginObject();
while (reader.hasNext()) {
switch (reader.nextName()) {
case "xCoord" -> x = reader.nextInt();
case "yCoord" -> y = reader.nextInt();
case "zCoord" -> z = reader.nextInt();
default -> reader.skipValue();
}
}
reader.endObject();
return new Int3(x, y, z);
}
@Override
public void write(JsonWriter writer, Int3 int3) throws IOException {
writer.beginObject();
writer.name("xCoord").value(int3.x());
writer.name("yCoord").value(int3.y());
writer.name("zCoord").value(int3.z());
writer.endObject();
}
}
@@ -945,23 +945,19 @@ public class TEDemonPortal extends TileEntity {
}
public void rightClickBlock(EntityPlayer player, int side) {
// if (worldObj.isRemote)
// {
// return;
// }
//
// this.initialize();
//
// if (ForgeDirection.getOrientation(side) == ForgeDirection.UP)
// {
// this.createRandomBuilding(DemonBuilding.BUILDING_HOUSE, 0);
// } else if (ForgeDirection.getOrientation(side) == ForgeDirection.DOWN)
// {
// this.createRandomBuilding(DemonBuilding.BUILDING_PORTAL, 0);
// } else
// {
// this.createRandomRoad();
// }
if (worldObj.isRemote || !player.capabilities.isCreativeMode) {
return;
}
this.initialize();
if (ForgeDirection.getOrientation(side) == ForgeDirection.UP) {
this.createRandomBuilding(DemonBuilding.BUILDING_HOUSE, 0);
} else if (ForgeDirection.getOrientation(side) == ForgeDirection.DOWN) {
this.createRandomBuilding(DemonBuilding.BUILDING_PORTAL, 0);
} else {
this.createRandomRoad();
}
}
public int createRandomBuilding(int type, int tier) {
@@ -1281,7 +1277,7 @@ public class TEDemonPortal extends TileEntity {
public static void loadBuildingList() {
String folder = "config/BloodMagic/schematics";
Gson gson = new GsonBuilder().setPrettyPrinting().create();
Gson gson = new GsonBuilder().setPrettyPrinting().registerTypeAdapter(Int3.class, new Int3Adapter()).create();
File file = new File(folder);
File[] files = file.listFiles();
@@ -103,7 +103,6 @@ public class BoundAxe extends ItemAxe implements IBindable {
int z = posZ + k;
Block block = world.getBlock(x, y, z);
int meta = world.getBlockMetadata(x, y, z);
if (BoundPickaxe.checkPermissions(world, x, y, z, block, meta, player)) continue;
if (block == null || block.getBlockHardness(world, x, y, z) == -1
|| !world.canMineBlock(player, x, y, z)) {
@@ -111,7 +110,9 @@ public class BoundAxe extends ItemAxe implements IBindable {
}
// getStrVsBlock
if (func_150893_a(item, block) <= 1f && !(block instanceof BlockLeavesBase)) {
if ((!ForgeHooks.isToolEffective(item, block, meta) && func_150893_a(item, block) <= 1f
&& !(block instanceof BlockLeavesBase))
|| BoundPickaxe.isBreakDenied(world, x, y, z, player)) {
continue;
}
if (silkTouch && block.canSilkHarvest(world, player, x, y, z, meta)) {
@@ -10,6 +10,7 @@ import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.item.EntityItem;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.item.ItemPickaxe;
import net.minecraft.item.ItemStack;
import net.minecraft.util.IIcon;
@@ -17,8 +18,6 @@ import net.minecraft.util.StatCollector;
import net.minecraft.util.Vec3;
import net.minecraft.world.World;
import net.minecraftforge.common.ForgeHooks;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.event.world.BlockEvent;
import com.google.common.collect.HashMultiset;
import com.google.common.collect.Multiset;
@@ -111,7 +110,6 @@ public class BoundPickaxe extends ItemPickaxe implements IBindable {
int z = posZ + k;
Block block = world.getBlock(x, y, z);
int meta = world.getBlockMetadata(x, y, z);
if (checkPermissions(world, x, y, z, block, meta, player)) continue;
if (block == null || block.getBlockHardness(world, x, y, z) == -1
|| !world.canMineBlock(player, x, y, z)) {
@@ -119,14 +117,16 @@ public class BoundPickaxe extends ItemPickaxe implements IBindable {
}
// getStrVsBlock
if (func_150893_a(item, block) <= 1f) {
if ((!ForgeHooks.isToolEffective(item, block, meta) && func_150893_a(item, block) <= 1f)
|| isBreakDenied(world, x, y, z, player)) {
continue;
}
if (silkTouch && block.canSilkHarvest(world, player, x, y, z, meta)) {
dropMultiset.add(new ItemType(block, meta));
} else {
ArrayList<ItemStack> itemDropList;
if (AlchemicalWizardry.isGregTechLoaded && block instanceof GTBlockOre ore) {
if (AlchemicalWizardry.isGregTech5UnofficialNewHorizonsLoaded
&& block instanceof GTBlockOre ore) {
itemDropList = ore.getDropsForPlayer(world, x, y, z, meta, fortuneLvl, player);
} else {
itemDropList = block.getDrops(world, x, y, z, meta, fortuneLvl);
@@ -148,10 +148,16 @@ public class BoundPickaxe extends ItemPickaxe implements IBindable {
return item;
}
public static boolean checkPermissions(World world, int x, int y, int z, Block block, int meta,
EntityPlayer player) {
final BlockEvent.BreakEvent event = new BlockEvent.BreakEvent(x, y, z, world, block, meta, player);
return MinecraftForge.EVENT_BUS.post(event);
/**
* Fires the block break event so protection mods can veto the break. Returns true if the break was denied.
*/
public static boolean isBreakDenied(World world, int x, int y, int z, EntityPlayer player) {
if (!(player instanceof EntityPlayerMP mpPlayer) || mpPlayer.playerNetServerHandler == null) {
return false;
}
return ForgeHooks.onBlockBreakEvent(world, mpPlayer.theItemInWorldManager.getGameType(), mpPlayer, x, y, z)
.isCanceled();
}
public static void dropMultisetStacks(Multiset<ItemType> dropMultiset, World world, double x, double y, double z) {
@@ -114,7 +114,8 @@ public class BoundShovel extends ItemSpade implements IBindable {
}
// getStrVsBlock
if (func_150893_a(item, block) <= 1f) {
if ((!ForgeHooks.isToolEffective(item, block, meta) && func_150893_a(item, block) <= 1f)
|| BoundPickaxe.isBreakDenied(world, x, y, z, player)) {
continue;
}
if (silkTouch && block.canSilkHarvest(world, player, x, y, z, meta)) {
@@ -4,12 +4,9 @@ import java.util.List;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.item.ItemSword;
import net.minecraft.potion.Potion;
import net.minecraft.potion.PotionEffect;
import net.minecraft.util.IIcon;
import net.minecraft.util.StatCollector;
import net.minecraft.world.World;
@@ -88,17 +85,6 @@ public class EnergySword extends ItemSword implements IBindable {
return !isActive;
}
@Override
public boolean hitEntity(ItemStack item, EntityLivingBase target, EntityLivingBase attacker) {
if (attacker instanceof EntityPlayer player && (!IBindable.checkAndSetItemOwner(item, player)
|| !EnergyItems.syphonBatteries(item, player, this.drainCost()))) {
return false;
}
target.addPotionEffect(new PotionEffect(Potion.weakness.id, 60, 2));
return true;
}
@Override
public ItemStack onItemRightClick(ItemStack item, World world, EntityPlayer player) {
super.onItemRightClick(item, world, player);
@@ -36,7 +36,7 @@ public class RitualEffectMagnetic extends RitualEffect {
public static boolean isBlockOre(Block block, int meta) {
// Special case for lit redstone ore
if (block instanceof BlockOre || block instanceof BlockRedstoneOre
|| (AlchemicalWizardry.isGregTechLoaded && block instanceof GTBlockOre)) {
|| (AlchemicalWizardry.isGregTech5UnofficialNewHorizonsLoaded && block instanceof GTBlockOre)) {
return true;
}
@@ -206,7 +206,7 @@ public class RitualEffectMagnetic extends RitualEffect {
public int getRadiusForReagents(boolean hasTerrae, boolean hasOrbisTerrae) {
if (hasTerrae) {
if (hasOrbisTerrae) {
return 31;
return 34;
} else {
return 7;
}
@@ -62,9 +62,8 @@ public class DigAreaEffect implements IDigAreaEffect {
float localHardness = block.getBlockHardness(world, x, y, z);
if (localHardness - this.getHardnessDifference() > blockHardness
|| BoundPickaxe.checkPermissions(world, x, y, z, block, meta, player)
|| localHardness < 0) {
if (localHardness < 0 || localHardness - this.getHardnessDifference() > blockHardness
|| BoundPickaxe.isBreakDenied(world, x, y, z, player)) {
return;
}
@@ -160,7 +160,8 @@ public class Meteor {
if (blockStack != null && blockStack.getItem() instanceof ItemBlock) {
((ItemBlock) blockStack.getItem())
.placeBlockAt(blockStack, null, world, x, y, z, 0, 0, 0, 0, blockStack.getItemDamage());
if (AlchemicalWizardry.isGregTechLoaded) setGTOresNaturalIfNeeded(world, x, y, z);
if (AlchemicalWizardry.isGregTech5UnofficialNewHorizonsLoaded)
setGTOresNaturalIfNeeded(world, x, y, z);
world.markBlockForUpdate(x, y, z);
break;
}
@@ -230,7 +231,7 @@ public class Meteor {
this.fillerChance = Math.max(0f, Math.min(100f * (1 - ((float) getTotalListWeight(ores) / maxWeight)), 100.0f));
}
@Optional.Method(modid = "gregtech")
@Optional.Method(modid = "gregtech_nh")
private static void setGTOresNaturalIfNeeded(World world, int x, int y, int z) {
try (OreInfo<?> info = OreManager.getOreInfo(world, x, y, z)) {
if (info == null) return;
@@ -94,6 +94,7 @@ public class TEAltar extends TEInventory implements IFluidTank, IFluidHandler, I
consumptionMultiplier = 0;
efficiencyMultiplier = 0;
capacityMultiplier = 1;
orbCapacityMultiplier = 1;
isUpgraded = false;
upgradeLevel = 0;
isResultBlock = false;
@@ -14,7 +14,9 @@ import com.google.gson.GsonBuilder;
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
import WayofTime.alchemicalWizardry.ModBlocks;
import WayofTime.alchemicalWizardry.api.Int3;
import WayofTime.alchemicalWizardry.common.demonVillage.BuildingSchematic;
import WayofTime.alchemicalWizardry.common.demonVillage.tileEntity.Int3Adapter;
public class TESchematicSaver extends TileEntity {
@@ -42,7 +44,7 @@ public class TESchematicSaver extends TileEntity {
}
}
}
Gson gson = new GsonBuilder().setPrettyPrinting().create();
Gson gson = new GsonBuilder().setPrettyPrinting().registerTypeAdapter(Int3.class, new Int3Adapter()).create();
String json = gson.toJson(schematic);
try (Writer writer = new FileWriter("config/BloodMagic/schematics/" + new Random().nextInt() + ".json")) {
writer.write(json);