mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-27 07:13:14 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3d480cb2e9 | ||
|
|
0c361f2482 | ||
|
|
d299b0a1b0 | ||
|
|
927e531af8 | ||
|
|
395f258893 | ||
|
|
56a268bcda | ||
|
|
10a36f6413 | ||
|
|
951367919f | ||
|
|
7fee341e50 | ||
|
|
6776676ef2 | ||
|
|
431bc8fb41 | ||
|
|
9b7b10e5c3 | ||
|
|
fc58f5346c | ||
|
|
aec32b9149 | ||
|
|
6f45c3efae | ||
|
|
acfbc0f8ff | ||
|
|
4f9e85d056 | ||
|
|
4ec1e7271a | ||
|
|
708bbb5512 | ||
|
|
981305290a | ||
|
|
b6284e20dc | ||
|
|
2026024920 | ||
|
|
fe7b382b6a | ||
|
|
9430a0a6dd | ||
|
|
22d703da79 | ||
|
|
306aa90a28 |
No files matched your search
Executable
+38
@@ -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()
|
||||||
@@ -3,9 +3,9 @@ name: Build and test
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master, main ]
|
branches: [ master, main, release/** ]
|
||||||
push:
|
push:
|
||||||
branches: [ master, main ]
|
branches: [ master, main, release/** ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-test:
|
build-and-test:
|
||||||
|
|||||||
@@ -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
|
||||||
@@ -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
|
||||||
@@ -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
|
||||||
@@ -27,4 +27,5 @@ whitelist.json
|
|||||||
*.iws
|
*.iws
|
||||||
src/main/resources/mixins.*.json
|
src/main/resources/mixins.*.json
|
||||||
*.bat
|
*.bat
|
||||||
|
*.sh
|
||||||
layout.json
|
layout.json
|
||||||
+11
-11
@@ -23,22 +23,22 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api("com.github.GTNewHorizons:waila:1.19.25:dev")
|
api("com.github.GTNewHorizons:waila:1.19.34:dev")
|
||||||
api("com.github.GTNewHorizons:NotEnoughItems:2.8.93-GTNH:dev")
|
api("com.github.GTNewHorizons:NotEnoughItems:2.8.152-GTNH:dev")
|
||||||
|
|
||||||
compileOnly("com.github.GTNewHorizons:GTNHLib:0.9.57:dev") {transitive = false }
|
compileOnly("com.github.GTNewHorizons:GTNHLib:0.11.52:dev") {transitive = false }
|
||||||
compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.52.480:dev") {transitive = false }
|
compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.54.189:dev") {transitive = false }
|
||||||
|
|
||||||
compileOnly("com.github.GTNewHorizons:Botania:1.13.16-GTNH:api") {transitive = false }
|
compileOnly("com.github.GTNewHorizons:Botania:1.13.36-GTNH:api") {transitive = false }
|
||||||
compileOnly("com.github.GTNewHorizons:ForestryMC:4.11.19:api") {transitive = false }
|
compileOnly("com.github.GTNewHorizons:ForestryMC:4.11.38:api") {transitive = false }
|
||||||
compileOnly("com.github.GTNewHorizons:ForgeMultipart:1.7.10:dev") {transitive = false }
|
compileOnly("com.github.GTNewHorizons:ForgeMultipart:1.7.15:dev") {transitive = false }
|
||||||
|
|
||||||
compileOnly("com.github.GTNewHorizons:Chisel:2.17.26-GTNH:api") {transitive = false }
|
compileOnly("com.github.GTNewHorizons:Chisel:2.17.33-GTNH:api") {transitive = false }
|
||||||
|
|
||||||
compileOnly("com.github.GTNewHorizons:CraftTweaker:3.4.7:dev") {transitive = false }
|
compileOnly("com.github.GTNewHorizons:CraftTweaker:3.4.8:dev") {transitive = false }
|
||||||
|
|
||||||
compileOnly("thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev") {transitive = false }
|
compileOnly("thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev") {transitive = false }
|
||||||
compileOnly("curse.maven:guide-api-228832:2287185") {transitive = false }
|
compileOnly("curse.maven:guide-api-228832:2287185") {transitive = false }
|
||||||
|
compileOnly("curse.maven:endlessids-665730:7585931") {transitive = false }
|
||||||
compileOnly("com.github.GTNewHorizons:StructureLib:1.4.34:dev")
|
compileOnly("com.github.GTNewHorizons:StructureLib:1.4.45:dev")
|
||||||
}
|
}
|
||||||
@@ -186,6 +186,11 @@ modrinthRelations =
|
|||||||
# Leave this empty if you don't want to publish on CurseForge.
|
# Leave this empty if you don't want to publish on CurseForge.
|
||||||
curseForgeProjectId =
|
curseForgeProjectId =
|
||||||
|
|
||||||
|
# Comma-separated supported CurseForge environments: client, server (case-insensitive).
|
||||||
|
# Use client or server for mods that only support one environment. Defaults to client,server.
|
||||||
|
# These tags describe where the mod can run, not whether installation is required on both sides.
|
||||||
|
curseForgeEnvironments = client,server
|
||||||
|
|
||||||
# The project's relations on CurseForge. You can use this to refer to other projects on CurseForge.
|
# The project's relations on CurseForge. You can use this to refer to other projects on CurseForge.
|
||||||
# Syntax: type1:name1;type2:name2;...
|
# Syntax: type1:name1;type2:name2;...
|
||||||
# Where type can be one of [requiredDependency, embeddedLibrary, optionalDependency, tool, incompatible],
|
# Where type can be one of [requiredDependency, embeddedLibrary, optionalDependency, tool, incompatible],
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
#This file is generated by updateDaemonJvm
|
#This file is generated by updateDaemonJvm
|
||||||
toolchainUrl.FREE_BSD.AARCH64=https\://api.foojay.io/disco/v3.0/ids/cf726b4a1c84b50457225f9bba6d7650/redirect
|
toolchainUrl.FREE_BSD.AARCH64=https\://api.foojay.io/disco/v3.0/ids/539ea72837c6244075f8ee037babc29e/redirect
|
||||||
toolchainUrl.FREE_BSD.X86_64=https\://api.foojay.io/disco/v3.0/ids/fa1e318c287360478e3c83a9a3ef1007/redirect
|
toolchainUrl.FREE_BSD.X86_64=https\://api.foojay.io/disco/v3.0/ids/876dbbf00bf4ef6190f7da074cee903a/redirect
|
||||||
toolchainUrl.LINUX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/cf726b4a1c84b50457225f9bba6d7650/redirect
|
toolchainUrl.LINUX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/539ea72837c6244075f8ee037babc29e/redirect
|
||||||
toolchainUrl.LINUX.X86_64=https\://api.foojay.io/disco/v3.0/ids/fa1e318c287360478e3c83a9a3ef1007/redirect
|
toolchainUrl.LINUX.X86_64=https\://api.foojay.io/disco/v3.0/ids/876dbbf00bf4ef6190f7da074cee903a/redirect
|
||||||
toolchainUrl.MAC_OS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/c2dd35c9d0aaf0ba6ad0791320f99dfc/redirect
|
toolchainUrl.MAC_OS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/9064f22734b42ac03e85df04b632e167/redirect
|
||||||
toolchainUrl.MAC_OS.X86_64=https\://api.foojay.io/disco/v3.0/ids/e5810bd7fd1f8a586644409d395a7e55/redirect
|
toolchainUrl.MAC_OS.X86_64=https\://api.foojay.io/disco/v3.0/ids/4d0277c49991306ac78048580fe34bcf/redirect
|
||||||
toolchainUrl.UNIX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/cf726b4a1c84b50457225f9bba6d7650/redirect
|
toolchainUrl.UNIX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/539ea72837c6244075f8ee037babc29e/redirect
|
||||||
toolchainUrl.UNIX.X86_64=https\://api.foojay.io/disco/v3.0/ids/fa1e318c287360478e3c83a9a3ef1007/redirect
|
toolchainUrl.UNIX.X86_64=https\://api.foojay.io/disco/v3.0/ids/876dbbf00bf4ef6190f7da074cee903a/redirect
|
||||||
toolchainUrl.WINDOWS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/7b3c4877c0749019e6805bb61e421497/redirect
|
toolchainUrl.WINDOWS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/a9fa3b809e484a1e1ac4308a5dda661a/redirect
|
||||||
toolchainUrl.WINDOWS.X86_64=https\://api.foojay.io/disco/v3.0/ids/d76df094a9cbbabd3b08251f9e61444a/redirect
|
toolchainUrl.WINDOWS.X86_64=https\://api.foojay.io/disco/v3.0/ids/aa99913fa6d767d899ffc96082da01ca/redirect
|
||||||
toolchainVersion=25
|
toolchainVersion=25
|
||||||
Vendored
BIN
Binary file not shown.
+3
-1
@@ -1,7 +1,9 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.0-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-9.7.1-bin.zip
|
||||||
networkTimeout=10000
|
networkTimeout=10000
|
||||||
|
retries=0
|
||||||
|
retryBackOffMs=500
|
||||||
validateDistributionUrl=true
|
validateDistributionUrl=true
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
#
|
#
|
||||||
# Gradle start up script for POSIX generated by Gradle.
|
# gradlew start up script for POSIX generated by Gradle.
|
||||||
#
|
#
|
||||||
# Important for running:
|
# Important for running:
|
||||||
#
|
#
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
# bash, then to run this script, type that shell name before the whole
|
# bash, then to run this script, type that shell name before the whole
|
||||||
# command line, like:
|
# command line, like:
|
||||||
#
|
#
|
||||||
# ksh Gradle
|
# ksh gradlew
|
||||||
#
|
#
|
||||||
# Busybox and similar reduced shells will NOT work, because this script
|
# Busybox and similar reduced shells will NOT work, because this script
|
||||||
# requires all of these POSIX shell features:
|
# requires all of these POSIX shell features:
|
||||||
@@ -57,7 +57,7 @@
|
|||||||
# Darwin, MinGW, and NonStop.
|
# Darwin, MinGW, and NonStop.
|
||||||
#
|
#
|
||||||
# (3) This script is generated from the Groovy template
|
# (3) This script is generated from the Groovy template
|
||||||
# https://github.com/gradle/gradle/blob/b631911858264c0b6e4d6603d677ff5218766cee/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
# https://github.com/gradle/gradle/blob/3d91ce3b8caaf77ad09f381f43615b715b53f72c/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
||||||
# within the Gradle project.
|
# within the Gradle project.
|
||||||
#
|
#
|
||||||
# You can find Gradle at https://github.com/gradle/gradle/.
|
# You can find Gradle at https://github.com/gradle/gradle/.
|
||||||
|
|||||||
Vendored
+12
-23
@@ -19,12 +19,12 @@
|
|||||||
@if "%DEBUG%"=="" @echo off
|
@if "%DEBUG%"=="" @echo off
|
||||||
@rem ##########################################################################
|
@rem ##########################################################################
|
||||||
@rem
|
@rem
|
||||||
@rem Gradle startup script for Windows
|
@rem gradlew startup script for Windows
|
||||||
@rem
|
@rem
|
||||||
@rem ##########################################################################
|
@rem ##########################################################################
|
||||||
|
|
||||||
@rem Set local scope for the variables with windows NT shell
|
@rem Set local scope for the variables, and ensure extensions are enabled
|
||||||
if "%OS%"=="Windows_NT" setlocal
|
setlocal EnableExtensions
|
||||||
|
|
||||||
set DIRNAME=%~dp0
|
set DIRNAME=%~dp0
|
||||||
if "%DIRNAME%"=="" set DIRNAME=.
|
if "%DIRNAME%"=="" set DIRNAME=.
|
||||||
@@ -51,7 +51,7 @@ echo. 1>&2
|
|||||||
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
|
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
|
||||||
echo location of your Java installation. 1>&2
|
echo location of your Java installation. 1>&2
|
||||||
|
|
||||||
goto fail
|
"%COMSPEC%" /c exit 1
|
||||||
|
|
||||||
:findJavaFromJavaHome
|
:findJavaFromJavaHome
|
||||||
set JAVA_HOME=%JAVA_HOME:"=%
|
set JAVA_HOME=%JAVA_HOME:"=%
|
||||||
@@ -65,29 +65,18 @@ echo. 1>&2
|
|||||||
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
|
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
|
||||||
echo location of your Java installation. 1>&2
|
echo location of your Java installation. 1>&2
|
||||||
|
|
||||||
goto fail
|
"%COMSPEC%" /c exit 1
|
||||||
|
|
||||||
:execute
|
:execute
|
||||||
@rem Setup the command line
|
@rem Setup the command line
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@rem Execute Gradle
|
@rem Execute gradlew
|
||||||
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
|
@rem endlocal doesn't take effect until after the line is parsed and variables are expanded
|
||||||
|
@rem which allows us to clear the local environment before executing the java command
|
||||||
|
endlocal & "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* & call :exitWithErrorLevel
|
||||||
|
|
||||||
:end
|
:exitWithErrorLevel
|
||||||
@rem End local scope for the variables with windows NT shell
|
@rem Use "%COMSPEC%" /c exit to allow operators to work properly in scripts
|
||||||
if %ERRORLEVEL% equ 0 goto mainEnd
|
"%COMSPEC%" /c exit %ERRORLEVEL%
|
||||||
|
|
||||||
:fail
|
|
||||||
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
|
||||||
rem the _cmd.exe /c_ return code!
|
|
||||||
set EXIT_CODE=%ERRORLEVEL%
|
|
||||||
if %EXIT_CODE% equ 0 set EXIT_CODE=1
|
|
||||||
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
|
|
||||||
exit /b %EXIT_CODE%
|
|
||||||
|
|
||||||
:mainEnd
|
|
||||||
if "%OS%"=="Windows_NT" endlocal
|
|
||||||
|
|
||||||
:omega
|
|
||||||
File diff suppressed because it is too large.
Load diff
@@ -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
@@ -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
@@ -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
@@ -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
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -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
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -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
@@ -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.
|
||||||
|
------------------------------------------------
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"filler": ["minecraft:ice:0:180"]
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"filler": [
|
||||||
|
"minecraft:netherrack:0:60",
|
||||||
|
"minecraft:glowstone:0:60",
|
||||||
|
"minecraft:soul_sand:0:60"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"radiusChange": 2,
|
||||||
|
"fillerChanceChange": 20
|
||||||
|
}
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"filler": ["minecraft:obsidian:0:180"]
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"radiusChange": 1,
|
||||||
|
"fillerChanceChange": 10
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"ores": [
|
||||||
|
"OREDICT:oreDiamond:100",
|
||||||
|
"OREDICT:oreEmerald:75",
|
||||||
|
"OREDICT:oreCinnabar:200",
|
||||||
|
"OREDICT:oreAmber:200"
|
||||||
|
],
|
||||||
|
"radius": 5,
|
||||||
|
"focusItem": "minecraft:diamond",
|
||||||
|
"maxWeight": 1000
|
||||||
|
}
|
||||||
@@ -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
|
||||||
|
}
|
||||||
@@ -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
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
----------------------------------------
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"ores": [
|
||||||
|
"OREDICT:oreCoal:150",
|
||||||
|
"OREDICT:oreApatite:50",
|
||||||
|
"OREDICT:oreIron:50"
|
||||||
|
],
|
||||||
|
"radius": 16,
|
||||||
|
"focusItem": "minecraft:stone",
|
||||||
|
"maxWeight": 1000
|
||||||
|
}
|
||||||
+1
-1
@@ -17,7 +17,7 @@ pluginManagement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id 'com.gtnewhorizons.gtnhsettingsconvention' version '2.0.24'
|
id 'com.gtnewhorizons.gtnhsettingsconvention' version '2.0.32'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -64,7 +64,7 @@ import WayofTime.alchemicalWizardry.common.ClientToServerPacketHandler;
|
|||||||
import WayofTime.alchemicalWizardry.common.CommonProxy;
|
import WayofTime.alchemicalWizardry.common.CommonProxy;
|
||||||
import WayofTime.alchemicalWizardry.common.LifeBucketHandler;
|
import WayofTime.alchemicalWizardry.common.LifeBucketHandler;
|
||||||
import WayofTime.alchemicalWizardry.common.LifeEssence;
|
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.achievements.ModAchievements;
|
||||||
import WayofTime.alchemicalWizardry.common.alchemy.CombinedPotionRegistry;
|
import WayofTime.alchemicalWizardry.common.alchemy.CombinedPotionRegistry;
|
||||||
import WayofTime.alchemicalWizardry.common.block.ArmourForge;
|
import WayofTime.alchemicalWizardry.common.block.ArmourForge;
|
||||||
@@ -479,13 +479,14 @@ public class AlchemicalWizardry {
|
|||||||
public static int ritualWeakCostThunderstorm;
|
public static int ritualWeakCostThunderstorm;
|
||||||
public static int ritualWeakCostZombie;
|
public static int ritualWeakCostZombie;
|
||||||
|
|
||||||
public static boolean isGregTechLoaded;
|
public static boolean isGregTech5UnofficialNewHorizonsLoaded;
|
||||||
public static boolean isThaumcraftLoaded;
|
public static boolean isThaumcraftLoaded;
|
||||||
public static boolean isForestryLoaded;
|
public static boolean isForestryLoaded;
|
||||||
public static boolean isBotaniaLoaded;
|
public static boolean isBotaniaLoaded;
|
||||||
public static boolean isChiselLoaded;
|
public static boolean isChiselLoaded;
|
||||||
public static boolean isFMPLoaded;
|
public static boolean isFMPLoaded;
|
||||||
public static boolean isPneumaticCraftLoaded;
|
public static boolean isPneumaticCraftLoaded;
|
||||||
|
public static boolean isEndlessIdsLoaded;
|
||||||
|
|
||||||
public static boolean wimpySettings;
|
public static boolean wimpySettings;
|
||||||
public static boolean respawnWithDebuff;
|
public static boolean respawnWithDebuff;
|
||||||
@@ -689,6 +690,7 @@ public class AlchemicalWizardry {
|
|||||||
HoldingPacketHandler.init();
|
HoldingPacketHandler.init();
|
||||||
ClientToServerPacketHandler.init();
|
ClientToServerPacketHandler.init();
|
||||||
ModAchievements.init();
|
ModAchievements.init();
|
||||||
|
NewPacketHandler.init();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -771,11 +773,8 @@ public class AlchemicalWizardry {
|
|||||||
ItemStack reedStack = new ItemStack(Items.reeds);
|
ItemStack reedStack = new ItemStack(Items.reeds);
|
||||||
ItemStack blankSlateStack = new ItemStack(ModItems.blankSlate, 1, craftingConstant);
|
ItemStack blankSlateStack = new ItemStack(ModItems.blankSlate, 1, craftingConstant);
|
||||||
ItemStack reinforcedSlateStack = new ItemStack(ModItems.reinforcedSlate, 1, craftingConstant);
|
ItemStack reinforcedSlateStack = new ItemStack(ModItems.reinforcedSlate, 1, craftingConstant);
|
||||||
ItemStack weakBloodOrbStack = new ItemStack(ModItems.weakBloodOrb, 1, craftingConstant);
|
|
||||||
ItemStack imbuedSlateStack = new ItemStack(ModItems.imbuedSlate, 1, craftingConstant);
|
ItemStack imbuedSlateStack = new ItemStack(ModItems.imbuedSlate, 1, craftingConstant);
|
||||||
ItemStack demonSlateStack = new ItemStack(ModItems.demonicSlate, 1, craftingConstant);
|
ItemStack demonSlateStack = new ItemStack(ModItems.demonicSlate, 1, craftingConstant);
|
||||||
ItemStack apprenticeBloodOrbStack = new ItemStack(ModItems.apprenticeBloodOrb, 1, craftingConstant);
|
|
||||||
ItemStack magicianBloodOrbStack = new ItemStack(ModItems.magicianBloodOrb, 1, craftingConstant);
|
|
||||||
ItemStack waterSigilStackCrafted = new ItemStack(ModItems.waterSigil);
|
ItemStack waterSigilStackCrafted = new ItemStack(ModItems.waterSigil);
|
||||||
ItemStack lavaSigilStackCrafted = new ItemStack(ModItems.lavaSigil);
|
ItemStack lavaSigilStackCrafted = new ItemStack(ModItems.lavaSigil);
|
||||||
ItemStack voidSigilStackCrafted = new ItemStack(ModItems.voidSigil);
|
ItemStack voidSigilStackCrafted = new ItemStack(ModItems.voidSigil);
|
||||||
@@ -822,7 +821,6 @@ public class AlchemicalWizardry {
|
|||||||
lavaCrystalStackCrafted.setItemDamage(lavaCrystalStackCrafted.getMaxDamage());
|
lavaCrystalStackCrafted.setItemDamage(lavaCrystalStackCrafted.getMaxDamage());
|
||||||
miningSigilStackCrafted.setItemDamage(miningSigilStackCrafted.getMaxDamage());
|
miningSigilStackCrafted.setItemDamage(miningSigilStackCrafted.getMaxDamage());
|
||||||
sigilOfElementalAffinityStackCrafted.setItemDamage(sigilOfElementalAffinityStackCrafted.getMaxDamage());
|
sigilOfElementalAffinityStackCrafted.setItemDamage(sigilOfElementalAffinityStackCrafted.getMaxDamage());
|
||||||
ItemStack archmageBloodOrbStack = new ItemStack(ModItems.archmageBloodOrb);
|
|
||||||
ItemStack sanctusStack = new ItemStack(ModItems.sanctus);
|
ItemStack sanctusStack = new ItemStack(ModItems.sanctus);
|
||||||
ItemStack aetherStack = new ItemStack(ModItems.aether);
|
ItemStack aetherStack = new ItemStack(ModItems.aether);
|
||||||
ItemStack terraeStack = new ItemStack(ModItems.terrae);
|
ItemStack terraeStack = new ItemStack(ModItems.terrae);
|
||||||
@@ -855,7 +853,7 @@ public class AlchemicalWizardry {
|
|||||||
'l',
|
'l',
|
||||||
lavaBucketStack,
|
lavaBucketStack,
|
||||||
'b',
|
'b',
|
||||||
weakBloodOrbStack,
|
1,
|
||||||
'd',
|
'd',
|
||||||
diamondStack,
|
diamondStack,
|
||||||
'o',
|
'o',
|
||||||
@@ -871,7 +869,7 @@ public class AlchemicalWizardry {
|
|||||||
'b',
|
'b',
|
||||||
blankSlateStack,
|
blankSlateStack,
|
||||||
'o',
|
'o',
|
||||||
weakBloodOrbStack));
|
1));
|
||||||
GameRegistry.addRecipe(
|
GameRegistry.addRecipe(
|
||||||
lavaSigilStackCrafted,
|
lavaSigilStackCrafted,
|
||||||
"lml",
|
"lml",
|
||||||
@@ -896,7 +894,7 @@ public class AlchemicalWizardry {
|
|||||||
'r',
|
'r',
|
||||||
reinforcedSlateStack,
|
reinforcedSlateStack,
|
||||||
'o',
|
'o',
|
||||||
apprenticeBloodOrbStack,
|
2,
|
||||||
's',
|
's',
|
||||||
stringStack));
|
stringStack));
|
||||||
GameRegistry.addRecipe(
|
GameRegistry.addRecipe(
|
||||||
@@ -921,7 +919,7 @@ public class AlchemicalWizardry {
|
|||||||
's',
|
's',
|
||||||
stoneStack,
|
stoneStack,
|
||||||
'o',
|
'o',
|
||||||
weakBloodOrbStack,
|
1,
|
||||||
'r',
|
'r',
|
||||||
blankSlateStack));
|
blankSlateStack));
|
||||||
GameRegistry.addRecipe(
|
GameRegistry.addRecipe(
|
||||||
@@ -946,7 +944,7 @@ public class AlchemicalWizardry {
|
|||||||
's',
|
's',
|
||||||
stoneStack,
|
stoneStack,
|
||||||
'o',
|
'o',
|
||||||
magicianBloodOrbStack,
|
3,
|
||||||
'b',
|
'b',
|
||||||
emptyBucketStack,
|
emptyBucketStack,
|
||||||
'r',
|
'r',
|
||||||
@@ -960,7 +958,7 @@ public class AlchemicalWizardry {
|
|||||||
's',
|
's',
|
||||||
stoneStack,
|
stoneStack,
|
||||||
'o',
|
'o',
|
||||||
magicianBloodOrbStack,
|
3,
|
||||||
'b',
|
'b',
|
||||||
waterBucketStack,
|
waterBucketStack,
|
||||||
'r',
|
'r',
|
||||||
@@ -974,9 +972,9 @@ public class AlchemicalWizardry {
|
|||||||
's',
|
's',
|
||||||
stoneStack,
|
stoneStack,
|
||||||
'o',
|
'o',
|
||||||
new ItemStack(ModItems.masterBloodOrb),
|
4,
|
||||||
'w',
|
'w',
|
||||||
weakBloodOrbStack,
|
1,
|
||||||
'r',
|
'r',
|
||||||
new ItemStack(ModItems.demonicSlate)));
|
new ItemStack(ModItems.demonicSlate)));
|
||||||
GameRegistry.addRecipe(
|
GameRegistry.addRecipe(
|
||||||
@@ -988,7 +986,7 @@ public class AlchemicalWizardry {
|
|||||||
's',
|
's',
|
||||||
obsidianStack,
|
obsidianStack,
|
||||||
'o',
|
'o',
|
||||||
new ItemStack(ModItems.masterBloodOrb),
|
4,
|
||||||
'r',
|
'r',
|
||||||
new ItemStack(ModItems.demonicSlate),
|
new ItemStack(ModItems.demonicSlate),
|
||||||
'b',
|
'b',
|
||||||
@@ -1008,7 +1006,7 @@ public class AlchemicalWizardry {
|
|||||||
's',
|
's',
|
||||||
reinforcedSlateStack,
|
reinforcedSlateStack,
|
||||||
'o',
|
'o',
|
||||||
apprenticeBloodOrbStack));
|
2));
|
||||||
GameRegistry.addRecipe(
|
GameRegistry.addRecipe(
|
||||||
new ShapedBloodOrbRecipe(
|
new ShapedBloodOrbRecipe(
|
||||||
miningSigilStackCrafted,
|
miningSigilStackCrafted,
|
||||||
@@ -1016,7 +1014,7 @@ public class AlchemicalWizardry {
|
|||||||
"hra",
|
"hra",
|
||||||
"sos",
|
"sos",
|
||||||
'o',
|
'o',
|
||||||
apprenticeBloodOrbStack,
|
2,
|
||||||
's',
|
's',
|
||||||
stoneStack,
|
stoneStack,
|
||||||
'p',
|
'p',
|
||||||
@@ -1038,7 +1036,7 @@ public class AlchemicalWizardry {
|
|||||||
'g',
|
'g',
|
||||||
goldIngotStack,
|
goldIngotStack,
|
||||||
'o',
|
'o',
|
||||||
apprenticeBloodOrbStack,
|
2,
|
||||||
'r',
|
'r',
|
||||||
reinforcedSlateStack));
|
reinforcedSlateStack));
|
||||||
GameRegistry.addRecipe(
|
GameRegistry.addRecipe(
|
||||||
@@ -1052,7 +1050,7 @@ public class AlchemicalWizardry {
|
|||||||
'g',
|
'g',
|
||||||
glowstoneDustStack,
|
glowstoneDustStack,
|
||||||
'o',
|
'o',
|
||||||
apprenticeBloodOrbStack,
|
2,
|
||||||
'r',
|
'r',
|
||||||
reinforcedSlateStack));
|
reinforcedSlateStack));
|
||||||
GameRegistry.addRecipe(
|
GameRegistry.addRecipe(
|
||||||
@@ -1066,7 +1064,7 @@ public class AlchemicalWizardry {
|
|||||||
's',
|
's',
|
||||||
blankSlateStack,
|
blankSlateStack,
|
||||||
'o',
|
'o',
|
||||||
weakBloodOrbStack));
|
1));
|
||||||
GameRegistry.addRecipe(
|
GameRegistry.addRecipe(
|
||||||
new ShapedBloodOrbRecipe(
|
new ShapedBloodOrbRecipe(
|
||||||
seerSigilStackCrafted,
|
seerSigilStackCrafted,
|
||||||
@@ -1078,7 +1076,7 @@ public class AlchemicalWizardry {
|
|||||||
's',
|
's',
|
||||||
divinationSigilStackCrafted,
|
divinationSigilStackCrafted,
|
||||||
'o',
|
'o',
|
||||||
apprenticeBloodOrbStack,
|
2,
|
||||||
'b',
|
'b',
|
||||||
new ItemStack(ModItems.bucketLife)));
|
new ItemStack(ModItems.bucketLife)));
|
||||||
GameRegistry.addRecipe(
|
GameRegistry.addRecipe(
|
||||||
@@ -1090,7 +1088,7 @@ public class AlchemicalWizardry {
|
|||||||
's',
|
's',
|
||||||
obsidianStack,
|
obsidianStack,
|
||||||
'o',
|
'o',
|
||||||
apprenticeBloodOrbStack,
|
2,
|
||||||
'r',
|
'r',
|
||||||
reinforcedSlateStack));
|
reinforcedSlateStack));
|
||||||
GameRegistry.addRecipe(
|
GameRegistry.addRecipe(
|
||||||
@@ -1102,7 +1100,7 @@ public class AlchemicalWizardry {
|
|||||||
'b',
|
'b',
|
||||||
obsidianStack,
|
obsidianStack,
|
||||||
'o',
|
'o',
|
||||||
magicianBloodOrbStack,
|
3,
|
||||||
'r',
|
'r',
|
||||||
ritualStoneStack));
|
ritualStoneStack));
|
||||||
GameRegistry.addRecipe(
|
GameRegistry.addRecipe(
|
||||||
@@ -1116,7 +1114,7 @@ public class AlchemicalWizardry {
|
|||||||
'b',
|
'b',
|
||||||
obsidianStack,
|
obsidianStack,
|
||||||
'o',
|
'o',
|
||||||
weakBloodOrbStack));
|
1));
|
||||||
GameRegistry.addRecipe(
|
GameRegistry.addRecipe(
|
||||||
new ShapedBloodOrbRecipe(
|
new ShapedBloodOrbRecipe(
|
||||||
sigilOfElementalAffinityStackCrafted,
|
sigilOfElementalAffinityStackCrafted,
|
||||||
@@ -1132,7 +1130,7 @@ public class AlchemicalWizardry {
|
|||||||
'l',
|
'l',
|
||||||
lavaSigilStack,
|
lavaSigilStack,
|
||||||
'r',
|
'r',
|
||||||
magicianBloodOrbStack,
|
3,
|
||||||
's',
|
's',
|
||||||
imbuedSlateStack));
|
imbuedSlateStack));
|
||||||
GameRegistry.addRecipe(
|
GameRegistry.addRecipe(
|
||||||
@@ -1148,7 +1146,7 @@ public class AlchemicalWizardry {
|
|||||||
'r',
|
'r',
|
||||||
imbuedSlateStack,
|
imbuedSlateStack,
|
||||||
'o',
|
'o',
|
||||||
magicianBloodOrbStack));
|
3));
|
||||||
GameRegistry.addRecipe(
|
GameRegistry.addRecipe(
|
||||||
emptySocketStack,
|
emptySocketStack,
|
||||||
"bgb",
|
"bgb",
|
||||||
@@ -1171,7 +1169,7 @@ public class AlchemicalWizardry {
|
|||||||
's',
|
's',
|
||||||
stoneStack,
|
stoneStack,
|
||||||
'o',
|
'o',
|
||||||
magicianBloodOrbStack));
|
3));
|
||||||
GameRegistry.addShapelessRecipe(largeBloodStoneBrickStackCrafted, weakBloodShardStack, stoneStack);
|
GameRegistry.addShapelessRecipe(largeBloodStoneBrickStackCrafted, weakBloodShardStack, stoneStack);
|
||||||
GameRegistry.addRecipe(bloodStoneBrickStackCrafted, "bb", "bb", 'b', largeBloodStoneBrickStack);
|
GameRegistry.addRecipe(bloodStoneBrickStackCrafted, "bb", "bb", 'b', largeBloodStoneBrickStack);
|
||||||
GameRegistry.addRecipe(
|
GameRegistry.addRecipe(
|
||||||
@@ -1185,7 +1183,7 @@ public class AlchemicalWizardry {
|
|||||||
'r',
|
'r',
|
||||||
reedStack,
|
reedStack,
|
||||||
'o',
|
'o',
|
||||||
apprenticeBloodOrbStack,
|
2,
|
||||||
'e',
|
'e',
|
||||||
reinforcedSlateStack));
|
reinforcedSlateStack));
|
||||||
GameRegistry.addRecipe(
|
GameRegistry.addRecipe(
|
||||||
@@ -1201,7 +1199,7 @@ public class AlchemicalWizardry {
|
|||||||
'r',
|
'r',
|
||||||
bloodRuneStack,
|
bloodRuneStack,
|
||||||
'o',
|
'o',
|
||||||
apprenticeBloodOrbStack));
|
2));
|
||||||
GameRegistry.addShapelessRecipe(
|
GameRegistry.addShapelessRecipe(
|
||||||
new ItemStack(Items.skull, 1, 2),
|
new ItemStack(Items.skull, 1, 2),
|
||||||
new ItemStack(Items.skull, 1, 1),
|
new ItemStack(Items.skull, 1, 1),
|
||||||
@@ -1230,7 +1228,7 @@ public class AlchemicalWizardry {
|
|||||||
'r',
|
'r',
|
||||||
obsidianStack,
|
obsidianStack,
|
||||||
'o',
|
'o',
|
||||||
weakBloodOrbStack));
|
1));
|
||||||
GameRegistry.addRecipe(
|
GameRegistry.addRecipe(
|
||||||
new ItemStack(ModBlocks.blockPedestal),
|
new ItemStack(ModBlocks.blockPedestal),
|
||||||
"ooo",
|
"ooo",
|
||||||
@@ -1270,7 +1268,7 @@ public class AlchemicalWizardry {
|
|||||||
'r',
|
'r',
|
||||||
obsidianStack,
|
obsidianStack,
|
||||||
'o',
|
'o',
|
||||||
new ItemStack(ModItems.masterBloodOrb)));
|
4));
|
||||||
GameRegistry.addRecipe(
|
GameRegistry.addRecipe(
|
||||||
new ShapedBloodOrbRecipe(
|
new ShapedBloodOrbRecipe(
|
||||||
new ItemStack(ModItems.sigilOfWind),
|
new ItemStack(ModItems.sigilOfWind),
|
||||||
@@ -1284,13 +1282,13 @@ public class AlchemicalWizardry {
|
|||||||
'a',
|
'a',
|
||||||
new ItemStack(ModItems.airSigil),
|
new ItemStack(ModItems.airSigil),
|
||||||
'o',
|
'o',
|
||||||
new ItemStack(ModItems.masterBloodOrb),
|
4,
|
||||||
'r',
|
'r',
|
||||||
ModItems.demonicSlate));
|
ModItems.demonicSlate));
|
||||||
GameRegistry.addRecipe(
|
GameRegistry.addRecipe(
|
||||||
new ShapelessBloodOrbRecipe(
|
new ShapelessBloodOrbRecipe(
|
||||||
new ItemStack(ModItems.weakBloodShard, 5, 0),
|
new ItemStack(ModItems.weakBloodShard, 5, 0),
|
||||||
new ItemStack(ModItems.masterBloodOrb),
|
4,
|
||||||
new ItemStack(ModItems.weakBloodShard),
|
new ItemStack(ModItems.weakBloodShard),
|
||||||
imbuedSlateStack));
|
imbuedSlateStack));
|
||||||
GameRegistry.addRecipe(
|
GameRegistry.addRecipe(
|
||||||
@@ -1325,7 +1323,7 @@ public class AlchemicalWizardry {
|
|||||||
's',
|
's',
|
||||||
imbuedSlateStack,
|
imbuedSlateStack,
|
||||||
'o',
|
'o',
|
||||||
magicianBloodOrbStack));
|
3));
|
||||||
GameRegistry.addRecipe(
|
GameRegistry.addRecipe(
|
||||||
new ItemStack(ModItems.armourInhibitor),
|
new ItemStack(ModItems.armourInhibitor),
|
||||||
" gg",
|
" gg",
|
||||||
@@ -1376,7 +1374,7 @@ public class AlchemicalWizardry {
|
|||||||
's',
|
's',
|
||||||
new ItemStack(ModItems.imbuedSlate),
|
new ItemStack(ModItems.imbuedSlate),
|
||||||
'o',
|
'o',
|
||||||
magicianBloodOrbStack));
|
3));
|
||||||
GameRegistry.addRecipe(
|
GameRegistry.addRecipe(
|
||||||
new ShapedBloodOrbRecipe(
|
new ShapedBloodOrbRecipe(
|
||||||
new ItemStack(ModItems.energyBazooka),
|
new ItemStack(ModItems.energyBazooka),
|
||||||
@@ -1384,7 +1382,7 @@ public class AlchemicalWizardry {
|
|||||||
"cb ",
|
"cb ",
|
||||||
"d w",
|
"d w",
|
||||||
'O',
|
'O',
|
||||||
archmageBloodOrbStack,
|
5,
|
||||||
'c',
|
'c',
|
||||||
crepitousStack,
|
crepitousStack,
|
||||||
'b',
|
'b',
|
||||||
@@ -1400,7 +1398,7 @@ public class AlchemicalWizardry {
|
|||||||
"sss",
|
"sss",
|
||||||
"bob",
|
"bob",
|
||||||
'o',
|
'o',
|
||||||
magicianBloodOrbStack,
|
3,
|
||||||
'b',
|
'b',
|
||||||
glowstoneBlockStack,
|
glowstoneBlockStack,
|
||||||
't',
|
't',
|
||||||
@@ -1470,9 +1468,6 @@ public class AlchemicalWizardry {
|
|||||||
customPotionAmphibian = (new PotionAmphibian(customPotionAmphibianID, false, 0)).setIconIndex(0, 0)
|
customPotionAmphibian = (new PotionAmphibian(customPotionAmphibianID, false, 0)).setIconIndex(0, 0)
|
||||||
.setPotionName("bm.buff.amphibian");
|
.setPotionName("bm.buff.amphibian");
|
||||||
|
|
||||||
ItemStack masterBloodOrbStack = new ItemStack(ModItems.masterBloodOrb);
|
|
||||||
ItemStack transcendentBloodOrbStack = new ItemStack(ModItems.transcendentBloodOrb);
|
|
||||||
|
|
||||||
// ModBlocks.blockLifeEssence.setUnlocalizedName("lifeEssenceBlock");
|
// ModBlocks.blockLifeEssence.setUnlocalizedName("lifeEssenceBlock");
|
||||||
FluidContainerRegistry.registerFluidContainer(
|
FluidContainerRegistry.registerFluidContainer(
|
||||||
lifeEssenceFluid,
|
lifeEssenceFluid,
|
||||||
@@ -1551,7 +1546,6 @@ public class AlchemicalWizardry {
|
|||||||
|
|
||||||
blacklistAccelerators();
|
blacklistAccelerators();
|
||||||
|
|
||||||
MinecraftForge.EVENT_BUS.register(new ModLivingDropsEvent());
|
|
||||||
proxy.InitRendering();
|
proxy.InitRendering();
|
||||||
NetworkRegistry.INSTANCE.registerGuiHandler(this, new GuiHandler());
|
NetworkRegistry.INSTANCE.registerGuiHandler(this, new GuiHandler());
|
||||||
|
|
||||||
@@ -2133,7 +2127,7 @@ public class AlchemicalWizardry {
|
|||||||
'm',
|
'm',
|
||||||
magicalesStack,
|
magicalesStack,
|
||||||
'o',
|
'o',
|
||||||
magicianBloodOrbStack,
|
3,
|
||||||
'a',
|
'a',
|
||||||
new ItemStack(Items.arrow)));
|
new ItemStack(Items.arrow)));
|
||||||
GameRegistry.addRecipe(
|
GameRegistry.addRecipe(
|
||||||
@@ -2149,7 +2143,7 @@ public class AlchemicalWizardry {
|
|||||||
'b',
|
'b',
|
||||||
weakBloodShardStack,
|
weakBloodShardStack,
|
||||||
'o',
|
'o',
|
||||||
magicianBloodOrbStack,
|
3,
|
||||||
'n',
|
'n',
|
||||||
glowstoneDustStack));
|
glowstoneDustStack));
|
||||||
GameRegistry.addRecipe(
|
GameRegistry.addRecipe(
|
||||||
@@ -2165,7 +2159,7 @@ public class AlchemicalWizardry {
|
|||||||
'b',
|
'b',
|
||||||
weakBloodShardStack,
|
weakBloodShardStack,
|
||||||
'o',
|
'o',
|
||||||
magicianBloodOrbStack,
|
3,
|
||||||
'n',
|
'n',
|
||||||
new ItemStack(Items.fire_charge)));
|
new ItemStack(Items.fire_charge)));
|
||||||
GameRegistry.addRecipe(
|
GameRegistry.addRecipe(
|
||||||
@@ -2181,7 +2175,7 @@ public class AlchemicalWizardry {
|
|||||||
'b',
|
'b',
|
||||||
weakBloodShardStack,
|
weakBloodShardStack,
|
||||||
'o',
|
'o',
|
||||||
magicianBloodOrbStack,
|
3,
|
||||||
'n',
|
'n',
|
||||||
new ItemStack(Blocks.obsidian)));
|
new ItemStack(Blocks.obsidian)));
|
||||||
|
|
||||||
@@ -2221,7 +2215,7 @@ public class AlchemicalWizardry {
|
|||||||
'c',
|
'c',
|
||||||
emptyCoreStack,
|
emptyCoreStack,
|
||||||
'o',
|
'o',
|
||||||
magicianBloodOrbStack,
|
3,
|
||||||
'd',
|
'd',
|
||||||
diamondStack,
|
diamondStack,
|
||||||
's',
|
's',
|
||||||
@@ -2237,7 +2231,7 @@ public class AlchemicalWizardry {
|
|||||||
'c',
|
'c',
|
||||||
emptyCoreStack,
|
emptyCoreStack,
|
||||||
'o',
|
'o',
|
||||||
magicianBloodOrbStack,
|
3,
|
||||||
'd',
|
'd',
|
||||||
diamondStack,
|
diamondStack,
|
||||||
's',
|
's',
|
||||||
@@ -2253,7 +2247,7 @@ public class AlchemicalWizardry {
|
|||||||
'c',
|
'c',
|
||||||
emptyCoreStack,
|
emptyCoreStack,
|
||||||
'o',
|
'o',
|
||||||
magicianBloodOrbStack,
|
3,
|
||||||
'd',
|
'd',
|
||||||
diamondStack,
|
diamondStack,
|
||||||
's',
|
's',
|
||||||
@@ -2269,7 +2263,7 @@ public class AlchemicalWizardry {
|
|||||||
'c',
|
'c',
|
||||||
emptyCoreStack,
|
emptyCoreStack,
|
||||||
'o',
|
'o',
|
||||||
magicianBloodOrbStack,
|
3,
|
||||||
'd',
|
'd',
|
||||||
diamondStack,
|
diamondStack,
|
||||||
's',
|
's',
|
||||||
@@ -2300,7 +2294,7 @@ public class AlchemicalWizardry {
|
|||||||
'e',
|
'e',
|
||||||
emptyCoreStack,
|
emptyCoreStack,
|
||||||
'o',
|
'o',
|
||||||
magicianBloodOrbStack,
|
3,
|
||||||
's',
|
's',
|
||||||
weakBloodShardStack,
|
weakBloodShardStack,
|
||||||
'g',
|
'g',
|
||||||
@@ -2316,7 +2310,7 @@ public class AlchemicalWizardry {
|
|||||||
'e',
|
'e',
|
||||||
emptyCoreStack,
|
emptyCoreStack,
|
||||||
'o',
|
'o',
|
||||||
magicianBloodOrbStack,
|
3,
|
||||||
's',
|
's',
|
||||||
weakBloodShardStack,
|
weakBloodShardStack,
|
||||||
'g',
|
'g',
|
||||||
@@ -2332,7 +2326,7 @@ public class AlchemicalWizardry {
|
|||||||
'e',
|
'e',
|
||||||
emptyCoreStack,
|
emptyCoreStack,
|
||||||
'o',
|
'o',
|
||||||
magicianBloodOrbStack,
|
3,
|
||||||
's',
|
's',
|
||||||
weakBloodShardStack,
|
weakBloodShardStack,
|
||||||
'g',
|
'g',
|
||||||
@@ -2348,7 +2342,7 @@ public class AlchemicalWizardry {
|
|||||||
'e',
|
'e',
|
||||||
emptyCoreStack,
|
emptyCoreStack,
|
||||||
'o',
|
'o',
|
||||||
magicianBloodOrbStack,
|
3,
|
||||||
's',
|
's',
|
||||||
weakBloodShardStack,
|
weakBloodShardStack,
|
||||||
'g',
|
'g',
|
||||||
@@ -2365,7 +2359,7 @@ public class AlchemicalWizardry {
|
|||||||
'e',
|
'e',
|
||||||
emptyCoreStack,
|
emptyCoreStack,
|
||||||
'o',
|
'o',
|
||||||
masterBloodOrbStack,
|
4,
|
||||||
's',
|
's',
|
||||||
weakBloodShardStack,
|
weakBloodShardStack,
|
||||||
'g',
|
'g',
|
||||||
@@ -2381,7 +2375,7 @@ public class AlchemicalWizardry {
|
|||||||
'e',
|
'e',
|
||||||
emptyCoreStack,
|
emptyCoreStack,
|
||||||
'o',
|
'o',
|
||||||
masterBloodOrbStack,
|
4,
|
||||||
's',
|
's',
|
||||||
weakBloodShardStack,
|
weakBloodShardStack,
|
||||||
'g',
|
'g',
|
||||||
@@ -2397,7 +2391,7 @@ public class AlchemicalWizardry {
|
|||||||
'e',
|
'e',
|
||||||
emptyCoreStack,
|
emptyCoreStack,
|
||||||
'o',
|
'o',
|
||||||
masterBloodOrbStack,
|
4,
|
||||||
's',
|
's',
|
||||||
weakBloodShardStack,
|
weakBloodShardStack,
|
||||||
'g',
|
'g',
|
||||||
@@ -2412,7 +2406,7 @@ public class AlchemicalWizardry {
|
|||||||
's',
|
's',
|
||||||
etherealSlateStack,
|
etherealSlateStack,
|
||||||
'o',
|
'o',
|
||||||
archmageBloodOrbStack,
|
5,
|
||||||
'g',
|
'g',
|
||||||
new ItemStack(Items.golden_hoe),
|
new ItemStack(Items.golden_hoe),
|
||||||
'm',
|
'm',
|
||||||
@@ -2426,7 +2420,7 @@ public class AlchemicalWizardry {
|
|||||||
's',
|
's',
|
||||||
etherealSlateStack,
|
etherealSlateStack,
|
||||||
'o',
|
'o',
|
||||||
archmageBloodOrbStack,
|
5,
|
||||||
'r',
|
'r',
|
||||||
speedRuneStack,
|
speedRuneStack,
|
||||||
'b',
|
'b',
|
||||||
@@ -2440,7 +2434,7 @@ public class AlchemicalWizardry {
|
|||||||
"csc",
|
"csc",
|
||||||
"obo",
|
"obo",
|
||||||
'b',
|
'b',
|
||||||
masterBloodOrbStack,
|
4,
|
||||||
'p',
|
'p',
|
||||||
new ItemStack(Blocks.piston),
|
new ItemStack(Blocks.piston),
|
||||||
'c',
|
'c',
|
||||||
@@ -2463,7 +2457,7 @@ public class AlchemicalWizardry {
|
|||||||
'a',
|
'a',
|
||||||
accelerationRuneStack,
|
accelerationRuneStack,
|
||||||
'o',
|
'o',
|
||||||
archmageBloodOrbStack));
|
5));
|
||||||
|
|
||||||
AlchemyRecipeRegistry.registerRecipe(
|
AlchemyRecipeRegistry.registerRecipe(
|
||||||
crackedRunicPlateStackCrafted,
|
crackedRunicPlateStackCrafted,
|
||||||
@@ -2958,7 +2952,7 @@ public class AlchemicalWizardry {
|
|||||||
't',
|
't',
|
||||||
new ItemStack(ModBlocks.blockTeleposer),
|
new ItemStack(ModBlocks.blockTeleposer),
|
||||||
'o',
|
'o',
|
||||||
masterBloodOrbStack,
|
4,
|
||||||
'l',
|
'l',
|
||||||
lavaBucketStack,
|
lavaBucketStack,
|
||||||
'w',
|
'w',
|
||||||
@@ -2974,7 +2968,7 @@ public class AlchemicalWizardry {
|
|||||||
't',
|
't',
|
||||||
weakBloodShardStack,
|
weakBloodShardStack,
|
||||||
'o',
|
'o',
|
||||||
masterBloodOrbStack,
|
4,
|
||||||
'e',
|
'e',
|
||||||
new ItemStack(Items.ender_eye),
|
new ItemStack(Items.ender_eye),
|
||||||
'p',
|
'p',
|
||||||
@@ -3056,7 +3050,7 @@ public class AlchemicalWizardry {
|
|||||||
"grg",
|
"grg",
|
||||||
"bob",
|
"bob",
|
||||||
'o',
|
'o',
|
||||||
transcendentBloodOrbStack,
|
6,
|
||||||
'r',
|
'r',
|
||||||
bloodRuneStack,
|
bloodRuneStack,
|
||||||
'1',
|
'1',
|
||||||
@@ -3074,7 +3068,7 @@ public class AlchemicalWizardry {
|
|||||||
"grg",
|
"grg",
|
||||||
"bob",
|
"bob",
|
||||||
'o',
|
'o',
|
||||||
transcendentBloodOrbStack,
|
6,
|
||||||
'r',
|
'r',
|
||||||
bloodRuneStack,
|
bloodRuneStack,
|
||||||
'g',
|
'g',
|
||||||
@@ -3092,7 +3086,7 @@ public class AlchemicalWizardry {
|
|||||||
"grg",
|
"grg",
|
||||||
"bob",
|
"bob",
|
||||||
'o',
|
'o',
|
||||||
transcendentBloodOrbStack,
|
6,
|
||||||
'r',
|
'r',
|
||||||
bloodRuneStack,
|
bloodRuneStack,
|
||||||
'g',
|
'g',
|
||||||
@@ -3245,7 +3239,8 @@ public class AlchemicalWizardry {
|
|||||||
@EventHandler
|
@EventHandler
|
||||||
public void postInit(FMLPostInitializationEvent event) {
|
public void postInit(FMLPostInitializationEvent event) {
|
||||||
proxy.registerPostSideObjects();
|
proxy.registerPostSideObjects();
|
||||||
isGregTechLoaded = Loader.isModLoaded("gregtech");
|
isGregTech5UnofficialNewHorizonsLoaded = Loader.isModLoaded("gregtech_nh");
|
||||||
|
isEndlessIdsLoaded = Loader.isModLoaded("endlessids");
|
||||||
// TODO Thaumcraft Integration
|
// TODO Thaumcraft Integration
|
||||||
if (Loader.isModLoaded("Thaumcraft")) {
|
if (Loader.isModLoaded("Thaumcraft")) {
|
||||||
isThaumcraftLoaded = true;
|
isThaumcraftLoaded = true;
|
||||||
|
|||||||
@@ -1,11 +1,12 @@
|
|||||||
package WayofTime.alchemicalWizardry.api.alchemy;
|
package WayofTime.alchemicalWizardry.api.alchemy;
|
||||||
|
|
||||||
import net.minecraft.item.ItemBlock;
|
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraftforge.oredict.OreDictionary;
|
import net.minecraftforge.oredict.OreDictionary;
|
||||||
|
|
||||||
public class AlchemyRecipe {
|
public class AlchemyRecipe {
|
||||||
|
|
||||||
|
private static final int MAX_INPUT_SLOTS = 5;
|
||||||
|
|
||||||
private final ItemStack output;
|
private final ItemStack output;
|
||||||
private final ItemStack[] recipe;
|
private final ItemStack[] recipe;
|
||||||
private final int bloodOrbLevel;
|
private final int bloodOrbLevel;
|
||||||
@@ -23,35 +24,13 @@ public class AlchemyRecipe {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
ItemStack[] recipe;
|
if (items.length < MAX_INPUT_SLOTS) {
|
||||||
|
|
||||||
if (items.length < 5) {
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.recipe.length != 5) {
|
boolean[] checkList = new boolean[MAX_INPUT_SLOTS];
|
||||||
ItemStack[] newRecipe = new ItemStack[5];
|
|
||||||
|
|
||||||
for (int i = 0; i < 5; i++) {
|
for (int i = 0; i < Math.min(recipe.length, MAX_INPUT_SLOTS); i++) {
|
||||||
if (i + 1 > this.recipe.length) {
|
|
||||||
newRecipe[i] = null;
|
|
||||||
} else {
|
|
||||||
newRecipe[i] = this.recipe[i];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
recipe = newRecipe;
|
|
||||||
} else {
|
|
||||||
recipe = this.recipe;
|
|
||||||
}
|
|
||||||
|
|
||||||
boolean[] checkList = new boolean[5];
|
|
||||||
|
|
||||||
for (int i = 0; i < 5; i++) {
|
|
||||||
checkList[i] = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
for (int i = 0; i < 5; i++) {
|
|
||||||
ItemStack recipeItemStack = recipe[i];
|
ItemStack recipeItemStack = recipe[i];
|
||||||
|
|
||||||
if (recipeItemStack == null) {
|
if (recipeItemStack == null) {
|
||||||
@@ -60,7 +39,7 @@ public class AlchemyRecipe {
|
|||||||
|
|
||||||
boolean test = false;
|
boolean test = false;
|
||||||
|
|
||||||
for (int j = 0; j < 5; j++) {
|
for (int j = 0; j < MAX_INPUT_SLOTS; j++) {
|
||||||
if (checkList[j]) {
|
if (checkList[j]) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@@ -71,20 +50,6 @@ public class AlchemyRecipe {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean quickTest = false;
|
|
||||||
|
|
||||||
if (recipeItemStack.getItem() instanceof ItemBlock) {
|
|
||||||
if (checkedItemStack.getItem() instanceof ItemBlock) {
|
|
||||||
quickTest = true;
|
|
||||||
}
|
|
||||||
} else if (!(checkedItemStack.getItem() instanceof ItemBlock)) {
|
|
||||||
quickTest = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!quickTest) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
if ((checkedItemStack.getItemDamage() == recipeItemStack.getItemDamage()
|
if ((checkedItemStack.getItemDamage() == recipeItemStack.getItemDamage()
|
||||||
|| OreDictionary.WILDCARD_VALUE == recipeItemStack.getItemDamage())
|
|| OreDictionary.WILDCARD_VALUE == recipeItemStack.getItemDamage())
|
||||||
&& checkedItemStack.getItem() == recipeItemStack.getItem()) {
|
&& checkedItemStack.getItem() == recipeItemStack.getItem()) {
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ public class AlchemyRecipeRegistry {
|
|||||||
recipes.add(new AlchemyRecipe(output, amountNeeded, recipe, bloodOrbLevel));
|
recipes.add(new AlchemyRecipe(output, amountNeeded, recipe, bloodOrbLevel));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static ItemStack getResult(ItemStack[] recipe, ItemStack bloodOrb) {
|
public static AlchemyRecipe findRecipe(ItemStack[] recipe, ItemStack bloodOrb) {
|
||||||
if (bloodOrb == null) {
|
if (bloodOrb == null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@@ -28,31 +28,23 @@ public class AlchemyRecipeRegistry {
|
|||||||
|
|
||||||
for (AlchemyRecipe ar : recipes) {
|
for (AlchemyRecipe ar : recipes) {
|
||||||
if (ar.doesRecipeMatch(recipe, bloodOrbLevel)) {
|
if (ar.doesRecipeMatch(recipe, bloodOrbLevel)) {
|
||||||
return (ar.getResult());
|
return ar;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static ItemStack getResult(ItemStack[] recipe, ItemStack bloodOrb) {
|
||||||
|
AlchemyRecipe ar = findRecipe(recipe, bloodOrb);
|
||||||
|
|
||||||
|
return ar == null ? null : ar.getResult();
|
||||||
|
}
|
||||||
|
|
||||||
public static int getAmountNeeded(ItemStack[] recipe, ItemStack bloodOrb) {
|
public static int getAmountNeeded(ItemStack[] recipe, ItemStack bloodOrb) {
|
||||||
if (bloodOrb == null) {
|
AlchemyRecipe ar = findRecipe(recipe, bloodOrb);
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!(bloodOrb.getItem() instanceof IBloodOrb)) {
|
return ar == null ? 0 : ar.getAmountNeeded();
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int bloodOrbLevel = ((IBloodOrb) bloodOrb.getItem()).getOrbLevel();
|
|
||||||
|
|
||||||
for (AlchemyRecipe ar : recipes) {
|
|
||||||
if (ar.doesRecipeMatch(recipe, bloodOrbLevel)) {
|
|
||||||
return (ar.getAmountNeeded());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static ItemStack[] getRecipeForItemStack(ItemStack itemStack) {
|
public static ItemStack[] getRecipeForItemStack(ItemStack itemStack) {
|
||||||
|
|||||||
@@ -86,25 +86,23 @@ public class ShapedBloodOrbRecipe implements IRecipe {
|
|||||||
Character chr = (Character) recipe[idx];
|
Character chr = (Character) recipe[idx];
|
||||||
Object in = recipe[idx + 1];
|
Object in = recipe[idx + 1];
|
||||||
|
|
||||||
if (in instanceof IBloodOrb orb) {
|
switch (in) {
|
||||||
itemMap.put(chr, orb.getOrbLevel());
|
case IBloodOrb orb -> itemMap.put(chr, orb.getOrbLevel());
|
||||||
} else if (in instanceof ItemStack stack && stack.getItem() instanceof IBloodOrb orb) {
|
case ItemStack stack when stack.getItem() instanceof IBloodOrb orb ->
|
||||||
itemMap.put(chr, orb.getOrbLevel());
|
itemMap.put(chr, orb.getOrbLevel());
|
||||||
} else if (in instanceof ItemStack stack) {
|
case ItemStack stack -> itemMap.put(chr, stack.copy());
|
||||||
itemMap.put(chr, stack.copy());
|
case Integer i -> itemMap.put(chr, i);
|
||||||
} else if (in instanceof Item item) {
|
case Item item -> itemMap.put(chr, new ItemStack(item));
|
||||||
itemMap.put(chr, new ItemStack(item));
|
case Block block -> itemMap.put(chr, new ItemStack(block, 1, OreDictionary.WILDCARD_VALUE));
|
||||||
} else if (in instanceof Block block) {
|
case String string -> itemMap.put(chr, OreDictionary.getOres(string));
|
||||||
itemMap.put(chr, new ItemStack(block, 1, OreDictionary.WILDCARD_VALUE));
|
case null, default -> {
|
||||||
} else if (in instanceof String string) {
|
StringBuilder ret = new StringBuilder("Invalid shaped ore recipe: ");
|
||||||
itemMap.put(chr, OreDictionary.getOres(string));
|
for (Object tmp : recipe) {
|
||||||
} else {
|
ret.append(tmp).append(", ");
|
||||||
StringBuilder ret = new StringBuilder("Invalid shaped ore recipe: ");
|
}
|
||||||
for (Object tmp : recipe) {
|
ret.append(output);
|
||||||
ret.append(tmp).append(", ");
|
throw new RuntimeException(ret.toString());
|
||||||
}
|
}
|
||||||
ret.append(output);
|
|
||||||
throw new RuntimeException(ret.toString());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -34,25 +34,22 @@ public class ShapelessBloodOrbRecipe implements IRecipe {
|
|||||||
public ShapelessBloodOrbRecipe(ItemStack result, Object... recipe) {
|
public ShapelessBloodOrbRecipe(ItemStack result, Object... recipe) {
|
||||||
output = result.copy();
|
output = result.copy();
|
||||||
for (Object in : recipe) {
|
for (Object in : recipe) {
|
||||||
if (in instanceof IBloodOrb orb) {
|
switch (in) {
|
||||||
input.add(orb.getOrbLevel());
|
case IBloodOrb orb -> input.add(orb.getOrbLevel());
|
||||||
} else if (in instanceof ItemStack stack && stack.getItem() instanceof IBloodOrb orb) {
|
case ItemStack stack when stack.getItem() instanceof IBloodOrb orb -> input.add(orb.getOrbLevel());
|
||||||
input.add(orb.getOrbLevel());
|
case Integer i -> input.add(i);
|
||||||
} else if (in instanceof ItemStack stack) {
|
case ItemStack stack -> input.add(stack.copy());
|
||||||
input.add(stack.copy());
|
case Item item -> input.add(new ItemStack(item));
|
||||||
} else if (in instanceof Item item) {
|
case Block block -> input.add(new ItemStack(block, 1, OreDictionary.WILDCARD_VALUE));
|
||||||
input.add(new ItemStack(item));
|
case String string -> input.add(OreDictionary.getOres(string));
|
||||||
} else if (in instanceof Block block) {
|
case null, default -> {
|
||||||
input.add(new ItemStack(block, 1, OreDictionary.WILDCARD_VALUE));
|
StringBuilder ret = new StringBuilder("Invalid shapeless ore recipe: ");
|
||||||
} else if (in instanceof String string) {
|
for (Object tmp : recipe) {
|
||||||
input.add(OreDictionary.getOres(string));
|
ret.append(tmp).append(", ");
|
||||||
} else {
|
}
|
||||||
StringBuilder ret = new StringBuilder("Invalid shapeless ore recipe: ");
|
ret.append(output);
|
||||||
for (Object tmp : recipe) {
|
throw new RuntimeException(ret.toString());
|
||||||
ret.append(tmp).append(", ");
|
|
||||||
}
|
}
|
||||||
ret.append(output);
|
|
||||||
throw new RuntimeException(ret.toString());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -250,7 +250,6 @@ public class ClientProxy extends CommonProxy {
|
|||||||
Object ob = new ClientEventHandler();
|
Object ob = new ClientEventHandler();
|
||||||
FMLCommonHandler.instance().bus().register(ob);
|
FMLCommonHandler.instance().bus().register(ob);
|
||||||
MinecraftForge.EVENT_BUS.register(ob);
|
MinecraftForge.EVENT_BUS.register(ob);
|
||||||
KeyBindings.init();
|
|
||||||
MinecraftForge.EVENT_BUS.register(new ScrollHelper());
|
MinecraftForge.EVENT_BUS.register(new ScrollHelper());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
package WayofTime.alchemicalWizardry.client;
|
|
||||||
|
|
||||||
public class KeyBindings {
|
|
||||||
// public static KeyBinding omegaTest;
|
|
||||||
|
|
||||||
public static void init() {
|
|
||||||
// omegaTest = new KeyBinding("key.ping", Keyboard.KEY_O, "key.categories.alchemicalwizardry");
|
|
||||||
//
|
|
||||||
// ClientRegistry.registerKeyBinding(omegaTest);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -96,6 +96,7 @@ public class IMCForNEI {
|
|||||||
sendInfoPage("AWWayofTime masterStone,blockAlchemicCalcinator", "nei.infopage.reagents.1");
|
sendInfoPage("AWWayofTime masterStone,blockAlchemicCalcinator", "nei.infopage.reagents.1");
|
||||||
sendInfoPage("AWWayofTime masterStone,blockAlchemicCalcinator|<AWWayofTime:terrae>", "nei.infopage.reagents.2");
|
sendInfoPage("AWWayofTime masterStone,blockAlchemicCalcinator|<AWWayofTime:terrae>", "nei.infopage.reagents.2");
|
||||||
sendInfoPage("AWWayofTime masterStone,blockAlchemicCalcinator,itemAttunedCrystal", "nei.infopage.reagents.3");
|
sendInfoPage("AWWayofTime masterStone,blockAlchemicCalcinator,itemAttunedCrystal", "nei.infopage.reagents.3");
|
||||||
|
sendInfoPage("AWWayofTime masterStone,blockAlchemicCalcinator,itemAttunedCrystal", "nei.infopage.reagents.3b");
|
||||||
sendInfoPage(
|
sendInfoPage(
|
||||||
"AWWayofTime masterStone,blockAlchemicCalcinator,itemTankSegmenter,itemDestinationClearer",
|
"AWWayofTime masterStone,blockAlchemicCalcinator,itemTankSegmenter,itemDestinationClearer",
|
||||||
"nei.infopage.reagents.4");
|
"nei.infopage.reagents.4");
|
||||||
|
|||||||
@@ -122,7 +122,7 @@ public class NEIBindingRitualHandler extends TemplateRecipeHandler {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getRecipeName() {
|
public String getRecipeName() {
|
||||||
return "Binding Ritual";
|
return StatCollector.translateToLocal("nei.recipe.bindingritual.category");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ public class NEIBloodOrbShapedHandler extends ShapedRecipeHandler {
|
|||||||
ArrayList<ItemStack> orbs = new ArrayList<>();
|
ArrayList<ItemStack> orbs = new ArrayList<>();
|
||||||
for (Item item : getBloodOrbs()) {
|
for (Item item : getBloodOrbs()) {
|
||||||
if (((IBloodOrb) item).getOrbLevel() >= i) {
|
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);
|
PositionedStack stack = new PositionedStack(orbs, 25 + x * 18, 6 + y * 18, false);
|
||||||
|
|||||||
+1
-1
@@ -42,7 +42,7 @@ public class NEIBloodOrbShapelessHandler extends ShapelessRecipeHandler {
|
|||||||
ArrayList<ItemStack> orbs = new ArrayList<>();
|
ArrayList<ItemStack> orbs = new ArrayList<>();
|
||||||
for (Item item : NEIConfig.getBloodOrbs()) {
|
for (Item item : NEIConfig.getBloodOrbs()) {
|
||||||
if (((IBloodOrb) item).getOrbLevel() >= i) {
|
if (((IBloodOrb) item).getOrbLevel() >= i) {
|
||||||
orbs.add(new ItemStack(item));
|
orbs.add(new ItemStack(item, 0));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -216,6 +216,6 @@ public class NEICalcinatorHandler extends TemplateRecipeHandler {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getRecipeName() {
|
public String getRecipeName() {
|
||||||
return "Alchemic Calcinator";
|
return StatCollector.translateToLocal("nei.recipe.calcinator.category");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+34
-2
@@ -11,6 +11,7 @@ import net.minecraft.entity.EntityLivingBase;
|
|||||||
import net.minecraft.entity.IProjectile;
|
import net.minecraft.entity.IProjectile;
|
||||||
import net.minecraft.entity.monster.EntityCreeper;
|
import net.minecraft.entity.monster.EntityCreeper;
|
||||||
import net.minecraft.entity.monster.EntityMob;
|
import net.minecraft.entity.monster.EntityMob;
|
||||||
|
import net.minecraft.entity.passive.EntityAnimal;
|
||||||
import net.minecraft.entity.player.EntityPlayer;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
import net.minecraft.entity.player.EntityPlayerMP;
|
import net.minecraft.entity.player.EntityPlayerMP;
|
||||||
import net.minecraft.entity.projectile.EntityArrow;
|
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.EnderTeleportEvent;
|
||||||
import net.minecraftforge.event.entity.living.LivingAttackEvent;
|
import net.minecraftforge.event.entity.living.LivingAttackEvent;
|
||||||
import net.minecraftforge.event.entity.living.LivingDeathEvent;
|
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.LivingJumpEvent;
|
||||||
import net.minecraftforge.event.entity.living.LivingEvent.LivingUpdateEvent;
|
import net.minecraftforge.event.entity.living.LivingEvent.LivingUpdateEvent;
|
||||||
import net.minecraftforge.event.entity.living.LivingHurtEvent;
|
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.AlchemicalWizardry;
|
||||||
import WayofTime.alchemicalWizardry.BloodMagicConfiguration;
|
import WayofTime.alchemicalWizardry.BloodMagicConfiguration;
|
||||||
|
import WayofTime.alchemicalWizardry.ModItems;
|
||||||
import WayofTime.alchemicalWizardry.api.BlockStack;
|
import WayofTime.alchemicalWizardry.api.BlockStack;
|
||||||
import WayofTime.alchemicalWizardry.api.alchemy.energy.Reagent;
|
import WayofTime.alchemicalWizardry.api.alchemy.energy.Reagent;
|
||||||
import WayofTime.alchemicalWizardry.api.event.TeleposeEvent;
|
import WayofTime.alchemicalWizardry.api.event.TeleposeEvent;
|
||||||
|
import WayofTime.alchemicalWizardry.api.items.interfaces.IBindable;
|
||||||
import WayofTime.alchemicalWizardry.api.soulNetwork.SoulNetworkHandler;
|
import WayofTime.alchemicalWizardry.api.soulNetwork.SoulNetworkHandler;
|
||||||
import WayofTime.alchemicalWizardry.api.spell.APISpellHelper;
|
import WayofTime.alchemicalWizardry.api.spell.APISpellHelper;
|
||||||
import WayofTime.alchemicalWizardry.common.achievements.ModAchievements;
|
import WayofTime.alchemicalWizardry.common.achievements.ModAchievements;
|
||||||
import WayofTime.alchemicalWizardry.common.demonVillage.demonHoard.demon.IHoardDemon;
|
import WayofTime.alchemicalWizardry.common.demonVillage.demonHoard.demon.IHoardDemon;
|
||||||
import WayofTime.alchemicalWizardry.common.entity.projectile.EnergyBlastProjectile;
|
import WayofTime.alchemicalWizardry.common.entity.projectile.EnergyBlastProjectile;
|
||||||
|
import WayofTime.alchemicalWizardry.common.items.EnergyItems;
|
||||||
import WayofTime.alchemicalWizardry.common.items.EnergySword;
|
import WayofTime.alchemicalWizardry.common.items.EnergySword;
|
||||||
import WayofTime.alchemicalWizardry.common.items.armour.BoundArmour;
|
import WayofTime.alchemicalWizardry.common.items.armour.BoundArmour;
|
||||||
import WayofTime.alchemicalWizardry.common.items.armour.OmegaArmour;
|
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
|
@SubscribeEvent
|
||||||
public void omegaUpdateReagentAndHpEvent(LivingUpdateEvent event) {
|
public void omegaUpdateReagentAndHpEvent(LivingUpdateEvent event) {
|
||||||
if (event.entityLiving instanceof EntityPlayer player && !event.entityLiving.worldObj.isRemote) {
|
if (event.entityLiving instanceof EntityPlayer player && !event.entityLiving.worldObj.isRemote) {
|
||||||
@@ -455,10 +485,12 @@ public class AlchemicalWizardryEventHooks {
|
|||||||
if (event.entityLiving.isPotionActive(AlchemicalWizardry.customPotionDrowning)
|
if (event.entityLiving.isPotionActive(AlchemicalWizardry.customPotionDrowning)
|
||||||
&& !event.entityLiving.isPotionActive(Potion.waterBreathing)) {
|
&& !event.entityLiving.isPotionActive(Potion.waterBreathing)) {
|
||||||
int i = event.entityLiving.getActivePotionEffect(AlchemicalWizardry.customPotionDrowning).getAmplifier();
|
int i = event.entityLiving.getActivePotionEffect(AlchemicalWizardry.customPotionDrowning).getAmplifier();
|
||||||
|
int amplifier = Math.max(1, (i + 1));
|
||||||
|
int interval = Math.max(1, (20 / amplifier));
|
||||||
|
|
||||||
if (event.entityLiving.worldObj.getWorldTime() % (20 / (i + 1)) == 0) {
|
if (event.entityLiving.worldObj.getWorldTime() % interval == 0) {
|
||||||
event.entityLiving.attackEntityFrom(DamageSource.drown, 2);
|
event.entityLiving.attackEntityFrom(DamageSource.drown, 2);
|
||||||
event.entityLiving.hurtResistantTime = Math.min(event.entityLiving.hurtResistantTime, 20 / (i + 1));
|
event.entityLiving.hurtResistantTime = Math.min(event.entityLiving.hurtResistantTime, interval);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -11,12 +11,15 @@ import java.util.stream.IntStream;
|
|||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
import net.minecraft.entity.player.EntityPlayer;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
import net.minecraft.entity.player.EntityPlayerMP;
|
import net.minecraft.entity.player.EntityPlayerMP;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.network.Packet;
|
import net.minecraft.network.Packet;
|
||||||
import net.minecraft.tileentity.TileEntity;
|
import net.minecraft.tileentity.TileEntity;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
import net.minecraft.world.chunk.Chunk;
|
import net.minecraft.world.chunk.Chunk;
|
||||||
import net.minecraftforge.common.util.ForgeDirection;
|
import net.minecraftforge.common.util.ForgeDirection;
|
||||||
|
|
||||||
|
import com.falsepattern.endlessids.mixin.helpers.ChunkBiomeHook;
|
||||||
|
|
||||||
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
|
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
|
||||||
import WayofTime.alchemicalWizardry.api.ColourAndCoords;
|
import WayofTime.alchemicalWizardry.api.ColourAndCoords;
|
||||||
import WayofTime.alchemicalWizardry.api.alchemy.energy.Reagent;
|
import WayofTime.alchemicalWizardry.api.alchemy.energy.Reagent;
|
||||||
@@ -32,6 +35,7 @@ import WayofTime.alchemicalWizardry.common.tileEntity.TESocket;
|
|||||||
import WayofTime.alchemicalWizardry.common.tileEntity.TETeleposer;
|
import WayofTime.alchemicalWizardry.common.tileEntity.TETeleposer;
|
||||||
import WayofTime.alchemicalWizardry.common.tileEntity.TEWritingTable;
|
import WayofTime.alchemicalWizardry.common.tileEntity.TEWritingTable;
|
||||||
import cpw.mods.fml.common.FMLCommonHandler;
|
import cpw.mods.fml.common.FMLCommonHandler;
|
||||||
|
import cpw.mods.fml.common.network.ByteBufUtils;
|
||||||
import cpw.mods.fml.common.network.FMLEmbeddedChannel;
|
import cpw.mods.fml.common.network.FMLEmbeddedChannel;
|
||||||
import cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec;
|
import cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec;
|
||||||
import cpw.mods.fml.common.network.FMLOutboundHandler;
|
import cpw.mods.fml.common.network.FMLOutboundHandler;
|
||||||
@@ -60,10 +64,16 @@ public enum NewPacketHandler {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void init() {
|
||||||
|
// called on the client thread
|
||||||
|
// to avoid leaking the server thread
|
||||||
|
// if initialized on the server thread
|
||||||
|
}
|
||||||
|
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
private void addClientHandler() {
|
private void addClientHandler() {
|
||||||
FMLEmbeddedChannel clientChannel = this.channels.get(Side.CLIENT);
|
FMLEmbeddedChannel clientChannel = this.channels.get(Side.CLIENT);
|
||||||
|
// spotless:off
|
||||||
String tileAltarCodec = clientChannel.findChannelHandlerNameForType(TEAltarCodec.class);
|
String tileAltarCodec = clientChannel.findChannelHandlerNameForType(TEAltarCodec.class);
|
||||||
clientChannel.pipeline().addAfter(tileAltarCodec, "TEAltarHandler", new TEAltarMessageHandler());
|
clientChannel.pipeline().addAfter(tileAltarCodec, "TEAltarHandler", new TEAltarMessageHandler());
|
||||||
clientChannel.pipeline().addAfter(tileAltarCodec, "TEOrientableHandler", new TEOrientableMessageHandler());
|
clientChannel.pipeline().addAfter(tileAltarCodec, "TEOrientableHandler", new TEOrientableMessageHandler());
|
||||||
@@ -75,15 +85,12 @@ public enum NewPacketHandler {
|
|||||||
clientChannel.pipeline().addAfter(tileAltarCodec, "ParticleHandler", new ParticleMessageHandler());
|
clientChannel.pipeline().addAfter(tileAltarCodec, "ParticleHandler", new ParticleMessageHandler());
|
||||||
clientChannel.pipeline().addAfter(tileAltarCodec, "VelocityHandler", new VelocityMessageHandler());
|
clientChannel.pipeline().addAfter(tileAltarCodec, "VelocityHandler", new VelocityMessageHandler());
|
||||||
clientChannel.pipeline().addAfter(tileAltarCodec, "TEMasterStoneHandler", new TEMasterStoneMessageHandler());
|
clientChannel.pipeline().addAfter(tileAltarCodec, "TEMasterStoneHandler", new TEMasterStoneMessageHandler());
|
||||||
clientChannel.pipeline()
|
clientChannel.pipeline().addAfter(tileAltarCodec, "TEReagentConduitHandler", new TEReagentConduitMessageHandler());
|
||||||
.addAfter(tileAltarCodec, "TEReagentConduitHandler", new TEReagentConduitMessageHandler());
|
|
||||||
clientChannel.pipeline().addAfter(tileAltarCodec, "CurrentLPMessageHandler", new CurrentLPMessageHandler());
|
clientChannel.pipeline().addAfter(tileAltarCodec, "CurrentLPMessageHandler", new CurrentLPMessageHandler());
|
||||||
clientChannel.pipeline()
|
clientChannel.pipeline().addAfter(tileAltarCodec, "CurrentReagentBarMessageHandler", new CurrentReagentBarMessageHandler());
|
||||||
.addAfter(tileAltarCodec, "CurrentReagentBarMessageHandler", new CurrentReagentBarMessageHandler());
|
clientChannel.pipeline().addAfter(tileAltarCodec, "CurrentAddedHPMessageHandler", new CurrentAddedHPMessageHandler());
|
||||||
clientChannel.pipeline()
|
clientChannel.pipeline().addAfter(tileAltarCodec, "GaiaBiomeChangeHandler", new GaiaBiomeChangeMessageHandler());
|
||||||
.addAfter(tileAltarCodec, "CurrentAddedHPMessageHandler", new CurrentAddedHPMessageHandler());
|
// spotless:on
|
||||||
clientChannel.pipeline()
|
|
||||||
.addAfter(tileAltarCodec, "GaiaBiomeChangeHandler", new GaiaBiomeChangeMessageHandler());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@SideOnly(Side.SERVER)
|
@SideOnly(Side.SERVER)
|
||||||
@@ -101,7 +108,7 @@ public enum NewPacketHandler {
|
|||||||
World world = AlchemicalWizardry.proxy.getClientWorld();
|
World world = AlchemicalWizardry.proxy.getClientWorld();
|
||||||
TileEntity te = world.getTileEntity(msg.x, msg.y, msg.z);
|
TileEntity te = world.getTileEntity(msg.x, msg.y, msg.z);
|
||||||
if (te instanceof TEAltar altar) {
|
if (te instanceof TEAltar altar) {
|
||||||
altar.handlePacketData(msg.items, msg.fluids, msg.capacity);
|
altar.handlePacketData(msg.itemStack, msg.fluids, msg.capacity);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -280,13 +287,23 @@ public enum NewPacketHandler {
|
|||||||
protected void channelRead0(ChannelHandlerContext ctx, GaiaBiomeChangeMessage msg) {
|
protected void channelRead0(ChannelHandlerContext ctx, GaiaBiomeChangeMessage msg) {
|
||||||
Chunk chunk = AlchemicalWizardry.proxy.getClientWorld().getChunkFromChunkCoords(msg.chunkX, msg.chunkZ);
|
Chunk chunk = AlchemicalWizardry.proxy.getClientWorld().getChunkFromChunkCoords(msg.chunkX, msg.chunkZ);
|
||||||
if (chunk != null) {
|
if (chunk != null) {
|
||||||
byte[] biomeArray = chunk.getBiomeArray();
|
if (AlchemicalWizardry.isEndlessIdsLoaded) {
|
||||||
for (int i = 0; i < 16 * 16; ++i) {
|
short[] biomeArray = ((ChunkBiomeHook) chunk).getBiomeShortArray();
|
||||||
if (msg.mask.get(i)) {
|
for (int i = 0; i < 16 * 16; ++i) {
|
||||||
biomeArray[i] = msg.biome;
|
if (msg.mask.get(i)) {
|
||||||
|
biomeArray[i] = (short) msg.biome;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
((ChunkBiomeHook) chunk).setBiomeShortArray(biomeArray);
|
||||||
|
} else {
|
||||||
|
byte[] biomeArray = chunk.getBiomeArray();
|
||||||
|
for (int i = 0; i < 16 * 16; ++i) {
|
||||||
|
if (msg.mask.get(i)) {
|
||||||
|
biomeArray[i] = (byte) msg.biome;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
chunk.setBiomeArray(biomeArray);
|
||||||
}
|
}
|
||||||
chunk.setBiomeArray(biomeArray);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -302,7 +319,7 @@ public enum NewPacketHandler {
|
|||||||
int y;
|
int y;
|
||||||
int z;
|
int z;
|
||||||
|
|
||||||
int[] items;
|
ItemStack itemStack;
|
||||||
int[] fluids;
|
int[] fluids;
|
||||||
int capacity;
|
int capacity;
|
||||||
}
|
}
|
||||||
@@ -429,7 +446,7 @@ public enum NewPacketHandler {
|
|||||||
|
|
||||||
int chunkX;
|
int chunkX;
|
||||||
int chunkZ;
|
int chunkZ;
|
||||||
byte biome;
|
int biome;
|
||||||
BitSet mask;
|
BitSet mask;
|
||||||
// One bit per coordinate in a chunk, 16*16 bits = 32 bytes
|
// One bit per coordinate in a chunk, 16*16 bits = 32 bytes
|
||||||
public static final int maskByteCount = 32;
|
public static final int maskByteCount = 32;
|
||||||
@@ -467,11 +484,7 @@ public enum NewPacketHandler {
|
|||||||
target.writeInt(m.y);
|
target.writeInt(m.y);
|
||||||
target.writeInt(m.z);
|
target.writeInt(m.z);
|
||||||
|
|
||||||
target.writeBoolean(m.items != null);
|
ByteBufUtils.writeItemStack(target, m.itemStack);
|
||||||
if (m.items != null) {
|
|
||||||
int[] items = m.items;
|
|
||||||
Arrays.stream(items).forEach(target::writeInt);
|
|
||||||
}
|
|
||||||
|
|
||||||
target.writeBoolean(m.fluids != null);
|
target.writeBoolean(m.fluids != null);
|
||||||
if (m.fluids != null) {
|
if (m.fluids != null) {
|
||||||
@@ -626,7 +639,7 @@ public enum NewPacketHandler {
|
|||||||
GaiaBiomeChangeMessage m = (GaiaBiomeChangeMessage) msg;
|
GaiaBiomeChangeMessage m = (GaiaBiomeChangeMessage) msg;
|
||||||
target.writeInt(m.chunkX);
|
target.writeInt(m.chunkX);
|
||||||
target.writeInt(m.chunkZ);
|
target.writeInt(m.chunkZ);
|
||||||
target.writeByte(m.biome);
|
target.writeInt(m.biome);
|
||||||
byte[] arr = Arrays.copyOf(m.mask.toByteArray(), GaiaBiomeChangeMessage.maskByteCount);
|
byte[] arr = Arrays.copyOf(m.mask.toByteArray(), GaiaBiomeChangeMessage.maskByteCount);
|
||||||
target.writeBytes(arr);
|
target.writeBytes(arr);
|
||||||
}
|
}
|
||||||
@@ -643,13 +656,8 @@ public enum NewPacketHandler {
|
|||||||
m.x = dat.readInt();
|
m.x = dat.readInt();
|
||||||
m.y = dat.readInt();
|
m.y = dat.readInt();
|
||||||
m.z = dat.readInt();
|
m.z = dat.readInt();
|
||||||
boolean hasStacks = dat.readBoolean();
|
|
||||||
|
|
||||||
m.items = new int[TEAltar.sizeInv * 3];
|
m.itemStack = ByteBufUtils.readItemStack(dat);
|
||||||
if (hasStacks) {
|
|
||||||
m.items = new int[TEAltar.sizeInv * 3];
|
|
||||||
IntStream.range(0, m.items.length).forEach(i -> m.items[i] = dat.readInt());
|
|
||||||
}
|
|
||||||
|
|
||||||
boolean hasFluids = dat.readBoolean();
|
boolean hasFluids = dat.readBoolean();
|
||||||
m.fluids = new int[6];
|
m.fluids = new int[6];
|
||||||
@@ -809,7 +817,7 @@ public enum NewPacketHandler {
|
|||||||
GaiaBiomeChangeMessage m = (GaiaBiomeChangeMessage) msg;
|
GaiaBiomeChangeMessage m = (GaiaBiomeChangeMessage) msg;
|
||||||
m.chunkX = dat.readInt();
|
m.chunkX = dat.readInt();
|
||||||
m.chunkZ = dat.readInt();
|
m.chunkZ = dat.readInt();
|
||||||
m.biome = dat.readByte();
|
m.biome = dat.readInt();
|
||||||
|
|
||||||
byte[] buffer = new byte[GaiaBiomeChangeMessage.maskByteCount];
|
byte[] buffer = new byte[GaiaBiomeChangeMessage.maskByteCount];
|
||||||
dat.readBytes(buffer);
|
dat.readBytes(buffer);
|
||||||
@@ -826,7 +834,7 @@ public enum NewPacketHandler {
|
|||||||
msg.x = tileAltar.xCoord;
|
msg.x = tileAltar.xCoord;
|
||||||
msg.y = tileAltar.yCoord;
|
msg.y = tileAltar.yCoord;
|
||||||
msg.z = tileAltar.zCoord;
|
msg.z = tileAltar.zCoord;
|
||||||
msg.items = tileAltar.buildIntDataList();
|
msg.itemStack = tileAltar.getStackInSlot(0);
|
||||||
msg.fluids = tileAltar.buildFluidList();
|
msg.fluids = tileAltar.buildFluidList();
|
||||||
msg.capacity = tileAltar.getCapacity();
|
msg.capacity = tileAltar.getCapacity();
|
||||||
|
|
||||||
@@ -986,7 +994,7 @@ public enum NewPacketHandler {
|
|||||||
return INSTANCE.channels.get(Side.CLIENT).generatePacketFrom(msg);
|
return INSTANCE.channels.get(Side.CLIENT).generatePacketFrom(msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Packet getGaiaBiomeChangePacket(int x, int z, byte biome, BitSet mask) {
|
public static Packet getGaiaBiomeChangePacket(int x, int z, int biome, BitSet mask) {
|
||||||
GaiaBiomeChangeMessage msg = new GaiaBiomeChangeMessage();
|
GaiaBiomeChangeMessage msg = new GaiaBiomeChangeMessage();
|
||||||
msg.index = 15;
|
msg.index = 15;
|
||||||
msg.chunkX = x;
|
msg.chunkX = x;
|
||||||
@@ -997,37 +1005,33 @@ public enum NewPacketHandler {
|
|||||||
return INSTANCE.channels.get(Side.SERVER).generatePacketFrom(msg);
|
return INSTANCE.channels.get(Side.SERVER).generatePacketFrom(msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// spotless:off
|
||||||
public void sendTo(Packet message, EntityPlayerMP player) {
|
public void sendTo(Packet message, EntityPlayerMP player) {
|
||||||
this.channels.get(Side.SERVER).attr(FMLOutboundHandler.FML_MESSAGETARGET)
|
this.channels.get(Side.SERVER).attr(FMLOutboundHandler.FML_MESSAGETARGET).set(FMLOutboundHandler.OutboundTarget.PLAYER);
|
||||||
.set(FMLOutboundHandler.OutboundTarget.PLAYER);
|
|
||||||
this.channels.get(Side.SERVER).attr(FMLOutboundHandler.FML_MESSAGETARGETARGS).set(player);
|
this.channels.get(Side.SERVER).attr(FMLOutboundHandler.FML_MESSAGETARGETARGS).set(player);
|
||||||
this.channels.get(Side.SERVER).writeAndFlush(message);
|
this.channels.get(Side.SERVER).writeAndFlush(message).addListener(ChannelFutureListener.FIRE_EXCEPTION_ON_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void sendToAll(Packet message) {
|
public void sendToAll(Packet message) {
|
||||||
this.channels.get(Side.SERVER).attr(FMLOutboundHandler.FML_MESSAGETARGET)
|
this.channels.get(Side.SERVER).attr(FMLOutboundHandler.FML_MESSAGETARGET).set(FMLOutboundHandler.OutboundTarget.ALL);
|
||||||
.set(FMLOutboundHandler.OutboundTarget.ALL);
|
this.channels.get(Side.SERVER).writeAndFlush(message).addListener(ChannelFutureListener.FIRE_EXCEPTION_ON_FAILURE);
|
||||||
this.channels.get(Side.SERVER).writeAndFlush(message);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void sendToAllAround(Packet message, NetworkRegistry.TargetPoint point) {
|
public void sendToAllAround(Packet message, NetworkRegistry.TargetPoint point) {
|
||||||
this.channels.get(Side.SERVER).attr(FMLOutboundHandler.FML_MESSAGETARGET)
|
this.channels.get(Side.SERVER).attr(FMLOutboundHandler.FML_MESSAGETARGET).set(FMLOutboundHandler.OutboundTarget.ALLAROUNDPOINT);
|
||||||
.set(FMLOutboundHandler.OutboundTarget.ALLAROUNDPOINT);
|
|
||||||
this.channels.get(Side.SERVER).attr(FMLOutboundHandler.FML_MESSAGETARGETARGS).set(point);
|
this.channels.get(Side.SERVER).attr(FMLOutboundHandler.FML_MESSAGETARGETARGS).set(point);
|
||||||
this.channels.get(Side.SERVER).writeAndFlush(message);
|
this.channels.get(Side.SERVER).writeAndFlush(message).addListener(ChannelFutureListener.FIRE_EXCEPTION_ON_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void sendToDimension(Packet message, Integer dimensionId) {
|
public void sendToDimension(Packet message, Integer dimensionId) {
|
||||||
this.channels.get(Side.SERVER).attr(FMLOutboundHandler.FML_MESSAGETARGET)
|
this.channels.get(Side.SERVER).attr(FMLOutboundHandler.FML_MESSAGETARGET).set(FMLOutboundHandler.OutboundTarget.DIMENSION);
|
||||||
.set(FMLOutboundHandler.OutboundTarget.DIMENSION);
|
|
||||||
this.channels.get(Side.SERVER).attr(FMLOutboundHandler.FML_MESSAGETARGETARGS).set(dimensionId);
|
this.channels.get(Side.SERVER).attr(FMLOutboundHandler.FML_MESSAGETARGETARGS).set(dimensionId);
|
||||||
this.channels.get(Side.SERVER).writeAndFlush(message);
|
this.channels.get(Side.SERVER).writeAndFlush(message).addListener(ChannelFutureListener.FIRE_EXCEPTION_ON_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void sendToServer(Packet message) {
|
public void sendToServer(Packet message) {
|
||||||
this.channels.get(Side.CLIENT).attr(FMLOutboundHandler.FML_MESSAGETARGET)
|
this.channels.get(Side.CLIENT).attr(FMLOutboundHandler.FML_MESSAGETARGET).set(FMLOutboundHandler.OutboundTarget.TOSERVER);
|
||||||
.set(FMLOutboundHandler.OutboundTarget.TOSERVER);
|
this.channels.get(Side.CLIENT).writeAndFlush(message).addListener(ChannelFutureListener.FIRE_EXCEPTION_ON_FAILURE);
|
||||||
this.channels.get(Side.CLIENT).writeAndFlush(message)
|
|
||||||
.addListener(ChannelFutureListener.FIRE_EXCEPTION_ON_FAILURE);
|
|
||||||
}
|
}
|
||||||
|
// spotless:on
|
||||||
}
|
}
|
||||||
@@ -1,13 +1,21 @@
|
|||||||
package WayofTime.alchemicalWizardry.common.block;
|
package WayofTime.alchemicalWizardry.common.block;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
import net.minecraft.block.BlockContainer;
|
import net.minecraft.block.BlockContainer;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||||
import net.minecraft.entity.player.EntityPlayer;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.tileentity.TileEntity;
|
import net.minecraft.tileentity.TileEntity;
|
||||||
|
import net.minecraft.util.ChatComponentTranslation;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
|
|
||||||
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
|
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
|
||||||
|
import WayofTime.alchemicalWizardry.api.Int3;
|
||||||
|
import WayofTime.alchemicalWizardry.api.alchemy.energy.Reagent;
|
||||||
|
import WayofTime.alchemicalWizardry.api.items.interfaces.IReagentManipulator;
|
||||||
import WayofTime.alchemicalWizardry.common.tileEntity.TEReagentConduit;
|
import WayofTime.alchemicalWizardry.common.tileEntity.TEReagentConduit;
|
||||||
import cpw.mods.fml.relauncher.Side;
|
import cpw.mods.fml.relauncher.Side;
|
||||||
import cpw.mods.fml.relauncher.SideOnly;
|
import cpw.mods.fml.relauncher.SideOnly;
|
||||||
@@ -41,6 +49,36 @@ public class BlockReagentConduit extends BlockContainer {
|
|||||||
@Override
|
@Override
|
||||||
public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float what,
|
public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float what,
|
||||||
float these, float are) {
|
float these, float are) {
|
||||||
|
if (!world.isRemote) {
|
||||||
|
ItemStack held = player.getHeldItem();
|
||||||
|
if (held == null || !(held.getItem() instanceof IReagentManipulator)) {
|
||||||
|
TileEntity tile = world.getTileEntity(x, y, z);
|
||||||
|
if (tile instanceof TEReagentConduit relay) {
|
||||||
|
if (relay.reagentTargetList.isEmpty()) {
|
||||||
|
player.addChatComponentMessage(
|
||||||
|
new ChatComponentTranslation("message.reagentconduit.noconnections"));
|
||||||
|
} else {
|
||||||
|
player.addChatComponentMessage(
|
||||||
|
new ChatComponentTranslation("message.reagentconduit.connections"));
|
||||||
|
for (Map.Entry<Reagent, List<Int3>> entry : relay.reagentTargetList.entrySet()) {
|
||||||
|
Reagent reagent = entry.getKey();
|
||||||
|
List<Int3> offsets = entry.getValue();
|
||||||
|
if (offsets == null) continue;
|
||||||
|
for (Int3 offset : offsets) {
|
||||||
|
player.addChatComponentMessage(
|
||||||
|
new ChatComponentTranslation(
|
||||||
|
"message.reagentconduit.connection.entry",
|
||||||
|
reagent.name(),
|
||||||
|
x + offset.x(),
|
||||||
|
y + offset.y(),
|
||||||
|
z + offset.z()));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
return super.onBlockActivated(world, x, y, z, player, side, what, these, are);
|
return super.onBlockActivated(world, x, y, z, player, side, what, these, are);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -6,9 +6,6 @@ import net.minecraft.block.Block;
|
|||||||
import net.minecraft.block.BlockContainer;
|
import net.minecraft.block.BlockContainer;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||||
import net.minecraft.entity.player.EntityPlayer;
|
|
||||||
import net.minecraft.item.ItemBlock;
|
|
||||||
import net.minecraft.item.ItemStack;
|
|
||||||
import net.minecraft.tileentity.TileEntity;
|
import net.minecraft.tileentity.TileEntity;
|
||||||
import net.minecraft.util.Facing;
|
import net.minecraft.util.Facing;
|
||||||
import net.minecraft.world.IBlockAccess;
|
import net.minecraft.world.IBlockAccess;
|
||||||
@@ -72,34 +69,7 @@ public class SpectralBlock extends BlockContainer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int idk, float what,
|
public boolean isReplaceable(IBlockAccess world, int x, int y, int z) {
|
||||||
float these, float are) {
|
|
||||||
if (player.isSneaking()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
ItemStack playerItem = player.getCurrentEquippedItem();
|
|
||||||
|
|
||||||
if (playerItem != null) {
|
|
||||||
if (playerItem.getItem() instanceof ItemBlock) {
|
|
||||||
world.setBlock(
|
|
||||||
x,
|
|
||||||
y,
|
|
||||||
z,
|
|
||||||
((ItemBlock) (playerItem.getItem())).field_150939_a,
|
|
||||||
playerItem.getItemDamage(),
|
|
||||||
3);
|
|
||||||
|
|
||||||
if (!player.capabilities.isCreativeMode) {
|
|
||||||
playerItem.stackSize--;
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
|
||||||
} else {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+13
-1
@@ -14,8 +14,13 @@ import WayofTime.alchemicalWizardry.common.demonVillage.tileEntity.TEDemonPortal
|
|||||||
public class BuildingSchematic {
|
public class BuildingSchematic {
|
||||||
|
|
||||||
public final String name;
|
public final String name;
|
||||||
public final int buildingType = DemonBuilding.BUILDING_HOUSE;
|
|
||||||
public final List<BlockSet> blockList = new ArrayList<>();
|
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() {
|
public BuildingSchematic() {
|
||||||
this("");
|
this("");
|
||||||
@@ -60,6 +65,13 @@ public class BuildingSchematic {
|
|||||||
return holder;
|
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) {
|
public List<Int3> getGriddedPositions(ForgeDirection dir) {
|
||||||
List<Int3> positionList = new ArrayList<>();
|
List<Int3> positionList = new ArrayList<>();
|
||||||
|
|
||||||
|
|||||||
@@ -20,9 +20,9 @@ public class DemonBuilding {
|
|||||||
public DemonBuilding(BuildingSchematic schematic) {
|
public DemonBuilding(BuildingSchematic schematic) {
|
||||||
this.schematic = schematic;
|
this.schematic = schematic;
|
||||||
this.buildingType = schematic.buildingType;
|
this.buildingType = schematic.buildingType;
|
||||||
this.buildingTier = 0;
|
this.buildingTier = schematic.buildingTier;
|
||||||
this.area = this.createGSHForSchematic(schematic);
|
this.area = this.createGSHForSchematic(schematic);
|
||||||
this.doorGridSpace = new Int3(0, 0, 0);
|
this.doorGridSpace = schematic.getGridSpotOfDoor();
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getName() {
|
public String getName() {
|
||||||
@@ -67,18 +67,10 @@ public class DemonBuilding {
|
|||||||
int z = doorSpace.z();
|
int z = doorSpace.z();
|
||||||
|
|
||||||
switch (sideOfRoad) {
|
switch (sideOfRoad) {
|
||||||
case SOUTH:
|
case SOUTH -> z++;
|
||||||
z++;
|
case EAST -> x++;
|
||||||
break;
|
case WEST -> x--;
|
||||||
case EAST:
|
default -> z--;
|
||||||
x++;
|
|
||||||
break;
|
|
||||||
case WEST:
|
|
||||||
x--;
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
z--;
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return new Int3(x, yLevel, z);
|
return new Int3(x, yLevel, z);
|
||||||
|
|||||||
+39
@@ -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();
|
||||||
|
}
|
||||||
|
}
|
||||||
+14
-18
@@ -945,23 +945,19 @@ public class TEDemonPortal extends TileEntity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void rightClickBlock(EntityPlayer player, int side) {
|
public void rightClickBlock(EntityPlayer player, int side) {
|
||||||
// if (worldObj.isRemote)
|
if (worldObj.isRemote || !player.capabilities.isCreativeMode) {
|
||||||
// {
|
return;
|
||||||
// return;
|
}
|
||||||
// }
|
|
||||||
//
|
this.initialize();
|
||||||
// this.initialize();
|
|
||||||
//
|
if (ForgeDirection.getOrientation(side) == ForgeDirection.UP) {
|
||||||
// if (ForgeDirection.getOrientation(side) == ForgeDirection.UP)
|
this.createRandomBuilding(DemonBuilding.BUILDING_HOUSE, 0);
|
||||||
// {
|
} else if (ForgeDirection.getOrientation(side) == ForgeDirection.DOWN) {
|
||||||
// this.createRandomBuilding(DemonBuilding.BUILDING_HOUSE, 0);
|
this.createRandomBuilding(DemonBuilding.BUILDING_PORTAL, 0);
|
||||||
// } else if (ForgeDirection.getOrientation(side) == ForgeDirection.DOWN)
|
} else {
|
||||||
// {
|
this.createRandomRoad();
|
||||||
// this.createRandomBuilding(DemonBuilding.BUILDING_PORTAL, 0);
|
}
|
||||||
// } else
|
|
||||||
// {
|
|
||||||
// this.createRandomRoad();
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public int createRandomBuilding(int type, int tier) {
|
public int createRandomBuilding(int type, int tier) {
|
||||||
@@ -1281,7 +1277,7 @@ public class TEDemonPortal extends TileEntity {
|
|||||||
|
|
||||||
public static void loadBuildingList() {
|
public static void loadBuildingList() {
|
||||||
String folder = "config/BloodMagic/schematics";
|
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 file = new File(folder);
|
||||||
File[] files = file.listFiles();
|
File[] files = file.listFiles();
|
||||||
|
|||||||
@@ -82,7 +82,6 @@ public class EntityBoulderFist extends EntityDemon {
|
|||||||
protected void entityInit() {
|
protected void entityInit() {
|
||||||
super.entityInit();
|
super.entityInit();
|
||||||
this.dataWatcher.addObject(18, this.getHealth());
|
this.dataWatcher.addObject(18, this.getHealth());
|
||||||
this.setCombatTask();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void playStepSound(int par1, int par2, int par3, int par4) {
|
protected void playStepSound(int par1, int par2, int par3, int par4) {
|
||||||
|
|||||||
-1
@@ -82,7 +82,6 @@ public class EntitySmallEarthGolem extends EntityDemon implements IRangedAttackM
|
|||||||
protected void entityInit() {
|
protected void entityInit() {
|
||||||
super.entityInit();
|
super.entityInit();
|
||||||
this.dataWatcher.addObject(18, this.getHealth());
|
this.dataWatcher.addObject(18, this.getHealth());
|
||||||
this.setCombatTask();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void playStepSound(int par1, int par2, int par3, int par4) {
|
protected void playStepSound(int par1, int par2, int par3, int par4) {
|
||||||
|
|||||||
-1
@@ -84,7 +84,6 @@ public class EntityWingedFireDemon extends EntityDemon implements IRangedAttackM
|
|||||||
protected void entityInit() {
|
protected void entityInit() {
|
||||||
super.entityInit();
|
super.entityInit();
|
||||||
this.dataWatcher.addObject(18, this.getHealth());
|
this.dataWatcher.addObject(18, this.getHealth());
|
||||||
this.setCombatTask();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void playStepSound(int par1, int par2, int par3, int par4) {
|
protected void playStepSound(int par1, int par2, int par3, int par4) {
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ public class BoundAxe extends ItemAxe implements IBindable {
|
|||||||
setCreativeTab(AlchemicalWizardry.tabBloodMagic);
|
setCreativeTab(AlchemicalWizardry.tabBloodMagic);
|
||||||
setEnergyUsed(5);
|
setEnergyUsed(5);
|
||||||
this.setHarvestLevel("axe", 7);
|
this.setHarvestLevel("axe", 7);
|
||||||
|
setMaxDamage(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setEnergyUsed(int i) {
|
public void setEnergyUsed(int i) {
|
||||||
@@ -103,7 +104,6 @@ public class BoundAxe extends ItemAxe implements IBindable {
|
|||||||
int z = posZ + k;
|
int z = posZ + k;
|
||||||
Block block = world.getBlock(x, y, z);
|
Block block = world.getBlock(x, y, z);
|
||||||
int meta = world.getBlockMetadata(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
|
if (block == null || block.getBlockHardness(world, x, y, z) == -1
|
||||||
|| !world.canMineBlock(player, x, y, z)) {
|
|| !world.canMineBlock(player, x, y, z)) {
|
||||||
@@ -111,7 +111,9 @@ public class BoundAxe extends ItemAxe implements IBindable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// getStrVsBlock
|
// 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;
|
continue;
|
||||||
}
|
}
|
||||||
if (silkTouch && block.canSilkHarvest(world, player, x, y, z, meta)) {
|
if (silkTouch && block.canSilkHarvest(world, player, x, y, z, meta)) {
|
||||||
@@ -142,7 +144,6 @@ public class BoundAxe extends ItemAxe implements IBindable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
checkPassiveDrain(item, world, player);
|
checkPassiveDrain(item, world, player);
|
||||||
item.setItemDamage(0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ import net.minecraft.entity.Entity;
|
|||||||
import net.minecraft.entity.EntityLivingBase;
|
import net.minecraft.entity.EntityLivingBase;
|
||||||
import net.minecraft.entity.item.EntityItem;
|
import net.minecraft.entity.item.EntityItem;
|
||||||
import net.minecraft.entity.player.EntityPlayer;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
|
import net.minecraft.entity.player.EntityPlayerMP;
|
||||||
import net.minecraft.item.ItemPickaxe;
|
import net.minecraft.item.ItemPickaxe;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.util.IIcon;
|
import net.minecraft.util.IIcon;
|
||||||
@@ -17,8 +18,6 @@ import net.minecraft.util.StatCollector;
|
|||||||
import net.minecraft.util.Vec3;
|
import net.minecraft.util.Vec3;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
import net.minecraftforge.common.ForgeHooks;
|
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.HashMultiset;
|
||||||
import com.google.common.collect.Multiset;
|
import com.google.common.collect.Multiset;
|
||||||
@@ -50,6 +49,7 @@ public class BoundPickaxe extends ItemPickaxe implements IBindable {
|
|||||||
setCreativeTab(AlchemicalWizardry.tabBloodMagic);
|
setCreativeTab(AlchemicalWizardry.tabBloodMagic);
|
||||||
this.setEnergyUsed(5);
|
this.setEnergyUsed(5);
|
||||||
setHarvestLevel("pickaxe", 7);
|
setHarvestLevel("pickaxe", 7);
|
||||||
|
setMaxDamage(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setEnergyUsed(int i) {
|
public void setEnergyUsed(int i) {
|
||||||
@@ -111,7 +111,6 @@ public class BoundPickaxe extends ItemPickaxe implements IBindable {
|
|||||||
int z = posZ + k;
|
int z = posZ + k;
|
||||||
Block block = world.getBlock(x, y, z);
|
Block block = world.getBlock(x, y, z);
|
||||||
int meta = world.getBlockMetadata(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
|
if (block == null || block.getBlockHardness(world, x, y, z) == -1
|
||||||
|| !world.canMineBlock(player, x, y, z)) {
|
|| !world.canMineBlock(player, x, y, z)) {
|
||||||
@@ -119,14 +118,16 @@ public class BoundPickaxe extends ItemPickaxe implements IBindable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// getStrVsBlock
|
// 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;
|
continue;
|
||||||
}
|
}
|
||||||
if (silkTouch && block.canSilkHarvest(world, player, x, y, z, meta)) {
|
if (silkTouch && block.canSilkHarvest(world, player, x, y, z, meta)) {
|
||||||
dropMultiset.add(new ItemType(block, meta));
|
dropMultiset.add(new ItemType(block, meta));
|
||||||
} else {
|
} else {
|
||||||
ArrayList<ItemStack> itemDropList;
|
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);
|
itemDropList = ore.getDropsForPlayer(world, x, y, z, meta, fortuneLvl, player);
|
||||||
} else {
|
} else {
|
||||||
itemDropList = block.getDrops(world, x, y, z, meta, fortuneLvl);
|
itemDropList = block.getDrops(world, x, y, z, meta, fortuneLvl);
|
||||||
@@ -148,10 +149,16 @@ public class BoundPickaxe extends ItemPickaxe implements IBindable {
|
|||||||
return item;
|
return item;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean checkPermissions(World world, int x, int y, int z, Block block, int meta,
|
/**
|
||||||
EntityPlayer player) {
|
* Fires the block break event so protection mods can veto the break. Returns true if the break was denied.
|
||||||
final BlockEvent.BreakEvent event = new BlockEvent.BreakEvent(x, y, z, world, block, meta, player);
|
*/
|
||||||
return MinecraftForge.EVENT_BUS.post(event);
|
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) {
|
public static void dropMultisetStacks(Multiset<ItemType> dropMultiset, World world, double x, double y, double z) {
|
||||||
@@ -177,7 +184,6 @@ public class BoundPickaxe extends ItemPickaxe implements IBindable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
checkPassiveDrain(item, world, player);
|
checkPassiveDrain(item, world, player);
|
||||||
item.setItemDamage(0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ import net.minecraft.entity.EntityLivingBase;
|
|||||||
import net.minecraft.entity.player.EntityPlayer;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
import net.minecraft.item.ItemSpade;
|
import net.minecraft.item.ItemSpade;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.nbt.NBTTagCompound;
|
|
||||||
import net.minecraft.util.IIcon;
|
import net.minecraft.util.IIcon;
|
||||||
import net.minecraft.util.StatCollector;
|
import net.minecraft.util.StatCollector;
|
||||||
import net.minecraft.util.Vec3;
|
import net.minecraft.util.Vec3;
|
||||||
@@ -46,6 +45,7 @@ public class BoundShovel extends ItemSpade implements IBindable {
|
|||||||
setCreativeTab(AlchemicalWizardry.tabBloodMagic);
|
setCreativeTab(AlchemicalWizardry.tabBloodMagic);
|
||||||
setEnergyUsed(5);
|
setEnergyUsed(5);
|
||||||
setHarvestLevel("shovel", 7);
|
setHarvestLevel("shovel", 7);
|
||||||
|
setMaxDamage(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setEnergyUsed(int i) {
|
public void setEnergyUsed(int i) {
|
||||||
@@ -114,7 +114,8 @@ public class BoundShovel extends ItemSpade implements IBindable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// getStrVsBlock
|
// 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;
|
continue;
|
||||||
}
|
}
|
||||||
if (silkTouch && block.canSilkHarvest(world, player, x, y, z, meta)) {
|
if (silkTouch && block.canSilkHarvest(world, player, x, y, z, meta)) {
|
||||||
@@ -144,13 +145,7 @@ public class BoundShovel extends ItemSpade implements IBindable {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (item.getTagCompound() == null) {
|
|
||||||
item.setTagCompound(new NBTTagCompound());
|
|
||||||
}
|
|
||||||
|
|
||||||
checkPassiveDrain(item, world, player);
|
checkPassiveDrain(item, world, player);
|
||||||
|
|
||||||
item.setItemDamage(0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -4,12 +4,9 @@ import java.util.List;
|
|||||||
|
|
||||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||||
import net.minecraft.entity.Entity;
|
import net.minecraft.entity.Entity;
|
||||||
import net.minecraft.entity.EntityLivingBase;
|
|
||||||
import net.minecraft.entity.player.EntityPlayer;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.item.ItemSword;
|
import net.minecraft.item.ItemSword;
|
||||||
import net.minecraft.potion.Potion;
|
|
||||||
import net.minecraft.potion.PotionEffect;
|
|
||||||
import net.minecraft.util.IIcon;
|
import net.minecraft.util.IIcon;
|
||||||
import net.minecraft.util.StatCollector;
|
import net.minecraft.util.StatCollector;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
@@ -37,7 +34,7 @@ public class EnergySword extends ItemSword implements IBindable {
|
|||||||
setCreativeTab(AlchemicalWizardry.tabBloodMagic);
|
setCreativeTab(AlchemicalWizardry.tabBloodMagic);
|
||||||
setEnergyUsed(50);
|
setEnergyUsed(50);
|
||||||
setFull3D();
|
setFull3D();
|
||||||
setMaxDamage(100);
|
setMaxDamage(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setEnergyUsed(int i) {
|
public void setEnergyUsed(int i) {
|
||||||
@@ -88,17 +85,6 @@ public class EnergySword extends ItemSword implements IBindable {
|
|||||||
return !isActive;
|
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
|
@Override
|
||||||
public ItemStack onItemRightClick(ItemStack item, World world, EntityPlayer player) {
|
public ItemStack onItemRightClick(ItemStack item, World world, EntityPlayer player) {
|
||||||
super.onItemRightClick(item, world, player);
|
super.onItemRightClick(item, world, player);
|
||||||
@@ -120,7 +106,6 @@ public class EnergySword extends ItemSword implements IBindable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
checkPassiveDrain(item, world, player);
|
checkPassiveDrain(item, world, player);
|
||||||
item.setItemDamage(0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -159,7 +159,7 @@ public class ItemIncense extends Item implements IIncense {
|
|||||||
new ItemStack(Items.redstone),
|
new ItemStack(Items.redstone),
|
||||||
leavesStack,
|
leavesStack,
|
||||||
leavesStack,
|
leavesStack,
|
||||||
new ItemStack(ModItems.weakBloodOrb)));
|
1));
|
||||||
GameRegistry.addRecipe(
|
GameRegistry.addRecipe(
|
||||||
new ShapelessBloodOrbRecipe(
|
new ShapelessBloodOrbRecipe(
|
||||||
new ItemStack(ModItems.itemIncense, 1, 2),
|
new ItemStack(ModItems.itemIncense, 1, 2),
|
||||||
@@ -171,7 +171,7 @@ public class ItemIncense extends Item implements IIncense {
|
|||||||
glowstoneStack,
|
glowstoneStack,
|
||||||
stringStack,
|
stringStack,
|
||||||
stringStack,
|
stringStack,
|
||||||
new ItemStack(ModItems.apprenticeBloodOrb)));
|
2));
|
||||||
GameRegistry.addRecipe(
|
GameRegistry.addRecipe(
|
||||||
new ShapelessBloodOrbRecipe(
|
new ShapelessBloodOrbRecipe(
|
||||||
new ItemStack(ModItems.itemIncense, 1, 3),
|
new ItemStack(ModItems.itemIncense, 1, 3),
|
||||||
@@ -182,7 +182,7 @@ public class ItemIncense extends Item implements IIncense {
|
|||||||
gunpowderStack,
|
gunpowderStack,
|
||||||
fermentedEyeStack,
|
fermentedEyeStack,
|
||||||
blankSlateStack,
|
blankSlateStack,
|
||||||
new ItemStack(ModItems.apprenticeBloodOrb)));
|
2));
|
||||||
GameRegistry.addRecipe(
|
GameRegistry.addRecipe(
|
||||||
new ShapelessBloodOrbRecipe(
|
new ShapelessBloodOrbRecipe(
|
||||||
new ItemStack(ModItems.itemIncense, 1, 4),
|
new ItemStack(ModItems.itemIncense, 1, 4),
|
||||||
@@ -194,7 +194,7 @@ public class ItemIncense extends Item implements IIncense {
|
|||||||
blazePowderStack,
|
blazePowderStack,
|
||||||
fracturedBoneStack,
|
fracturedBoneStack,
|
||||||
reinforcedSlateStack,
|
reinforcedSlateStack,
|
||||||
new ItemStack(ModItems.magicianBloodOrb)));
|
3));
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum EnumIncense {
|
public enum EnumIncense {
|
||||||
@@ -205,6 +205,8 @@ public class ItemIncense extends Item implements IIncense {
|
|||||||
GREEN(1500, 2400, 4.0f, 2000, 0, 1.0f, 0),
|
GREEN(1500, 2400, 4.0f, 2000, 0, 1.0f, 0),
|
||||||
PURPLE(2400, 3500, 5.0f, 2000, 1.0f, 0, 1.0f);
|
PURPLE(2400, 3500, 5.0f, 2000, 1.0f, 0, 1.0f);
|
||||||
|
|
||||||
|
public static final EnumIncense[] VALUES = values();
|
||||||
|
|
||||||
public final int minValue;
|
public final int minValue;
|
||||||
public final int maxValue;
|
public final int maxValue;
|
||||||
public final float tickRate;
|
public final float tickRate;
|
||||||
@@ -226,10 +228,10 @@ public class ItemIncense extends Item implements IIncense {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static EnumIncense getEnumForIndex(int index) {
|
public static EnumIncense getEnumForIndex(int index) {
|
||||||
if (index > EnumIncense.values().length || index < 0) {
|
if (index > EnumIncense.VALUES.length || index < 0) {
|
||||||
return WOODASH;
|
return WOODASH;
|
||||||
} else {
|
} else {
|
||||||
return EnumIncense.values()[index];
|
return EnumIncense.VALUES[index];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+132
-88
@@ -60,6 +60,9 @@ public class ItemAttunedCrystal extends Item implements IReagentManipulator {
|
|||||||
public void addInformation(ItemStack item, EntityPlayer player, List<String> tooltip, boolean adv) {
|
public void addInformation(ItemStack item, EntityPlayer player, List<String> tooltip, boolean adv) {
|
||||||
tooltip.add(StatCollector.translateToLocal("tooltip.attunedcrystal.desc1"));
|
tooltip.add(StatCollector.translateToLocal("tooltip.attunedcrystal.desc1"));
|
||||||
tooltip.add(StatCollector.translateToLocal("tooltip.attunedcrystal.desc2"));
|
tooltip.add(StatCollector.translateToLocal("tooltip.attunedcrystal.desc2"));
|
||||||
|
tooltip.add(StatCollector.translateToLocal("tooltip.attunedcrystal.desc3"));
|
||||||
|
tooltip.add(StatCollector.translateToLocal("tooltip.attunedcrystal.desc4"));
|
||||||
|
tooltip.add(StatCollector.translateToLocal("tooltip.attunedcrystal.desc5"));
|
||||||
|
|
||||||
if (item.getTagCompound() == null) {
|
if (item.getTagCompound() == null) {
|
||||||
return;
|
return;
|
||||||
@@ -131,107 +134,141 @@ public class ItemAttunedCrystal extends Item implements IReagentManipulator {
|
|||||||
return itemStack;
|
return itemStack;
|
||||||
}
|
}
|
||||||
|
|
||||||
MovingObjectPosition movingobjectposition = this.getMovingObjectPositionFromPlayer(world, player, false);
|
// Sneak wipes the source first, then the reagent — regardless of where the cursor points.
|
||||||
|
if (player.isSneaking()) {
|
||||||
if (movingobjectposition == null) {
|
if (this.getHasSavedCoordinates(itemStack)) {
|
||||||
if (player.isSneaking()) {
|
|
||||||
this.setHasSavedCoordinates(itemStack, false);
|
this.setHasSavedCoordinates(itemStack, false);
|
||||||
player.addChatComponentMessage(new ChatComponentTranslation("message.attunedcrystal.clearing"));
|
player.addChatComponentMessage(new ChatComponentTranslation("message.attunedcrystal.clearing"));
|
||||||
|
} else if (this.getReagent(itemStack) != null) {
|
||||||
|
this.clearReagent(itemStack);
|
||||||
|
player.addChatComponentMessage(new ChatComponentTranslation("message.attunedcrystal.reagentcleared"));
|
||||||
|
}
|
||||||
|
return itemStack;
|
||||||
|
}
|
||||||
|
|
||||||
|
MovingObjectPosition movingobjectposition = this.getMovingObjectPositionFromPlayer(world, player, false);
|
||||||
|
if (movingobjectposition == null
|
||||||
|
|| movingobjectposition.typeOfHit != MovingObjectPosition.MovingObjectType.BLOCK) {
|
||||||
|
return itemStack;
|
||||||
|
}
|
||||||
|
|
||||||
|
int x = movingobjectposition.blockX;
|
||||||
|
int y = movingobjectposition.blockY;
|
||||||
|
int z = movingobjectposition.blockZ;
|
||||||
|
|
||||||
|
TileEntity tile = world.getTileEntity(x, y, z);
|
||||||
|
if (!(tile instanceof IReagentHandler relay)) {
|
||||||
|
return itemStack;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (this.getHasSavedCoordinates(itemStack)) {
|
||||||
|
Int3 coords = this.getCoordinates(itemStack);
|
||||||
|
int dimension = this.getDimension(itemStack);
|
||||||
|
if (coords == null) {
|
||||||
|
return itemStack;
|
||||||
}
|
}
|
||||||
|
|
||||||
return itemStack;
|
// Re-clicking the saved source cycles its reagents, never tries to self-link.
|
||||||
} else {
|
if (dimension == world.provider.dimensionId && coords.x() == x && coords.y() == y && coords.z() == z) {
|
||||||
if (movingobjectposition.typeOfHit == MovingObjectPosition.MovingObjectType.BLOCK) {
|
List<Reagent> reagentList = collectReagents(relay);
|
||||||
int x = movingobjectposition.blockX;
|
if (reagentList.size() <= 1) {
|
||||||
int y = movingobjectposition.blockY;
|
player.addChatComponentMessage(
|
||||||
int z = movingobjectposition.blockZ;
|
new ChatComponentTranslation("message.attunedcrystal.error.cannotlinktoself"));
|
||||||
|
|
||||||
TileEntity tile = world.getTileEntity(x, y, z);
|
|
||||||
|
|
||||||
if (!(tile instanceof IReagentHandler relay)) {
|
|
||||||
return itemStack;
|
return itemStack;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (player.isSneaking()) {
|
Reagent pastReagent = this.getReagent(itemStack);
|
||||||
ReagentContainerInfo[] infos = relay.getContainerInfo(ForgeDirection.UNKNOWN);
|
int reagentLocation = reagentList.indexOf(pastReagent);
|
||||||
if (infos != null) {
|
Reagent next = (reagentLocation == -1 || reagentLocation + 1 >= reagentList.size())
|
||||||
List<Reagent> reagentList = getReagents(infos);
|
? reagentList.getFirst()
|
||||||
|
: reagentList.get(reagentLocation + 1);
|
||||||
Reagent pastReagent = this.getReagent(itemStack);
|
this.setReagentWithNotification(itemStack, next, player);
|
||||||
|
return itemStack;
|
||||||
if (reagentList.isEmpty()) {
|
|
||||||
return itemStack;
|
|
||||||
}
|
|
||||||
|
|
||||||
int reagentLocation;
|
|
||||||
|
|
||||||
reagentLocation = reagentList.indexOf(pastReagent);
|
|
||||||
|
|
||||||
if (reagentLocation == -1 || reagentLocation + 1 >= reagentList.size()) {
|
|
||||||
this.setReagentWithNotification(itemStack, reagentList.getFirst(), player);
|
|
||||||
} else {
|
|
||||||
this.setReagentWithNotification(itemStack, reagentList.get(reagentLocation + 1), player);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if (this.getHasSavedCoordinates(itemStack)) {
|
|
||||||
Int3 coords = this.getCoordinates(itemStack);
|
|
||||||
int dimension = this.getDimension(itemStack);
|
|
||||||
|
|
||||||
if (coords == null) {
|
|
||||||
return itemStack;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (dimension != world.provider.dimensionId || Math.abs(coords.x() - x) > maxDistance
|
|
||||||
|| Math.abs(coords.y() - y) > maxDistance
|
|
||||||
|| Math.abs(coords.z() - z) > maxDistance) {
|
|
||||||
player.addChatComponentMessage(
|
|
||||||
new ChatComponentTranslation("message.attunedcrystal.error.toofar"));
|
|
||||||
return itemStack;
|
|
||||||
}
|
|
||||||
|
|
||||||
TileEntity pastTile = world.getTileEntity(coords.x(), coords.y(), coords.z());
|
|
||||||
if (!(pastTile instanceof TEReagentConduit pastRelay)) {
|
|
||||||
player.addChatComponentMessage(
|
|
||||||
new ChatComponentTranslation("message.attunedcrystal.error.cannotfind"));
|
|
||||||
return itemStack;
|
|
||||||
}
|
|
||||||
|
|
||||||
Reagent reagent = this.getReagent(itemStack);
|
|
||||||
|
|
||||||
if (reagent == null) {
|
|
||||||
return itemStack;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (player.isSneaking()) {
|
|
||||||
pastRelay.removeReagentDestinationViaActual(reagent, x, y, z);
|
|
||||||
} else {
|
|
||||||
if (pastRelay.addReagentDestinationViaActual(reagent, x, y, z)) {
|
|
||||||
player.addChatComponentMessage(
|
|
||||||
new ChatComponentText(
|
|
||||||
StatCollector.translateToLocal("message.attunedcrystal.linked") + " "
|
|
||||||
+ reagent.name()));
|
|
||||||
} else {
|
|
||||||
player.addChatComponentMessage(
|
|
||||||
new ChatComponentTranslation("message.attunedcrystal.error.noconnections"));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
world.markBlockForUpdate(coords.x(), coords.y(), coords.z());
|
|
||||||
} else {
|
|
||||||
int dimension = world.provider.dimensionId;
|
|
||||||
|
|
||||||
this.setDimension(itemStack, dimension);
|
|
||||||
this.setCoordinates(itemStack, new Int3(x, y, z));
|
|
||||||
|
|
||||||
player.addChatComponentMessage(new ChatComponentTranslation("message.attunedcrystal.linking"));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (dimension != world.provider.dimensionId || Math.abs(coords.x() - x) > maxDistance
|
||||||
|
|| Math.abs(coords.y() - y) > maxDistance
|
||||||
|
|| Math.abs(coords.z() - z) > maxDistance) {
|
||||||
|
player.addChatComponentMessage(new ChatComponentTranslation("message.attunedcrystal.error.toofar"));
|
||||||
|
return itemStack;
|
||||||
|
}
|
||||||
|
|
||||||
|
TileEntity pastTile = world.getTileEntity(coords.x(), coords.y(), coords.z());
|
||||||
|
if (!(pastTile instanceof TEReagentConduit pastRelay)) {
|
||||||
|
// Saved source is gone — clear it so the player can start over without a manual reset.
|
||||||
|
this.setHasSavedCoordinates(itemStack, false);
|
||||||
|
player.addChatComponentMessage(new ChatComponentTranslation("message.attunedcrystal.error.cannotfind"));
|
||||||
|
return itemStack;
|
||||||
|
}
|
||||||
|
|
||||||
|
Reagent reagent = this.getReagent(itemStack);
|
||||||
|
if (reagent == null) {
|
||||||
|
player.addChatComponentMessage(new ChatComponentTranslation("message.attunedcrystal.error.noreagent"));
|
||||||
|
return itemStack;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (pastRelay.hasReagentDestination(reagent, x, y, z)) {
|
||||||
|
player.addChatComponentMessage(new ChatComponentTranslation("message.attunedcrystal.error.duplicate"));
|
||||||
|
} else if (pastRelay.addReagentDestinationViaActual(reagent, x, y, z)) {
|
||||||
|
int used = pastRelay.getTotalConnections();
|
||||||
|
int max = pastRelay.maxConnextions;
|
||||||
|
player.addChatComponentMessage(
|
||||||
|
new ChatComponentTranslation("message.attunedcrystal.linked", reagent.name(), used, max));
|
||||||
|
// Successful link: clear the source so the next click starts a fresh link, but
|
||||||
|
// keep the reagent so the player can fan out to multiple destinations quickly.
|
||||||
|
this.setHasSavedCoordinates(itemStack, false);
|
||||||
|
} else {
|
||||||
|
player.addChatComponentMessage(
|
||||||
|
new ChatComponentTranslation("message.attunedcrystal.error.noconnections"));
|
||||||
|
}
|
||||||
|
world.markBlockForUpdate(coords.x(), coords.y(), coords.z());
|
||||||
|
return itemStack;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// No saved source — this click saves one and (when useful) copies its reagent.
|
||||||
|
if (tile instanceof TEReagentConduit conduit && conduit.getTotalConnections() >= conduit.maxConnextions) {
|
||||||
|
player.addChatComponentMessage(new ChatComponentTranslation("message.attunedcrystal.error.sourcefull"));
|
||||||
|
return itemStack;
|
||||||
|
}
|
||||||
|
|
||||||
|
List<Reagent> reagentList = collectReagents(relay);
|
||||||
|
Reagent currentReagent = this.getReagent(itemStack);
|
||||||
|
if (reagentList.isEmpty() && currentReagent == null) {
|
||||||
|
player.addChatComponentMessage(new ChatComponentTranslation("message.attunedcrystal.error.nothingtocopy"));
|
||||||
|
return itemStack;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Keep the crystal's existing reagent if the source has it (or if the source is empty);
|
||||||
|
// otherwise replace with the source's first tank.
|
||||||
|
if (!reagentList.isEmpty() && (currentReagent == null || !reagentList.contains(currentReagent))) {
|
||||||
|
this.setReagentWithNotification(itemStack, reagentList.getFirst(), player);
|
||||||
|
}
|
||||||
|
|
||||||
|
this.setDimension(itemStack, world.provider.dimensionId);
|
||||||
|
this.setCoordinates(itemStack, new Int3(x, y, z));
|
||||||
|
player.addChatComponentMessage(new ChatComponentTranslation("message.attunedcrystal.linking", x, y, z));
|
||||||
|
|
||||||
return itemStack;
|
return itemStack;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private static List<Reagent> collectReagents(IReagentHandler relay) {
|
||||||
|
List<Reagent> reagentList = new LinkedList<>();
|
||||||
|
ReagentContainerInfo[] infos = relay.getContainerInfo(ForgeDirection.UNKNOWN);
|
||||||
|
if (infos == null) {
|
||||||
|
return reagentList;
|
||||||
|
}
|
||||||
|
for (ReagentContainerInfo info : infos) {
|
||||||
|
if (info == null) continue;
|
||||||
|
ReagentStack reagentStack = info.reagent;
|
||||||
|
if (reagentStack == null) continue;
|
||||||
|
Reagent reagent = reagentStack.reagent;
|
||||||
|
if (reagent != null && !reagentList.contains(reagent)) {
|
||||||
|
reagentList.add(reagent);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return reagentList;
|
||||||
|
}
|
||||||
|
|
||||||
public static List<Reagent> getReagents(ReagentContainerInfo[] infos) {
|
public static List<Reagent> getReagents(ReagentContainerInfo[] infos) {
|
||||||
List<Reagent> reagentList = new LinkedList<>();
|
List<Reagent> reagentList = new LinkedList<>();
|
||||||
for (ReagentContainerInfo info : infos) {
|
for (ReagentContainerInfo info : infos) {
|
||||||
@@ -248,6 +285,13 @@ public class ItemAttunedCrystal extends Item implements IReagentManipulator {
|
|||||||
return reagentList;
|
return reagentList;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void clearReagent(ItemStack stack) {
|
||||||
|
if (!stack.hasTagCompound()) {
|
||||||
|
stack.setTagCompound(new NBTTagCompound());
|
||||||
|
}
|
||||||
|
stack.getTagCompound().setString("reagent", "");
|
||||||
|
}
|
||||||
|
|
||||||
public void setCoordinates(ItemStack stack, Int3 coords) {
|
public void setCoordinates(ItemStack stack, Int3 coords) {
|
||||||
if (!stack.hasTagCompound()) {
|
if (!stack.hasTagCompound()) {
|
||||||
stack.setTagCompound(new NBTTagCompound());
|
stack.setTagCompound(new NBTTagCompound());
|
||||||
|
|||||||
+55
-11
@@ -1,6 +1,8 @@
|
|||||||
package WayofTime.alchemicalWizardry.common.items.energy;
|
package WayofTime.alchemicalWizardry.common.items.energy;
|
||||||
|
|
||||||
|
import java.util.Iterator;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||||
import net.minecraft.entity.player.EntityPlayer;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
@@ -13,6 +15,8 @@ import net.minecraft.util.StatCollector;
|
|||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
|
|
||||||
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
|
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
|
||||||
|
import WayofTime.alchemicalWizardry.api.Int3;
|
||||||
|
import WayofTime.alchemicalWizardry.api.alchemy.energy.Reagent;
|
||||||
import WayofTime.alchemicalWizardry.api.items.interfaces.IReagentManipulator;
|
import WayofTime.alchemicalWizardry.api.items.interfaces.IReagentManipulator;
|
||||||
import WayofTime.alchemicalWizardry.common.tileEntity.TEReagentConduit;
|
import WayofTime.alchemicalWizardry.common.tileEntity.TEReagentConduit;
|
||||||
import cpw.mods.fml.relauncher.Side;
|
import cpw.mods.fml.relauncher.Side;
|
||||||
@@ -45,26 +49,66 @@ public class ItemDestinationClearer extends Item implements IReagentManipulator
|
|||||||
}
|
}
|
||||||
|
|
||||||
MovingObjectPosition movingobjectposition = this.getMovingObjectPositionFromPlayer(world, player, false);
|
MovingObjectPosition movingobjectposition = this.getMovingObjectPositionFromPlayer(world, player, false);
|
||||||
|
if (movingobjectposition == null
|
||||||
if (movingobjectposition == null) {
|
|| movingobjectposition.typeOfHit != MovingObjectPosition.MovingObjectType.BLOCK) {
|
||||||
return itemStack;
|
return itemStack;
|
||||||
}
|
}
|
||||||
if (movingobjectposition.typeOfHit == MovingObjectPosition.MovingObjectType.BLOCK) {
|
|
||||||
int x = movingobjectposition.blockX;
|
|
||||||
int y = movingobjectposition.blockY;
|
|
||||||
int z = movingobjectposition.blockZ;
|
|
||||||
|
|
||||||
TileEntity tile = world.getTileEntity(x, y, z);
|
int x = movingobjectposition.blockX;
|
||||||
|
int y = movingobjectposition.blockY;
|
||||||
|
int z = movingobjectposition.blockZ;
|
||||||
|
|
||||||
if (!(tile instanceof TEReagentConduit relay)) {
|
TileEntity tile = world.getTileEntity(x, y, z);
|
||||||
return itemStack;
|
if (!(tile instanceof TEReagentConduit relay)) {
|
||||||
}
|
return itemStack;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (player.isSneaking()) {
|
||||||
|
int removed = clearIncomingConnections(world, x, y, z);
|
||||||
|
player.addChatComponentMessage(
|
||||||
|
new ChatComponentTranslation("message.destinationclearer.incoming.cleared", removed));
|
||||||
|
} else {
|
||||||
relay.reagentTargetList.clear();
|
relay.reagentTargetList.clear();
|
||||||
|
world.markBlockForUpdate(x, y, z);
|
||||||
player.addChatComponentMessage(new ChatComponentTranslation("message.destinationclearer.cleared"));
|
player.addChatComponentMessage(new ChatComponentTranslation("message.destinationclearer.cleared"));
|
||||||
}
|
}
|
||||||
|
|
||||||
return itemStack;
|
return itemStack;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private static int clearIncomingConnections(World world, int x, int y, int z) {
|
||||||
|
int range = ItemAttunedCrystal.maxDistance;
|
||||||
|
int totalRemoved = 0;
|
||||||
|
for (int dx = -range; dx <= range; dx++) {
|
||||||
|
for (int dy = -range; dy <= range; dy++) {
|
||||||
|
for (int dz = -range; dz <= range; dz++) {
|
||||||
|
if (dx == 0 && dy == 0 && dz == 0) continue;
|
||||||
|
TileEntity neighbor = world.getTileEntity(x + dx, y + dy, z + dz);
|
||||||
|
if (!(neighbor instanceof TEReagentConduit src)) continue;
|
||||||
|
|
||||||
|
boolean changed = false;
|
||||||
|
Iterator<Map.Entry<Reagent, List<Int3>>> entries = src.reagentTargetList.entrySet().iterator();
|
||||||
|
while (entries.hasNext()) {
|
||||||
|
Map.Entry<Reagent, List<Int3>> entry = entries.next();
|
||||||
|
List<Int3> coords = entry.getValue();
|
||||||
|
if (coords == null) continue;
|
||||||
|
Iterator<Int3> it = coords.iterator();
|
||||||
|
while (it.hasNext()) {
|
||||||
|
Int3 off = it.next();
|
||||||
|
if (src.xCoord + off.x() == x && src.yCoord + off.y() == y && src.zCoord + off.z() == z) {
|
||||||
|
it.remove();
|
||||||
|
changed = true;
|
||||||
|
totalRemoved++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (coords.isEmpty()) entries.remove();
|
||||||
|
}
|
||||||
|
if (changed) {
|
||||||
|
world.markBlockForUpdate(src.xCoord, src.yCoord, src.zCoord);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return totalRemoved;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
+18
-6
@@ -19,6 +19,8 @@ import net.minecraft.world.World;
|
|||||||
import net.minecraft.world.biome.BiomeGenBase;
|
import net.minecraft.world.biome.BiomeGenBase;
|
||||||
import net.minecraft.world.chunk.Chunk;
|
import net.minecraft.world.chunk.Chunk;
|
||||||
|
|
||||||
|
import com.falsepattern.endlessids.mixin.helpers.ChunkBiomeHook;
|
||||||
|
|
||||||
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
|
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
|
||||||
import WayofTime.alchemicalWizardry.ModBlocks;
|
import WayofTime.alchemicalWizardry.ModBlocks;
|
||||||
import WayofTime.alchemicalWizardry.api.rituals.IMasterRitualStone;
|
import WayofTime.alchemicalWizardry.api.rituals.IMasterRitualStone;
|
||||||
@@ -217,8 +219,10 @@ public class RitualEffectBiomeChanger extends RitualEffect {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
boolean eidLoaded = AlchemicalWizardry.isEndlessIdsLoaded;
|
||||||
for (Chunk chunk : chunkList) {
|
for (Chunk chunk : chunkList) {
|
||||||
byte[] byteArray = chunk.getBiomeArray();
|
byte[] byteArray = eidLoaded ? null : chunk.getBiomeArray();
|
||||||
|
short[] shortArray = eidLoaded ? ((ChunkBiomeHook) chunk).getBiomeShortArray() : null;
|
||||||
BitSet mask = new BitSet();
|
BitSet mask = new BitSet();
|
||||||
boolean changed = false;
|
boolean changed = false;
|
||||||
|
|
||||||
@@ -229,8 +233,13 @@ public class RitualEffectBiomeChanger extends RitualEffect {
|
|||||||
int offsetX = (chunk.xPosition << 4 | cX) - (x - range);
|
int offsetX = (chunk.xPosition << 4 | cX) - (x - range);
|
||||||
if (0 <= offsetX && offsetX < 2 * range + 1) {
|
if (0 <= offsetX && offsetX < 2 * range + 1) {
|
||||||
if (boolList[offsetX][offsetZ]) {
|
if (boolList[offsetX][offsetZ]) {
|
||||||
mask.set(cZ << 4 | cX, true);
|
int index = cZ << 4 | cX;
|
||||||
byteArray[cZ << 4 | cX] = (byte) biomeID;
|
mask.set(index, true);
|
||||||
|
if (eidLoaded) {
|
||||||
|
shortArray[index] = (short) biomeID;
|
||||||
|
} else {
|
||||||
|
byteArray[index] = (byte) biomeID;
|
||||||
|
}
|
||||||
changed = true;
|
changed = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -239,10 +248,13 @@ public class RitualEffectBiomeChanger extends RitualEffect {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (changed) {
|
if (changed) {
|
||||||
chunk.setBiomeArray(byteArray);
|
if (eidLoaded) {
|
||||||
|
((ChunkBiomeHook) chunk).setBiomeShortArray(shortArray);
|
||||||
|
} else {
|
||||||
|
chunk.setBiomeArray(byteArray);
|
||||||
|
}
|
||||||
NewPacketHandler.INSTANCE.sendToDimension(
|
NewPacketHandler.INSTANCE.sendToDimension(
|
||||||
NewPacketHandler
|
NewPacketHandler.getGaiaBiomeChangePacket(chunk.xPosition, chunk.zPosition, biomeID, mask),
|
||||||
.getGaiaBiomeChangePacket(chunk.xPosition, chunk.zPosition, (byte) biomeID, mask),
|
|
||||||
world.provider.dimensionId);
|
world.provider.dimensionId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ public class RitualEffectMagnetic extends RitualEffect {
|
|||||||
public static boolean isBlockOre(Block block, int meta) {
|
public static boolean isBlockOre(Block block, int meta) {
|
||||||
// Special case for lit redstone ore
|
// Special case for lit redstone ore
|
||||||
if (block instanceof BlockOre || block instanceof BlockRedstoneOre
|
if (block instanceof BlockOre || block instanceof BlockRedstoneOre
|
||||||
|| (AlchemicalWizardry.isGregTechLoaded && block instanceof GTBlockOre)) {
|
|| (AlchemicalWizardry.isGregTech5UnofficialNewHorizonsLoaded && block instanceof GTBlockOre)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -206,7 +206,7 @@ public class RitualEffectMagnetic extends RitualEffect {
|
|||||||
public int getRadiusForReagents(boolean hasTerrae, boolean hasOrbisTerrae) {
|
public int getRadiusForReagents(boolean hasTerrae, boolean hasOrbisTerrae) {
|
||||||
if (hasTerrae) {
|
if (hasTerrae) {
|
||||||
if (hasOrbisTerrae) {
|
if (hasOrbisTerrae) {
|
||||||
return 31;
|
return 34;
|
||||||
} else {
|
} else {
|
||||||
return 7;
|
return 7;
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-3
@@ -62,9 +62,8 @@ public class DigAreaEffect implements IDigAreaEffect {
|
|||||||
|
|
||||||
float localHardness = block.getBlockHardness(world, x, y, z);
|
float localHardness = block.getBlockHardness(world, x, y, z);
|
||||||
|
|
||||||
if (localHardness - this.getHardnessDifference() > blockHardness
|
if (localHardness < 0 || localHardness - this.getHardnessDifference() > blockHardness
|
||||||
|| BoundPickaxe.checkPermissions(world, x, y, z, block, meta, player)
|
|| BoundPickaxe.isBreakDenied(world, x, y, z, player)) {
|
||||||
|| localHardness < 0) {
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-2
@@ -3,7 +3,6 @@ package WayofTime.alchemicalWizardry.common.spell.simple;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import net.minecraft.item.ItemBlock;
|
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
|
|
||||||
public class HomSpellRegistry {
|
public class HomSpellRegistry {
|
||||||
@@ -22,7 +21,7 @@ public class HomSpellRegistry {
|
|||||||
for (HomSpellComponent hsc : spellList) {
|
for (HomSpellComponent hsc : spellList) {
|
||||||
ItemStack item = hsc.item();
|
ItemStack item = hsc.item();
|
||||||
|
|
||||||
if (item != null && item.getItem() instanceof ItemBlock && testItem.getItem() == item.getItem()) {
|
if (item != null && testItem.getItem() == item.getItem()) {
|
||||||
return hsc.spell();
|
return hsc.spell();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-2
@@ -23,7 +23,7 @@ public class SpellLightningBolt extends HomSpell {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ItemStack onOffensiveRangedRightClick(ItemStack item, World world, EntityPlayer player) {
|
public ItemStack onOffensiveRangedRightClick(ItemStack item, World world, EntityPlayer player) {
|
||||||
if (IBindable.checkAndSetItemOwner(item, player) || player.isSneaking()) {
|
if (!IBindable.checkAndSetItemOwner(item, player) || player.isSneaking()) {
|
||||||
return item;
|
return item;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -43,7 +43,7 @@ public class SpellLightningBolt extends HomSpell {
|
|||||||
@Override
|
@Override
|
||||||
public ItemStack onOffensiveMeleeRightClick(ItemStack item, World world, EntityPlayer player) {
|
public ItemStack onOffensiveMeleeRightClick(ItemStack item, World world, EntityPlayer player) {
|
||||||
// TODO Make it work better...?
|
// TODO Make it work better...?
|
||||||
if (IBindable.checkAndSetItemOwner(item, player) || player.isSneaking()) {
|
if (!IBindable.checkAndSetItemOwner(item, player) || player.isSneaking()) {
|
||||||
return item;
|
return item;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ public class SpellTeleport extends HomSpell {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ItemStack onOffensiveRangedRightClick(ItemStack item, World world, EntityPlayer player) {
|
public ItemStack onOffensiveRangedRightClick(ItemStack item, World world, EntityPlayer player) {
|
||||||
if (IBindable.checkAndSetItemOwner(item, player) || player.isSneaking()) {
|
if (!IBindable.checkAndSetItemOwner(item, player) || player.isSneaking()) {
|
||||||
return item;
|
return item;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -45,7 +45,7 @@ public class SpellTeleport extends HomSpell {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ItemStack onOffensiveMeleeRightClick(ItemStack item, World world, EntityPlayer player) {
|
public ItemStack onOffensiveMeleeRightClick(ItemStack item, World world, EntityPlayer player) {
|
||||||
if (IBindable.checkAndSetItemOwner(item, player) || player.isSneaking()) {
|
if (!IBindable.checkAndSetItemOwner(item, player) || player.isSneaking()) {
|
||||||
return item;
|
return item;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -59,7 +59,7 @@ public class SpellTeleport extends HomSpell {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ItemStack onDefensiveRightClick(ItemStack item, World world, EntityPlayer player) {
|
public ItemStack onDefensiveRightClick(ItemStack item, World world, EntityPlayer player) {
|
||||||
if (IBindable.checkAndSetItemOwner(item, player) || player.isSneaking()) {
|
if (!IBindable.checkAndSetItemOwner(item, player) || player.isSneaking()) {
|
||||||
return item;
|
return item;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -91,7 +91,7 @@ public class SpellTeleport extends HomSpell {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ItemStack onEnvironmentalRightClick(ItemStack item, World world, EntityPlayer player) {
|
public ItemStack onEnvironmentalRightClick(ItemStack item, World world, EntityPlayer player) {
|
||||||
if (IBindable.checkAndSetItemOwner(item, player) || player.isSneaking()) {
|
if (!IBindable.checkAndSetItemOwner(item, player) || player.isSneaking()) {
|
||||||
return item;
|
return item;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+4
-4
@@ -29,7 +29,7 @@ public class SpellWateryGrave extends HomSpell {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ItemStack onOffensiveRangedRightClick(ItemStack item, World world, EntityPlayer player) {
|
public ItemStack onOffensiveRangedRightClick(ItemStack item, World world, EntityPlayer player) {
|
||||||
if (IBindable.checkAndSetItemOwner(item, player) || player.isSneaking()) {
|
if (!IBindable.checkAndSetItemOwner(item, player) || player.isSneaking()) {
|
||||||
return item;
|
return item;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -44,7 +44,7 @@ public class SpellWateryGrave extends HomSpell {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ItemStack onOffensiveMeleeRightClick(ItemStack item, World world, EntityPlayer player) {
|
public ItemStack onOffensiveMeleeRightClick(ItemStack item, World world, EntityPlayer player) {
|
||||||
if (IBindable.checkAndSetItemOwner(item, player) || player.isSneaking()) {
|
if (!IBindable.checkAndSetItemOwner(item, player) || player.isSneaking()) {
|
||||||
return item;
|
return item;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -75,7 +75,7 @@ public class SpellWateryGrave extends HomSpell {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ItemStack onDefensiveRightClick(ItemStack item, World world, EntityPlayer player) {
|
public ItemStack onDefensiveRightClick(ItemStack item, World world, EntityPlayer player) {
|
||||||
if (IBindable.checkAndSetItemOwner(item, player) || player.isSneaking()) {
|
if (!IBindable.checkAndSetItemOwner(item, player) || player.isSneaking()) {
|
||||||
return item;
|
return item;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -129,7 +129,7 @@ public class SpellWateryGrave extends HomSpell {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ItemStack onEnvironmentalRightClick(ItemStack item, World world, EntityPlayer player) {
|
public ItemStack onEnvironmentalRightClick(ItemStack item, World world, EntityPlayer player) {
|
||||||
if (IBindable.checkAndSetItemOwner(item, player) || player.isSneaking()) {
|
if (!IBindable.checkAndSetItemOwner(item, player) || player.isSneaking()) {
|
||||||
return item;
|
return item;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -160,7 +160,8 @@ public class Meteor {
|
|||||||
if (blockStack != null && blockStack.getItem() instanceof ItemBlock) {
|
if (blockStack != null && blockStack.getItem() instanceof ItemBlock) {
|
||||||
((ItemBlock) blockStack.getItem())
|
((ItemBlock) blockStack.getItem())
|
||||||
.placeBlockAt(blockStack, null, world, x, y, z, 0, 0, 0, 0, blockStack.getItemDamage());
|
.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);
|
world.markBlockForUpdate(x, y, z);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -230,7 +231,7 @@ public class Meteor {
|
|||||||
this.fillerChance = Math.max(0f, Math.min(100f * (1 - ((float) getTotalListWeight(ores) / maxWeight)), 100.0f));
|
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) {
|
private static void setGTOresNaturalIfNeeded(World world, int x, int y, int z) {
|
||||||
try (OreInfo<?> info = OreManager.getOreInfo(world, x, y, z)) {
|
try (OreInfo<?> info = OreManager.getOreInfo(world, x, y, z)) {
|
||||||
if (info == null) return;
|
if (info == null) return;
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ import java.util.List;
|
|||||||
import net.minecraft.block.Block;
|
import net.minecraft.block.Block;
|
||||||
import net.minecraft.entity.player.EntityPlayer;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
import net.minecraft.entity.player.EntityPlayerMP;
|
import net.minecraft.entity.player.EntityPlayerMP;
|
||||||
import net.minecraft.item.Item;
|
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.nbt.NBTTagCompound;
|
import net.minecraft.nbt.NBTTagCompound;
|
||||||
import net.minecraft.network.Packet;
|
import net.minecraft.network.Packet;
|
||||||
@@ -94,6 +93,7 @@ public class TEAltar extends TEInventory implements IFluidTank, IFluidHandler, I
|
|||||||
consumptionMultiplier = 0;
|
consumptionMultiplier = 0;
|
||||||
efficiencyMultiplier = 0;
|
efficiencyMultiplier = 0;
|
||||||
capacityMultiplier = 1;
|
capacityMultiplier = 1;
|
||||||
|
orbCapacityMultiplier = 1;
|
||||||
isUpgraded = false;
|
isUpgraded = false;
|
||||||
upgradeLevel = 0;
|
upgradeLevel = 0;
|
||||||
isResultBlock = false;
|
isResultBlock = false;
|
||||||
@@ -717,19 +717,8 @@ public class TEAltar extends TEInventory implements IFluidTank, IFluidHandler, I
|
|||||||
return NewPacketHandler.getPacket(this);
|
return NewPacketHandler.getPacket(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void handlePacketData(int[] intData, int[] fluidData, int capacity) {
|
public void handlePacketData(ItemStack itemStack, int[] fluidData, int capacity) {
|
||||||
if (intData == null) {
|
inv[0] = itemStack == null ? null : itemStack.copy();
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (intData.length == 3) {
|
|
||||||
if (intData[2] != 0) {
|
|
||||||
ItemStack is = new ItemStack(Item.getItemById(intData[0]), intData[2], intData[1]);
|
|
||||||
inv[0] = is;
|
|
||||||
} else {
|
|
||||||
inv[0] = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
FluidStack flMain = new FluidStack(fluidData[0], fluidData[1]);
|
FluidStack flMain = new FluidStack(fluidData[0], fluidData[1]);
|
||||||
FluidStack flIn = new FluidStack(fluidData[2], fluidData[3]);
|
FluidStack flIn = new FluidStack(fluidData[2], fluidData[3]);
|
||||||
@@ -742,25 +731,6 @@ public class TEAltar extends TEInventory implements IFluidTank, IFluidHandler, I
|
|||||||
this.capacity = capacity;
|
this.capacity = capacity;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int[] buildIntDataList() {
|
|
||||||
int[] sortList = new int[3]; // 1 * 3
|
|
||||||
int pos = 0;
|
|
||||||
|
|
||||||
for (ItemStack is : inv) {
|
|
||||||
if (is != null) {
|
|
||||||
sortList[pos++] = Item.getIdFromItem(is.getItem());
|
|
||||||
sortList[pos++] = is.getItemDamage();
|
|
||||||
sortList[pos++] = is.stackSize;
|
|
||||||
} else {
|
|
||||||
sortList[pos++] = 0;
|
|
||||||
sortList[pos++] = 0;
|
|
||||||
sortList[pos++] = 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return sortList;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void startCycle() {
|
public void startCycle() {
|
||||||
if (worldObj != null) {
|
if (worldObj != null) {
|
||||||
|
|||||||
@@ -415,17 +415,31 @@ public class TEReagentConduit extends TileSegmentedReagentHandler {
|
|||||||
readClientNBT(packet.func_148857_g());
|
readClientNBT(packet.func_148857_g());
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean addReagentDestinationViaOffset(Reagent reagent, int xOffset, int yOffset, int zOffset) {
|
public int getTotalConnections() {
|
||||||
int totalConnections = 0;
|
int total = 0;
|
||||||
|
for (List<Int3> list : this.reagentTargetList.values()) {
|
||||||
for (Entry<Reagent, List<Int3>> entry : this.reagentTargetList.entrySet()) {
|
if (list != null) {
|
||||||
if (entry.getValue() != null) {
|
total += list.size();
|
||||||
totalConnections += entry.getValue().size();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return total;
|
||||||
|
}
|
||||||
|
|
||||||
if (totalConnections >= this.maxConnextions) {
|
public boolean hasReagentDestination(Reagent reagent, int x, int y, int z) {
|
||||||
// Send message that it cannot be done? Maybe add a Player instance
|
int xOffset = x - this.xCoord;
|
||||||
|
int yOffset = y - this.yCoord;
|
||||||
|
int zOffset = z - this.zCoord;
|
||||||
|
if (this.reagentTargetList.containsKey(reagent)) {
|
||||||
|
List<Int3> coords = this.reagentTargetList.get(reagent);
|
||||||
|
if (coords != null) {
|
||||||
|
return coords.contains(new Int3(xOffset, yOffset, zOffset));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean addReagentDestinationViaOffset(Reagent reagent, int xOffset, int yOffset, int zOffset) {
|
||||||
|
if (getTotalConnections() >= this.maxConnextions) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -442,6 +456,9 @@ public class TEReagentConduit extends TileSegmentedReagentHandler {
|
|||||||
newCoordList.add(newCoord);
|
newCoordList.add(newCoord);
|
||||||
this.reagentTargetList.put(reagent, newCoordList);
|
this.reagentTargetList.put(reagent, newCoordList);
|
||||||
} else {
|
} else {
|
||||||
|
if (coordList.contains(newCoord)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
coordList.add(newCoord);
|
coordList.add(newCoord);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,9 @@ import com.google.gson.GsonBuilder;
|
|||||||
|
|
||||||
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
|
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
|
||||||
import WayofTime.alchemicalWizardry.ModBlocks;
|
import WayofTime.alchemicalWizardry.ModBlocks;
|
||||||
|
import WayofTime.alchemicalWizardry.api.Int3;
|
||||||
import WayofTime.alchemicalWizardry.common.demonVillage.BuildingSchematic;
|
import WayofTime.alchemicalWizardry.common.demonVillage.BuildingSchematic;
|
||||||
|
import WayofTime.alchemicalWizardry.common.demonVillage.tileEntity.Int3Adapter;
|
||||||
|
|
||||||
public class TESchematicSaver extends TileEntity {
|
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);
|
String json = gson.toJson(schematic);
|
||||||
try (Writer writer = new FileWriter("config/BloodMagic/schematics/" + new Random().nextInt() + ".json")) {
|
try (Writer writer = new FileWriter("config/BloodMagic/schematics/" + new Random().nextInt() + ".json")) {
|
||||||
writer.write(json);
|
writer.write(json);
|
||||||
|
|||||||
@@ -540,14 +540,22 @@ public class TEWritingTable extends TEInventory implements ISidedInventory, IBlo
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (!isRecipeValid()) {
|
ItemStack[] composedRecipe = new ItemStack[5];
|
||||||
|
|
||||||
|
System.arraycopy(inv, 1, composedRecipe, 0, 5);
|
||||||
|
|
||||||
|
AlchemyRecipe recipe = AlchemyRecipeRegistry.findRecipe(composedRecipe, inv[0]);
|
||||||
|
|
||||||
|
if (recipe == null) {
|
||||||
progress = 0;
|
progress = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ItemStack result = recipe.getResult();
|
||||||
|
|
||||||
if (progress <= 0) {
|
if (progress <= 0) {
|
||||||
progress = 0;
|
progress = 0;
|
||||||
amountUsed = this.getAmountNeeded(getStackInSlot(0));
|
amountUsed = recipe.getAmountNeeded();
|
||||||
|
|
||||||
if (worldObj != null) {
|
if (worldObj != null) {
|
||||||
worldObj.markBlockForUpdate(xCoord, yCoord, zCoord);
|
worldObj.markBlockForUpdate(xCoord, yCoord, zCoord);
|
||||||
@@ -580,60 +588,50 @@ public class TEWritingTable extends TEInventory implements ISidedInventory, IBlo
|
|||||||
|
|
||||||
if (progress >= progressNeeded) {
|
if (progress >= progressNeeded) {
|
||||||
progress = 0;
|
progress = 0;
|
||||||
this.setInventorySlotContents(6, getResultingItemStack());
|
this.setInventorySlotContents(6, result.copy());
|
||||||
|
|
||||||
ItemStack[] composedRecipe = new ItemStack[5];
|
this.decrementSlots(recipe.getRecipe());
|
||||||
|
|
||||||
System.arraycopy(inv, 1, composedRecipe, 0, 5);
|
|
||||||
|
|
||||||
this.decrementSlots(this.getRecipeForItems(composedRecipe, inv[0]));
|
|
||||||
|
|
||||||
if (worldObj != null) {
|
if (worldObj != null) {
|
||||||
worldObj.markBlockForUpdate(xCoord, yCoord, zCoord);
|
worldObj.markBlockForUpdate(xCoord, yCoord, zCoord);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (getStackInSlot(6).getItem() == getResultingItemStack().getItem()
|
} else if (getStackInSlot(6).getItem() == result.getItem()
|
||||||
&& getResultingItemStack().stackSize
|
&& result.stackSize <= (getStackInSlot(6).getMaxStackSize() - getStackInSlot(6).stackSize)) {
|
||||||
<= (getStackInSlot(6).getMaxStackSize() - getStackInSlot(6).stackSize)) {
|
if (worldTime % 4 == 0) {
|
||||||
if (worldTime % 4 == 0) {
|
SpellHelper.sendIndexedParticleToAllAround(
|
||||||
SpellHelper.sendIndexedParticleToAllAround(
|
worldObj,
|
||||||
worldObj,
|
xCoord,
|
||||||
xCoord,
|
yCoord,
|
||||||
yCoord,
|
zCoord,
|
||||||
zCoord,
|
20,
|
||||||
20,
|
worldObj.provider.dimensionId,
|
||||||
worldObj.provider.dimensionId,
|
1,
|
||||||
1,
|
xCoord,
|
||||||
xCoord,
|
yCoord,
|
||||||
yCoord,
|
zCoord);
|
||||||
zCoord);
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (!SoulNetworkHandler.syphonFromNetworkWhileInContainer(
|
if (!SoulNetworkHandler
|
||||||
getStackInSlot(0),
|
.syphonFromNetworkWhileInContainer(getStackInSlot(0), amountUsed * acceleration)) {
|
||||||
amountUsed * acceleration)) {
|
return;
|
||||||
return;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
progress += acceleration;
|
progress += acceleration;
|
||||||
|
|
||||||
if (progress >= progressNeeded) {
|
if (progress >= progressNeeded) {
|
||||||
progress = 0;
|
progress = 0;
|
||||||
ItemStack result = getResultingItemStack().copy();
|
ItemStack mergedResult = result.copy();
|
||||||
result.stackSize += getStackInSlot(6).stackSize;
|
mergedResult.stackSize += getStackInSlot(6).stackSize;
|
||||||
this.setInventorySlotContents(6, result);
|
this.setInventorySlotContents(6, mergedResult);
|
||||||
|
|
||||||
ItemStack[] composedRecipe = new ItemStack[5];
|
this.decrementSlots(recipe.getRecipe());
|
||||||
|
|
||||||
System.arraycopy(inv, 1, composedRecipe, 0, 5);
|
if (worldObj != null) {
|
||||||
|
worldObj.markBlockForUpdate(xCoord, yCoord, zCoord);
|
||||||
this.decrementSlots(this.getRecipeForItems(composedRecipe, inv[0]));
|
|
||||||
|
|
||||||
if (worldObj != null) {
|
|
||||||
worldObj.markBlockForUpdate(xCoord, yCoord, zCoord);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -667,26 +665,6 @@ public class TEWritingTable extends TEInventory implements ISidedInventory, IBlo
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public ItemStack[] getRecipeForItems(ItemStack[] recipe, ItemStack bloodOrb) {
|
|
||||||
if (bloodOrb == null) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!(bloodOrb.getItem() instanceof IBloodOrb)) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
int bloodOrbLevel = ((IBloodOrb) bloodOrb.getItem()).getOrbLevel();
|
|
||||||
|
|
||||||
for (AlchemyRecipe ar : AlchemyRecipeRegistry.recipes) {
|
|
||||||
if (ar.doesRecipeMatch(recipe, bloodOrbLevel)) {
|
|
||||||
return ar.getRecipe();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public int getSpeedIncrease() {
|
public int getSpeedIncrease() {
|
||||||
return accelerationTime > 0 ? 5 : 1;
|
return accelerationTime > 0 ? 5 : 1;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -278,6 +278,8 @@ text.recipe.altar.tier=Tier: %s
|
|||||||
text.recipe.altar.bloodRequired=LP: %s
|
text.recipe.altar.bloodRequired=LP: %s
|
||||||
text.recipe.shapedOrb=Shaped Orb Recipe
|
text.recipe.shapedOrb=Shaped Orb Recipe
|
||||||
text.recipe.alchemicCalcinator.reagent=%s AR
|
text.recipe.alchemicCalcinator.reagent=%s AR
|
||||||
|
nei.recipe.bindingritual.category=Binding Ritual
|
||||||
|
nei.recipe.calcinator.category=Alchemic Calcinator
|
||||||
nei.recipe.meteor.category=Meteor Ritual
|
nei.recipe.meteor.category=Meteor Ritual
|
||||||
nei.recipe.meteor.cost=LP cost to summon this meteor
|
nei.recipe.meteor.cost=LP cost to summon this meteor
|
||||||
nei.recipe.meteor.tooExpensive=Insufficient LP in Soul Network
|
nei.recipe.meteor.tooExpensive=Insufficient LP in Soul Network
|
||||||
@@ -434,8 +436,11 @@ tooltip.alchemyflask.caution=CAUTION: Contents are throwable
|
|||||||
tooltip.alchemyflask.swigsleft=Swigs Left:
|
tooltip.alchemyflask.swigsleft=Swigs Left:
|
||||||
tooltip.armorinhibitor.desc1=Used to suppress a soul's
|
tooltip.armorinhibitor.desc1=Used to suppress a soul's
|
||||||
tooltip.armorinhibitor.desc2=unnatural abilities.
|
tooltip.armorinhibitor.desc2=unnatural abilities.
|
||||||
tooltip.attunedcrystal.desc1=A tool to tune alchemy
|
tooltip.attunedcrystal.desc1=1) Right-click a source relay to save it and copy its reagent.
|
||||||
tooltip.attunedcrystal.desc2=reagent transmission
|
tooltip.attunedcrystal.desc2=2) Right-click the same source again to cycle its reagent.
|
||||||
|
tooltip.attunedcrystal.desc3=3) Right-click a destination relay to link.
|
||||||
|
tooltip.attunedcrystal.desc4=Sneak+right-click to clear the saved source.
|
||||||
|
tooltip.attunedcrystal.desc5=Sneak+right-click again to clear the held reagent.
|
||||||
tooltip.blankspell.desc=Crystal of infinite possibilities.
|
tooltip.blankspell.desc=Crystal of infinite possibilities.
|
||||||
tooltip.bloodframe.desc=Stirs bees into a frenzy.
|
tooltip.bloodframe.desc=Stirs bees into a frenzy.
|
||||||
tooltip.bloodletterpack.desc=This pack really chafes...
|
tooltip.bloodletterpack.desc=This pack really chafes...
|
||||||
@@ -455,8 +460,8 @@ tooltip.crystalbelljar.empty=- Empty
|
|||||||
tooltip.demonictelepfocus.desc1=A stronger version of the focus,
|
tooltip.demonictelepfocus.desc1=A stronger version of the focus,
|
||||||
tooltip.demonictelepfocus.desc2=using a demonic shard
|
tooltip.demonictelepfocus.desc2=using a demonic shard
|
||||||
tooltip.demonplacer.desc=Used to spawn demons.
|
tooltip.demonplacer.desc=Used to spawn demons.
|
||||||
tooltip.destclearer.desc1=Used to clear the destination
|
tooltip.destclearer.desc1=Right-click a relay to clear its outgoing links.
|
||||||
tooltip.destclearer.desc2=list for an alchemy container
|
tooltip.destclearer.desc2=Sneak+right-click a relay to clear incoming links.
|
||||||
tooltip.diablokey.desc=Binds other items to the owner's network
|
tooltip.diablokey.desc=Binds other items to the owner's network
|
||||||
tooltip.divinationsigil.desc1=Peer into the soul to
|
tooltip.divinationsigil.desc1=Peer into the soul to
|
||||||
tooltip.divinationsigil.desc2=get the current essence
|
tooltip.divinationsigil.desc2=get the current essence
|
||||||
@@ -548,16 +553,26 @@ message.altar.progress=Altar's Progress: %,d LP / %,d LP
|
|||||||
message.altar.inputtank= Input Tank: %,d LP
|
message.altar.inputtank= Input Tank: %,d LP
|
||||||
message.altar.outputtank= Output Tank: %,d LP
|
message.altar.outputtank= Output Tank: %,d LP
|
||||||
message.altar.hunger=[BM] Your high regeneration rate has caused you to become hungry...
|
message.altar.hunger=[BM] Your high regeneration rate has caused you to become hungry...
|
||||||
message.attunedcrystal.clearing=Clearing saved container...
|
message.attunedcrystal.clearing=Cleared saved source.
|
||||||
message.attunedcrystal.error.cannotfind=Can no longer find linked container.
|
message.attunedcrystal.reagentcleared=Cleared held reagent.
|
||||||
|
message.attunedcrystal.error.cannotfind=Can no longer find saved source.
|
||||||
message.attunedcrystal.error.noconnections=Linked container has no connections remaining!
|
message.attunedcrystal.error.noconnections=Linked container has no connections remaining!
|
||||||
message.attunedcrystal.error.toofar=Linked container is either too far or is in a different dimension.
|
message.attunedcrystal.error.toofar=Saved source is either too far or is in a different dimension.
|
||||||
message.attunedcrystal.linked=Container is now linked. Transmitting:
|
message.attunedcrystal.error.noreagent=No reagent selected! Right-click a source relay to copy one.
|
||||||
message.attunedcrystal.linking=Linking to selected container.
|
message.attunedcrystal.error.duplicate=Already connected to that destination!
|
||||||
|
message.attunedcrystal.error.sourcefull=Source has no more open outgoing links.
|
||||||
|
message.attunedcrystal.error.cannotlinktoself=Cannot link a source to itself.
|
||||||
|
message.attunedcrystal.error.nothingtocopy=Source has no reagents to copy.
|
||||||
|
message.attunedcrystal.linked=Linked! Transmitting %s. (%s/%s connections used)
|
||||||
|
message.attunedcrystal.linking=Source relay saved at %s, %s, %s. Right-click a destination to link.
|
||||||
message.attunedcrystal.setto=Attuned Crystal now set to:
|
message.attunedcrystal.setto=Attuned Crystal now set to:
|
||||||
|
message.reagentconduit.noconnections=This relay has no routing connections.
|
||||||
|
message.reagentconduit.connections=Routing connections:
|
||||||
|
message.reagentconduit.connection.entry= %s -> (%s, %s, %s)
|
||||||
message.demon.shallfollow=I shall follow and protect you!
|
message.demon.shallfollow=I shall follow and protect you!
|
||||||
message.demon.willstay=I will stay here for now, Master.
|
message.demon.willstay=I will stay here for now, Master.
|
||||||
message.destinationclearer.cleared=Destination list now cleared.
|
message.destinationclearer.cleared=Destination list now cleared.
|
||||||
|
message.destinationclearer.incoming.cleared=Cleared %s incoming connection(s) from nearby relays.
|
||||||
message.divinationsigil.amount=Amount: %,d AR
|
message.divinationsigil.amount=Amount: %,d AR
|
||||||
message.divinationsigil.currentessence=Current Essence: %,d LP
|
message.divinationsigil.currentessence=Current Essence: %,d LP
|
||||||
message.divinationsigil.reagent=Reagent: %s
|
message.divinationsigil.reagent=Reagent: %s
|
||||||
@@ -737,6 +752,7 @@ nei.infopage.rituals.2=To build a ritual, place a Master Ritual Stone surrounded
|
|||||||
nei.infopage.rituals.3=Once the ritual is assembled, right-click the Master Ritual Stone with a bound Activation Crystal. If everything is in place and your Soul Network contains sufficient LP, the ritual will commence! Each ritual has a unique effect. Experimentation is encouraged to discover the full potential of the Master Ritual Stone.
|
nei.infopage.rituals.3=Once the ritual is assembled, right-click the Master Ritual Stone with a bound Activation Crystal. If everything is in place and your Soul Network contains sufficient LP, the ritual will commence! Each ritual has a unique effect. Experimentation is encouraged to discover the full potential of the Master Ritual Stone.
|
||||||
nei.infopage.reagents.1=Some rituals can be modified by providing reagents to the Master Ritual Stone. However, raw reagents are too impure to be used directly. They must first be refined in an Alchemic Calcinator into AR (Alchemy Reagent), a pure essence usable by the ritual.
|
nei.infopage.reagents.1=Some rituals can be modified by providing reagents to the Master Ritual Stone. However, raw reagents are too impure to be used directly. They must first be refined in an Alchemic Calcinator into AR (Alchemy Reagent), a pure essence usable by the ritual.
|
||||||
nei.infopage.reagents.2=To use an Alchemic Calcinator, right-click it with a bound Blood Orb, and then right-click it with the reagent item. Reagents may also be inserted via hoppers or pipes. The reagent will be consumed and converted into AR, which the Calcinator will store internally.
|
nei.infopage.reagents.2=To use an Alchemic Calcinator, right-click it with a bound Blood Orb, and then right-click it with the reagent item. Reagents may also be inserted via hoppers or pipes. The reagent will be consumed and converted into AR, which the Calcinator will store internally.
|
||||||
nei.infopage.reagents.3=An Alchemic Router is required to transfer AR. Shift-right-click a block containing AR to attune the Router to that reagent. Then right-click the source block, followed by the destination block, to create a link. Shift-right-click in the air to remove the currently saved source.
|
nei.infopage.reagents.3=An Alchemic Router transfers AR. Right-click a block that can hold AR to save it as the source. The first reagent in the source is copied automatically. Right-click the source again to cycle through its other reagents. Right-click a different block to link it as a destination.
|
||||||
nei.infopage.reagents.4=An Alchemic Cleanser may be used to remove AR links by using it on the source block. An Alchemic Segmenter may be used to limit how many internal AR tanks a single reagent may occupy; it is attuned in the same way as the Router.
|
nei.infopage.reagents.3b=After making a link, the source is cleared, but the reagent stays, so you can quickly make multiple links for the same reagent. Sneak+right-click anywhere before linking to clear the saved source. Sneak+right-click again to clear the saved reagent. Right-clicking a relay with an empty hand sends its current outgoing routing connections in chat.
|
||||||
|
nei.infopage.reagents.4=An Alchemic Cleanser clears AR routing connections — right-click a relay to wipe its outgoing links, or sneak+right-click to wipe incoming links. An Alchemic Segmenter may be used to limit how many internal AR tanks a single reagent may occupy. Attune it by shift+right-clicking a block with a stored reagent, then right-click a block to cycle how many tanks that reagent can fill.
|
||||||
nei.infopage.reagents.5=The range of AR links is limited to a few blocks. To extend the transfer distance, use Alchemic Relays. Crystal Belljars may be placed to store AR, and they will retain their contents when broken.
|
nei.infopage.reagents.5=The range of AR links is limited to a few blocks. To extend the transfer distance, use Alchemic Relays. Crystal Belljars may be placed to store AR, and they will retain their contents when broken.
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in new issue
Block a user