mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-25 06:24:54 +00:00
Compare commits
490
Commits
2.1.0
...
2.7.1-GTNH
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4103ce72e5 | ||
|
|
116e3610e6 | ||
|
|
702a02e943 | ||
|
|
b200f3006a | ||
|
|
322b8d0944 | ||
|
|
b5e1046904 | ||
|
|
f0f51be20e | ||
|
|
c3b0378096 | ||
|
|
baf9f915e5 | ||
|
|
0d97d836a3 | ||
|
|
f777cf976d | ||
|
|
bd6887c598 | ||
|
|
acf2525801 | ||
|
|
054bf8f329 | ||
|
|
418a322378 | ||
|
|
dcf47bb393 | ||
|
|
5ca5c11fc9 | ||
|
|
991c4fff5e | ||
|
|
137784f76d | ||
|
|
bde910d708 | ||
|
|
befd485d39 | ||
|
|
e56e056c5d | ||
|
|
ce4f1880ca | ||
|
|
520d2e09e1 | ||
|
|
870eafbbe4 | ||
|
|
d9ef30fe32 | ||
|
|
0112a7f104 | ||
|
|
9724d519e8 | ||
|
|
3d562d0052 | ||
|
|
9f17d8ceff | ||
|
|
614acf5114 | ||
|
|
b338d97517 | ||
|
|
2870e06387 | ||
|
|
96514b1aff | ||
|
|
f85900d9a8 | ||
|
|
66b1f3e075 | ||
|
|
e053b019af | ||
|
|
5dfa179c87 | ||
|
|
966e4ba2f2 | ||
|
|
1cbe881ae3 | ||
|
|
b0b38a472a | ||
|
|
5f56b46e00 | ||
|
|
83b0bfc504 | ||
|
|
fe56288c72 | ||
|
|
ff25ec619c | ||
|
|
c4ef06b027 | ||
|
|
0b6c1cc345 | ||
|
|
0efc169ef7 | ||
|
|
d83a0cc775 | ||
|
|
02afe5dbc8 | ||
|
|
951f5a1ad5 | ||
|
|
1cbc997be3 | ||
|
|
f3d3a0a2df | ||
|
|
fa10e888dc | ||
|
|
fdc1301b43 | ||
|
|
756b186db4 | ||
|
|
639c53a01d | ||
|
|
309a9c0818 | ||
|
|
2c547e3851 | ||
|
|
79d0283901 | ||
|
|
918ec20739 | ||
|
|
2ea0a44429 | ||
|
|
8f919fc688 | ||
|
|
c47b50b617 | ||
|
|
764fda0985 | ||
|
|
8412246e3e | ||
|
|
1391dd3ed6 | ||
|
|
cf6536c17f | ||
|
|
fddc31a8f5 | ||
|
|
840771f5f4 | ||
|
|
b76b77d4a3 | ||
|
|
5e5a80fb5c | ||
|
|
66c5bdf2ca | ||
|
|
a64ae86853 | ||
|
|
d612f8c520 | ||
|
|
806c326b62 | ||
|
|
c31726001b | ||
|
|
c209ef59fb | ||
|
|
98fd7c1e19 | ||
|
|
5b4aaf50f4 | ||
|
|
17768a1300 | ||
|
|
9f1642fd5b | ||
|
|
c3fcb6fc28 | ||
|
|
bc963b0d7e | ||
|
|
80c1c4d5da | ||
|
|
3afee4f553 | ||
|
|
1e0c7d3c5e | ||
|
|
9b21be0eb5 | ||
|
|
3a0d9352b1 | ||
|
|
108a11c119 | ||
|
|
e90b40159c | ||
|
|
61398d3139 | ||
|
|
e1d289bc48 | ||
|
|
75db1329ea | ||
|
|
32ffe03aa3 | ||
|
|
138e8d9c40 | ||
|
|
6c6b690d57 | ||
|
|
726831399d | ||
|
|
87ec6c63eb | ||
|
|
ef4359835a | ||
|
|
b9292af3d9 | ||
|
|
77936b6dab | ||
|
|
e24a94f0ba | ||
|
|
1d4a52c3af | ||
|
|
c7c47b9a1b | ||
|
|
e12eda73fc | ||
|
|
2b1e179eeb | ||
|
|
dbc4b23821 | ||
|
|
f5dc54e1fb | ||
|
|
500adb0357 | ||
|
|
7df6221e0b | ||
|
|
2d78a84df1 | ||
|
|
729908b1b0 | ||
|
|
e5cea4e3dd | ||
|
|
c17c2f3746 | ||
|
|
951df8a632 | ||
|
|
bdb7a53b96 | ||
|
|
e5f0fc2368 | ||
|
|
702cffe458 | ||
|
|
72b71021de | ||
|
|
0149c34d1d | ||
|
|
caca6a6329 | ||
|
|
6bd5cc24d3 | ||
|
|
4bef945c4e | ||
|
|
6fe4436226 | ||
|
|
0f7363c756 | ||
|
|
afa16af645 | ||
|
|
4ce1caa37e | ||
|
|
e565d86ed9 | ||
|
|
f1069a91f1 | ||
|
|
32411450d3 | ||
|
|
49ef624bd4 | ||
|
|
189d305a31 | ||
|
|
97a45e8e0a | ||
|
|
8c72b75e0e | ||
|
|
2cca9de690 | ||
|
|
6523fb0a1d | ||
|
|
8833aab1f1 | ||
|
|
7e9a54ced2 | ||
|
|
14a712260b | ||
|
|
d993c90c3e | ||
|
|
e73f5a841e | ||
|
|
9fcf50b61a | ||
|
|
337d8692c6 | ||
|
|
8cf54bb10f | ||
|
|
854ae94be6 | ||
|
|
aea52904d4 | ||
|
|
4704d4c18c | ||
|
|
2abb28bd8e | ||
|
|
011a5767a7 | ||
|
|
9fa67a8426 | ||
|
|
fb65570ce9 | ||
|
|
0901392f11 | ||
|
|
1359133050 | ||
|
|
b12577b506 | ||
|
|
b787d693b9 | ||
|
|
1f19dc2f5e | ||
|
|
4e638db2a7 | ||
|
|
db7d6ab7a2 | ||
|
|
1db58409ec | ||
|
|
ff9e54760a | ||
|
|
a15b899913 | ||
|
|
68a2880877 | ||
|
|
913c4e5d00 | ||
|
|
51f161c2e8 | ||
|
|
a49128337b | ||
|
|
4903f97de6 | ||
|
|
f87a689045 | ||
|
|
987d7c2b11 | ||
|
|
3550fe23d4 | ||
|
|
237abd6cef | ||
|
|
5e86d62433 | ||
|
|
4c71e42dd6 | ||
|
|
de793aa5fc | ||
|
|
58439c0936 | ||
|
|
ef76ab40e3 | ||
|
|
d2a3b91fe0 | ||
|
|
a370c61948 | ||
|
|
04ea5e8862 | ||
|
|
b411fec0c1 | ||
|
|
82368a06bf | ||
|
|
58a9fa9e0f | ||
|
|
bcb38e8718 | ||
|
|
59d2f6bdb0 | ||
|
|
989bb6f917 | ||
|
|
9c044ffc9a | ||
|
|
ce32e21597 | ||
|
|
2375121778 | ||
|
|
5e2543027d | ||
|
|
74afd10913 | ||
|
|
1ef16b4dba | ||
|
|
c1cc32b2f6 | ||
|
|
451f183e83 | ||
|
|
bff3c669bf | ||
|
|
6c28a687ab | ||
|
|
918334e5bf | ||
|
|
afee91a925 | ||
|
|
9196bee240 | ||
|
|
824e72ac82 | ||
|
|
fe7824eef4 | ||
|
|
c796902c91 | ||
|
|
d13d5ec3dd | ||
|
|
90186aa9be | ||
|
|
155d638647 | ||
|
|
130b7c6836 | ||
|
|
a2ab168d69 | ||
|
|
7987c846aa | ||
|
|
11eb9e4fb1 | ||
|
|
0569b81126 | ||
|
|
264385c778 | ||
|
|
93c8fb9dd0 | ||
|
|
36e3209167 | ||
|
|
5c81c964b1 | ||
|
|
dce77fb246 | ||
|
|
c9fe22c399 | ||
|
|
e314a79e24 | ||
|
|
a46274fc6d | ||
|
|
275f03ccba | ||
|
|
7fa6eb8953 | ||
|
|
e6ae553eb8 | ||
|
|
8f5e4127f0 | ||
|
|
1e082e087f | ||
|
|
8952663d40 | ||
|
|
2e82ba2bf1 | ||
|
|
9597ebb658 | ||
|
|
5615d2a75b | ||
|
|
3a3bc29155 | ||
|
|
c1043bb588 | ||
|
|
e555aeaec2 | ||
|
|
ab5b7c7532 | ||
|
|
80a078d2ed | ||
|
|
ab70d8aec2 | ||
|
|
e8002e069a | ||
|
|
90e5cf801b | ||
|
|
e5a26e1b88 | ||
|
|
72e8fb4c24 | ||
|
|
a76d0d1c29 | ||
|
|
167b1f5257 | ||
|
|
01cfec7169 | ||
|
|
3fde6fb08c | ||
|
|
eacb9f2609 | ||
|
|
3f43cc52c1 | ||
|
|
f1086f3095 | ||
|
|
2503c94b83 | ||
|
|
af44fb9d89 | ||
|
|
8569a43f87 | ||
|
|
bd8fa92266 | ||
|
|
4d2ea94b76 | ||
|
|
8d65e675d1 | ||
|
|
8beb50fcf8 | ||
|
|
800799e85c | ||
|
|
66c0f02a6e | ||
|
|
aa2ef7f24d | ||
|
|
4326da4013 | ||
|
|
3d61472a7e | ||
|
|
97d50f0405 | ||
|
|
ab8a16b26d | ||
|
|
ce8fb0323d | ||
|
|
89975c8718 | ||
|
|
7ae7af2238 | ||
|
|
0bdbcdb2f8 | ||
|
|
354f2ef71b | ||
|
|
4c93eb6bf4 | ||
|
|
922a8fffd6 | ||
|
|
ae15b9e77f | ||
|
|
03068d7ddb | ||
|
|
a1a4506a14 | ||
|
|
4f7370b521 | ||
|
|
25a17fcbfd | ||
|
|
9a3fb6ba16 | ||
|
|
07fde529a4 | ||
|
|
aad6b1fa13 | ||
|
|
651aa82045 | ||
|
|
c078d1a24c | ||
|
|
e87af0d409 | ||
|
|
fde41046d6 | ||
|
|
77d2833e7e | ||
|
|
cc4ac2a389 | ||
|
|
fa5c8aa264 | ||
|
|
7ee2bc991e | ||
|
|
5f78df9fe8 | ||
|
|
7124041129 | ||
|
|
dc7c54f85a | ||
|
|
d0ce872a13 | ||
|
|
fcdf5bd5b3 | ||
|
|
7a77dca7c7 | ||
|
|
3fad743f61 | ||
|
|
787a20c0da | ||
|
|
b326e366b6 | ||
|
|
be652f2fd8 | ||
|
|
6c61749d35 | ||
|
|
a0cf62c2a0 | ||
|
|
0f644270cc | ||
|
|
fbbc0c5050 | ||
|
|
71686766a9 | ||
|
|
8e7767d4ba | ||
|
|
e5f296cf83 | ||
|
|
e0432846d5 | ||
|
|
e9c1e5cf8c | ||
|
|
12dd21e35a | ||
|
|
8ef17ecbc9 | ||
|
|
bab96ead6b | ||
|
|
07ca48aa43 | ||
|
|
0715532170 | ||
|
|
b43137e399 | ||
|
|
707266cad7 | ||
|
|
7a028787c5 | ||
|
|
1c5d255f58 | ||
|
|
4f41f39f92 | ||
|
|
7e930f44be | ||
|
|
23b595e250 | ||
|
|
0c9b6df7b2 | ||
|
|
cddddca223 | ||
|
|
c62db23f79 | ||
|
|
223aba18a4 | ||
|
|
2e4a7d7bb1 | ||
|
|
913433b0c7 | ||
|
|
3b28e2499e | ||
|
|
090a6a2fc3 | ||
|
|
0a28b3fe63 | ||
|
|
b1a3223fbe | ||
|
|
be12564bcc | ||
|
|
e56afa8feb | ||
|
|
a74b2da532 | ||
|
|
ec00af6c09 | ||
|
|
43acadef2c | ||
|
|
25df457b18 | ||
|
|
07942d4218 | ||
|
|
079c572a1a | ||
|
|
975a63afef | ||
|
|
21b26e491c | ||
|
|
546ad5fc00 | ||
|
|
88fa3d6837 | ||
|
|
83f82decd8 | ||
|
|
549433e445 | ||
|
|
a6c235aa5a | ||
|
|
99c40a99a9 | ||
|
|
30509d4180 | ||
|
|
fe8c118f7f | ||
|
|
e14a3c6a62 | ||
|
|
83c5e49a28 | ||
|
|
2e42dd5be3 | ||
|
|
00d01c55ad | ||
|
|
7afda32063 | ||
|
|
eeb6cb356d | ||
|
|
61fdd7ad09 | ||
|
|
319682ae2b | ||
|
|
c8f20bd513 | ||
|
|
6f6823b6d2 | ||
|
|
a65c593c9a | ||
|
|
55840ac08e | ||
|
|
a7076ce817 | ||
|
|
e5e6474ff9 | ||
|
|
1703e8a862 | ||
|
|
b16524e919 | ||
|
|
d8cd023876 | ||
|
|
d64ec3caa2 | ||
|
|
515e0e1751 | ||
|
|
cc9bbefa3f | ||
|
|
18c7790abd | ||
|
|
ccbfa4995d | ||
|
|
54faf63bab | ||
|
|
e14bbe254a | ||
|
|
50d914e846 | ||
|
|
3b8dec5425 | ||
|
|
a332d3f2e5 | ||
|
|
d921717965 | ||
|
|
55f9e58297 | ||
|
|
7930108032 | ||
|
|
0fd8b319de | ||
|
|
051cc96514 | ||
|
|
40fdbb29c6 | ||
|
|
52798c8175 | ||
|
|
a5fed5c9b7 | ||
|
|
07624a3a4c | ||
|
|
dc4cd3331c | ||
|
|
6ea6f1e017 | ||
|
|
cb7b515626 | ||
|
|
46cb2cb95a | ||
|
|
cc987d6ac8 | ||
|
|
4f39132e4e | ||
|
|
4938c29e8c | ||
|
|
cbb0b15dee | ||
|
|
b881283492 | ||
|
|
5d4b84727d | ||
|
|
ad9135590d | ||
|
|
5cd884929f | ||
|
|
7bd5e7ac54 | ||
|
|
8cda9b9f43 | ||
|
|
444303d06d | ||
|
|
b3ca22fd1f | ||
|
|
1f8f324c56 | ||
|
|
3d1cdfa9af | ||
|
|
1275abc1c4 | ||
|
|
3347afb0c3 | ||
|
|
016049ef67 | ||
|
|
33b0af6682 | ||
|
|
8bf47d8f5f | ||
|
|
e9c91cda37 | ||
|
|
f645076eeb | ||
|
|
8ccb8f4d75 | ||
|
|
142637151a | ||
|
|
469867bc1f | ||
|
|
712679d8ac | ||
|
|
8eb8363b31 | ||
|
|
cd758dfec2 | ||
|
|
629cd06ef6 | ||
|
|
8e11456ea3 | ||
|
|
2c5e6ca041 | ||
|
|
a739206e01 | ||
|
|
9b9926b340 | ||
|
|
dac7c0ddef | ||
|
|
a6d1a9f1a4 | ||
|
|
98a5e73ddf | ||
|
|
f68b47473f | ||
|
|
a0df95b36c | ||
|
|
6ff6b72580 | ||
|
|
2f5cbb7d3c | ||
|
|
250e5c159f | ||
|
|
0c5f27e192 | ||
|
|
a6c439c078 | ||
|
|
300a22efab | ||
|
|
fdf89303e4 | ||
|
|
ffe3f9d33e | ||
|
|
0e0eaac495 | ||
|
|
e9c423579b | ||
|
|
1be990eb0e | ||
|
|
87a918b7c6 | ||
|
|
580f1f4e12 | ||
|
|
2b0b729ad0 | ||
|
|
f5a6ca61ba | ||
|
|
44ecbbdc45 | ||
|
|
d3c6ad5433 | ||
|
|
5b053dd990 | ||
|
|
e416d09dde | ||
|
|
723506d04f | ||
|
|
c352b42fc1 | ||
|
|
95275e57d6 | ||
|
|
02659b2816 | ||
|
|
02655f092e | ||
|
|
03bc6c0d83 | ||
|
|
85f8ab960d | ||
|
|
2146249b9c | ||
|
|
a4ebd6d859 | ||
|
|
6c79dfb104 | ||
|
|
9233d45b33 | ||
|
|
7082436190 | ||
|
|
fb8873b781 | ||
|
|
12c1b3b5c3 | ||
|
|
ecaa9babf7 | ||
|
|
16086558e4 | ||
|
|
cc4390ec21 | ||
|
|
0cb6505fd4 | ||
|
|
52128123ef | ||
|
|
6136a59a15 | ||
|
|
0886fd1389 | ||
|
|
ea409d34de | ||
|
|
1f7fe61afe | ||
|
|
1cb45e24c5 | ||
|
|
7ab175d8b6 | ||
|
|
31ff948c6d | ||
|
|
fa2590d41e | ||
|
|
0e77348285 | ||
|
|
608656be73 | ||
|
|
58c56623af | ||
|
|
f05c12b2ee | ||
|
|
4b802d4727 | ||
|
|
ffd6f2ca94 | ||
|
|
c309c20268 | ||
|
|
3d75e97b20 | ||
|
|
e23ebd1011 | ||
|
|
707a9bd64e | ||
|
|
6c567e247a | ||
|
|
132d9b47f0 | ||
|
|
5090aa76ea | ||
|
|
61e6b82bc3 | ||
|
|
533d7d55a8 | ||
|
|
7513ba1255 | ||
|
|
a560085ac9 | ||
|
|
f9ceeba358 | ||
|
|
c5d59a4505 | ||
|
|
0a6f6eda09 | ||
|
|
ca8b206912 | ||
|
|
3aea0376bc | ||
|
|
7751c01463 | ||
|
|
5699937179 | ||
|
|
abb7e64613 | ||
|
|
f31d3b9b09 | ||
|
|
a7515baf69 | ||
|
|
888f86d8bb |
No files matched your search
@@ -0,0 +1,19 @@
|
||||
# This is the universal Text Editor Configuration
|
||||
# for all GTNewHorizons projects
|
||||
# See: https://editorconfig.org/
|
||||
|
||||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
indent_size = 4
|
||||
indent_style = space
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[*.{bat,ini}]
|
||||
end_of_line = crlf
|
||||
|
||||
[*.{dtd,json,info,mcmeta,md,sh,svg,xml,xsd,xsl,yaml,yml}]
|
||||
indent_size = 2
|
||||
@@ -0,0 +1,2 @@
|
||||
# Ignore spotlessApply reformat
|
||||
f1069a91f1b2ea9469775696c097dd6fb484e6e8
|
||||
@@ -0,0 +1,44 @@
|
||||
* text eol=lf
|
||||
|
||||
*.[jJ][aA][rR] binary
|
||||
|
||||
*.[pP][nN][gG] binary
|
||||
*.[jJ][pP][gG] binary
|
||||
*.[jJ][pP][eE][gG] binary
|
||||
*.[gG][iI][fF] binary
|
||||
*.[tT][iI][fF] binary
|
||||
*.[tT][iI][fF][fF] binary
|
||||
*.[iI][cC][oO] binary
|
||||
*.[sS][vV][gG] text
|
||||
*.[eE][pP][sS] binary
|
||||
*.[xX][cC][fF] binary
|
||||
|
||||
*.[kK][aA][rR] binary
|
||||
*.[mM]4[aA] binary
|
||||
*.[mM][iI][dD] binary
|
||||
*.[mM][iI][dD][iI] binary
|
||||
*.[mM][pP]3 binary
|
||||
*.[oO][gG][gG] binary
|
||||
*.[rR][aA] binary
|
||||
|
||||
*.7[zZ] binary
|
||||
*.[gG][zZ] binary
|
||||
*.[tT][aA][rR] binary
|
||||
*.[tT][gG][zZ] binary
|
||||
*.[zZ][iI][pP] binary
|
||||
|
||||
*.[tT][cC][nN] binary
|
||||
*.[sS][oO] binary
|
||||
*.[dD][lL][lL] binary
|
||||
*.[dD][yY][lL][iI][bB] binary
|
||||
*.[pP][sS][dD] binary
|
||||
*.[tT][tT][fF] binary
|
||||
*.[oO][tT][fF] binary
|
||||
|
||||
*.[pP][aA][tT][cC][hH] -text
|
||||
|
||||
*.[bB][aA][tT] text eol=crlf
|
||||
*.[cC][mM][dD] text eol=crlf
|
||||
*.[pP][sS]1 text eol=crlf
|
||||
|
||||
*[aA][uU][tT][oO][gG][eE][nN][eE][rR][aA][tT][eE][dD]* binary
|
||||
Executable
+51
@@ -0,0 +1,51 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# bashsupport disable=BP5006 # Global environment variables
|
||||
RUNDIR="run" \
|
||||
CRASH="crash-reports" \
|
||||
SERVERLOG="server.log"
|
||||
|
||||
# enable nullglob to get 0 results when no match rather than the pattern
|
||||
shopt -s nullglob
|
||||
|
||||
# store matches in array
|
||||
crash_reports=("$RUNDIR/$CRASH/crash"*.txt)
|
||||
|
||||
# if array not empty there are crash_reports
|
||||
if [ "${#crash_reports[@]}" -gt 0 ]; then
|
||||
# get the latest crash_report from array
|
||||
latest_crash_report="${crash_reports[-1]}"
|
||||
{
|
||||
printf 'Latest crash report detected %s:\n' "${latest_crash_report##*/}"
|
||||
cat "$latest_crash_report"
|
||||
} >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if grep --quiet --fixed-strings 'Fatal errors were detected' "$SERVERLOG"; then
|
||||
{
|
||||
printf 'Fatal errors detected:\n'
|
||||
cat server.log
|
||||
} >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if grep --quiet --fixed-strings 'The state engine was in incorrect state ERRORED and forced into state SERVER_STOPPED' \
|
||||
"$SERVERLOG"; then
|
||||
{
|
||||
printf 'Server force stopped:'
|
||||
cat server.log
|
||||
} >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! grep --quiet --perl-regexp --only-matching '.+Done \(.+\)\! For help, type "help" or "\?"' "$SERVERLOG"; then
|
||||
{
|
||||
printf 'Server did not finish startup:'
|
||||
cat server.log
|
||||
} >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
printf 'No crash reports detected'
|
||||
exit 0
|
||||
@@ -0,0 +1,13 @@
|
||||
|
||||
name: Build and test
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ master, main ]
|
||||
push:
|
||||
branches: [ master, main ]
|
||||
|
||||
jobs:
|
||||
build-and-test:
|
||||
uses: GTNewHorizons/GTNH-Actions-Workflows/.github/workflows/build-and-test.yml@master
|
||||
secrets: inherit
|
||||
@@ -0,0 +1,14 @@
|
||||
|
||||
name: Release tagged build
|
||||
|
||||
on:
|
||||
push:
|
||||
tags: [ '*' ]
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
release-tags:
|
||||
uses: GTNewHorizons/GTNH-Actions-Workflows/.github/workflows/release-tags.yml@master
|
||||
secrets: inherit
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
.gradle
|
||||
.settings
|
||||
/.idea/
|
||||
/run/
|
||||
/build/
|
||||
/eclipse/
|
||||
.classpath
|
||||
.project
|
||||
/bin/
|
||||
/config/
|
||||
/crash-reports/
|
||||
/logs/
|
||||
options.txt
|
||||
/saves/
|
||||
usernamecache.json
|
||||
banned-ips.json
|
||||
banned-players.json
|
||||
eula.txt
|
||||
ops.json
|
||||
server.properties
|
||||
servers.dat
|
||||
usercache.json
|
||||
whitelist.json
|
||||
/out/
|
||||
*.iml
|
||||
*.ipr
|
||||
*.iws
|
||||
src/main/resources/mixins.*.json
|
||||
*.bat
|
||||
*.DS_Store
|
||||
!gradlew.bat
|
||||
@@ -0,0 +1,3 @@
|
||||
# Any Github changes require admin approval
|
||||
/.github/** @GTNewHorizons/admin
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
Copyright © 2013 MysteriousAges
|
||||
This work is free. You can redistribute it and/or modify it under the
|
||||
terms of the Do What The Fuck You Want To Public License, Version 2,
|
||||
as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.
|
||||
@@ -0,0 +1,13 @@
|
||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||
Version 2, December 2004
|
||||
|
||||
Copyright (C) 2004 Sam Hocevar <[email protected]>
|
||||
|
||||
Everyone is permitted to copy and distribute verbatim or modified
|
||||
copies of this license document, and changing it is allowed as long
|
||||
as the name is changed.
|
||||
|
||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. You just DO WHAT THE FUCK YOU WANT TO.
|
||||
@@ -0,0 +1,25 @@
|
||||
# MagicBees
|
||||
Magic Bees is an addon for Forestry that adds several new bee species with a magical theme. Breeding them will help you brew potions, or give you extra ways to make resources for other magic-themed mods such as Thaumcraft and Ars Magica.
|
||||
|
||||
## Installation
|
||||
Magic Bees depends on Forestry, which is required. You may [download Forestry here](http://www.curse.com/mc-mods/minecraft/forestry).
|
||||
|
||||
Minecraft Forge is also needed to run Forestry. Magic Bees will usually work with whichever version of Forge Forestry requires.
|
||||
|
||||
To install, simply download the mod from [CurseForge](http://minecraft.curseforge.com/mc-mods/65764-magic-bees) and place in the mods folder of your Minecraft instance.
|
||||
|
||||
## Compatability
|
||||
Adding the following mods will result in additional features being unlocked:
|
||||
* [Extra Bees](http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1284348-1-7-10-1-6-4-forestry-binnies-mods-1-8-0-2-0-dev) - Mutations to get the Thaumic Bees species will use Extra Bees species in some cases. If Thaumcraft is installed, TB will add aspects to Extra Bees items. You will also get access to Thaumic Bees alleles though the genetic machines.
|
||||
* [Thaumcraft](http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1292130-thaumcraft-4-2-3-0-updated-2015-1-5) - Adds several tools related to Thaumcraft & Forestry, as well as adding Thaumcraft aspects to many Forestry items and blocks.
|
||||
* [Equivalent Exchange 3](http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1286564-equivalent-exchange-3-0-1-142) - Adds the Minium Bee, which produces Minium Shards. More features to come in the future.
|
||||
* [Ars Magica](http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1286036-ars-magica-v5-52-014-updated-august-2-1-5-2) - Adds 13 bee species that interact with Ars Magica, or produce AM items.
|
||||
* [Tinker's Construct](http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2218638-tinkers-construct) - Adds 3 new bee species to help produce some of the higher tier metals. The Aluminum bee will also help with producing some lower-tier alloys as well.
|
||||
|
||||
## License
|
||||
|
||||
MagicBees is licesed under the WTFPL ( http://www.wtfpl.net/ )
|
||||
|
||||
Seriously, do whatever. Just don't ask us to support it if we didn't distribute it. =D
|
||||
|
||||
We didn't distribute it if you downloaded it from a site other than CurseForge, or from a modpack that does not use CurseForge as their source.
|
||||
+1608
File diff suppressed because it is too large.
Load diff
@@ -1,3 +1,90 @@
|
||||
2.1.22
|
||||
+ Added configoption to change thaumcraft saplingdroprate using thaumiumgrafter
|
||||
* First 1.7.10 update on CurseForge! Woohoo!
|
||||
* Updated chinese translation courtesy of Astrologers
|
||||
* Fixed texturebugs with thaumium scoop and grafter
|
||||
* Fixed backpack issues. Hopefully fixed for real this time
|
||||
|
||||
2.1.21
|
||||
* Bumped forestry requirement to 3.0.0.174 (Might work with lower versions, untested)
|
||||
* Fixed issue with Thaumic tools not having icons/localized names
|
||||
|
||||
2.1.20
|
||||
* Fixes crash due to not registrering backpack correctly
|
||||
* Fixes crash when breeding metal bees
|
||||
* Fixed a missing configoption
|
||||
* Started work on ThaumicApiary
|
||||
|
||||
2.1.19
|
||||
* Updated to Forestry 3. This is now required.
|
||||
* Updated Thaumcraft integration to work in 1.7.10
|
||||
* Updated ExtraBees integration
|
||||
* Changed all language files to the .lang format
|
||||
|
||||
2.1.18
|
||||
* A few critical bugfixes to stop centrifuge crashes.
|
||||
|
||||
2.1.13
|
||||
Updated to 1.7.2.
|
||||
|
||||
2.1.12
|
||||
Changing hive gen to use isGenMineableReplaceable, which should make Deep hives spawn in Underground Biomes stone.
|
||||
Fixing logic error in handling world gen/retrogen
|
||||
|
||||
2.1.11
|
||||
Thermal Expansion & Redstone Arsenal bees, courtesy of jadedcat.
|
||||
Adding missing loc string for Blinding speed allele
|
||||
|
||||
2.1.10
|
||||
Changing Aluminum bees to use changed ore dictionary entries. mDiyo Houuuuuuuuuuuuuuuuuse!
|
||||
Updating AM2 mob-spawning bees to use newer names.
|
||||
|
||||
2.1.9
|
||||
Adding configuration option to not spawn special hives in Magic Biomes for people who hate fun, and specialness.
|
||||
Adding a shadow to the Tempus aspect for Vazkii.
|
||||
Possibly fixing issues with fluid containers.
|
||||
|
||||
2.1.8
|
||||
Fixing inconcistent recipes between Thaumonomicon & actual crafting
|
||||
Added missing centrifuge recipe for the Transmuting combs. This is the source of Unstable Propolis.
|
||||
|
||||
2.1.7
|
||||
Some non-bee bug removals.
|
||||
Magnets are ... a bit expensive. >_>;
|
||||
|
||||
2.1.6
|
||||
How about not crashing because I forgot a colour tuple? >.>
|
||||
Presenting a new bee species: You can't see it though, because it's invisible. >_>
|
||||
|
||||
2.1.5
|
||||
Behold! The Mysterious Magnet! It attracts items to it, and thus, you, from great distances! (well, greater than your arms anyhow.)
|
||||
Updating TC4 API for when it releases.
|
||||
|
||||
2.1.4
|
||||
Some cleanup of Helper code
|
||||
Hammering out rest of Transmutation effect, and exposing parts of it in an API so other people can hook into it if they want.
|
||||
Have some Ars Magica 2 integration.
|
||||
Also, have some Thaumcraft 4 integration!
|
||||
|
||||
2.1.3
|
||||
Added a new mini bee branch: Polymorphic. It is said Unusual bees can have some unusual effects on the world if they are advanced...
|
||||
Altered mutation to get Minium bees to fit into the Polymorphic branch.
|
||||
Crumbling effect ages the area around the hive.
|
||||
Added an IMC Handler to allow other mods to send an IMC message with key 'addCrumblePair" and a value containing two NBT tags
|
||||
'source' and 'target' for ItemStacks of the source block and target block. Blocks added on a first-come-first-serve basis.
|
||||
Only one entry per source block is accepted. Several vanilla defaults are provided, can be overridden using IMC.
|
||||
Changing humidity tolerance of Sorcerous bees to be actually useful.
|
||||
Fixed issues with the bee effects rendering (the little bee icons that shoot out of the bee machine while they work) for custom effects.
|
||||
|
||||
2.1.2
|
||||
Fixed issue with mob spawning effects incorrectly checking for effect data variables.
|
||||
Updating localization files (RU, DE)
|
||||
|
||||
2.1.1
|
||||
Reworking some language entries & code to enable string formatting in capsule names.
|
||||
Localization file updates.
|
||||
Tinker's Construct bees (Ardite, Cobalt, Manyullyn) and Aluminum bees.
|
||||
|
||||
2.1.0
|
||||
Added new permanent methods for crafting all frames. These will be available even when Thaumcraft is installed.
|
||||
Removed temporary frame recipes which used to be available when Thaumcraft was not installed.
|
||||
@@ -0,0 +1,14 @@
|
||||
// Add your dependencies here
|
||||
|
||||
dependencies {
|
||||
compile('com.github.GTNewHorizons:ForestryMC:4.7.0:dev')
|
||||
|
||||
compileOnly('com.github.GTNewHorizons:BloodMagic:1.4.3:dev')
|
||||
compileOnly('com.github.GTNewHorizons:ThaumicHorizons:1.4.0:dev')
|
||||
compileOnly('com.github.GTNewHorizons:Baubles:1.0.3:dev') {transitive = false}
|
||||
compileOnly('com.github.GTNewHorizons:Botania:1.10.3-GTNH:api') {transitive = false}
|
||||
compileOnly('thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev') {transitive = false}
|
||||
compileOnly('com.github.GTNewHorizons:GT5-Unofficial:5.09.44.101:dev') { transitive = false }
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
modName = Magic Bees
|
||||
|
||||
# This is a case-sensitive string to identify your mod. Convention is to use lower case.
|
||||
modId = MagicBees
|
||||
|
||||
modGroup = magicbees
|
||||
|
||||
# WHY is there no version field?
|
||||
# The build script relies on git to provide a version via tags. It is super easy and will enable you to always know the
|
||||
# code base or your binary. Check out this tutorial: https://blog.mattclemente.com/2017/10/13/versioning-with-git-tags/
|
||||
|
||||
# Will update your build.gradle automatically whenever an update is available
|
||||
autoUpdateBuildScript = false
|
||||
|
||||
minecraftVersion = 1.7.10
|
||||
forgeVersion = 10.13.4.1614
|
||||
|
||||
# Select a username for testing your mod with breakpoints. You may leave this empty for a random user name each time you
|
||||
# restart Minecraft in development. Choose this dependent on your mod:
|
||||
# Do you need consistent player progressing (for example Thaumcraft)? -> Select a name
|
||||
# Do you need to test how your custom blocks interacts with a player that is not the owner? -> leave name empty
|
||||
developmentEnvironmentUserName = Developer
|
||||
|
||||
# Define a source file of your project with:
|
||||
# public static final String VERSION = "GRADLETOKEN_VERSION";
|
||||
# The string's content will be replaced with your mods version when compiled. You should use this to specify your mod's
|
||||
# version in @Mod([...], version = VERSION, [...])
|
||||
# Leave these properties empty to skip individual token replacements
|
||||
replaceGradleTokenInFile = VersionInfo.java
|
||||
gradleTokenModId =
|
||||
gradleTokenModName =
|
||||
gradleTokenVersion = GRADLETOKEN_VERSION
|
||||
gradleTokenGroupName =
|
||||
|
||||
# In case your mod provides an API for other mods to implement you may declare its package here. Otherwise, you can
|
||||
# leave this property empty.
|
||||
# Example value: apiPackage = api + modGroup = com.myname.mymodid -> com.myname.mymodid.api
|
||||
apiPackage = api
|
||||
|
||||
# Specify the configuration file for Forge's access transformers here. I must be placed into /src/main/resources/META-INF/
|
||||
# Example value: mymodid_at.cfg
|
||||
accessTransformersFile =
|
||||
|
||||
# Provides setup for Mixins if enabled. If you don't know what mixins are: Keep it disabled!
|
||||
usesMixins = false
|
||||
# Specify the location of your implementation of IMixinConfigPlugin. Leave it empty otherwise.
|
||||
mixinPlugin =
|
||||
# Specify the package that contains all of your Mixins. You may only place Mixins in this package or the build will fail!
|
||||
mixinsPackage =
|
||||
# Specify the core mod entry class if you use a core mod. This class must implement IFMLLoadingPlugin!
|
||||
# This parameter is for legacy compatibility only
|
||||
# Example value: coreModClass = asm.FMLPlugin + modGroup = com.myname.mymodid -> com.myname.mymodid.asm.FMLPlugin
|
||||
coreModClass =
|
||||
# If your project is only a consolidation of mixins or a core mod and does NOT contain a 'normal' mod ( = some class
|
||||
# that is annotated with @Mod) you want this to be true. When in doubt: leave it on false!
|
||||
containsMixinsAndOrCoreModOnly = false
|
||||
|
||||
# If enabled, you may use 'shadowCompile' for dependencies. They will be integrated in your jar. It is your
|
||||
# responsibility check the licence and request permission for distribution, if required.
|
||||
usesShadowedDependencies = false
|
||||
|
||||
# Optional parameter to customize the produced artifacts. Use this to preserver artifact naming when migrating older
|
||||
# projects. New projects should not use this parameter.
|
||||
customArchiveBaseName = magicbees
|
||||
Vendored
BIN
Binary file not shown.
+6
@@ -0,0 +1,6 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
|
||||
networkTimeout=10000
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
@@ -0,0 +1,245 @@
|
||||
#!/bin/sh
|
||||
|
||||
#
|
||||
# Copyright © 2015-2021 the original authors.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# https://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
##############################################################################
|
||||
#
|
||||
# Gradle start up script for POSIX generated by Gradle.
|
||||
#
|
||||
# Important for running:
|
||||
#
|
||||
# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is
|
||||
# noncompliant, but you have some other compliant shell such as ksh or
|
||||
# bash, then to run this script, type that shell name before the whole
|
||||
# command line, like:
|
||||
#
|
||||
# ksh Gradle
|
||||
#
|
||||
# Busybox and similar reduced shells will NOT work, because this script
|
||||
# requires all of these POSIX shell features:
|
||||
# * functions;
|
||||
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
|
||||
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
|
||||
# * compound commands having a testable exit status, especially «case»;
|
||||
# * various built-in commands including «command», «set», and «ulimit».
|
||||
#
|
||||
# Important for patching:
|
||||
#
|
||||
# (2) This script targets any POSIX shell, so it avoids extensions provided
|
||||
# by Bash, Ksh, etc; in particular arrays are avoided.
|
||||
#
|
||||
# The "traditional" practice of packing multiple parameters into a
|
||||
# space-separated string is a well documented source of bugs and security
|
||||
# problems, so this is (mostly) avoided, by progressively accumulating
|
||||
# options in "$@", and eventually passing that to Java.
|
||||
#
|
||||
# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
|
||||
# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly;
|
||||
# see the in-line comments for details.
|
||||
#
|
||||
# There are tweaks for specific operating systems such as AIX, CygWin,
|
||||
# Darwin, MinGW, and NonStop.
|
||||
#
|
||||
# (3) This script is generated from the Groovy template
|
||||
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
||||
# within the Gradle project.
|
||||
#
|
||||
# You can find Gradle at https://github.com/gradle/gradle/.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
# Attempt to set APP_HOME
|
||||
|
||||
# Resolve links: $0 may be a link
|
||||
app_path=$0
|
||||
|
||||
# Need this for daisy-chained symlinks.
|
||||
while
|
||||
APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path
|
||||
[ -h "$app_path" ]
|
||||
do
|
||||
ls=$( ls -ld "$app_path" )
|
||||
link=${ls#*' -> '}
|
||||
case $link in #(
|
||||
/*) app_path=$link ;; #(
|
||||
*) app_path=$APP_HOME$link ;;
|
||||
esac
|
||||
done
|
||||
|
||||
# This is normally unused
|
||||
# shellcheck disable=SC2034
|
||||
APP_BASE_NAME=${0##*/}
|
||||
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
|
||||
|
||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||
MAX_FD=maximum
|
||||
|
||||
warn () {
|
||||
echo "$*"
|
||||
} >&2
|
||||
|
||||
die () {
|
||||
echo
|
||||
echo "$*"
|
||||
echo
|
||||
exit 1
|
||||
} >&2
|
||||
|
||||
# OS specific support (must be 'true' or 'false').
|
||||
cygwin=false
|
||||
msys=false
|
||||
darwin=false
|
||||
nonstop=false
|
||||
case "$( uname )" in #(
|
||||
CYGWIN* ) cygwin=true ;; #(
|
||||
Darwin* ) darwin=true ;; #(
|
||||
MSYS* | MINGW* ) msys=true ;; #(
|
||||
NONSTOP* ) nonstop=true ;;
|
||||
esac
|
||||
|
||||
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
||||
|
||||
|
||||
# Determine the Java command to use to start the JVM.
|
||||
if [ -n "$JAVA_HOME" ] ; then
|
||||
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
||||
# IBM's JDK on AIX uses strange locations for the executables
|
||||
JAVACMD=$JAVA_HOME/jre/sh/java
|
||||
else
|
||||
JAVACMD=$JAVA_HOME/bin/java
|
||||
fi
|
||||
if [ ! -x "$JAVACMD" ] ; then
|
||||
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
else
|
||||
JAVACMD=java
|
||||
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
|
||||
# Increase the maximum file descriptors if we can.
|
||||
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
|
||||
case $MAX_FD in #(
|
||||
max*)
|
||||
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
|
||||
# shellcheck disable=SC3045
|
||||
MAX_FD=$( ulimit -H -n ) ||
|
||||
warn "Could not query maximum file descriptor limit"
|
||||
esac
|
||||
case $MAX_FD in #(
|
||||
'' | soft) :;; #(
|
||||
*)
|
||||
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
|
||||
# shellcheck disable=SC3045
|
||||
ulimit -n "$MAX_FD" ||
|
||||
warn "Could not set maximum file descriptor limit to $MAX_FD"
|
||||
esac
|
||||
fi
|
||||
|
||||
# Collect all arguments for the java command, stacking in reverse order:
|
||||
# * args from the command line
|
||||
# * the main class name
|
||||
# * -classpath
|
||||
# * -D...appname settings
|
||||
# * --module-path (only if needed)
|
||||
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.
|
||||
|
||||
# For Cygwin or MSYS, switch paths to Windows format before running java
|
||||
if "$cygwin" || "$msys" ; then
|
||||
APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
|
||||
CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
|
||||
|
||||
JAVACMD=$( cygpath --unix "$JAVACMD" )
|
||||
|
||||
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
||||
for arg do
|
||||
if
|
||||
case $arg in #(
|
||||
-*) false ;; # don't mess with options #(
|
||||
/?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
|
||||
[ -e "$t" ] ;; #(
|
||||
*) false ;;
|
||||
esac
|
||||
then
|
||||
arg=$( cygpath --path --ignore --mixed "$arg" )
|
||||
fi
|
||||
# Roll the args list around exactly as many times as the number of
|
||||
# args, so each arg winds up back in the position where it started, but
|
||||
# possibly modified.
|
||||
#
|
||||
# NB: a `for` loop captures its iteration list before it begins, so
|
||||
# changing the positional parameters here affects neither the number of
|
||||
# iterations, nor the values presented in `arg`.
|
||||
shift # remove old arg
|
||||
set -- "$@" "$arg" # push replacement arg
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
||||
|
||||
# Collect all arguments for the java command;
|
||||
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
|
||||
# shell script including quotes and variable substitutions, so put them in
|
||||
# double quotes to make sure that they get re-expanded; and
|
||||
# * put everything else in single quotes, so that it's not re-expanded.
|
||||
|
||||
set -- \
|
||||
"-Dorg.gradle.appname=$APP_BASE_NAME" \
|
||||
-classpath "$CLASSPATH" \
|
||||
org.gradle.wrapper.GradleWrapperMain \
|
||||
"$@"
|
||||
|
||||
# Stop when "xargs" is not available.
|
||||
if ! command -v xargs >/dev/null 2>&1
|
||||
then
|
||||
die "xargs is not available"
|
||||
fi
|
||||
|
||||
# Use "xargs" to parse quoted args.
|
||||
#
|
||||
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
|
||||
#
|
||||
# In Bash we could simply go:
|
||||
#
|
||||
# readarray ARGS < <( xargs -n1 <<<"$var" ) &&
|
||||
# set -- "${ARGS[@]}" "$@"
|
||||
#
|
||||
# but POSIX shell has neither arrays nor command substitution, so instead we
|
||||
# post-process each arg (as a line of input to sed) to backslash-escape any
|
||||
# character that might be a shell metacharacter, then use eval to reverse
|
||||
# that process (while maintaining the separation between arguments), and wrap
|
||||
# the whole thing up as a single "set" statement.
|
||||
#
|
||||
# This will of course break if any of these variables contains a newline or
|
||||
# an unmatched quote.
|
||||
#
|
||||
|
||||
eval "set -- $(
|
||||
printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
|
||||
xargs -n1 |
|
||||
sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
|
||||
tr '\n' ' '
|
||||
)" '"$@"'
|
||||
|
||||
exec "$JAVACMD" "$@"
|
||||
Vendored
+92
@@ -0,0 +1,92 @@
|
||||
@rem
|
||||
@rem Copyright 2015 the original author or authors.
|
||||
@rem
|
||||
@rem Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@rem you may not use this file except in compliance with the License.
|
||||
@rem You may obtain a copy of the License at
|
||||
@rem
|
||||
@rem https://www.apache.org/licenses/LICENSE-2.0
|
||||
@rem
|
||||
@rem Unless required by applicable law or agreed to in writing, software
|
||||
@rem distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
@rem See the License for the specific language governing permissions and
|
||||
@rem limitations under the License.
|
||||
@rem
|
||||
|
||||
@if "%DEBUG%"=="" @echo off
|
||||
@rem ##########################################################################
|
||||
@rem
|
||||
@rem Gradle startup script for Windows
|
||||
@rem
|
||||
@rem ##########################################################################
|
||||
|
||||
@rem Set local scope for the variables with windows NT shell
|
||||
if "%OS%"=="Windows_NT" setlocal
|
||||
|
||||
set DIRNAME=%~dp0
|
||||
if "%DIRNAME%"=="" set DIRNAME=.
|
||||
@rem This is normally unused
|
||||
set APP_BASE_NAME=%~n0
|
||||
set APP_HOME=%DIRNAME%
|
||||
|
||||
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
|
||||
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
|
||||
|
||||
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
|
||||
|
||||
@rem Find java.exe
|
||||
if defined JAVA_HOME goto findJavaFromJavaHome
|
||||
|
||||
set JAVA_EXE=java.exe
|
||||
%JAVA_EXE% -version >NUL 2>&1
|
||||
if %ERRORLEVEL% equ 0 goto execute
|
||||
|
||||
echo.
|
||||
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
echo.
|
||||
echo Please set the JAVA_HOME variable in your environment to match the
|
||||
echo location of your Java installation.
|
||||
|
||||
goto fail
|
||||
|
||||
:findJavaFromJavaHome
|
||||
set JAVA_HOME=%JAVA_HOME:"=%
|
||||
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
||||
|
||||
if exist "%JAVA_EXE%" goto execute
|
||||
|
||||
echo.
|
||||
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
||||
echo.
|
||||
echo Please set the JAVA_HOME variable in your environment to match the
|
||||
echo location of your Java installation.
|
||||
|
||||
goto fail
|
||||
|
||||
:execute
|
||||
@rem Setup the command line
|
||||
|
||||
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
||||
|
||||
|
||||
@rem Execute Gradle
|
||||
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
|
||||
|
||||
:end
|
||||
@rem End local scope for the variables with windows NT shell
|
||||
if %ERRORLEVEL% equ 0 goto mainEnd
|
||||
|
||||
: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
|
||||
@@ -0,0 +1,2 @@
|
||||
before_install:
|
||||
- ./gradlew setupCIWorkspace
|
||||
@@ -1,171 +0,0 @@
|
||||
<project name="MagicBees" basedir="../../../" default="main">
|
||||
<property name="build.dir" value="build" />
|
||||
<property name="classes.dir" value="${build.dir}/classes" />
|
||||
<property name="resource.dir" value="${build.dir}/mc.dev" />
|
||||
<property name="jar.dir" value="${build.dir}/jar" />
|
||||
|
||||
<property name="src.dir" value="Sources/MagicBees" />
|
||||
<property name="lang.dir" value="Sources/MagicBees/magicbees_res/lang" />
|
||||
|
||||
<property name="forge.dir" value="${build.dir}/forge" />
|
||||
<property name="mcp.dir" value="${forge.dir}/mcp" />
|
||||
<property name="forestry.dir" value="Sources/Forestry/forestry_common/core" />
|
||||
<property name="thaumcraft.dir" value="Sources/Thaumcraft" />
|
||||
|
||||
<property name="clientsrc.dir" value="${mcp.dir}/src/minecraft" />
|
||||
|
||||
<property name="mc.version" value="1.5.2"/>
|
||||
<property name="forge.version" value="7.8.0.700"/>
|
||||
<property name="magicbees.version" value="2.1.0"/>
|
||||
|
||||
<!-- for local deployment only, not used by main -->
|
||||
<property name="deploy.type" value="previews" />
|
||||
<property name="deploy.root" value="C:\Users\Marc\Dropbox\Public\magicBees" />
|
||||
<property name="deploy.dir" value="${deploy.root}\${deploy.type}" />
|
||||
<property name="share.dir" value="C:\Users\Marc\Dropbox\Shared\magicBees" />
|
||||
<property name="local.dir" value="D:\Games\Minecraft\MultiMC\instances\1.4.6 pure\minecraft\mods" />
|
||||
|
||||
<!-- TARGETS -->
|
||||
<target name="clean">
|
||||
<delete dir="${clientsrc.dir}/forestry" />
|
||||
<delete dir="${clientsrc.dir}/thaumcraft" />
|
||||
<delete dir="${clientsrc.dir}/magicbees" />
|
||||
<delete dir="${classes.dir}" />
|
||||
</target>
|
||||
|
||||
<target name="forgeclean">
|
||||
<!-- Unzip forge -->
|
||||
<echo message="Unpacking Forge..." />
|
||||
<unzip dest="${build.dir}">
|
||||
<fileset dir="${resource.dir}">
|
||||
<include name="minecraftforge-src-${mc.version}-${forge.version}.zip"/>
|
||||
</fileset>
|
||||
</unzip>
|
||||
|
||||
<chmod file="${forge.dir}/install.sh" perm="+x"/>
|
||||
|
||||
<!-- Install forge -->
|
||||
<echo message="Installing Forge..." />
|
||||
<exec dir="${forge.dir}" executable="cmd" osfamily="windows">
|
||||
<arg line="/c install.cmd"/>
|
||||
</exec>
|
||||
|
||||
<exec dir="${forge.dir}" executable="sh" osfamily="unix">
|
||||
<arg value="install.sh" />
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="setup">
|
||||
<!-- Set build number -->
|
||||
<buildnumber file="${src.dir}/magicbees_res/build.number"/>
|
||||
|
||||
<!-- Copy source -->
|
||||
<echo message="Copying Source" />
|
||||
<copy todir="${clientsrc.dir}">
|
||||
<fileset dir="${forestry.dir}">
|
||||
<include name="forestry/api/**" />
|
||||
</fileset>
|
||||
<fileset dir="${thaumcraft.dir}/">
|
||||
<include name="thaumcraft/api/**" />
|
||||
</fileset>
|
||||
<fileset dir="${src.dir}/magicbees_src">
|
||||
<include name="**/magicbees/**" />
|
||||
<include name="**/forestry/**" />
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
<copy todir="${clientsrc.dir}" overwrite="true" failonerror="true">
|
||||
<fileset dir="${src.dir}/magicbees_src">
|
||||
<include name="**/VersionInfo.java" />
|
||||
</fileset>
|
||||
<filterset>
|
||||
<filter token="MCVERSION" value="${mc.version}" />
|
||||
<filter token="VERSION" value="${magicbees.version}" />
|
||||
<filter token="BUILD_NUMBER" value="${build.number}" />
|
||||
<filter token="FINGERPRINT" value="${key.fingerprint}" />
|
||||
</filterset>
|
||||
</copy>
|
||||
|
||||
</target>
|
||||
|
||||
<!-- COMPILATION -->
|
||||
<target name="compile">
|
||||
|
||||
<!-- Recompile -->
|
||||
<exec dir="${mcp.dir}" executable="cmd" osfamily="windows">
|
||||
<arg line="/c recompile.bat"/>
|
||||
</exec>
|
||||
|
||||
<exec dir="${mcp.dir}" executable="sh" osfamily="unix">
|
||||
<arg value="recompile.sh" />
|
||||
</exec>
|
||||
|
||||
<!-- Reobf -->
|
||||
<exec dir="${mcp.dir}" executable="cmd" osfamily="windows">
|
||||
<arg line="/c reobfuscate_srg.bat"/>
|
||||
</exec>
|
||||
|
||||
<exec dir="${mcp.dir}" executable="sh" osfamily="unix">
|
||||
<arg value="reobfuscate.sh_srg" />
|
||||
</exec>
|
||||
|
||||
<!-- Copy classes -->
|
||||
<copy todir="${classes.dir}/client">
|
||||
<fileset dir="${mcp.dir}/reobf/minecraft">
|
||||
<exclude name="forestry/api/**" />
|
||||
|
||||
<include name="**/magicbees/**" />
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
<!-- Copy magicBees resources -->
|
||||
<copy todir="${classes.dir}/client">
|
||||
<fileset dir="${src.dir}/magicbees_res">
|
||||
<exclude name="build.xml"/>
|
||||
<exclude name="build.number"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
<copy todir="${classes.dir}/client" overwrite="true" failonerror="true">
|
||||
<fileset dir="${src.dir}/magicbees_res">
|
||||
<include name="**/mcmod.info" />
|
||||
</fileset>
|
||||
<filterset>
|
||||
<filter token="MODVERSION" value="${magicbees.version}" />
|
||||
</filterset>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- Package the jars -->
|
||||
<target name="package" depends="setup,compile">
|
||||
<echo message="Packaging basic jar..." />
|
||||
<jar destfile="${jar.dir}/magicbees-${magicbees.version}-${build.number}.jar" basedir="${classes.dir}/client"/>
|
||||
</target>
|
||||
|
||||
<!-- Deploy to private share -->
|
||||
<target name="deploy.private" depends="clean,package">
|
||||
<copy todir="${local.dir}">
|
||||
<fileset dir="${jar.dir}">
|
||||
<include name="magicbees-*.jar" />
|
||||
</fileset>
|
||||
</copy>
|
||||
<copy todir="${share.dir}/">
|
||||
<fileset dir="${jar.dir}">
|
||||
<include name="magicbees-*.jar" />
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- Deploy to public share -->
|
||||
<target name="deploy.public" depends="deploy.private">
|
||||
<copy todir="${deploy.dir}">
|
||||
<fileset dir="${jar.dir}">
|
||||
<include name="magicbees-*.jar" />
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- Clean build target without copying of jars -->
|
||||
<target name="main" depends="clean,package" />
|
||||
|
||||
</project>
|
||||
@@ -1,12 +0,0 @@
|
||||
[
|
||||
{
|
||||
"modid": "MagicBees",
|
||||
"version": "@MODVERSION@ (build @BUILD_NUMBER@)",
|
||||
"name": "Magic Bees",
|
||||
"url": "http://bit.ly/XFDvLY",
|
||||
"description": "Magic themed bee expansion for Forestry. TC3, EE3, AM compatible!",
|
||||
"authors": [ "MysteriousAges" ],
|
||||
"credits": "SirSengir, Azanor, Binnie & the Forestry Dev peeps",
|
||||
"logoFile": "/mods/magicbees/textures/logo.png"
|
||||
}
|
||||
]
|
||||
@@ -1,486 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
|
||||
<properties version="1.0">
|
||||
<!-- Item names -->
|
||||
<entry key="item.magicbees:jellyBabies.name">Handvoll Gummibärchen</entry>
|
||||
<entry key="item.magicbees:thaumiumScoop.name">Thaumium-Kescher</entry>
|
||||
<entry key="item.magicbees:thaumiumGrafter.name">Thaumium-Gartenschere</entry>
|
||||
|
||||
<!-- Specially handled Item names -->
|
||||
<entry key="item.moonDial.name">Jade-Mondskala</entry>
|
||||
|
||||
<!-- Block names -->
|
||||
<entry key="tile.planks.greatwood.name">Greatwood-Planken</entry>
|
||||
<entry key="tile.slab.wood.greatwood.name">Greatwood-Stufe</entry>
|
||||
<entry key="tile.planks.silverwood.name">Silverwood-Planken</entry>
|
||||
<entry key="tile.slab.wood.silverwood.name">Silverwood-Stufe</entry>
|
||||
<entry key="tile.effectJar.name">Glas des Bienensammlers</entry>
|
||||
<entry key="tile.hive.curious.name">Seltsamer Bienenstock</entry>
|
||||
<entry key="tile.hive.unusual.name">Ungewöhnlicher Bienenstock</entry>
|
||||
<entry key="tile.hive.deep.name">Tiefer Bienenstock</entry>
|
||||
<entry key="tile.hive.resonant.name">Hallender Bienenstock</entry>
|
||||
<entry key="tile.hive.infernal.name">Höllischer Bienenstock</entry>
|
||||
<entry key="tile.hive.oblivion.name">Vergessenheits-Bienenstock</entry>
|
||||
|
||||
<!-- Comb names -->
|
||||
<entry key="comb.mundane">Gewöhnliche Wabe</entry>
|
||||
<entry key="comb.molten">Geschmolzene Wabe</entry>
|
||||
<entry key="comb.forgotten">Vergessene Wabe</entry>
|
||||
<entry key="comb.occult">Okkulte Wabe</entry>
|
||||
<entry key="comb.otherworldly">Jenseitige Wabe</entry>
|
||||
<entry key="comb.paper">Papierwabe</entry>
|
||||
<entry key="comb.soul">Seelenwabe</entry>
|
||||
<entry key="comb.furtive">Verstohlene Wabe</entry>
|
||||
<entry key="comb.aware">Gedächtniswabe</entry>
|
||||
<entry key="comb.time">Zeit-Wabe</entry>
|
||||
<entry key="comb.harmonizing">Harmonisierende Wabe</entry>
|
||||
<entry key="comb.air">Luftige Wabe</entry>
|
||||
<entry key="comb.fire">Feurige Wabe</entry>
|
||||
<entry key="comb.water">Wässrige Wabe</entry>
|
||||
<entry key="comb.earth">Irdene Wabe</entry>
|
||||
<entry key="comb.magic">Magische Wabe</entry>
|
||||
<entry key="comb.essence">Essenzwabe</entry>
|
||||
<entry key="comb.potent">Mächtige Wabe</entry>
|
||||
|
||||
<!-- Wax names -->
|
||||
<entry key="wax.magic">Magisches Wachs</entry>
|
||||
<entry key="wax.soul">Seelenvolles Wachs</entry>
|
||||
<entry key="wax.amnesic">Amnesisches Wachs</entry>
|
||||
|
||||
<!-- Drop names -->
|
||||
<entry key="drop.enchanting">Bezaubernder Tropfen</entry>
|
||||
<entry key="drop.intellect">Verstandestropfen</entry>
|
||||
|
||||
<!-- Pollen names -->
|
||||
<entry key="pollen.unusual">Ungewöhnliche Pollen</entry>
|
||||
<entry key="pollen.phased">Geschichtete Pollen</entry>
|
||||
|
||||
<!-- Nugget names -->
|
||||
<entry key="nugget.iron">Eisenklumpen</entry>
|
||||
<entry key="nugget.steel">Stahlklumpen</entry>
|
||||
<entry key="nugget.copper">Kupferklumpen</entry>
|
||||
<entry key="nugget.tin">Zinnklumpen</entry>
|
||||
<entry key="nugget.silver">Silberklumpen</entry>
|
||||
<entry key="nugget.lead">Bleiklumpen</entry>
|
||||
<entry key="nugget.diamond">Diamantscherbe</entry>
|
||||
<entry key="nugget.emerald">Smaragdscherbe</entry>
|
||||
<entry key="nugget.apatite">Apatitscherbe</entry>
|
||||
|
||||
<!-- Propolis names -->
|
||||
<entry key="propolis.dull">Trübes Bienenharz</entry>
|
||||
<entry key="propolis.air">Hauchiges Bienenharz</entry>
|
||||
<entry key="propolis.fire">Brennendes Bienenharz</entry>
|
||||
<entry key="propolis.water">Fließendes Bienenharz</entry>
|
||||
<entry key="propolis.earth">Steiniges Bienenharz</entry>
|
||||
<entry key="propolis.magic">Durchzogenes Bienenharz</entry>
|
||||
<entry key="propolis.unstable">Instabiles Bienenharz</entry>
|
||||
|
||||
<!-- Misc Resources -->
|
||||
<entry key="resource.fragment">Wissensfragment</entry>
|
||||
<entry key="resource.lump">Aromatischer Klumpen</entry>
|
||||
<entry key="resource.fertilizer">Konzentriertes Gemisch</entry>
|
||||
<entry key="resource.skullChip">Witherskelett-Knochensplitter</entry>
|
||||
<entry key="resource.skullFragment">Witherskelett-Schädelfragment</entry>
|
||||
<entry key="resource.dragonDust">Drakonischer Staub</entry>
|
||||
<entry key="resource.dragonChunk">Drakonischer Klumpen</entry>
|
||||
<entry key="resource.essenceFalseLife">Essenz des Falschen Lebens</entry>
|
||||
<entry key="resource.essenceShallowGrave">Essenz eines Flachen Grabes</entry>
|
||||
<entry key="resource.startNode">Bienen und Magie</entry>
|
||||
<entry key="resource.crystalAspect">Kristallisierter %s - Aspekt</entry>
|
||||
|
||||
<!-- Frames -->
|
||||
<entry key="item.frameMagic.name">Magisches Rähmchen</entry>
|
||||
<entry key="item.frameResilient.name">Elastisches Rähmchen</entry>
|
||||
<entry key="item.frameGentle.name">Behutsames Rähmchen</entry>
|
||||
<entry key="item.frameMetabolic.name">Metabolisches Rähmchen</entry>
|
||||
<entry key="item.frameNecrotic.name">Nekrotisches Rähmchen</entry>
|
||||
<entry key="item.frameTemporal.name">Zeiträhmchen</entry>
|
||||
<entry key="item.frameOblivion.name">Vergessenheitsrähmchen</entry>
|
||||
|
||||
<!-- Capsule names -->
|
||||
<entry key="capsule.magic">Magische Kapsel</entry>
|
||||
<entry key="capsule.void">Kapsel der Leere</entry>
|
||||
|
||||
<!-- Liquids -->
|
||||
<entry key="liquid.">Leere</entry>
|
||||
<entry key="liquid.water">Wasser</entry>
|
||||
<entry key="liquid.lava">Lava</entry>
|
||||
<entry key="liquid.biomass">Biomasse</entry>
|
||||
<entry key="liquid.biofuel">Biodiesel</entry>
|
||||
<entry key="liquid.Oil">Öl</entry>
|
||||
<entry key="liquid.Fuel">Diesel</entry>
|
||||
<entry key="liquid.seedoil">Samenkernöl</entry>
|
||||
<entry key="liquid.honey">Honig</entry>
|
||||
<entry key="liquid.juice">Saft</entry>
|
||||
<entry key="liquid.ice">Eis</entry>
|
||||
<entry key="liquid.milk">Milkch</entry>
|
||||
<entry key="liquid.acid">Säure</entry>
|
||||
<entry key="liquid.poison">Gift</entry>
|
||||
<entry key="liquid.liquidNitrogen">Flüssiger Stickstoff</entry>
|
||||
<entry key="liquid.liquidDNA">Flüssige DNA</entry>
|
||||
<entry key="liquid.Creosote Oil">Teeröl</entry>
|
||||
<entry key="liquid.Steam">Dampf</entry>
|
||||
|
||||
<!-- Moon Phases -->
|
||||
<entry key="moon.full">Vollmond</entry>
|
||||
<entry key="moon.gibbousWaning">Abnehmender Dreiviertelmond</entry>
|
||||
<entry key="moon.gibbousWaxing">Zunehmender Dreiviertelmond</entry>
|
||||
<entry key="moon.halfWaning">Abnehmender Halbmond</entry>
|
||||
<entry key="moon.halfWaxing">Zunehmender Halbmond</entry>
|
||||
<entry key="moon.crescentWaning">Abnehmender Sichelmond</entry>
|
||||
<entry key="moon.crescentWaxing">Zunehmender Sichelmond</entry>
|
||||
<entry key="moon.new">Neumond</entry>
|
||||
|
||||
<!-- Miscellaneous names -->
|
||||
<entry key="backpack.thaumaturge">Rucksack des Thaumaturgen</entry>
|
||||
<entry key="itemGroup.magicBees">Magische Bienen</entry>
|
||||
|
||||
<!-- Escritoire Strings -->
|
||||
<entry key="research.requiresBlock">Erfordert die Basis des %s</entry>
|
||||
<entry key="research.requiresPhase">Kommt vor zwischen %s and %s</entry>
|
||||
<entry key="research.requiresPhaseSingle">Während des %s</entry>
|
||||
<entry key="research.requiresNode">Kommt nur vor, wenn eine Nodie nahe ist</entry>
|
||||
<entry key="research.requiresNodeSpecific">Kommt nur vor im Einfluss einer %s Nodie</entry>
|
||||
<entry key="research.requiresBiome">Kommt vor in einem %s</entry>
|
||||
<entry key="research.node.pure">Pur</entry>
|
||||
<entry key="research.node.dark">Dunkel</entry>
|
||||
<entry key="research.node.chaotic">Chaotisch</entry>
|
||||
<entry key="research.block.crystals">Kristalltraube</entry>
|
||||
|
||||
<!-- Species names -->
|
||||
<entry key="magicbees.speciesMystical">Mystisch</entry>
|
||||
<entry key="magicbees.speciesMystical.description">Gemein in vielen Teilen der Welt haben diese Bienen
|
||||
ein wenig extra Laune auf sie.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesSorcerous">Magisch</entry>
|
||||
<entry key="magicbees.speciesSorcerous.description"></entry>
|
||||
<entry key="magicbees.speciesUnusual">Ungewöhnlich</entry>
|
||||
<entry key="magicbees.speciesUnusual.description">"Ein seltsames Exemplar für meine
|
||||
Sammlung!"|Junior-Apiarist</entry>
|
||||
<entry key="magicbees.speciesAttuned">Abgestimmt</entry>
|
||||
<entry key="magicbees.speciesAttuned.description">Sie fliegen durch die Luft, als ob sie von ungesehenen
|
||||
Fäden geführt würden.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesEldritch">Unheimlich</entry>
|
||||
<entry key="magicbees.speciesEldritch.description">Das Potential, das in den Vorfahren dieser Bienen
|
||||
verschlossen war, ist nun in den Vordergrund getreten.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesEsoteric">Esoterisch</entry>
|
||||
<entry key="magicbees.speciesEsoteric.description">Eine ungewöhnliche Kreuzung, welche magische
|
||||
Eigenschaften zu haben scheint.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesMysterious">Mysteriös</entry>
|
||||
<entry key="magicbees.speciesMysterious.description">Diese Bienen sind zum Ender der Welt und wieder zurück
|
||||
geflogen, ihre Macht ist dabei gestiegen.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesArcane">Geheimnisvoll</entry>
|
||||
<entry key="magicbees.speciesArcane.description">"Ihre Erzeugnisse sind mit Energie geladen."|Azanor,
|
||||
Master Thaumaturge</entry>
|
||||
|
||||
<entry key="magicbees.speciesCharmed">Bezaubert</entry>
|
||||
<entry key="magicbees.speciesCharmed.description">Deine ersten Versuche in der Thaumcraft-Bienenzucht
|
||||
haben Früchte getragen. Summende Früchte.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesEnchanted">Verzaubert</entry>
|
||||
<entry key="magicbees.speciesEnchanted.description">Erfolgreiche Generationen bezauberter Bienen haben
|
||||
ihre Verbindungen zum Unbekannten verstärkt.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesSupernatural">Übernatürlich</entry>
|
||||
<entry key="magicbees.speciesSupernatural.description">Diese Bienen markieren die Linie zwischen dieser Welt
|
||||
und dem Jenseits.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesEthereal">Ätherisch</entry>
|
||||
<entry key="magicbees.speciesEthereal.description">Geisterhaft, und geladen mit Energie von
|
||||
jenseits.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesWatery">Wässrig</entry>
|
||||
<entry key="magicbees.speciesWatery.description">Mögen feuchte Orte und fließendes Wasser.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesEarthen">Irden</entry>
|
||||
<entry key="magicbees.speciesEarthen.description">Sie haben eine eisenharte Verbundung mit Stein und
|
||||
Erde.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesFirey">Feurig</entry>
|
||||
<entry key="magicbees.speciesFirey.description">So nah, wie man an eine lebende Flamme kommen kann,
|
||||
ohne Glühen zur Folge zu haben.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesWindy">Windig</entry>
|
||||
<entry key="magicbees.speciesWindy.description">Selten in flachen, weiten, offen Räumen gesehen. Ihre
|
||||
Territorien sind gewaltig.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesPupil">Schülerhaft</entry>
|
||||
<entry key="magicbees.speciesPupil.description">"Was will die Biene mit meinem Papier?!"|Yorae,
|
||||
Biblothekar</entry>
|
||||
<entry key="magicbees.speciesScholarly">Schulisch</entry>
|
||||
<entry key="magicbees.speciesScholarly.description">"Ich bin mir nicht sicher, aber ich glaube sie sind
|
||||
schlauer als ich..."|Yorae, Bibliothekar</entry>
|
||||
<entry key="magicbees.speciesSavant">Gelehrt</entry>
|
||||
<entry key="magicbees.speciesSavant.description">lim(x^(i / pi)/ log(e * 7 - ln(32/x^-pi))). Löse nach
|
||||
Honig auf.|Notiz, gefunden auf Yoraes Schreibtisch</entry>
|
||||
|
||||
<entry key="magicbees.speciesAware">Bewusst</entry>
|
||||
<entry key="magicbees.speciesAware.description">"Sie können in deine Seele sehen!"|Florastar,
|
||||
Bienenzucht-Expertin</entry>
|
||||
<entry key="magicbees.speciesSpirit">Geist</entry>
|
||||
<entry key="magicbees.speciesSpirit.description">Es wird erzählt, diese Bienen könnten Kontakt zu den
|
||||
Toten aufnehmen.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesSoul">Seele</entry>
|
||||
<entry key="magicbees.speciesSoul.description">"Der furchtbare Pirat Roberts ist gekommen für deine
|
||||
SEEEEEELE!!"|Furchtbarer Pirat Roberts</entry>
|
||||
|
||||
<entry key="magicbees.speciesSkulking">Schleichend</entry>
|
||||
<entry key="magicbees.speciesSkulking.description">Diese Bienen wurden xenophob und schlecht gelaunt,
|
||||
lass Vorsicht walten!|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesGhastly">Gespenstisch</entry>
|
||||
<entry key="magicbees.speciesGhastly.description">"*seufz*... Ernsthaft?"|Taveria</entry>
|
||||
<entry key="magicbees.speciesSpidery">Spinnig</entry>
|
||||
<entry key="magicbees.speciesSpidery.description">Spinnenbiene; Macht, was auch immer eine Spinnenbiene
|
||||
macht.|Unbekannt</entry>
|
||||
<entry key="magicbees.speciesSmouldering">Schwelend</entry>
|
||||
<entry key="magicbees.speciesSmouldering.description">Die schleichenden Bienen sind entflammt worden mit dem
|
||||
Feuer der der immer brennenden Blazes.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesTimely">Rechtzeitig</entry>
|
||||
<entry key="magicbees.speciesTimely.description">"Ein Imker ist nie zu spät. Er kommt immer dann an,
|
||||
wenn er er es geplant hat!"|Sengir, Verrückter Imker</entry>
|
||||
<entry key="magicbees.speciesLordly">Stolz</entry>
|
||||
<entry key="magicbees.speciesLordly.description">Sie leben in Frieden innerhalb des Sichtfelds des
|
||||
Auges der Harmonie|Ramponierte überreste des antiken Apinomicons</entry>
|
||||
<entry key="magicbees.speciesDoctoral">Doktorisch</entry>
|
||||
<entry key="magicbees.speciesDoctoral.description">"Willst du ein Gummibärchen haben?"|Vorbeigehender
|
||||
Unbekannter mit großem Schal und blauer Box</entry>
|
||||
|
||||
<entry key="magicbees.speciesInfernal">Höllisch</entry>
|
||||
<entry key="magicbees.speciesInfernal.description">Entstanden tief im höllischen Reich haben sie
|
||||
unbekannte Fähigkeiten erworben.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesHateful">Hasserfüllt</entry>
|
||||
<entry key="magicbees.speciesHateful.description">|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesSpiteful">Gehässig</entry>
|
||||
<entry key="magicbees.speciesSpiteful.description">Sie beschützen ihr Territorium entschlossen, mit dem
|
||||
Eifer von Freunden und Rahmen aus Feuer.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesWithering">Verfallend</entry>
|
||||
<entry key="magicbees.speciesWithering.description">Ihr bloßes Vorbeikommen sorgt dafür, dass das Leben
|
||||
versagt, indem sie langsam alle Energie aus ihrem Territorium
|
||||
saugen.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesOblivion">Vergessenheit</entry>
|
||||
<entry key="magicbees.speciesOblivion.description">Es ist unklar, ob diese Bienen in dieser Welt
|
||||
beheimatet sind oder in einer anderen.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesNameless">Namenlos</entry>
|
||||
<entry key="magicbees.speciesNameless.description">"Andere Naturforscher haben abgelehnt, diese Bienen zu studieren.
|
||||
Ich muss wissen, warum."|Zerrissene Forschungsnotizen</entry>
|
||||
<entry key="magicbees.speciesAbandoned">Verlassen</entry>
|
||||
<entry key="magicbees.speciesAbandoned.description">"Je mehr ich diese Bienen studiere, desto mehr fühle ich,
|
||||
dass sie nicht hierher oder irgendwo anders hin gehören."|Zerrissene Forschungsnotizen</entry>
|
||||
<entry key="magicbees.speciesForlorn">Einsam</entry>
|
||||
<entry key="magicbees.speciesForlorn.description">"Ich bin nun überzeugt, sie wurden mit Absicht in unserem Universum
|
||||
von nicht auszumachenden Wesen zurückgelassen."|Zerrissene Forschungsnotizen</entry>
|
||||
<entry key="magicbees.speciesDraconic">Drakonisch</entry>
|
||||
<entry key="magicbees.speciesDraconic.description">"Mit einem höllischen Geräusch brachen sie aus ihrem Stock aus.
|
||||
Das war das letzte, was wir jemals von Gerald gesehen haben."|Zerrissene Forschungsnotizen</entry>
|
||||
|
||||
<entry key="magicbees.speciesIron">Eisenhaltig</entry>
|
||||
<entry key="magicbees.speciesIron.description">Etwas des Grundmetalls absorbiert, können diese Bienen
|
||||
die Essenz des Eisens aus der Region konzentrieren.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesGold">Aurisch</entry>
|
||||
<entry key="magicbees.speciesGold.description">Nicht alles ist Gold, was glänzt.|Antiker Aphorismus</entry>
|
||||
<entry key="magicbees.speciesCopper">Cuprum</entry>
|
||||
<entry key="magicbees.speciesCopper.description">Ein Grundmetall, gemein in vielen Anwendungen; diese
|
||||
Bienen sind hilfreich für ressourcenhungrige Magier.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesTin">Stannum</entry>
|
||||
<entry key="magicbees.speciesTin.description">Obwohl metallisch, sind diese Bienen überraschend
|
||||
fragil.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesSilver">Argentum</entry>
|
||||
<entry key="magicbees.speciesSilver.description">Obwohl sie nicht so viel Aufmerksamkeit bekommen wir
|
||||
Goldene Bienen, sind sie nichtsdestotrotz wertvoll.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesLead">Plumbum</entry>
|
||||
<entry key="magicbees.speciesLead.description">Ein Favorit von Amateuralchemisten, sie glauben, sie
|
||||
können diese Bienen in Gold verwandeln.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesDiamond">Diamandi</entry>
|
||||
<entry key="magicbees.speciesDiamond.description">Kristallin, glitzernd, und härter als Drachenzähne.
|
||||
Diese Bienen sind nichts davon.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesEmerald">Esmeraldi</entry>
|
||||
<entry key="magicbees.speciesEmerald.description">Es wird erzählt, sie waren in einem Land beherrscht
|
||||
vom Großen Zauberer, und haben den Aspect der Stadt
|
||||
angenommen.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesApatite">Apatin</entry>
|
||||
<entry key="magicbees.speciesApatite.description">Tag und Nacht summten die Weinenden. Ich
|
||||
verbarrikadierte die Fenster und versteckte mich im Keller, aber
|
||||
überall durchdrang der schrille Ton der Apatinen Bienen die Wände
|
||||
brachte mich zum Wahnsinn.|Beekeeping 101</entry>
|
||||
|
||||
<entry key="magicbees.speciesTCStark">Extrem</entry>
|
||||
<entry key="magicbees.speciesTCStark.description">"Diese Bienen fühlen sich ungewönlich stark zu
|
||||
Scherben hingezogen. Dies rechtfertigt weitere
|
||||
Untersuchungen."|Azanor, Meisterthaumaturge</entry>
|
||||
<entry key="magicbees.speciesTCAir">Aura</entry>
|
||||
<entry key="magicbees.speciesTCAir.description">"Sie arbeiten so atemberaubend schnell."|Sengir,
|
||||
verrückter Imker</entry>
|
||||
<entry key="magicbees.speciesTCFire">Ignis</entry>
|
||||
<entry key="magicbees.speciesTCFire.description">Achtung: Inhalt des Bienenkorbs extrem
|
||||
heiß.|Warnschild auf Azanors Bienenkorb</entry>
|
||||
<entry key="magicbees.speciesTCWater">Aqua</entry>
|
||||
<entry key="magicbees.speciesTCWater.description">"Ich habe mal versucht, die zu züchten, aber es lief
|
||||
nicht alles so gut."|MysteriousAges, Fortgeschrittener Thaumaturge</entry>
|
||||
<entry key="magicbees.speciesTCEarth">Solum</entry>
|
||||
<entry key="magicbees.speciesTCEarth.description">"Ich muss noch mal das Rezept für diese Bienen
|
||||
ausgraben, aber Achtung, ihre Stacheln boren sich in deine
|
||||
Haut."|MysteriousAges, Anfänger in der Comedy</entry>
|
||||
<entry key="magicbees.speciesTCMagic">Praecantatio</entry>
|
||||
<entry key="magicbees.speciesTCMagic.description">Bienenzucht ist Magie!|Apinomicon, Preface</entry>
|
||||
|
||||
<entry key="magicbees.speciesTCVis">Vis</entry>
|
||||
<entry key="magicbees.speciesTCVis.description">"Sie können Veränderungen in der Aura wahrnehmen, aber
|
||||
noch nicht verändern."|Azanors Mitschriften</entry>
|
||||
<entry key="magicbees.speciesTCPure">Pur</entry>
|
||||
<entry key="magicbees.speciesTCPure.description">"Es ist wie ein Bienenwächter!"|MysteriousAges,
|
||||
Thaumaturge</entry>
|
||||
<entry key="magicbees.speciesTCFlux">Flux</entry>
|
||||
<entry key="magicbees.speciesTCFlux.description">"Ich dachte, sie würden mit beim Aufräumen helfen,
|
||||
aber sie haben es noch dreckiger gemacht!"|Kreicus, Fortgeschrittener
|
||||
Thaumaturge</entry>
|
||||
<entry key="magicbees.speciesTCAttractive">Anziehend</entry>
|
||||
<entry key="magicbees.speciesTCAttractive.description">Nachdem sie eine irre Verwandlung hinter sich gebracht
|
||||
haben, wirken diese Bienen nun anziehend auf Magie.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesTCRejuvenating">Verjüngend</entry>
|
||||
<entry key="magicbees.speciesTCRejuvenating.description">Das Summen dieses Stocks ist magisch, und wird nach
|
||||
einiger Zeit von Nahen Knoten aufgenommen.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesTCBrainy">Intelligent</entry>
|
||||
<entry key="magicbees.speciesTCBrainy.description">Ihre Waben mögen zwar übel riechen und stinken, aber
|
||||
ihr Geist ist weit entwickelt.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesTCWispy">Wispig</entry>
|
||||
<entry key="magicbees.speciesTCWispy.description">Ihre Sprache ist entstellt und unverständlich. Es ist
|
||||
möglich, dass sie zu unnatürlichen Wesen sprechen.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesTCBatty">Verrückt</entry>
|
||||
<entry key="magicbees.speciesTCBatty.description">Sie scheinen auf unerklärliche Art und Weise
|
||||
Fledermäuse anzuziehen.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesTCChicken">Geflügel</entry>
|
||||
<entry key="magicbees.speciesTCChicken.description">"Gack, Gack, Gack! ... Du hast mich gehört."|Verwirrte
|
||||
Biene</entry>
|
||||
<entry key="magicbees.speciesTCBeef">Rindfleisch</entry>
|
||||
<entry key="magicbees.speciesTCBeef.description">"Muh, muh, muh. Moment, was?"|Verwirrte Biene</entry>
|
||||
<entry key="magicbees.speciesTCPork">Schweineähnlich</entry>
|
||||
<entry key="magicbees.speciesTCPork.description">"Oink, oink. Äh.... bsss?"|Verwirrte Biene</entry>
|
||||
|
||||
<entry key="magicbees.speciesEEMinium">Minium</entry>
|
||||
<entry key="magicbees.speciesEEMinium.description">Es könnte möglich sein, ihre launische und wechselnde
|
||||
Natur auszunutzen.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesAMEssence">Essenz</entry>
|
||||
<entry key="magicbees.speciesAMEssence.description">Veranlasst von Stäubchen in Luft und Erde,
|
||||
konzentrieren sie Energie</entry>
|
||||
<entry key="magicbees.speciesAMQuintessence">Quintessenziell</entry>
|
||||
<entry key="magicbees.speciesAMQuintessence.description">Das Herz der Magie ruht in allen Dingen.|Apinomicon,
|
||||
Einleitung</entry>
|
||||
|
||||
<entry key="magicbees.speciesAMEarth">Erde</entry>
|
||||
<entry key="magicbees.speciesAMEarth.description">Gestärkt durch die Erde sind ihre Produkte mit Essenz
|
||||
durchzogen.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesAMAir">Luft</entry>
|
||||
<entry key="magicbees.speciesAMAir.description">Schnell wie der Wind und leichter als Luft.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesAMFire">Feuer</entry>
|
||||
<entry key="magicbees.speciesAMFire.description">Ihre Kolonie kann Temperaturen erreichen, die Wasser
|
||||
sieden und Metall schmelzen.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesAMWater">Wasser</entry>
|
||||
<entry key="magicbees.speciesAMWater.description">Dadurch, dass sie lange Flüssigkeiten ausgesetzt
|
||||
waren, sind ihre Waben ziemlich nass und schwer.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesAMLightning">Blitz</entry>
|
||||
<entry key="magicbees.speciesAMLightning.description">Sie können gewaltige Distanzen in einem Wimpernschlag
|
||||
zurücklegen, und sie sind dafür bekannt, viele Waldbrände zu
|
||||
legen.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesAMPlant">Staude</entry>
|
||||
<entry key="magicbees.speciesAMPlant.description">Sie haben eine Affinität zu allem, was grün ist und
|
||||
wächst.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesAMIce">Eis</entry>
|
||||
<entry key="magicbees.speciesAMIce.description">"Sie bleiben dabei, mir sachen zu stehlen, und nie
|
||||
sehe ich sie. Sie sind viel zu rutschig."|MysteriousAges,
|
||||
unverbesserlicher Witzbold</entry>
|
||||
<entry key="magicbees.speciesAMMagma">Magma</entry>
|
||||
<entry key="magicbees.speciesAMMagma.description">Wenn sie vorbeisausen, sengen sie die Oberfläche der
|
||||
Landschaft an, entfernen eventuell alle Pflanzen und fragilen
|
||||
Mineralien.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesAMArcane">Arkanen</entry>
|
||||
<entry key="magicbees.speciesAMArcane.description">"Seltsame Kreaturen, obwohl ihre Produkte sehr
|
||||
nützlich sind."|Mithion, Adept</entry>
|
||||
|
||||
<entry key="magicbees.speciesAMVortex">Vortex</entry>
|
||||
<entry key="magicbees.speciesAMVortex.description">Heißhungrig auf Mana, könnten sie gefährlich für jeden
|
||||
Zauberer sein.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesAMWight">Wicht</entry>
|
||||
<entry key="magicbees.speciesAMWight.description">"Sie ziehen magische Wesen an; nicht nur
|
||||
sanftmütige."|Mithion, Adept</entry>
|
||||
|
||||
<!-- Blank species entries <entry key="thaumicbees.species"></entry> <entry
|
||||
key="thaumicbees.species.description"></entry> -->
|
||||
|
||||
<!-- Bee Alleles -->
|
||||
<entry key="magicbees.effectCurative">Reinigend</entry>
|
||||
<entry key="magicbees.effectDigSpeed">Abbaugeschwindigkeit</entry>
|
||||
<entry key="magicbees.effectMoveSpeed">Schnelligkeit</entry>
|
||||
<entry key="magicbees.effectSlowSpeed">Langsamkeit</entry>
|
||||
<entry key="magicbees.effectWithering">Verfallen</entry>
|
||||
<entry key="magicbees.effectNodeGeneration">Aura-Anziehungskraft</entry>
|
||||
<entry key="magicbees.effectNodePurify">Aura reinigen</entry>
|
||||
<entry key="magicbees.effectNodeFlux">Aura Flux</entry>
|
||||
<entry key="magicbees.effectNodeCharge">Aura aufladen</entry>
|
||||
<entry key="magicbees.effectBrainy">Intelligent</entry>
|
||||
<entry key="magicbees.effectBatty">Verrückt</entry>
|
||||
<entry key="magicbees.effectWispy">Dünn</entry>
|
||||
<entry key="magicbees.effectGhastly">Gespenstisch</entry>
|
||||
<entry key="magicbees.effectSpidery">Spinnig</entry>
|
||||
<entry key="magicbees.effectAblaze">Brennen</entry>
|
||||
<entry key="magicbees.effectManaDrainer">Vortex</entry>
|
||||
<entry key="magicbees.effectAMWisp">Spirituell</entry>
|
||||
<entry key="tb.bees.flower.book">Bücher</entry>
|
||||
<entry key="tb.bees.flower.magic">Thaumische Blumen</entry>
|
||||
<entry key="tb.bees.flower.arsmagica">Exotische Blumen</entry>
|
||||
<entry key="tb.bees.flower.node">Nodie</entry>
|
||||
|
||||
<!-- Classifications -->
|
||||
<entry key="classification.veiled">Verschleiert</entry>
|
||||
<entry key="classification.veiled.description">Die seltsame Spezies gefunden verstreut in der Welt
|
||||
könnte Fähigkeiten jenseits unserers Logik haben.|Apinomicon</entry>
|
||||
<entry key="classification.arcane">Arkan</entry>
|
||||
<entry key="classification.arcane.description">Diese Bienen haben eine unbescheibliche Affinität für
|
||||
Magie.|Apinomicon</entry>
|
||||
<entry key="classification.supernatural">Übernatürlich</entry>
|
||||
<entry key="classification.supernatural.description">Keine ordinären Bienen mehr, sie sind mit vielen
|
||||
merkwürdigen Vorkommnissen in Verbindung gebracht worden.|Apinomicon</entry>
|
||||
<entry key="classification.scholarly">Gelehrt</entry>
|
||||
<entry key="classification.scholarly.description">Die Kaste der Bienen, die einen großen Intellekt und
|
||||
deduktive Fähigkeiten besitzen.|Apinomicon</entry>
|
||||
<entry key="classification.skulking">Schleichend</entry>
|
||||
<entry key="classification.skulking.description">Unangenehm und boshaft. Behandle diese Gruppe mit
|
||||
Vorsicht.|Apinomicon</entry>
|
||||
<entry key="classification.magic">Bewusst</entry>
|
||||
<entry key="classification.magic.description">Es ist unklar, ob sie empfindsam sind, aber sie haben
|
||||
ein überraschendes Bewusstsein ihrer Umgebung.|Apinomicon</entry>
|
||||
<entry key="classification.time">Zeit</entry>
|
||||
<entry key="classification.time.description">Durch die kluge Nutzung der Zeitreise schaffen diese
|
||||
Bienen doppelt so viel an einem Tag.|Apinomicon</entry>
|
||||
<entry key="classification.soul">Seelenvoll</entry>
|
||||
<entry key="classification.soul.description">Es wäre unheimlich, zu denken, dass diese Bienen die
|
||||
Seelen der Verstorbenen sammeln.|Apinomicon</entry>
|
||||
<entry key="classification.abominable">Furchtbar</entry>
|
||||
<entry key="classification.abominable.description">Entstanden in den feurigen Tiefen des Nethers gibt es
|
||||
nichts schönes über diese Kreaturen.|Apinomicon</entry>
|
||||
<entry key="classification.Extrinsic">Extrinsisch</entry>
|
||||
<entry key="classification.Extrinsic.description">Es ist unbekannt, ob diese Kreaturen die Familie
|
||||
Apidae in diesem Universum erzeugt haben oder ob diese sich
|
||||
seperat entwickelt haben.|Apinomicon</entry>
|
||||
<entry key="classification.metallic">Metallisch</entry>
|
||||
<entry key="classification.metallic.description">Sie sammeln metallische Fragmente und kombinieren sie
|
||||
zu größeren Portionen.|Apinomicon</entry>
|
||||
<entry key="classification.gem">Edelstein</entry>
|
||||
<entry key="classification.gem.description">Sie sammeln Fragmente kostbarer Edelsteine in ihren
|
||||
Waben.|Apinomicon</entry>
|
||||
<entry key="classification.thaumic">Thaumisch</entry>
|
||||
<entry key="classification.thaumic.description">Diese Bienen haben eine erhöhte Affinität zu Magie und
|
||||
Aura.|Apinomicon</entry>
|
||||
<entry key="classification.fleshy">Fleischig</entry>
|
||||
<entry key="classification.fleshy.description">Durch unbekannte Mechanismen erhalten diese Bienen
|
||||
Stückchen von Tierfleisch. Irgendwie ist es immer noch
|
||||
essbar.|Apinomicon</entry>
|
||||
<entry key="classification.alchemical">Alchemisch</entry>
|
||||
<entry key="classification.alchemical.description">Diese Bienen haben eine wechselhafte Natur.|Apinomicon</entry>
|
||||
<entry key="classification.essential">Essentiell</entry>
|
||||
<entry key="classification.essential.description">Diese Bienen haben eine erhöhte Affinität zu
|
||||
aspektischer Magie.|Apinomicon</entry>
|
||||
|
||||
</properties>
|
||||
@@ -1,395 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
|
||||
<properties version="1.0">
|
||||
<!-- Item names -->
|
||||
<entry key="item.magicbees:jellyBabies.name">Handful of Jelly Babies</entry>
|
||||
<entry key="item.magicbees:thaumiumScoop.name">Thaumium Scoop</entry>
|
||||
<entry key="item.magicbees:thaumiumGrafter.name">Thaumium Grafter</entry>
|
||||
|
||||
<!-- Specially handled Item names -->
|
||||
<entry key="item.moonDial.name">Jade Moon Dial</entry>
|
||||
|
||||
<!-- Block names -->
|
||||
<entry key="tile.planks.greatwood.name">Greatwood Planks</entry>
|
||||
<entry key="tile.slab.wood.greatwood.name">Greatwood Slab</entry>
|
||||
<entry key="tile.planks.silverwood.name">Silverwood Planks</entry>
|
||||
<entry key="tile.slab.wood.silverwood.name">Silverwood Slab</entry>
|
||||
<entry key="tile.effectJar.name">Bee Collector's Jar</entry>
|
||||
<entry key="tile.hive.curious.name">Curious Hive</entry>
|
||||
<entry key="tile.hive.unusual.name">Unusual Hive</entry>
|
||||
<entry key="tile.hive.deep.name">Deep Hive</entry>
|
||||
<entry key="tile.hive.resonant.name">Resonating Hive</entry>
|
||||
<entry key="tile.hive.infernal.name">Infernal Hive</entry>
|
||||
<entry key="tile.hive.oblivion.name">Oblivion Hive</entry>
|
||||
|
||||
<!-- Comb names -->
|
||||
<entry key="comb.mundane">Mundane Comb</entry>
|
||||
<entry key="comb.molten">Molten Comb</entry>
|
||||
<entry key="comb.forgotten">Forgotten Comb</entry>
|
||||
<entry key="comb.occult">Occult Comb</entry>
|
||||
<entry key="comb.otherworldly">Otherworldy Comb</entry>
|
||||
<entry key="comb.paper">Papery Comb</entry>
|
||||
<entry key="comb.soul">Soul Comb</entry>
|
||||
<entry key="comb.furtive">Furtive Comb</entry>
|
||||
<entry key="comb.aware">Memory Comb</entry>
|
||||
<entry key="comb.time">Temporal Comb</entry>
|
||||
<entry key="comb.harmonizing">Harmonizing Comb</entry>
|
||||
<entry key="comb.air">Windy Comb</entry>
|
||||
<entry key="comb.fire">Firey Comb</entry>
|
||||
<entry key="comb.water">Watery Comb</entry>
|
||||
<entry key="comb.earth">Earthy Comb</entry>
|
||||
<entry key="comb.magic">Infused Comb</entry>
|
||||
<entry key="comb.essence">Essence Comb</entry>
|
||||
<entry key="comb.potent">Potent Comb</entry>
|
||||
|
||||
<!-- Wax names -->
|
||||
<entry key="wax.magic">Magic Wax</entry>
|
||||
<entry key="wax.soul">Soulful Wax</entry>
|
||||
<entry key="wax.amnesic">Amnesic Wax</entry>
|
||||
|
||||
<!-- Drop names -->
|
||||
<entry key="drop.enchanting">Enchanting Drop</entry>
|
||||
<entry key="drop.intellect">Intellect Drop</entry>
|
||||
|
||||
<!-- Pollen names -->
|
||||
<entry key="pollen.unusual">Unusual Pollen</entry>
|
||||
<entry key="pollen.phased">Phased Pollen</entry>
|
||||
|
||||
<!-- Nugget names -->
|
||||
<entry key="nugget.iron">Iron Nugget</entry>
|
||||
<entry key="nugget.steel">Steel Nugget</entry>
|
||||
<entry key="nugget.copper">Copper Nugget</entry>
|
||||
<entry key="nugget.tin">Tin Nugget</entry>
|
||||
<entry key="nugget.silver">Silver Nugget</entry>
|
||||
<entry key="nugget.lead">Lead Nugget</entry>
|
||||
<entry key="nugget.diamond">Diamond Shard</entry>
|
||||
<entry key="nugget.emerald">Emerald Shard</entry>
|
||||
<entry key="nugget.apatite">Apatite Shard</entry>
|
||||
|
||||
<!-- Propolis names -->
|
||||
<entry key="propolis.dull">Dull Propolis</entry>
|
||||
<entry key="propolis.air">Breezey Propolis</entry>
|
||||
<entry key="propolis.fire">Burning Propolis</entry>
|
||||
<entry key="propolis.water">Flowing Propolis</entry>
|
||||
<entry key="propolis.earth">Stony Propolis</entry>
|
||||
<entry key="propolis.magic">Infused Propolis</entry>
|
||||
<entry key="propolis.unstable">Unstable Propolis</entry>
|
||||
|
||||
<!-- Misc Resources -->
|
||||
<entry key="resource.fragment">Lore Fragment</entry>
|
||||
<entry key="resource.lump">Aromatic Lump</entry>
|
||||
<entry key="resource.fertilizer">Concentrated Compound</entry>
|
||||
<entry key="resource.skullChip">Wither Skeleton Bone Chip</entry>
|
||||
<entry key="resource.skullFragment">Wither Skeleton Skull Fragment</entry>
|
||||
<entry key="resource.dragonDust">Draconic Dust</entry>
|
||||
<entry key="resource.dragonChunk">Draconic Chunk</entry>
|
||||
<entry key="resource.essenceFalseLife">Essence of False Life</entry>
|
||||
<entry key="resource.essenceShallowGrave">Essence of a Shallow Grave</entry>
|
||||
<entry key="resource.essenceLostTime">Essence of Lost Time</entry>
|
||||
<entry key="resource.essenceEverlastingDurability">Essence of Everlasting Durability</entry>
|
||||
<entry key="resource.essenceUnendingDisregard">Essence of Unending Disregard</entry>
|
||||
<entry key="resource.startNode">Bees and Magic</entry>
|
||||
<entry key="resource.crystalAspect">Crystalized %s Aspect</entry>
|
||||
|
||||
<!-- Frames -->
|
||||
<entry key="item.frameMagic.name">Magic Frame</entry>
|
||||
<entry key="item.frameResilient.name">Resilient Frame</entry>
|
||||
<entry key="item.frameGentle.name">Gentle Frame</entry>
|
||||
<entry key="item.frameMetabolic.name">Metabolic Frame</entry>
|
||||
<entry key="item.frameNecrotic.name">Necrotic Frame</entry>
|
||||
<entry key="item.frameTemporal.name">Temporal Frame</entry>
|
||||
<entry key="item.frameOblivion.name">Oblivion Frame</entry>
|
||||
|
||||
<!-- Capsule names -->
|
||||
<entry key="capsule.magic">Magic Capsule</entry>
|
||||
<entry key="capsule.void">Void Capsule</entry>
|
||||
|
||||
<!-- Liquids -->
|
||||
<entry key="liquid.">Empty</entry>
|
||||
<entry key="liquid.water">Water</entry>
|
||||
<entry key="liquid.lava">Lava</entry>
|
||||
<entry key="liquid.biomass">Biomass</entry>
|
||||
<entry key="liquid.biofuel">Biofuel</entry>
|
||||
<entry key="liquid.Oil">Oil</entry>
|
||||
<entry key="liquid.Fuel">Fuel</entry>
|
||||
<entry key="liquid.seedoil">Seed Oil</entry>
|
||||
<entry key="liquid.honey">Honey</entry>
|
||||
<entry key="liquid.juice">Juice</entry>
|
||||
<entry key="liquid.ice">Ice</entry>
|
||||
<entry key="liquid.milk">Milk</entry>
|
||||
<entry key="liquid.acid">Acid</entry>
|
||||
<entry key="liquid.poison">Poison</entry>
|
||||
<entry key="liquid.liquidNitrogen">Liquid Nitrogen</entry>
|
||||
<entry key="liquid.liquidDNA">Liquid DNA</entry>
|
||||
<entry key="liquid.Creosote Oil">Creosote Oil</entry>
|
||||
<entry key="liquid.Steam">Steam</entry>
|
||||
|
||||
<!-- Moon Phases -->
|
||||
<entry key="moon.full">Full Moon</entry>
|
||||
<entry key="moon.gibbousWaning">Waning Gibbous</entry>
|
||||
<entry key="moon.gibbousWaxing">Waxing Gibbous</entry>
|
||||
<entry key="moon.halfWaning">Waning Half</entry>
|
||||
<entry key="moon.halfWaxing">Waxing Half</entry>
|
||||
<entry key="moon.crescentWaning">Waning Crescent</entry>
|
||||
<entry key="moon.crescentWaxing">Waxing Crescent</entry>
|
||||
<entry key="moon.new">New Moon</entry>
|
||||
|
||||
<!-- Miscellaneous names -->
|
||||
<entry key="backpack.thaumaturge">Thaumaturge's Backpack</entry>
|
||||
<entry key="itemGroup.magicBees">Magic Bees</entry>
|
||||
|
||||
<!-- Escritoire Strings -->
|
||||
<entry key="research.requiresBlock">Requires a foundation of %s</entry>
|
||||
<entry key="research.requiresPhase">Occurs between the %s and %s</entry>
|
||||
<entry key="research.requiresPhaseSingle">During the %s</entry>
|
||||
<entry key="research.requiresNode">Only occurs when a node is near</entry>
|
||||
<entry key="research.requiresNodeSpecific">Only occurs within influence of a %s node</entry>
|
||||
<entry key="research.requiresBiome">Occurs within a %s biome</entry>
|
||||
<entry key="research.node.pure">Pure</entry>
|
||||
<entry key="research.node.dark">Dark</entry>
|
||||
<entry key="research.node.chaotic">Chaotic</entry>
|
||||
<entry key="research.block.crystals">Crystal Cluster</entry>
|
||||
|
||||
<!-- Species names -->
|
||||
<entry key="magicbees.speciesMystical">Mystical</entry>
|
||||
<entry key="magicbees.speciesMystical.description">Common in many parts of the world, these bees have a little extra whimsy about them.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesSorcerous">Sorcerous</entry>
|
||||
<entry key="magicbees.speciesSorcerous.description"></entry>
|
||||
<entry key="magicbees.speciesUnusual">Unusual</entry>
|
||||
<entry key="magicbees.speciesUnusual.description">"A curious specimen for my collection!"|Junior Apiarist</entry>
|
||||
<entry key="magicbees.speciesAttuned">Attuned</entry>
|
||||
<entry key="magicbees.speciesAttuned.description">They fly as though guided by unseen threads through the air.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesEldritch">Eldritch</entry>
|
||||
<entry key="magicbees.speciesEldritch.description">The potential that was locked within this bee's ancestors has now come to the fore.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesEsoteric">Esoteric</entry>
|
||||
<entry key="magicbees.speciesEsoteric.description">An unusual crossbreed which seems to have magical properties.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesMysterious">Mysterious</entry>
|
||||
<entry key="magicbees.speciesMysterious.description">These bees have been to the end of the world and back, and their power has grown.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesArcane">Arcane</entry>
|
||||
<entry key="magicbees.speciesArcane.description">"Their produce is charged with magic."|Azanor, Master Thaumaturge</entry>
|
||||
|
||||
<entry key="magicbees.speciesCharmed">Charmed</entry>
|
||||
<entry key="magicbees.speciesCharmed.description">Your first experiments in Thaumaturgical Apiculture have yielded fruit. Buzzing fruit.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesEnchanted">Enchanted</entry>
|
||||
<entry key="magicbees.speciesEnchanted.description">Successive generations of Charmed bees have reinforced their connection to the unknown.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesSupernatural">Supernatural</entry>
|
||||
<entry key="magicbees.speciesSupernatural.description">These bees walk the line between this world and the unseen.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesEthereal">Ethereal</entry>
|
||||
<entry key="magicbees.speciesEthereal.description">Ghostly, and charged with energy from beyond.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesWatery">Watery</entry>
|
||||
<entry key="magicbees.speciesWatery.description">Fond of damp spots and flowing water.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesEarthen">Earthen</entry>
|
||||
<entry key="magicbees.speciesEarthen.description">They have an iron-strong connection with stone and dirt.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesFirey">Firey</entry>
|
||||
<entry key="magicbees.speciesFirey.description">As close as you can get to living flame without involving candescence.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesWindy">Windy</entry>
|
||||
<entry key="magicbees.speciesWindy.description">Rarely seen in flat, wide open spaces. Their territories are vast.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesPupil">Pupil</entry>
|
||||
<entry key="magicbees.speciesPupil.description">"What does that bee want with my paper?!"|Yorae, Librarian</entry>
|
||||
<entry key="magicbees.speciesScholarly">Scholarly</entry>
|
||||
<entry key="magicbees.speciesScholarly.description">"I can't be sure, but I think they might be smarter than me..."|Yorae, Librarian</entry>
|
||||
<entry key="magicbees.speciesSavant">Savant</entry>
|
||||
<entry key="magicbees.speciesSavant.description">lim(x^(i / pi)/ log(e * 7 - ln(32/x^-pi))). Solve for honey.|Note found on Yorae's desk</entry>
|
||||
|
||||
<entry key="magicbees.speciesAware">Aware</entry>
|
||||
<entry key="magicbees.speciesAware.description">"They can see into your soul!"|Florastar, Expert Beekeeper</entry>
|
||||
<entry key="magicbees.speciesSpirit">Spirit</entry>
|
||||
<entry key="magicbees.speciesSpirit.description">It is said these bees are able to contact the dead.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesSoul">Soul</entry>
|
||||
<entry key="magicbees.speciesSoul.description">"The Dread Pirate Roberts has come for your SOOOOOOULS!"|Dread Pirate Roberts</entry>
|
||||
|
||||
<entry key="magicbees.speciesSkulking">Skulking</entry>
|
||||
<entry key="magicbees.speciesSkulking.description">These bees have become xenophobic and bad-tempered. Use caution.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesGhastly">Ghastly</entry>
|
||||
<entry key="magicbees.speciesGhastly.description">"*sigh*... Really, Myst?"|Taveria, irritated Apiarist</entry>
|
||||
<entry key="magicbees.speciesSpidery">Spidery</entry>
|
||||
<entry key="magicbees.speciesSpidery.description">Spiderbee; n. Does whatever a spider-bee does.|Unknown</entry>
|
||||
<entry key="magicbees.speciesSmouldering">Smouldering</entry>
|
||||
<entry key="magicbees.speciesSmouldering.description">The Skulking bees have become alight with the fire of the ever-burning Blazes.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesTimely">Timely</entry>
|
||||
<entry key="magicbees.speciesTimely.description">"An apiarist is never late. He arrives precisely when he means to!"|Sengir, Mad Apiarist</entry>
|
||||
<entry key="magicbees.speciesLordly">Lordly</entry>
|
||||
<entry key="magicbees.speciesLordly.description">They live in peace, within the sight of the Eye of Harmony|Tattered Remains of ancient Apinomicon</entry>
|
||||
<entry key="magicbees.speciesDoctoral">Doctoral</entry>
|
||||
<entry key="magicbees.speciesDoctoral.description">"Would you like a Jelly Baby?"|Passing stranger with a great scarf and a blue box</entry>
|
||||
|
||||
<entry key="magicbees.speciesInfernal">Infernal</entry>
|
||||
<entry key="magicbees.speciesInfernal.description">Spawned deep within the hellish realm, none have survived long enough to determine their abilities.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesHateful">Hateful</entry>
|
||||
<entry key="magicbees.speciesHateful.description">|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesSpiteful">Spiteful</entry>
|
||||
<entry key="magicbees.speciesSpiteful.description">They guard their territory fiercely, with the zeal of fiends, and welts of fire.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesWithering">Withering</entry>
|
||||
<entry key="magicbees.speciesWithering.description">Their mere passing causes life to fail, slowly drawing all energy from their territory.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesOblivion">Oblivion</entry>
|
||||
<entry key="magicbees.speciesOblivion.description">It is unclear whether these bees are native to this world, or some other.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesNameless">Nameless</entry>
|
||||
<entry key="magicbees.speciesNameless.description">"Other naturalists have refused to study these bees. I must know why."|Tattered Research Notes</entry>
|
||||
<entry key="magicbees.speciesAbandoned">Abandoned</entry>
|
||||
<entry key="magicbees.speciesAbandoned.description">"The more I study these bees, the more I feel they do not belong here, or anywhere else."|Tattered Research Notes</entry>
|
||||
<entry key="magicbees.speciesForlorn">Forlorn</entry>
|
||||
<entry key="magicbees.speciesForlorn.description">"I am now convinced they were left in our universe on purpose by some unknowable beings."|Tattered Research Notes</entry>
|
||||
<entry key="magicbees.speciesDraconic">Draconic</entry>
|
||||
<entry key="magicbees.speciesDraconic.description">"With a fel sound, they erupted from their hive. That was the last we ever saw of Gerald."|Tattered Research Notes</entry>
|
||||
|
||||
<entry key="magicbees.speciesIron">Ferrous</entry>
|
||||
<entry key="magicbees.speciesIron.description">Having absorbed some of the base metal, these bees can concentrate the essence of iron from the region.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesGold">Auric</entry>
|
||||
<entry key="magicbees.speciesGold.description">Not all that glitters is gold.|Ancient Aphorism</entry>
|
||||
<entry key="magicbees.speciesCopper">Cuprum</entry>
|
||||
<entry key="magicbees.speciesCopper.description">A base metal common in many applications; these bees are helpful for resource-starved magicians.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesTin">Stannum</entry>
|
||||
<entry key="magicbees.speciesTin.description">While metalic, these bees are suprisingly fragile.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesSilver">Argentum</entry>
|
||||
<entry key="magicbees.speciesSilver.description">While they do not recieve as much attention as Golden bees, they are nonetheless valuable.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesLead">Plumbum</entry>
|
||||
<entry key="magicbees.speciesLead.description">A favourite of amateur alchemists, they believe they can transform these bees into gold.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesDiamond">Diamandi</entry>
|
||||
<entry key="magicbees.speciesDiamond.description">Crystalline, glittering, and harder than dragon's teeth. These bees are none of those.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesEmerald">Esmeraldi</entry>
|
||||
<entry key="magicbees.speciesEmerald.description">It is said they have been to a land ruled by a Great Wizard, and have taken the aspect of his city.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesApatite">Apatine</entry>
|
||||
<entry key="magicbees.speciesApatite.description">Day and night the whining droned on. I barricaded the windows and hid in the cellar, but everywhere the high-pitched noise of the apatine bees penetrated the walls and drove me to distraction.|Beekeeping 101</entry>
|
||||
|
||||
<entry key="magicbees.speciesTCStark">Stark</entry>
|
||||
<entry key="magicbees.speciesTCStark.description">"These are unusually attracted to shards. This warrents further investigation."|Azanor, Master Thaumaturge</entry>
|
||||
<entry key="magicbees.speciesTCAir">Aura</entry>
|
||||
<entry key="magicbees.speciesTCAir.description">"They work so fast it's breathtaking."|Sengir, Mad Apiarist</entry>
|
||||
<entry key="magicbees.speciesTCFire">Ignis</entry>
|
||||
<entry key="magicbees.speciesTCFire.description">Caution: Contents of hive extremely hot.|Warning label on Azanor's apiary</entry>
|
||||
<entry key="magicbees.speciesTCWater">Aqua</entry>
|
||||
<entry key="magicbees.speciesTCWater.description">"I tried to breed them once, but that was a wash."|MysteriousAges, Apprentice Thaumaturge</entry>
|
||||
<entry key="magicbees.speciesTCEarth">Solum</entry>
|
||||
<entry key="magicbees.speciesTCEarth.description">"You're really gonna dig these bees, but watch out - they bore quite easily."|MysteriousAges, Apprentice Comedian</entry>
|
||||
<entry key="magicbees.speciesTCMagic">Praecantatio</entry>
|
||||
<entry key="magicbees.speciesTCMagic.description">Beekeeping is magic!|Apinomicon, Preface</entry>
|
||||
|
||||
<entry key="magicbees.speciesTCVis">Vis</entry>
|
||||
<entry key="magicbees.speciesTCVis.description">"They can feel changes in the aura, but are not yet able to affect it."|Azanor, research notes</entry>
|
||||
<entry key="magicbees.speciesTCPure">Pure</entry>
|
||||
<entry key="magicbees.speciesTCPure.description">"It's like a bee janitor!"|MysteriousAges, Thaumaturge</entry>
|
||||
<entry key="magicbees.speciesTCFlux">Flux</entry>
|
||||
<entry key="magicbees.speciesTCFlux.description">"I thought they would help clean up, but it only makes things worse!"|Kreicus, Apprentice Thaumaturge</entry>
|
||||
<entry key="magicbees.speciesTCAttractive">Attractive</entry>
|
||||
<entry key="magicbees.speciesTCAttractive.description">Having undergone a freak mutation, these bees now attract magic to them.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesTCRejuvenating">Rejuvenating</entry>
|
||||
<entry key="magicbees.speciesTCRejuvenating.description">The hum of the hive is magical, and over time is absorbed by nearby nodes.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesTCBrainy">Brainy</entry>
|
||||
<entry key="magicbees.speciesTCBrainy.description">Their combs may be fetid and foul-smelling, but their intelligence is well-developed.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesTCWispy">Wispy</entry>
|
||||
<entry key="magicbees.speciesTCWispy.description">Their language is garbled and unintelligible. It is probable they are speaking to unnatural beings.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesTCBatty">Batty</entry>
|
||||
<entry key="magicbees.speciesTCBatty.description">They tend to attract bats to their hives through means unknown.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesTCChicken">Poultry</entry>
|
||||
<entry key="magicbees.speciesTCChicken.description">"Cluck. Cluck cluck! ... You heard me."|Confused bee</entry>
|
||||
<entry key="magicbees.speciesTCBeef">Beefy</entry>
|
||||
<entry key="magicbees.speciesTCBeef.description">"Moo, moo, moo. Wait, what?"|Confused bee</entry>
|
||||
<entry key="magicbees.speciesTCPork">Porcine</entry>
|
||||
<entry key="magicbees.speciesTCPork.description">"Oink, oink. Er.... bzzz?"|Confused bee</entry>
|
||||
|
||||
<entry key="magicbees.speciesEEMinium">Minium</entry>
|
||||
<entry key="magicbees.speciesEEMinium.description">It may be possible to exploit their mercurial and changeable nature.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesAMEssence">Essence</entry>
|
||||
<entry key="magicbees.speciesAMEssence.description">Drawing from motes of dust in the air and ground, they concentrate the energy</entry>
|
||||
<entry key="magicbees.speciesAMQuintessence">Quintessential</entry>
|
||||
<entry key="magicbees.speciesAMQuintessence.description">The heart of magic lies dormant in all things.|Apinomicon, preface</entry>
|
||||
|
||||
<entry key="magicbees.speciesAMEarth">Erde</entry>
|
||||
<entry key="magicbees.speciesAMEarth.description">Empowered by the Earth, their produce is infused with its essence.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesAMAir">Luft</entry>
|
||||
<entry key="magicbees.speciesAMAir.description">Swift as the wind, and lighter than air.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesAMFire">Feuer</entry>
|
||||
<entry key="magicbees.speciesAMFire.description">Their colony can reach temperatures that boil water and melt metals.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesAMWater">Wasser</entry>
|
||||
<entry key="magicbees.speciesAMWater.description">Through prolonged exposure to liquids, their combs are quite wet and heavy.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesAMLightning">Blitz</entry>
|
||||
<entry key="magicbees.speciesAMLightning.description">They can travel vast distances in a blink, and are known for starting many wildfires.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesAMPlant">Staude</entry>
|
||||
<entry key="magicbees.speciesAMPlant.description">They have an affinity for all that is green and grows.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesAMIce">Eis</entry>
|
||||
<entry key="magicbees.speciesAMIce.description">"They keep stealing stuff from me, and I never see them. They're far too slippery."|MysteriousAges, incorrigible punster</entry>
|
||||
<entry key="magicbees.speciesAMMagma">Magma</entry>
|
||||
<entry key="magicbees.speciesAMMagma.description">As they fly by, they sear the surface of the landscape, eventually scouring all plants and fragile minerals away.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesAMArcane">Arkanen</entry>
|
||||
<entry key="magicbees.speciesAMArcane.description">"Curious creatures, though their produce is quite useful."|Mithion, Adept</entry>
|
||||
|
||||
<entry key="magicbees.speciesAMVortex">Vortex</entry>
|
||||
<entry key="magicbees.speciesAMVortex.description">Ravenous for mana, they may be dangerous for any caster.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesAMWight">Wight</entry>
|
||||
<entry key="magicbees.speciesAMWight.description">"They attract magical spirits; not always docile."|Mithion, Adept</entry>
|
||||
|
||||
<!-- Blank species entries
|
||||
<entry key="magicbees.species"></entry>
|
||||
<entry key="magicbees.species.description"></entry>
|
||||
-->
|
||||
|
||||
<!-- Bee Alleles -->
|
||||
<entry key="magicbees.effectCurative">Cleansing</entry>
|
||||
<entry key="magicbees.effectDigSpeed">Mining</entry>
|
||||
<entry key="magicbees.effectMoveSpeed">Swiftness</entry>
|
||||
<entry key="magicbees.effectSlowSpeed">Time Warp</entry>
|
||||
<entry key="magicbees.effectWithering">Withering</entry>
|
||||
<entry key="magicbees.effectNodeAttract">Aura Attract</entry>
|
||||
<entry key="magicbees.effectNodePurify">Purify Aura</entry>
|
||||
<entry key="magicbees.effectNodeFlux">Aura Flux</entry>
|
||||
<entry key="magicbees.effectNodeCharge">Aura Charge</entry>
|
||||
<entry key="magicbees.effectBrainy">Brainy</entry>
|
||||
<entry key="magicbees.effectBatty">Batty</entry>
|
||||
<entry key="magicbees.effectWispy">Wispy</entry>
|
||||
<entry key="magicbees.effectGhastly">Ghastly</entry>
|
||||
<entry key="magicbees.effectSpidery">Spidery</entry>
|
||||
<entry key="magicbees.effectAblaze">Ablaze</entry>
|
||||
<entry key="magicbees.effectManaDrainer">Vortex</entry>
|
||||
<entry key="magicbees.effectAMWisp">Spiritual</entry>
|
||||
<entry key="flowerProvider.book">Books</entry>
|
||||
<entry key="flowerProvider.magic">Thaumic Flowers</entry>
|
||||
<entry key="flowerProvider.arsmagica">Exotic Flowers</entry>
|
||||
<entry key="flowerProvider.node">Node</entry>
|
||||
|
||||
<!-- Classifications -->
|
||||
<entry key="classification.veiled">Veiled</entry>
|
||||
<entry key="classification.veiled.description">The curious species found scattered through the world may have abilities beyond one's reasoning.|Apinomicon</entry>
|
||||
<entry key="classification.arcane">Arcane</entry>
|
||||
<entry key="classification.arcane.description">These bees have inexplicable affinity for magic.|Apinomicon</entry>
|
||||
<entry key="classification.supernatural">Supernatural</entry>
|
||||
<entry key="classification.supernatural.description">No longer ordinary bees, they have been associated with many odd occurances.|Apinomicon</entry>
|
||||
<entry key="classification.scholarly">Scholarly</entry>
|
||||
<entry key="classification.scholarly.description">The caste of bees which have great intellect and deductive ability.|Apinomicon</entry>
|
||||
<entry key="classification.skulking">Skulking</entry>
|
||||
<entry key="classification.skulking.description">Unpleasant and malicious. Treat this group with caution.|Apinomicon</entry>
|
||||
<entry key="classification.magic">Aware</entry>
|
||||
<entry key="classification.magic.description">It is unclear whether they are sentient, but they have suprising awareness of their surroundings.|Apinomicon</entry>
|
||||
<entry key="classification.time">Time</entry>
|
||||
<entry key="classification.time.description">Though clever use of time travel, these bees accomplish twice as much in one day.|Apinomicon</entry>
|
||||
<entry key="classification.soul">Soulful</entry>
|
||||
<entry key="classification.soul.description">It would be eerie to think that they collected the souls of the deceased.|Apinomicon</entry>
|
||||
<entry key="classification.abominable">Abominable</entry>
|
||||
<entry key="classification.abominable.description">Spawned in the firey depths of the Nether, there is nothing pleasant about these creatures.|Apinomicon</entry>
|
||||
<entry key="classification.Extrinsic">Extrinsic</entry>
|
||||
<entry key="classification.Extrinsic.description">It is unknown whether these creatures gave rise to the family Apidae in this universe, or if these evolved seperately.|Apinomicon</entry>
|
||||
<entry key="classification.metallic">Metallic</entry>
|
||||
<entry key="classification.metallic.description">They collect fragments of metal and combine them into larger portions.|Apinomicon</entry>
|
||||
<entry key="classification.gem">Gem</entry>
|
||||
<entry key="classification.gem.description">They collect fragments of precious gems in their combs.|Apinomicon</entry>
|
||||
<entry key="classification.thaumic">Thaumic</entry>
|
||||
<entry key="classification.thaumic.description">These bees have an increased affinity to magic and aura.|Apinomicon</entry>
|
||||
<entry key="classification.fleshy">Fleshy</entry>
|
||||
<entry key="classification.fleshy.description">Through an unknown mechanism, these bees accrue chunks of animal flesh. Somehow, it's still edible.|Apinomicon</entry>
|
||||
<entry key="classification.alchemical">Alchemical</entry>
|
||||
<entry key="classification.alchemical.description">These bees have a changeable nature.|Apinomicon</entry>
|
||||
<entry key="classification.essential">Essential</entry>
|
||||
<entry key="classification.essential.description">These bees have an increased affinity for aspected magic.|Apinomicon</entry>
|
||||
|
||||
</properties>
|
||||
@@ -1,474 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
|
||||
<properties version="1.0">
|
||||
<!-- Item names -->
|
||||
<entry key="item.magicbees:jellyBabies.name">Горсть маленького желе</entry>
|
||||
<entry key="item.magicbees:thaumiumScoop.name">Таумический сачок</entry>
|
||||
<entry key="item.magicbees:thaumiumGrafter.name">Таумический садовый нож</entry>
|
||||
|
||||
<!-- Specially handled Item names -->
|
||||
<entry key="item.moonDial.name">Нефритовый набор луны</entry>
|
||||
|
||||
<!-- Block names -->
|
||||
<entry key="tile.planks.greatwood.name">Доски грейтвуда</entry>
|
||||
<entry key="tile.slab.wood.greatwood.name">Плиты грейтвуда</entry>
|
||||
<entry key="tile.planks.silverwood.name">Доски сильвервуда</entry>
|
||||
<entry key="tile.slab.wood.silverwood.name">Плиты сильвервуда</entry>
|
||||
<entry key="tile.effectJar.name">Банка для сбора пчёл</entry>
|
||||
<entry key="tile.hive.curious.name">Странный улей</entry>
|
||||
<entry key="tile.hive.unusual.name">Необычный улей</entry>
|
||||
<entry key="tile.hive.deep.name">Глубокий улей</entry>
|
||||
<entry key="tile.hive.resonant.name">Резонирующий улей</entry>
|
||||
<entry key="tile.hive.infernal.name">Адский улей</entry>
|
||||
<entry key="tile.hive.oblivion.name">Забвенный улей</entry>
|
||||
|
||||
<!-- Comb names -->
|
||||
<entry key="comb.mundane">Земные соты</entry>
|
||||
<entry key="comb.molten">Расплавленные соты</entry>
|
||||
<entry key="comb.forgotten">Забытые соты</entry>
|
||||
<entry key="comb.occult">Оккультические соты</entry>
|
||||
<entry key="comb.otherworldly">Потусторонние соты</entry>
|
||||
<entry key="comb.paper">Бумажные соты</entry>
|
||||
<entry key="comb.soul">Душевные соты</entry>
|
||||
<entry key="comb.furtive">Незаметные соты</entry>
|
||||
<entry key="comb.aware">Памятные соты</entry>
|
||||
<entry key="comb.time">Временные соты</entry>
|
||||
<entry key="comb.harmonizing">Гармоничные соты</entry>
|
||||
<entry key="comb.air">Воздушные соты</entry>
|
||||
<entry key="comb.fire">Огненные соты</entry>
|
||||
<entry key="comb.water">Водяные соты</entry>
|
||||
<entry key="comb.earth">Земляные соты</entry>
|
||||
<entry key="comb.magic">Заряженные соты</entry>
|
||||
<entry key="comb.essence">Сущные соты</entry>
|
||||
<entry key="comb.potent">Крепкие соты</entry>
|
||||
|
||||
<!-- Wax names -->
|
||||
<entry key="wax.magic">Магический воск</entry>
|
||||
<entry key="wax.soul">Душевный воск</entry>
|
||||
<entry key="wax.amnesic">Амнезийный воск</entry>
|
||||
|
||||
<!-- Drop names -->
|
||||
<entry key="drop.enchanting">Зачарованная капля</entry>
|
||||
<entry key="drop.intellect">Интеллектуальная капля</entry>
|
||||
|
||||
<!-- Pollen names -->
|
||||
<entry key="pollen.unusual">Необычная пыльца</entry>
|
||||
<entry key="pollen.phased">Поэтапная пыльца</entry>
|
||||
|
||||
<!-- Nugget names -->
|
||||
<entry key="nugget.iron">Железный самородок</entry>
|
||||
<entry key="nugget.steel">Стальной самородок</entry>
|
||||
<entry key="nugget.copper">Медный самородок</entry>
|
||||
<entry key="nugget.tin">Оловянный самородок</entry>
|
||||
<entry key="nugget.silver">Серебряный самородок</entry>
|
||||
<entry key="nugget.lead">Свинцовый самородок</entry>
|
||||
<entry key="nugget.diamond">Алмазный осколок</entry>
|
||||
<entry key="nugget.emerald">Изумрудный осколок</entry>
|
||||
<entry key="nugget.apatite">Осколок апатита</entry>
|
||||
|
||||
<!-- Propolis names -->
|
||||
<entry key="propolis.dull">Тусклый прополис</entry>
|
||||
<entry key="propolis.air">Свежий прополис</entry>
|
||||
<entry key="propolis.fire">Горящий прополис</entry>
|
||||
<entry key="propolis.water">Мягкий прополис</entry>
|
||||
<entry key="propolis.earth">Каменный прополис</entry>
|
||||
<entry key="propolis.magic">Заряженный прополис</entry>
|
||||
<entry key="propolis.unstable">Нетвёрдый прополис</entry>
|
||||
|
||||
<!-- Misc Resources -->
|
||||
<entry key="resource.fragment">Фрагмент знаний</entry>
|
||||
<entry key="resource.lump">Ароматическая лампа</entry>
|
||||
<entry key="resource.fertilizer">Концентрированные соединения</entry>
|
||||
<entry key="resource.skullChip">Обломок кости скелета-иссушителя</entry>
|
||||
<entry key="resource.skullFragment">Фрагмент черепа скелета-иссушителя</entry>
|
||||
<entry key="resource.dragonDust">Драконья пыль</entry>
|
||||
<entry key="resource.dragonChunk">Драконий кусок</entry>
|
||||
<entry key="resource.essenceFalseLife">Эссенция ложной жизни</entry>
|
||||
<entry key="resource.essenceShallowGrave">Эссенция неглубокой могилы</entry>
|
||||
<entry key="resource.startNode">Пчёлы и магия</entry>
|
||||
<entry key="resource.crystalAspect">Кристаллизованный %s Аспект</entry>
|
||||
|
||||
<!-- Frames -->
|
||||
<entry key="item.frameMagic.name">Магическая рамка</entry>
|
||||
<entry key="item.frameResilient.name">Эластичная рамка</entry>
|
||||
<entry key="item.frameGentle.name">Лёгкая рамка</entry>
|
||||
<entry key="item.frameMetabolic.name">Метаболическая рамка</entry>
|
||||
<entry key="item.frameNecrotic.name">Некротическая рамка</entry>
|
||||
<entry key="item.frameTemporal.name">Временная рамка</entry>
|
||||
<entry key="item.frameOblivion.name">Забвенная рамка</entry>
|
||||
|
||||
<!-- Capsule names -->
|
||||
<entry key="capsule.magic">Магическая капсула</entry>
|
||||
<entry key="capsule.void">Пустотная капсула</entry>
|
||||
|
||||
<!-- Liquids -->
|
||||
<entry key="liquid.">Пустая</entry>
|
||||
<entry key="liquid.water">Вода</entry>
|
||||
<entry key="liquid.lava">Лава</entry>
|
||||
<entry key="liquid.biomass">Биомасса</entry>
|
||||
<entry key="liquid.biofuel">Биотопливо</entry>
|
||||
<entry key="liquid.Oil">Нефть</entry>
|
||||
<entry key="liquid.Fuel">Топливо</entry>
|
||||
<entry key="liquid.seedoil">Растительное масло</entry>
|
||||
<entry key="liquid.honey">Мёд</entry>
|
||||
<entry key="liquid.juice">Фруктовый сок</entry>
|
||||
<entry key="liquid.ice">Лёд(жидкий)</entry>
|
||||
<entry key="liquid.milk">Молоко</entry>
|
||||
<entry key="liquid.acid">Кислота</entry>
|
||||
<entry key="liquid.poison">Яд</entry>
|
||||
<entry key="liquid.liquidNitrogen">Жидкий Азот</entry>
|
||||
<entry key="liquid.liquidDNA">Жидкий ДНК</entry>
|
||||
<entry key="liquid.Creosote Oil">Креозотное Масло</entry>
|
||||
<entry key="liquid.Steam">Пар(жидкий)</entry>
|
||||
|
||||
<!-- Moon Phases -->
|
||||
<entry key="moon.full">Полная луна</entry>
|
||||
<entry key="moon.gibbousWaning">Убывающая луна</entry>
|
||||
<entry key="moon.gibbousWaxing">Растущая луна</entry>
|
||||
<entry key="moon.halfWaning">Убывающая половина</entry>
|
||||
<entry key="moon.halfWaxing">Растущая половина</entry>
|
||||
<entry key="moon.crescentWaning">Убывающая луна</entry>
|
||||
<entry key="moon.crescentWaxing">Растущая луна</entry>
|
||||
<entry key="moon.new">Новолуние</entry>
|
||||
|
||||
<!-- Miscellaneous names -->
|
||||
<entry key="backpack.thaumaturge">Таумотургический рюкзак</entry>
|
||||
<entry key="itemGroup.magicBees">Magic Bees</entry>
|
||||
|
||||
<!-- Escritoire Strings -->
|
||||
<entry key="research.requiresBlock">Требует основы %s</entry>
|
||||
<entry key="research.requiresPhase">Происходит между %s и %s</entry>
|
||||
<entry key="research.requiresPhaseSingle">Во время %s</entry>
|
||||
<entry key="research.requiresNode">Происходит только тогда, когда нод находится вблизи</entry>
|
||||
<entry key="research.requiresNodeSpecific">Происходит только под влиянием %s нода</entry>
|
||||
<entry key="research.requiresBiome">Происходит в пределах %s биома</entry>
|
||||
<entry key="research.node.pure">Чистый</entry>
|
||||
<entry key="research.node.dark">Тёмный</entry>
|
||||
<entry key="research.node.chaotic">Хаотический</entry>
|
||||
|
||||
<!-- Species names -->
|
||||
<entry key="magicbees.speciesMystical">Mystical</entry>
|
||||
<entry key="magicbees.speciesMystical.description">Common in many parts of the world, these bees have a
|
||||
little extra whimsy about them.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesSorcerous">Sorcerous</entry>
|
||||
<entry key="magicbees.speciesSorcerous.description"></entry>
|
||||
<entry key="magicbees.speciesUnusual">Unusual</entry>
|
||||
<entry key="magicbees.speciesUnusual.description">"A curious specimen for my collection!"|Junior
|
||||
Apiarist</entry>
|
||||
<entry key="magicbees.speciesAttuned">Attuned</entry>
|
||||
<entry key="magicbees.speciesAttuned.description">They fly as though guided by unseen threads through
|
||||
the air.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesEldritch">Eldritch</entry>
|
||||
<entry key="magicbees.speciesEldritch.description">The potential that was locked within this bee's
|
||||
ancestors has now come to the fore.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesEsoteric">Esoteric</entry>
|
||||
<entry key="magicbees.speciesEsoteric.description">An unusual crossbreed which seems to have magical
|
||||
properties.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesMysterious">Mysterious</entry>
|
||||
<entry key="magicbees.speciesMysterious.description">These bees have been to the end of the world and back,
|
||||
and their power has grown.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesArcane">Arcane</entry>
|
||||
<entry key="magicbees.speciesArcane.description">"Their produce is charged with magic."|Azanor, Master
|
||||
Thaumaturge</entry>
|
||||
|
||||
<entry key="magicbees.speciesCharmed">Charmed</entry>
|
||||
<entry key="magicbees.speciesCharmed.description">Your first experiments in Thaumaturgical Apiculture
|
||||
have yielded fruit. Buzzing fruit.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesEnchanted">Enchanted</entry>
|
||||
<entry key="magicbees.speciesEnchanted.description">Successive generations of Charmed bees have reinforced
|
||||
their connection to the unknown.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesSupernatural">Supernatural</entry>
|
||||
<entry key="magicbees.speciesSupernatural.description">These bees walk the line between this world and the
|
||||
unseen.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesEthereal">Ethereal</entry>
|
||||
<entry key="magicbees.speciesEthereal.description">Ghostly, and charged with energy from
|
||||
beyond.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesWatery">Watery</entry>
|
||||
<entry key="magicbees.speciesWatery.description">Fond of damp spots and flowing water.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesEarthen">Earthen</entry>
|
||||
<entry key="magicbees.speciesEarthen.description">They have an iron-strong connection with stone and
|
||||
dirt.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesFirey">Firey</entry>
|
||||
<entry key="magicbees.speciesFirey.description">As close as you can get to living flame without
|
||||
involving candescence.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesWindy">Windy</entry>
|
||||
<entry key="magicbees.speciesWindy.description">Rarely seen in flat, wide open spaces. Their
|
||||
territories are vast.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesPupil">Pupil</entry>
|
||||
<entry key="magicbees.speciesPupil.description">"What does that bee want with my paper?!"|Yorae,
|
||||
Librarian</entry>
|
||||
<entry key="magicbees.speciesScholarly">Scholarly</entry>
|
||||
<entry key="magicbees.speciesScholarly.description">"I can't be sure, but I think they might be smarter
|
||||
than me..."|Yorae, Librarian</entry>
|
||||
<entry key="magicbees.speciesSavant">Savant</entry>
|
||||
<entry key="magicbees.speciesSavant.description">lim(x^(i / pi)/ log(e * 7 - ln(32/x^-pi))). Solve for
|
||||
honey.|Note found on Yorae's desk</entry>
|
||||
|
||||
<entry key="magicbees.speciesAware">Aware</entry>
|
||||
<entry key="magicbees.speciesAware.description">"They can see into your soul!"|Florastar, Expert
|
||||
Beekeeper</entry>
|
||||
<entry key="magicbees.speciesSpirit">Spirit</entry>
|
||||
<entry key="magicbees.speciesSpirit.description">It is said these bees are able to contact the
|
||||
dead.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesSoul">Soul</entry>
|
||||
<entry key="magicbees.speciesSoul.description">"The Dread Pirate Roberts has come for your
|
||||
SOOOOOOULS!"|Dread Pirate Roberts</entry>
|
||||
|
||||
<entry key="magicbees.speciesSkulking">Skulking</entry>
|
||||
<entry key="magicbees.speciesSkulking.description">These bees have become xenophobic and bad-tempered.
|
||||
Use caution.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesGhastly">Ghastly</entry>
|
||||
<entry key="magicbees.speciesGhastly.description">"*sigh*... Really, Myst?"|Taveria, irritated Apiarist</entry>
|
||||
<entry key="magicbees.speciesSpidery">Spidery</entry>
|
||||
<entry key="magicbees.speciesSpidery.description">Spiderbee; n. Does whatever a spider-bee does.|Unknown</entry>
|
||||
<entry key="magicbees.speciesSmouldering">Smouldering</entry>
|
||||
<entry key="magicbees.speciesSmouldering.description">The Skulking bees have become alight with the fire of
|
||||
the ever-burning Blazes.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesTimely">Timely</entry>
|
||||
<entry key="magicbees.speciesTimely.description">"An apiarist is never late. He arrives precisely when
|
||||
he means to!"|Sengir, Mad Apiarist</entry>
|
||||
<entry key="magicbees.speciesLordly">Lordly</entry>
|
||||
<entry key="magicbees.speciesLordly.description">They live in peace, within the sight of the Eye of
|
||||
Harmony|Tattered Remains of ancient Apinomicon</entry>
|
||||
<entry key="magicbees.speciesDoctoral">Doctoral</entry>
|
||||
<entry key="magicbees.speciesDoctoral.description">"Would you like a Jelly Baby?"|Passing stranger with a
|
||||
great scarf and a blue box</entry>
|
||||
|
||||
<entry key="magicbees.speciesInfernal">Infernal</entry>
|
||||
<entry key="magicbees.speciesInfernal.description">Spawned deep within the hellish realm, none have
|
||||
survived long enough to determine their abilities.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesHateful">Hateful</entry>
|
||||
<entry key="magicbees.speciesHateful.description">|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesSpiteful">Spiteful</entry>
|
||||
<entry key="magicbees.speciesSpiteful.description">They guard their territory fiercely, with the zeal of
|
||||
fiends, and welts of fire.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesWithering">Withering</entry>
|
||||
<entry key="magicbees.speciesWithering.description">Their mere passing causes life to fail, slowly drawing
|
||||
all energy from their territory.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesOblivion">Oblivion</entry>
|
||||
<entry key="magicbees.speciesOblivion.description">It is unclear whether these bees are native to this
|
||||
world, or some other.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesNameless">Nameless</entry>
|
||||
<entry key="magicbees.speciesNameless.description">"Other naturalists have refused to study these bees. I
|
||||
must know why."|Tattered Research Notes</entry>
|
||||
<entry key="magicbees.speciesAbandoned">Abandoned</entry>
|
||||
<entry key="magicbees.speciesAbandoned.description">"The more I study these bees, the more I feel they do
|
||||
not belong here, or anywhere else."|Tattered Research Notes</entry>
|
||||
<entry key="magicbees.speciesForlorn">Forlorn</entry>
|
||||
<entry key="magicbees.speciesForlorn.description">"I am now convinced they were left in our universe on
|
||||
purpose by some unknowable beings."|Tattered Research Notes</entry>
|
||||
<entry key="magicbees.speciesDraconic">Draconic</entry>
|
||||
<entry key="magicbees.speciesDraconic.description">"With a fel sound, they erupted from their hive. That
|
||||
was the last we ever saw of Gerald."|Tattered Research Notes</entry>
|
||||
|
||||
<entry key="magicbees.speciesIron">Ferrous</entry>
|
||||
<entry key="magicbees.speciesIron.description">Having absorbed some of the base metal, these bees can
|
||||
concentrate the essence of iron from the region.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesGold">Auric</entry>
|
||||
<entry key="magicbees.speciesGold.description">Not all that glitters is gold.|Ancient Aphorism</entry>
|
||||
<entry key="magicbees.speciesCopper">Cuprum</entry>
|
||||
<entry key="magicbees.speciesCopper.description">A base metal common in many applications; these bees
|
||||
are helpful for resource-starved magicians.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesTin">Stannum</entry>
|
||||
<entry key="magicbees.speciesTin.description">While metalic, these bees are suprisingly
|
||||
fragile.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesSilver">Argentum</entry>
|
||||
<entry key="magicbees.speciesSilver.description">While they do not recieve as much attention as Golden
|
||||
bees, they are nonetheless valuable.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesLead">Plumbum</entry>
|
||||
<entry key="magicbees.speciesLead.description">A favourite of amateur alchemists, they believe they
|
||||
can transform these bees into gold.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesDiamond">Diamandi</entry>
|
||||
<entry key="magicbees.speciesDiamond.description">Crystalline, glittering, and harder than dragon's
|
||||
teeth. These bees are none of those.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesEmerald">Esmeraldi</entry>
|
||||
<entry key="magicbees.speciesEmerald.description">It is said they have been to a land ruled by a Great
|
||||
Wizard, and have taken the aspect of his city.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesApatite">Apatine</entry>
|
||||
<entry key="magicbees.speciesApatite.description">Day and night the whining droned on. I barricaded the
|
||||
windows and hid in the cellar, but everywhere the high-pitched noise
|
||||
of the apatine bees penetrated the walls and drove me to
|
||||
distraction.|Beekeeping 101</entry>
|
||||
|
||||
<entry key="magicbees.speciesTCStark">Stark</entry>
|
||||
<entry key="magicbees.speciesTCStark.description">"These are unusually attracted to shards. This
|
||||
warrents further investigation."|Azanor, Master Thaumaturge</entry>
|
||||
<entry key="magicbees.speciesTCAir">Aura</entry>
|
||||
<entry key="magicbees.speciesTCAir.description">"They work so fast it's breathtaking."|Sengir, Mad
|
||||
Apiarist</entry>
|
||||
<entry key="magicbees.speciesTCFire">Ignis</entry>
|
||||
<entry key="magicbees.speciesTCFire.description">Caution: Contents of hive extremely hot.|Warning label
|
||||
on Azanor's apiary</entry>
|
||||
<entry key="magicbees.speciesTCWater">Aqua</entry>
|
||||
<entry key="magicbees.speciesTCWater.description">"I tried to breed them once, but that was a
|
||||
wash."|MysteriousAges, Apprentice Thaumaturge</entry>
|
||||
<entry key="magicbees.speciesTCEarth">Solum</entry>
|
||||
<entry key="magicbees.speciesTCEarth.description">"You're really gonna dig these bees, but watch out -
|
||||
they bore quite easily."|MysteriousAges, Apprentice Comedian</entry>
|
||||
<entry key="magicbees.speciesTCMagic">Praecantatio</entry>
|
||||
<entry key="magicbees.speciesTCMagic.description">Beekeeping is magic!|Apinomicon, Preface</entry>
|
||||
|
||||
<entry key="magicbees.speciesTCVis">Vis</entry>
|
||||
<entry key="magicbees.speciesTCVis.description">"They can feel changes in the aura, but are not yet
|
||||
able to affect it."|Azanor, research notes</entry>
|
||||
<entry key="magicbees.speciesTCPure">Pure</entry>
|
||||
<entry key="magicbees.speciesTCPure.description">"It's like a bee janitor!"|MysteriousAges, Thaumaturge</entry>
|
||||
<entry key="magicbees.speciesTCFlux">Flux</entry>
|
||||
<entry key="magicbees.speciesTCFlux.description">"I thought they would help clean up, but it only makes
|
||||
things worse!"|Kreicus, Apprentice Thaumaturge</entry>
|
||||
<entry key="magicbees.speciesTCAttractive">Attractive</entry>
|
||||
<entry key="magicbees.speciesTCAttractive.description">Having undergone a freak mutation, these bees now
|
||||
attract magic to them.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesTCRejuvenating">Rejuvenating</entry>
|
||||
<entry key="magicbees.speciesTCRejuvenating.description">The hum of the hive is magical, and over time is
|
||||
absorbed by nearby nodes.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesTCBrainy">Brainy</entry>
|
||||
<entry key="magicbees.speciesTCBrainy.description">Their combs may be fetid and foul-smelling, but their
|
||||
intelligence is well-developed.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesTCWispy">Wispy</entry>
|
||||
<entry key="magicbees.speciesTCWispy.description">Their language is garbled and unintelligible. It is
|
||||
probable they are speaking to unnatural beings.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesTCBatty">Batty</entry>
|
||||
<entry key="magicbees.speciesTCBatty.description">They tend to attract bats to their hives through means
|
||||
unknown.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesTCChicken">Poultry</entry>
|
||||
<entry key="magicbees.speciesTCChicken.description">"Cluck. Cluck cluck! ... You heard me."|Confused bee</entry>
|
||||
<entry key="magicbees.speciesTCBeef">Beefy</entry>
|
||||
<entry key="magicbees.speciesTCBeef.description">"Moo, moo, moo. Wait, what?"|Confused bee</entry>
|
||||
<entry key="magicbees.speciesTCPork">Porcine</entry>
|
||||
<entry key="magicbees.speciesTCPork.description">"Oink, oink. Er.... bzzz?"|Confused bee</entry>
|
||||
|
||||
<entry key="magicbees.speciesEEMinium">Minium</entry>
|
||||
<entry key="magicbees.speciesEEMinium.description">It may be possible to exploit their mercurial and
|
||||
changeable nature.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesAMEssence">Essence</entry>
|
||||
<entry key="magicbees.speciesAMEssence.description">Drawing from motes of dust in the air and ground, they
|
||||
concentrate the energy</entry>
|
||||
<entry key="magicbees.speciesAMQuintessence">Quintessential</entry>
|
||||
<entry key="magicbees.speciesAMQuintessence.description">The heart of magic lies dormant in all
|
||||
things.|Apinomicon, preface</entry>
|
||||
|
||||
<entry key="magicbees.speciesAMEarth">Erde</entry>
|
||||
<entry key="magicbees.speciesAMEarth.description">Empowered by the Earth, their produce is infused with
|
||||
its essence.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesAMAir">Luft</entry>
|
||||
<entry key="magicbees.speciesAMAir.description">Swift as the wind, and lighter than air.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesAMFire">Feuer</entry>
|
||||
<entry key="magicbees.speciesAMFire.description">Their colony can reach temperatures that boil water
|
||||
and melt metals.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesAMWater">Wasser</entry>
|
||||
<entry key="magicbees.speciesAMWater.description">Through prolonged exposure to liquids, their combs are
|
||||
quite wet and heavy.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesAMLightning">Blitz</entry>
|
||||
<entry key="magicbees.speciesAMLightning.description">They can travel vast distances in a blink, and are
|
||||
known for starting many wildfires.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesAMPlant">Staude</entry>
|
||||
<entry key="magicbees.speciesAMPlant.description">They have an affinity for all that is green and
|
||||
grows.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesAMIce">Eis</entry>
|
||||
<entry key="magicbees.speciesAMIce.description">"They keep stealing stuff from me, and I never see
|
||||
them. They're far too slippery."|MysteriousAges, incorrigible punster</entry>
|
||||
<entry key="magicbees.speciesAMMagma">Magma</entry>
|
||||
<entry key="magicbees.speciesAMMagma.description">As they fly by, they sear the surface of the
|
||||
landscape, eventually scouring all plants and fragile minerals
|
||||
away.|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesAMArcane">Arkanen</entry>
|
||||
<entry key="magicbees.speciesAMArcane.description">"Curious creatures, though their produce is quite
|
||||
useful."|Mithion, Adept</entry>
|
||||
|
||||
<entry key="magicbees.speciesAMVortex">Vortex</entry>
|
||||
<entry key="magicbees.speciesAMVortex.description">Ravenous for mana, they may be dangerous for any
|
||||
caster.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesAMWight">Wight</entry>
|
||||
<entry key="magicbees.speciesAMWight.description">"They attract magical spirits; not always
|
||||
docile."|Mithion, Adept</entry>
|
||||
|
||||
<!-- Blank species entries <entry key="magicbees.species"></entry> <entry
|
||||
key="magicbees.species.description"></entry> -->
|
||||
|
||||
<!-- Bee Alleles -->
|
||||
<entry key="magicbees.effectCurative">Очищающая</entry>
|
||||
<entry key="magicbees.effectDigSpeed">Добывающая</entry>
|
||||
<entry key="magicbees.effectMoveSpeed">Ускоряющая</entry>
|
||||
<entry key="magicbees.effectSlowSpeed">Искривляющая Время</entry>
|
||||
<entry key="magicbees.effectWithering">Иссушающая</entry>
|
||||
<entry key="magicbees.effectNodeAttract">Привлечённая Аурой</entry>
|
||||
<entry key="magicbees.effectNodePurify">Очищенная аурой</entry>
|
||||
<entry key="magicbees.effectNodeFlux">Загрязнённая аурой</entry>
|
||||
<entry key="magicbees.effectNodeCharge">Заряженная аурой</entry>
|
||||
<entry key="magicbees.effectBrainy">Умная</entry>
|
||||
<entry key="magicbees.effectBatty">Сумасшедшая</entry>
|
||||
<entry key="magicbees.effectWispy">Призрачная</entry>
|
||||
<entry key="magicbees.effectGhastly">Ужасная</entry>
|
||||
<entry key="magicbees.effectSpidery">Паучая</entry>
|
||||
<entry key="magicbees.effectAblaze">Горящая</entry>
|
||||
<entry key="magicbees.effectManaDrainer">Вихревая</entry>
|
||||
<entry key="magicbees.effectAMWisp">Духовная</entry>
|
||||
<entry key="flowerProvider.book">Книги</entry>
|
||||
<entry key="flowerProvider.magic">Магические Цветы</entry>
|
||||
<entry key="flowerProvider.arsmagica">Экзотические цветы</entry>
|
||||
<entry key="flowerProvider.node">Нод</entry>
|
||||
|
||||
<!-- Classifications -->
|
||||
<entry key="classification.veiled">Сокрытые</entry>
|
||||
<entry key="classification.veiled.description">Эти странные виды разбросаны по всему миру, могут
|
||||
иметь способности за пределами своего мышления.|Apinomicon</entry>
|
||||
<entry key="classification.arcane">Мистические</entry>
|
||||
<entry key="classification.arcane.description">Эти пчёлы имеют необъяснимую близость к
|
||||
магии.|Apinomicon</entry>
|
||||
<entry key="classification.supernatural">Сверхъестественные</entry>
|
||||
<entry key="classification.supernatural.description">Уже необыкновенные пчёлы, они были связаны со многими
|
||||
странными происшествиями.|Apinomicon</entry>
|
||||
<entry key="classification.scholarly">Научные</entry>
|
||||
<entry key="classification.scholarly.description">Каста пчёл, которые имеют большой интеллект и
|
||||
дедуктивные способности.|Apinomicon</entry>
|
||||
<entry key="classification.skulking">Прячущиеся</entry>
|
||||
<entry key="classification.skulking.description">Неприятные и злобные.Относитесь к этой группе с
|
||||
осторожностью.|Apinomicon</entry>
|
||||
<entry key="classification.magic">Знающие</entry>
|
||||
<entry key="classification.magic.description">Неясно, являются ли они разумными, но у них есть
|
||||
поразительное осознание о своих средах обитания.|Apinomicon</entry>
|
||||
<entry key="classification.time">Временные</entry>
|
||||
<entry key="classification.time.description">Несмотря на умное использование времени на
|
||||
путешествие, эти пчёлы выполняют в два раза больше работы за один
|
||||
день.|Apinomicon</entry>
|
||||
<entry key="classification.soul">Душевные</entry>
|
||||
<entry key="classification.soul.description">Становится жутко когда думаешь, что они собирают души
|
||||
умерших.|Apinomicon</entry>
|
||||
<entry key="classification.abominable">Отвратительные</entry>
|
||||
<entry key="classification.abominable.description">Спавнятся в огненных глубинах нижнего мира, нет ничего
|
||||
приятного об этих существах.|Apinomicon</entry>
|
||||
<entry key="classification.Extrinsic">Посторнонние</entry>
|
||||
<entry key="classification.Extrinsic.description">Неизвестно, является ли эти существа порождением семьи
|
||||
Apidae в этой вселенной, или они развивались отдельно.|Apinomicon</entry>
|
||||
<entry key="classification.metallic">Металлические</entry>
|
||||
<entry key="classification.metallic.description">Они собирают фрагменты металла и объединяют их в
|
||||
большие части.|Apinomicon</entry>
|
||||
<entry key="classification.gem">Жемчужные</entry>
|
||||
<entry key="classification.gem.description">Они собирают фрагменты драгоценных камней в их
|
||||
сотах.|Apinomicon</entry>
|
||||
<entry key="classification.thaumic">Таумические</entry>
|
||||
<entry key="classification.thaumic.description">Эти пчёлы имеют повышенную близость к магии и
|
||||
ауре.|Apinomicon</entry>
|
||||
<entry key="classification.fleshy">Мясистые</entry>
|
||||
<entry key="classification.fleshy.description">Через неизвестный механизм, эти пчёлы накапливают
|
||||
куски мяса животных. Так или иначе, это все еще съедобно.|Apinomicon</entry>
|
||||
<entry key="classification.alchemical">Алхимические</entry>
|
||||
<entry key="classification.alchemical.description">Эти пчёлы имеют непостоянную сущность.|Apinomicon</entry>
|
||||
<entry key="classification.essential">Ценные</entry>
|
||||
<entry key="classification.essential.description">Эти пчёлы имеют повышенную близость к аспектированной
|
||||
магии.|Apinomicon</entry>
|
||||
|
||||
</properties>
|
||||
@@ -1,301 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
|
||||
<properties version="1.0">
|
||||
<!-- Item names -->
|
||||
<entry key="item.magicbees:jellyBabies.name">胶糖娃娃</entry>
|
||||
<entry key="item.magicbees:thaumiumScoop.name">奥法捕蜂网</entry>
|
||||
<entry key="item.magicbees:thaumiumGrafter.name">奥法剪枝器</entry>
|
||||
|
||||
<!-- Specially handled Item names -->
|
||||
<entry key="item.moonDial.name">翡翠色月相盘</entry>
|
||||
|
||||
<!-- Block names -->
|
||||
<entry key="tile.planks.greatwood.name">宏伟之木木板</entry>
|
||||
<entry key="tile.slab.wood.greatwood.name">宏伟之木台阶</entry>
|
||||
<entry key="tile.planks.silverwood.name">银树木板</entry>
|
||||
<entry key="tile.slab.wood.silverwood.name">银树台阶</entry>
|
||||
<entry key="tile.effectJar.name">蜜蜂收集者的罐子</entry>
|
||||
|
||||
<!-- Comb names -->
|
||||
<entry key="comb.occult">神秘蜂巢</entry>
|
||||
<entry key="comb.otherworldly">异域蜂巢</entry>
|
||||
<entry key="comb.paper">纸质蜂巢</entry>
|
||||
<entry key="comb.stark">朴实蜂巢</entry>
|
||||
<entry key="comb.air">风之蜂巢</entry>
|
||||
<entry key="comb.fire">火之蜂巢</entry>
|
||||
<entry key="comb.water">水之蜂巢</entry>
|
||||
<entry key="comb.earth">地之蜂巢</entry>
|
||||
<entry key="comb.magic">蕴魔蜂巢</entry>
|
||||
<entry key="comb.aware">回忆蜂巢</entry>
|
||||
<entry key="comb.furtive">诡秘蜂巢</entry>
|
||||
<entry key="comb.soul">灵魂蜂巢</entry>
|
||||
<entry key="comb.essence">源质蜂巢</entry>
|
||||
<entry key="comb.potent">强力蜂巢</entry>
|
||||
|
||||
<!-- Wax names -->
|
||||
<entry key="wax.magic">魔力蜜蜡</entry>
|
||||
<entry key="wax.soul">灵魂蜜蜡</entry>
|
||||
|
||||
<!-- Drop names -->
|
||||
<entry key="drop.enchanting">蕴魔液滴</entry>
|
||||
<entry key="drop.intellect">智慧液滴</entry>
|
||||
|
||||
<!-- Pollen names -->
|
||||
<entry key="pollen.unusual">罕见花粉</entry>
|
||||
<entry key="pollen.phased">相位花粉</entry>
|
||||
|
||||
<!-- Nugget names -->
|
||||
<entry key="nugget.iron">铁粒</entry>
|
||||
<entry key="nugget.steel">钢粒</entry>
|
||||
<entry key="nugget.copper">铜粒</entry>
|
||||
<entry key="nugget.tin">锡粒</entry>
|
||||
<entry key="nugget.silver">银粒</entry>
|
||||
<entry key="nugget.lead">铅粒</entry>
|
||||
<entry key="nugget.diamond">钻石碎片</entry>
|
||||
<entry key="nugget.emerald">绿宝石碎片</entry>
|
||||
<entry key="nugget.apatite">磷灰石碎片</entry>
|
||||
|
||||
<!-- Propolis names -->
|
||||
<entry key="propolis.dull">枯竭蜂胶</entry>
|
||||
<entry key="propolis.air">和风蜂胶</entry>
|
||||
<entry key="propolis.fire">炽热蜂胶</entry>
|
||||
<entry key="propolis.water">奔流蜂胶</entry>
|
||||
<entry key="propolis.earth">石化蜂胶</entry>
|
||||
<entry key="propolis.magic">蕴魔蜂胶</entry>
|
||||
|
||||
<!-- Misc Resources -->
|
||||
<entry key="resource.fragment">卷章碎片</entry>
|
||||
<entry key="resource.lump">芬芳块</entry>
|
||||
<entry key="resource.fertilizer">浓缩复合物</entry>
|
||||
<entry key="resource.startNode">蜜蜂与魔法</entry>
|
||||
<entry key="resource.beeEnchant">朴实蜂蕴魔物</entry>
|
||||
<entry key="resource.crystalAspect">晶化%s要素</entry>
|
||||
|
||||
<!-- Frames -->
|
||||
<entry key="item.frameMagic.name">魔力框架</entry>
|
||||
<entry key="item.frameResilient.name">弹力框架</entry>
|
||||
<entry key="item.frameGentle.name">柔性框架</entry>
|
||||
<entry key="item.frameMetabolic.name">代谢框架</entry>
|
||||
<entry key="item.frameNecrotic.name">坏死框架</entry>
|
||||
<entry key="item.frameTemporal.name">瞬息框架</entry>
|
||||
<entry key="item.frameOblivion.name">湮灭框架</entry>
|
||||
|
||||
<!-- Capsule names -->
|
||||
<entry key="capsule.magic">魔力胶囊</entry>
|
||||
<entry key="capsule.void">虚空胶囊</entry>
|
||||
|
||||
<!-- Liquids -->
|
||||
<entry key="liquid.">空</entry>
|
||||
<entry key="liquid.water">水</entry>
|
||||
<entry key="liquid.lava">岩浆</entry>
|
||||
<entry key="liquid.biomass">生物质</entry>
|
||||
<entry key="liquid.biofuel">空</entry>
|
||||
<entry key="liquid.Oil">石油</entry>
|
||||
<entry key="liquid.Fuel">燃油</entry>
|
||||
<entry key="liquid.seedoil">种子油</entry>
|
||||
<entry key="liquid.honey">蜂蜜</entry>
|
||||
<entry key="liquid.juice">果汁</entry>
|
||||
<entry key="liquid.ice">冰</entry>
|
||||
<entry key="liquid.milk">牛奶</entry>
|
||||
<entry key="liquid.acid">酸</entry>
|
||||
<entry key="liquid.poison">毒液</entry>
|
||||
<entry key="liquid.liquidNitrogen">液氮</entry>
|
||||
<entry key="liquid.liquidDNA">液态DNA</entry>
|
||||
<entry key="liquid.Creosote Oil">木榴油</entry>
|
||||
<entry key="liquid.Steam">蒸汽</entry>
|
||||
|
||||
<!-- Moon Phases -->
|
||||
<entry key="moon.full">满月</entry>
|
||||
<entry key="moon.gibbousWaning">亏凸月</entry>
|
||||
<entry key="moon.gibousWaxing">盈凸月</entry>
|
||||
<entry key="moon.halfWaning">下弦月</entry>
|
||||
<entry key="moon.halfWaxing">上弦月</entry>
|
||||
<entry key="moon.crescentWaning">亏蛾眉月</entry>
|
||||
<entry key="moon.crescentWaxing">凸娥眉月</entry>
|
||||
<entry key="moon.new">新月</entry>
|
||||
|
||||
<!-- Miscellaneous names -->
|
||||
<entry key="backpack.thaumaturge">神秘使背包</entry>
|
||||
<entry key="itemGroup.magicbees">神秘蜜蜂</entry>
|
||||
|
||||
<!-- Species names -->
|
||||
<entry key="magicbees.speciesEsoteric">玄奥</entry>
|
||||
<entry key="magicbees.speciesEsoteric.description">罕见的杂交品种,具有魔力特性。|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesMysterious">神秘</entry>
|
||||
<entry key="magicbees.speciesMysterious.description">这些蜜蜂曾经去过世界的尽头并凯旋归来,它们的能力得到了长足增强。|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesArcane">奥能</entry>
|
||||
<entry key="magicbees.speciesArcane.description">"它们的产物充满了魔力!"|Azanor, 大神秘使</entry>
|
||||
|
||||
<entry key="magicbees.speciesCharmed">魅惑</entry>
|
||||
<entry key="magicbees.speciesCharmed.description">你的神秘学养蜂试验终于结出了硕果-一种会嗡嗡叫名为蜜蜂的硕果。|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesEnchanted">蕴魔</entry>
|
||||
<entry key="magicbees.speciesEnchanted.description">数带魅惑蜂的繁衍让小东西们逐渐接触到未知的存在。|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesSupernatural">超能</entry>
|
||||
<entry key="magicbees.speciesSupernatural.description">蜜蜂行走在不可视境界线之上。|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesPupil">学徒</entry>
|
||||
<entry key="magicbees.speciesPupil.description">"这群蜜蜂想对我的研究稿做什么?!|Yorae,图书馆馆员</entry>
|
||||
<entry key="magicbees.speciesScholarly">博学</entry>
|
||||
<entry key="magicbees.speciesScholarly.description">"我难以确信,但我觉得它们比我更聪明 ..."|Yorae,图书馆馆员</entry>
|
||||
<entry key="magicbees.speciesSavant">专家</entry>
|
||||
<entry key="magicbees.speciesSavant.description">lim(x^(i / pi)/ log(e * 7 - ln(32/x^-pi))).
|
||||
把这个解出来我就给你们蜂蜜。|Yorae的桌子上发现的便签</entry>
|
||||
|
||||
<entry key="magicbees.speciesAware">感知</entry>
|
||||
<entry key="magicbees.speciesAware.description">"它们看得见你的灵魂!"|Florastar,养蜂专家</entry>
|
||||
<entry key="magicbees.speciesSpirit">精神</entry>
|
||||
<entry key="magicbees.speciesSpirit.description">据说这种蜜蜂能和死者沟通。|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesSoul">魂魄</entry>
|
||||
<entry key="magicbees.speciesSoul.description">"路西法亲自收割你的灵魂来啦!"|Yooooooooo</entry>
|
||||
|
||||
<entry key="magicbees.speciesSkulking">诡隐</entry>
|
||||
<entry key="magicbees.speciesSkulking.description">这些蜜蜂变得暴躁排外,你可得当心了!|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesGhastly">幽魂</entry>
|
||||
<entry key="magicbees.speciesGhastly.description">"*叹息*... 真的,神秘?"|Taveria</entry>
|
||||
<entry key="magicbees.speciesSpidery">蜘蛛</entry>
|
||||
<entry key="magicbees.speciesSpidery.description">蜘蛛蜂; 嗯.做蜘蛛蜂该做的事情。|未知语</entry>
|
||||
|
||||
<entry key="magicbees.speciesTimely">瞬息</entry>
|
||||
<entry key="magicbees.speciesTimely.description">"养蜂员从不迟到,他想去的时候就能准点到达!"|Sengir,养蜂狂人</entry>
|
||||
<entry key="magicbees.speciesLordly">贵族</entry>
|
||||
<entry key="magicbees.speciesLordly.description">它们平和生活,共建和谐社会|古遗物</entry>
|
||||
<entry key="magicbees.speciesDoctoral">博士</entry>
|
||||
<entry key="magicbees.speciesDoctoral.description">"你们喜欢胶糖娃娃吗?"|戴着大围巾,手持蓝色盒子的陌生人</entry>
|
||||
|
||||
<entry key="magicbees.speciesIron">灰铁</entry>
|
||||
<entry key="magicbees.speciesIron.description">这种蜜蜂能从周围聚集铁元素。|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesGold">黄金</entry>
|
||||
<entry key="magicbees.speciesGold.description">闪光的东西未必是黄金。|古代格言</entry>
|
||||
<entry key="magicbees.speciesCopper">紫铜</entry>
|
||||
<entry key="magicbees.speciesCopper.description">铜是非常有用的常见金属,这种蜜蜂能从周围聚集铜元素。|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesTin">白锡</entry>
|
||||
<entry key="magicbees.speciesTin.description">涉及到金属的时候,这些蜜蜂异常脆弱。|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesSilver">白银</entry>
|
||||
<entry key="magicbees.speciesSilver.description">即使略逊于黄金蜂,它们也自有其价值所在。|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesLead">黑铅</entry>
|
||||
<entry key="magicbees.speciesLead.description">业余炼金术师的最好,它们相信这种蜜蜂能点铅化金。|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesDiamond">钻石</entry>
|
||||
<entry key="magicbees.speciesDiamond.description">闪光的结晶,硬比龙牙。钻石恒久远,一颗永流传。|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesEmerald">宝石</entry>
|
||||
<entry key="magicbees.speciesEmerald.description">据说它们曾造访伟大巫师统治之地,并带走了巫师之城的要素。|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesApatite">磷化</entry>
|
||||
<entry key="magicbees.speciesApatite.description">这些东西真心是日夜牢骚不断。我关紧窗户躲进地下室,但蜜蜂尖锐的嗡嗡声却无处不在地透墙而过,乱我心绪。|养蜂入门</entry>
|
||||
|
||||
<entry key="magicbees.speciesTCStark">朴实</entry>
|
||||
<entry key="magicbees.speciesTCStark.description">"它们能吸引魔力的碎片,具体有待研究!"|Azanor,大神秘使</entry>
|
||||
<entry key="magicbees.speciesTCAir">灵气</entry>
|
||||
<entry key="magicbees.speciesTCAir.description">"工作敏捷,扣人心弦!"|Sengir,养蜂狂人</entry>
|
||||
<entry key="magicbees.speciesTCFire">灼热</entry>
|
||||
<entry key="magicbees.speciesTCFire.description">注意:蜂房中的东西相当灼热。|Azanor的蜂房的警告牌</entry>
|
||||
<entry key="magicbees.speciesTCWater">流水</entry>
|
||||
<entry key="magicbees.speciesTCWater.description">"我试图养育它们,结果变成落汤鸡!"|MysteriousAges,神秘使学徒</entry>
|
||||
<entry key="magicbees.speciesTCEarth">泥土</entry>
|
||||
<entry key="magicbees.speciesTCEarth.description">"这些蜜蜂真心是挖掘专家,小心它们挖洞"|MysteriousAges,滑稽剧学徒</entry>
|
||||
<entry key="magicbees.speciesTCMagic">奇术</entry>
|
||||
<entry key="magicbees.speciesTCMagic.description">养蜂本身就是一种魔法!|Apinomicon,绪论</entry>
|
||||
|
||||
<entry key="magicbees.speciesTCVis">魔力</entry>
|
||||
<entry key="magicbees.speciesTCVis.description">"它们能感知到魔力的存在,却还不能影响到魔力。"|Azanor,研究笔记</entry>
|
||||
<entry key="magicbees.speciesTCPure">纯净</entry>
|
||||
<entry key="magicbees.speciesTCPure.description">"蜜蜂中的卫士!"|MysteriousAges,神秘使</entry>
|
||||
<entry key="magicbees.speciesTCFlux">咒波</entry>
|
||||
<entry key="magicbees.speciesTCFlux.description">"我以为能解决咒波问题呢,结果情况更糟糕了!"|Kreicus,神秘使学徒</entry>
|
||||
<entry key="magicbees.speciesTCRejuvenating">复兴</entry>
|
||||
<entry key="magicbees.speciesTCRejuvenating.description">神奇的蜜蜂,能吸引附近的节点靠近。|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesTCBrainy">怒尸</entry>
|
||||
<entry key="magicbees.speciesTCBrainy.description">蜂巢变得恶臭难闻,但这些家伙变得好聪明!|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesTCWispy">精灵</entry>
|
||||
<entry key="magicbees.speciesTCWispy.description">它们的语言支离破碎,难以理解,也许它们在和某种超自然的生物沟通?|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesTCBatty">火蝠</entry>
|
||||
<entry key="magicbees.speciesTCBatty.description">它们通过未知的方法吸引了许多火焰蝙蝠。|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesTCChicken">家禽</entry>
|
||||
<entry key="magicbees.speciesTCChicken.description">"咯咯。咯咯咯,咯咯咯咯! ... 听到没?"|困惑的蜜蜂</entry>
|
||||
<entry key="magicbees.speciesTCBeef">壮牛</entry>
|
||||
<entry key="magicbees.speciesTCBeef.description">"哞哞,哞哞,哞哞。稍等,咋回事?"|困惑的蜜蜂</entry>
|
||||
<entry key="magicbees.speciesTCPork">猪啰</entry>
|
||||
<entry key="magicbees.speciesTCPork.description">"呼噜,呼噜噜.额.... 嗡嗡?"|困惑的蜜蜂</entry>
|
||||
|
||||
<entry key="magicbees.speciesEEMinium">铅丹</entry>
|
||||
<entry key="magicbees.speciesEEMinium.description">善变乃其天性。|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesAMEssence">源质</entry>
|
||||
<entry key="magicbees.speciesAMEssence.description">集中力量汇集大气中的微尘。|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesAMQuintessence">精萃</entry>
|
||||
<entry key="magicbees.speciesAMQuintessence.description">魔法之心蕴藏世间诸事。|Apinomicon,绪论</entry>
|
||||
<entry key="magicbees.speciesAMErde">大地</entry>
|
||||
<entry key="magicbees.speciesAMErde.description">大地的力量灌注下,它们制造地属性的源质。|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesAMLuft">和风</entry>
|
||||
<entry key="magicbees.speciesAMLuft.description">在风的加持下,比空气更轻盈。|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesAMFeuer">焰火</entry>
|
||||
<entry key="magicbees.speciesAMFeuer.description">它们能沸水溶金。|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesAMWasser">水灵</entry>
|
||||
<entry key="magicbees.speciesAMWasser.description">浸透了液体后,它们的蜂巢潮湿又沉重。|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesAMBlitz">闪电</entry>
|
||||
<entry key="magicbees.speciesAMBlitz.description">瞬息千里,所到即生野火。|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesAMStaude">延年</entry>
|
||||
<entry key="magicbees.speciesAMStaude.description">与绿色和生命的力量天生亲和。|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesAMEis">冰霜</entry>
|
||||
<entry key="magicbees.speciesAMEis.description">"它们老偷我东西,但我却抓不住它们。它们太滑溜。"|MysteriousAges, incorrigible
|
||||
punster</entry>
|
||||
<entry key="magicbees.speciesAMMagma">熔岩</entry>
|
||||
<entry key="magicbees.speciesAMMagma.description">它们飞过之处,大地被烧灼成灰烬之地,所有的植被都被焚烧干净。|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesAMArkanen">奥义</entry>
|
||||
<entry key="magicbees.speciesAMArkanen.description">"古怪的生物,但是产物蛮有用的"|Mithion,专家级法师</entry>
|
||||
<entry key="magicbees.speciesAMVortex">漩涡</entry>
|
||||
<entry key="magicbees.speciesAMVortex.description">它们贪婪地渴求法力,被任何施法者它们都能危险。|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesAMWight">重量</entry>
|
||||
<entry key="magicbees.speciesAMWight.description">"它们能吸收魔力;并非总是很温顺。"|Mithion,专家级法师</entry>
|
||||
|
||||
<!-- Blank species entries <entry key="magicbees.species"></entry> <entry
|
||||
key="magicbees.species.description"></entry> -->
|
||||
<!-- Bee Alleles -->
|
||||
<entry key="magicbees.effectCurative">驱散</entry>
|
||||
<entry key="magicbees.effectDigSpeed">挖掘加速</entry>
|
||||
<entry key="magicbees.effectMoveSpeed">速度</entry>
|
||||
<entry key="magicbees.effectSlowSpeed">缓慢</entry>
|
||||
<entry key="magicbees.effectNodeGeneration">灵气吸收</entry>
|
||||
<entry key="magicbees.effectNodePurify">灵气纯化</entry>
|
||||
<entry key="magicbees.effectNodeFlux">咒波</entry>
|
||||
<entry key="magicbees.effectNodeCharge">灵气充能</entry>
|
||||
<entry key="magicbees.effectBrainy">怒尸</entry>
|
||||
<entry key="magicbees.effectBatty">火蝠</entry>
|
||||
<entry key="magicbees.effectWispy">精灵</entry>
|
||||
<entry key="magicbees.effectGhastly">幽魂</entry>
|
||||
<entry key="magicbees.effectManaDrainer">漩涡</entry>
|
||||
<entry key="magicbees.effectAMWisp">精灵[AM]</entry>
|
||||
<entry key="flowerProvider.book">书</entry>
|
||||
<entry key="flowerProvider.magic">神秘植物</entry>
|
||||
<entry key="flowerProvider.arsmagica">异域植物</entry>
|
||||
<entry key="flowerProvider.node">节点</entry>
|
||||
|
||||
<!-- Classifications -->
|
||||
<entry key="classification.arcane">奥能</entry>
|
||||
<entry key="classification.arcane.description">对奥法亲和的蜜蜂。|Apinomicon</entry>
|
||||
<entry key="classification.supernatural">超能</entry>
|
||||
<entry key="classification.supernatural.description">非比寻常,和很多神秘现象有关。|Apinomicon</entry>
|
||||
<entry key="classification.scholarly">博学</entry>
|
||||
<entry key="classification.scholarly.description">这种蜜蜂拥有强大的智慧和演算能力。|Apinomicon</entry>
|
||||
<entry key="classification.skulking">诡隐</entry>
|
||||
<entry key="classification.skulking.description">令人不快的恶意。当心它们。|Apinomicon</entry>
|
||||
<entry key="classification.magic">意识</entry>
|
||||
<entry key="classification.magic.description">它们是否有意识不能妄断,但它们对周围的环境很敏锐。|Apinomicon</entry>
|
||||
<entry key="classification.time">时间</entry>
|
||||
<entry key="classification.time.description">通过巧妙的时间控制能力,这种蜜蜂一天能当两天过。|Apinomicon</entry>
|
||||
<entry key="classification.soul">灵魂</entry>
|
||||
<entry key="classification.soul.description">它们在收集死者的魂魄,好可怕!|Apinomicon</entry>
|
||||
<entry key="classification.metallic">金属</entry>
|
||||
<entry key="classification.metallic.description">汇聚金属的蜜蜂。|Apinomicon</entry>
|
||||
<entry key="classification.gem">宝石</entry>
|
||||
<entry key="classification.gem.description">汇聚宝石的蜜蜂。|Apinomicon</entry>
|
||||
<entry key="classification.thaumic">神秘</entry>
|
||||
<entry key="classification.thaumic.description">和很多神秘力量亲和的蜜蜂。|Apinomicon</entry>
|
||||
<entry key="classification.fleshy">肉块</entry>
|
||||
<entry key="classification.fleshy.description">因为未知原因,这种蜜蜂大量产出可使用的肉。|Apinomicon</entry>
|
||||
<entry key="classification.alchemical">炼金</entry>
|
||||
<entry key="classification.alchemical.description">这种蜜蜂有一种嬗变的天性。|Apinomicon</entry>
|
||||
<entry key="classification.essential">源质</entry>
|
||||
<entry key="classification.essential.description">这种蜜蜂对魔法源质非常亲和。|Apinomicon</entry>
|
||||
|
||||
</properties>
|
||||
@@ -1,103 +0,0 @@
|
||||
<research>
|
||||
<project id="BEESTARTNODE">
|
||||
<name>Bees And Magic</name>
|
||||
<popupText>Across Fields and Forest</popupText>
|
||||
<longText>There is something about your world that makes you think trees and bees require more research.</longText>
|
||||
<page type="text">A recent breakthrough has given you information regarding Apiculture and Arborculture. Perhaps it isn't quite as mundane as it first seemed.
|
||||
|
||||
The potential exists for further study. All that is required is some creative thinking to apply new uses to old, familiar items.</page>
|
||||
</project>
|
||||
|
||||
<project id="FERTILIZER">
|
||||
<name>Concentrated Compound</name>
|
||||
<popupText>An Apatite for more...</popupText>
|
||||
<longText>You believe you can extend your reserves of apatite by enriching the crafted material with something that crops may appreciate.</longText>
|
||||
<page type="text">You have discovered a method to stretch your reserves of apatite to the limit through the use of magic. By infusing the mixture created by crushing the apatite crystals with dirt with the aspect of the Harvest, you can create additional reserves of it. This mixture is then diluted with sand to produce the normal variety of fertilizer.</page>
|
||||
<page type="infusioncrafting">FERTILIZER</page>
|
||||
</project>
|
||||
|
||||
<project id="HIVEFRAME">
|
||||
<name>Magic Frame</name>
|
||||
<popupText>A Different Frame of Bee</popupText>
|
||||
<longText>Continuing from your curiousity into these flying creatures, an idea has ocurred to you how to encourage them to work faster, coaxed along by the judicious use of magic applied to some existing beekeeping equipment.</longText>
|
||||
<page type="text">The simple frames known to all beekeepers, while effective, are flimsy and prone to breakage. With the help of magic, you have devised an improved design to function longer by enchanting it with reinforcing magic.
|
||||
|
||||
These improved versions can last several times longer than the basic frames, thanks to your new enchantments.</page>
|
||||
<page type="infusioncrafting">FRAMEMAGIC</page>
|
||||
</project>
|
||||
|
||||
<project id="HIVEFRAME2">
|
||||
<name>Resilient Frame</name>
|
||||
<popupText>Making it better...</popupText>
|
||||
<longText>Having come up with an idea for an improved Magical Frame, the next logical step would be to reinforce the design further, shielding it from all but the harshest wear and tear. The trade-off, of course, would be an increased consumption of aura during its operation.</longText>
|
||||
<page type="text">You have successfully created a design for a more durable Apiary Frame, the Resilient Frame. Like the Magic Frame, it will increase the bees' working speed and consume aura to offset received wear and tear. Unlike the Magic Frame, its expected lifespan is much longer. </page>
|
||||
<page type="infusioncrafting">FRAMERESILIENT</page>
|
||||
</project>
|
||||
|
||||
<project id="HIVEFRAMEGENTLE">
|
||||
<name>Gentle Frame</name>
|
||||
<popupText>You won't even notice I'm here.</popupText>
|
||||
<longText>Continuing from your curiosity into these flying creatures, an idea has occured to you how to encourage them to live slightly longer within the Apiaries. Perhaps if you could surround them with the essence of health, life, and the plants they love, you can realize this idea.</longText>
|
||||
<page type="text">The Gentle Frame extends the life expectancy of a working queen by roughly a half, and encourages the workers to move at a slightly increased pace. The end result is that the bees live longer, and produce more while they are alive.</page>
|
||||
<page type="infusioncrafting">FRAMEGENTLE</page>
|
||||
</project>
|
||||
|
||||
<project id="HIVEFRAMEMETA">
|
||||
<name>Metabolic Frame</name>
|
||||
<popupText>And One! And Two!</popupText>
|
||||
<longText>Additional bee research has yielded insight into their body structure, metabolism, and life cycle. It is possible that you could create a frame to enhance their body processes.</longText>
|
||||
<page type="text">The Metabolic Frame enhances the rate at which bees metabolize food, resulting in a higher work speed. However, this makes their genetic structure somewhat unstable and prone to mutations. While this can be frustrating for some apiarists, other, more prepared beekeepers have been known to use the Metabolic Frames in their apiaries to encourage mutations in bee species.
|
||||
|
||||
It is rather less durable than the Magic Frame.</page>
|
||||
<page type="infusioncrafting">FRAMEMETABOLIC</page>
|
||||
</project>
|
||||
|
||||
<project id="HIVEFRAMENECRO">
|
||||
<name>Necrotic Frame</name>
|
||||
<popupText>Doom And Gloom, For Bees!</popupText>
|
||||
<longText>After being stung by a bee, you concocted an idea to make them pay. Surely placing a frame infused with death and envenomed intents in a hive will teach them a lesson!</longText>
|
||||
<page type="text">Your vengeance-fuelled research has paid off, resulting in the knowledge of the Necrotic Frame. This frame, when placed in an Apiary, will cause the bees to become sluggish, reducing their work speed, and severely unhealthy, greatly diminishing the current generation's lifespan. However, it is prudent to ensure the enchantments in the frame only affect the current generation.</page>
|
||||
<page type="infusioncrafting">FRAMENECROTIC</page>
|
||||
</project>
|
||||
|
||||
<project id="HIVEFRAMETIME">
|
||||
<name>Temporal Frame</name>
|
||||
<popupText>Why isn't it blue and boxy?</popupText>
|
||||
<longText>You have been seeking a way to significantly extend bee life. It should be possible by adding a frame enchanted with the essence of time to the hive.</longText>
|
||||
<page type="text">Keeping bees has been frustrating, as the insects' short lives requires you to manually intervene far too often.
|
||||
|
||||
A new variation of your frame design, this version involving some Time magic, should help extend their lives significantly.</page>
|
||||
<page type="infusioncrafting">FRAMETIME</page>
|
||||
</project>
|
||||
|
||||
<project id="VOIDCAPSULE">
|
||||
<name>Void Capsule</name>
|
||||
<popupText>Another Dimension of Liquid Storage</popupText>
|
||||
<longText>It seems reasonable that if you can shift blocks and other matter into an alternate dimension temporarily, you should be able to do something similar with liquids.</longText>
|
||||
<page type="text">These new capsules can hold the equivalent of 8 buckets' worth of liquid by syphoning off a large quantity into a pocket dimension temporarily.
|
||||
|
||||
Like other capsules, they are fragile and are typically single-use. They have proven popular for long-term storage.</page>
|
||||
<page type="infusioncrafting">VOIDCAPSULE</page>
|
||||
</project>
|
||||
|
||||
<project id="THAUMIUMSCOOP">
|
||||
<name>Thaumium Scoop</name>
|
||||
<popupText>Stronger, Faster, Bee-ter</popupText>
|
||||
<longText>It is possible to improve the durability of the scoop by creating them out of sterner materials. While you're at it, it may be helpful to enable them to be enchanted with restorative magics.</longText>
|
||||
<page type="text">This improved scoop is more durable than the plain one your non-magical beekeeping friends are liable to use. It is good for three times as long as the average scoop at the cost of using some thaumium instead.
|
||||
|
||||
Because the thaumium present in its construction, it is possible to enchant the scoop with a Repairing spell in the usual manner.</page>
|
||||
<page type="arcanecrafting">THAUMIUMSCOOP</page>
|
||||
</project>
|
||||
|
||||
<project id="THAUMIUMGRAFTER">
|
||||
<name>Thaumium Grafter</name>
|
||||
<popupText>The Treesnipper</popupText>
|
||||
<longText>This improved grafter is more durable than the plain one your non-magical arborist acquaintances tend to use in their exploits. It should be possible to allow them to be enchanted with repairing magic to make them last indefinitely.</longText>
|
||||
<page type="text">Adding Thaumium to your grafter design has increased its durability significantly - up to two times longer than regular grafters.
|
||||
|
||||
It is also possible to enchant them with the Repair enchant, given sufficient experience. Using it rapidly may, however, give you a severe case of the munchies.</page>
|
||||
<page type="arcanecrafting">THAUMIUMGRAFTER</page>
|
||||
</project>
|
||||
|
||||
</research>
|
||||
@@ -1,32 +0,0 @@
|
||||
0*2
|
||||
1*2
|
||||
2*2
|
||||
3*2
|
||||
4*2
|
||||
5*2
|
||||
6*2
|
||||
7*2
|
||||
8*2
|
||||
9*2
|
||||
10*2
|
||||
11*2
|
||||
12*2
|
||||
13*2
|
||||
14*2
|
||||
15*2
|
||||
16*2
|
||||
17*2
|
||||
18*2
|
||||
19*2
|
||||
20*2
|
||||
21*2
|
||||
22*2
|
||||
23*2
|
||||
24*2
|
||||
25*2
|
||||
26*2
|
||||
27*2
|
||||
28*2
|
||||
29*2
|
||||
30*2
|
||||
31*2
|
||||
@@ -1,32 +0,0 @@
|
||||
0*2
|
||||
1*2
|
||||
2*2
|
||||
3*2
|
||||
4*2
|
||||
5*2
|
||||
6*2
|
||||
7*2
|
||||
8*2
|
||||
9*2
|
||||
10*2
|
||||
11*2
|
||||
12*2
|
||||
13*2
|
||||
14*2
|
||||
15*2
|
||||
16*2
|
||||
17*2
|
||||
18*2
|
||||
19*2
|
||||
20*2
|
||||
21*2
|
||||
22*2
|
||||
23*2
|
||||
24*2
|
||||
25*2
|
||||
26*2
|
||||
27*2
|
||||
28*2
|
||||
29*2
|
||||
30*2
|
||||
31*2
|
||||
@@ -1,38 +0,0 @@
|
||||
0*2
|
||||
1*2
|
||||
2*2
|
||||
3*2
|
||||
4*2
|
||||
5*2
|
||||
6*2
|
||||
7*2
|
||||
8*2
|
||||
9*2
|
||||
10*2
|
||||
11*2
|
||||
12*2
|
||||
13*2
|
||||
14*2
|
||||
15*2
|
||||
16*2
|
||||
17*2
|
||||
18*2
|
||||
19*2
|
||||
18*2
|
||||
17*2
|
||||
16*2
|
||||
15*2
|
||||
14*2
|
||||
13*2
|
||||
12*2
|
||||
11*2
|
||||
10*2
|
||||
9*2
|
||||
8*2
|
||||
7*2
|
||||
6*2
|
||||
5*2
|
||||
4*2
|
||||
3*2
|
||||
2*2
|
||||
1*2
|
||||
@@ -1,38 +0,0 @@
|
||||
0*2
|
||||
1*2
|
||||
2*2
|
||||
3*2
|
||||
4*2
|
||||
5*2
|
||||
6*2
|
||||
7*2
|
||||
8*2
|
||||
9*2
|
||||
10*2
|
||||
11*2
|
||||
12*2
|
||||
13*2
|
||||
14*2
|
||||
15*2
|
||||
16*2
|
||||
17*2
|
||||
18*2
|
||||
19*2
|
||||
18*2
|
||||
17*2
|
||||
16*2
|
||||
15*2
|
||||
14*2
|
||||
13*2
|
||||
12*2
|
||||
11*2
|
||||
10*2
|
||||
9*2
|
||||
8*2
|
||||
7*2
|
||||
6*2
|
||||
5*2
|
||||
4*2
|
||||
3*2
|
||||
2*2
|
||||
1*2
|
||||
@@ -1,32 +0,0 @@
|
||||
0*2
|
||||
1*2
|
||||
2*2
|
||||
3*2
|
||||
4*2
|
||||
5*2
|
||||
6*2
|
||||
7*2
|
||||
8*2
|
||||
9*2
|
||||
10*2
|
||||
11*2
|
||||
12*2
|
||||
13*2
|
||||
14*2
|
||||
15*2
|
||||
16*2
|
||||
17*2
|
||||
18*2
|
||||
19*2
|
||||
20*2
|
||||
21*2
|
||||
22*2
|
||||
23*2
|
||||
24*2
|
||||
25*2
|
||||
26*2
|
||||
27*2
|
||||
28*2
|
||||
29*2
|
||||
30*2
|
||||
31*2
|
||||
@@ -1,32 +0,0 @@
|
||||
0*2
|
||||
1*2
|
||||
2*2
|
||||
3*2
|
||||
4*2
|
||||
5*2
|
||||
6*2
|
||||
7*2
|
||||
8*2
|
||||
9*2
|
||||
10*2
|
||||
11*2
|
||||
12*2
|
||||
13*2
|
||||
14*2
|
||||
15*2
|
||||
16*2
|
||||
17*2
|
||||
18*2
|
||||
19*2
|
||||
20*2
|
||||
21*2
|
||||
22*2
|
||||
23*2
|
||||
24*2
|
||||
25*2
|
||||
26*2
|
||||
27*2
|
||||
28*2
|
||||
29*2
|
||||
30*2
|
||||
31*2
|
||||
@@ -1,8 +0,0 @@
|
||||
0*64
|
||||
1*2
|
||||
2*2
|
||||
1*2
|
||||
0*96
|
||||
3*4
|
||||
0*128
|
||||
4*2
|
||||
@@ -1,8 +0,0 @@
|
||||
0*64
|
||||
1*2
|
||||
2*2
|
||||
1*2
|
||||
0*96
|
||||
3*4
|
||||
0*128
|
||||
4*2
|
||||
@@ -1,5 +0,0 @@
|
||||
0*64
|
||||
1*2
|
||||
0*48
|
||||
1*2
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
0*64
|
||||
1*2
|
||||
0*48
|
||||
1*2
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
0*64
|
||||
1*2
|
||||
0*48
|
||||
1*2
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
0*64
|
||||
1*2
|
||||
2*2
|
||||
1*2
|
||||
0*96
|
||||
3*4
|
||||
0*128
|
||||
4*2
|
||||
@@ -1,8 +0,0 @@
|
||||
0*64
|
||||
1*2
|
||||
2*2
|
||||
1*2
|
||||
0*96
|
||||
3*4
|
||||
0*128
|
||||
4*2
|
||||
@@ -1,8 +0,0 @@
|
||||
0*64
|
||||
1*2
|
||||
2*2
|
||||
1*2
|
||||
0*96
|
||||
3*4
|
||||
0*128
|
||||
4*2
|
||||
@@ -1,8 +0,0 @@
|
||||
0*64
|
||||
1*2
|
||||
2*2
|
||||
1*2
|
||||
0*96
|
||||
3*4
|
||||
0*128
|
||||
4*2
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.3 KiB |
@@ -1,8 +0,0 @@
|
||||
0*3
|
||||
1*3
|
||||
2*3
|
||||
3*3
|
||||
4*3
|
||||
5*3
|
||||
6*3
|
||||
7*3
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 21 KiB |
@@ -1,235 +0,0 @@
|
||||
package magicbees.bees;
|
||||
|
||||
import magicbees.main.utils.LocalizationManager;
|
||||
import magicbees.main.utils.compat.ArsMagicaHelper;
|
||||
import magicbees.main.utils.compat.ThaumcraftHelper;
|
||||
import net.minecraft.potion.Potion;
|
||||
import forestry.api.apiculture.IAlleleBeeSpecies;
|
||||
import forestry.api.apiculture.IBeeRoot;
|
||||
import forestry.api.genetics.AlleleManager;
|
||||
import forestry.api.genetics.IAllele;
|
||||
import forestry.api.genetics.IAlleleEffect;
|
||||
import forestry.api.genetics.IAlleleFlowers;
|
||||
import forestry.api.genetics.IAlleleRegistry;
|
||||
|
||||
public class Allele implements IAllele
|
||||
{
|
||||
public static AlleleFloat speedBlinding;
|
||||
|
||||
public static IAlleleFlowers flowerBookshelf;
|
||||
public static IAlleleFlowers flowerThaumcraft;
|
||||
public static IAlleleFlowers flowerArsMagica;
|
||||
public static IAlleleFlowers flowerAuraNode;
|
||||
|
||||
public static IAlleleEffect effectCleansing;
|
||||
public static IAlleleEffect effectDigSpeed;
|
||||
public static IAlleleEffect effectMoveSpeed;
|
||||
public static IAlleleEffect effectSlowSpeed;
|
||||
public static IAlleleEffect effectWithering;
|
||||
|
||||
public static IAlleleEffect spawnBrainyZombie;
|
||||
public static IAlleleEffect spawnWisp;
|
||||
public static IAlleleEffect spawnBats;
|
||||
public static IAlleleEffect spawnGhast;
|
||||
public static IAlleleEffect spawnSpider;
|
||||
public static IAlleleEffect spawnBlaze;
|
||||
public static IAlleleEffect spawnManaDrainer;
|
||||
public static IAlleleEffect spawnWispOrHecate;
|
||||
|
||||
public static IAlleleEffect effectNodeAttract;
|
||||
public static IAlleleEffect effectNodePurify;
|
||||
public static IAlleleEffect effectNodeFlux;
|
||||
public static IAlleleEffect effectNodeCharge;
|
||||
|
||||
public static void setupAdditionalAlleles()
|
||||
{
|
||||
Allele.speedBlinding = new AlleleFloat("speedBlinding", 2f, false);
|
||||
|
||||
Allele.flowerBookshelf = new AlleleFlower("Bookshelf", new FlowerProviderBookshelf(), true);
|
||||
|
||||
if (ThaumcraftHelper.isActive())
|
||||
{
|
||||
Allele.flowerThaumcraft = new AlleleFlower("ThaumcraftPlant", new FlowerProviderThaumcraftFlower(), false);
|
||||
Allele.flowerAuraNode = new AlleleFlower("AuraNode", new FlowerProviderAuraNode(), true);
|
||||
|
||||
Allele.spawnBrainyZombie = new AlleleEffectSpawnMob("Brainy", false, ThaumcraftHelper.Entity.BRAINY_ZOMBIE.entityID)
|
||||
.setAggrosPlayerOnSpawn().setThrottle(800).setSpawnsOnPlayerNear(null).setMaxMobsInSpawnZone(2);
|
||||
|
||||
Allele.spawnBats = new AlleleEffectSpawnMob("Batty", false, ThaumcraftHelper.Entity.FIREBAT.entityID)
|
||||
.setThrottle(300).setSpawnsOnPlayerNear("Bat");
|
||||
|
||||
Allele.spawnWisp = new AlleleEffectSpawnWisp("Wispy", false, ThaumcraftHelper.Entity.WISP.entityID, "thaumcraft.wisplive")
|
||||
.setThrottle(1800).setChanceToSpawn(79);
|
||||
}
|
||||
else
|
||||
{
|
||||
Allele.flowerThaumcraft = Allele.flowerAuraNode = (IAlleleFlowers)Allele.getBaseAllele("flowersVanilla");
|
||||
Allele.spawnBrainyZombie = Allele.spawnBats = Allele.spawnWisp = (IAlleleEffect)Allele.getBaseAllele("effectNone");
|
||||
}
|
||||
|
||||
if (ArsMagicaHelper.isActive())
|
||||
{
|
||||
Allele.flowerArsMagica = new AlleleFlower("flowerArsMagicaPlant", new FlowerProviderArsMagicaFlower(), false);
|
||||
//String id, boolean isDominant, int throttle, String[] mobs, int[] chance
|
||||
Allele.spawnManaDrainer = new AlleleEffectSpawnMobWeighted("ManaDrain", true, 20,
|
||||
new String[] { "ArsMagica.MobManaCreeper", "ArsMagica.ManaVortex" },
|
||||
new int[] { 60, 2 });
|
||||
|
||||
Allele.spawnWispOrHecate = new AlleleEffectSpawnMobWeighted("AMWisp", true, 20,
|
||||
new String[] { "ArsMagica.MobWisp", "ArsMagica.MobHecate" },
|
||||
new int[] { 40, 3 });
|
||||
}
|
||||
else
|
||||
{
|
||||
Allele.flowerArsMagica = (IAlleleFlowers)Allele.getBaseAllele("flowersVanilla");
|
||||
Allele.spawnManaDrainer = Allele.spawnWispOrHecate = (IAlleleEffect)Allele.getBaseAllele("effectNone");
|
||||
}
|
||||
|
||||
Allele.effectNodeAttract = new AlleleEffectAuraNodeAttract("NodeAttract", false, 400);
|
||||
Allele.effectNodePurify = new AlleleEffectAuraNodePurify("NodePurify", false, 600, 150);
|
||||
Allele.effectNodeFlux = new AlleleEffectAuraNodeFlux("NodeFlux", true, 300, 300);
|
||||
Allele.effectNodeCharge = new AlleleEffectAuraNodeCharge("NodeCharge", true, 1200);
|
||||
|
||||
Allele.effectCleansing = new AlleleEffectCure("Curative", false);
|
||||
Allele.effectDigSpeed = new AlleleEffectPotion("DigSpeed", Potion.digSpeed, 15, false);
|
||||
Allele.effectMoveSpeed = new AlleleEffectPotion("MoveSpeed", Potion.moveSpeed, 10, false);
|
||||
Allele.effectSlowSpeed = new AlleleEffectPotion("SlowSpeed", Potion.moveSlowdown, 3, false).setMalicious();
|
||||
Allele.effectWithering = new AlleleEffectPotion("Withering", Potion.wither, 10, false).setMalicious();
|
||||
|
||||
Allele.spawnGhast = new AlleleEffectSpawnMob("Ghastly", false, "Ghast", "mob.ghast.moan")
|
||||
.setThrottle(2060).setChanceToSpawn(10).setMaxMobsInSpawnZone(1);
|
||||
|
||||
Allele.spawnSpider = new AlleleEffectSpawnMob("Spidery", false, "Spider", "mob.spider.step")
|
||||
.setThrottle(400).setChanceToSpawn(70).setMaxMobsInSpawnZone(4);
|
||||
|
||||
Allele.spawnBlaze = new AlleleEffectSpawnMob("Ablaze", false, "Blaze", "mob.blaze.breathe")
|
||||
.setThrottle(800).setChanceToSpawn(60).setMaxMobsInSpawnZone(2);
|
||||
}
|
||||
|
||||
public static void registerDeprecatedAlleleReplacements()
|
||||
{
|
||||
IAlleleRegistry registry = AlleleManager.alleleRegistry;
|
||||
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.fertilityHighDominant", Allele.getBaseAllele("fertilityHigh"));
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.flowerflowerBookshelf", flowerBookshelf);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speedBlinding", speedBlinding);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.effectNodeAttract", effectNodeAttract);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.effectNodePurify", effectNodePurify);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.effectNodeFlux", effectNodeFlux);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.effectNodeCharge", effectNodeCharge);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.effectCurative", effectCleansing);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.effecteffectDigSpeed", effectDigSpeed);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.effecteffectMoveSpeed", effectMoveSpeed);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.effecteffectSlowSpeed", effectSlowSpeed);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.Ghast", spawnGhast);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.Spider", spawnSpider);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesEsoteric", BeeSpecies.ESOTERIC);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesMysterious", BeeSpecies.MYSTERIOUS);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesArcane", BeeSpecies.ARCANE);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesCharmed", BeeSpecies.CHARMED);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesEnchanted", BeeSpecies.ENCHANTED);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesSupernatural", BeeSpecies.SUPERNATURAL);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesPupil", BeeSpecies.PUPIL);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesScholarly", BeeSpecies.SCHOLARLY);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesSavant", BeeSpecies.SAVANT);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesAware", BeeSpecies.AWARE);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesSpirit", BeeSpecies.SPIRIT);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesSoul", BeeSpecies.SOUL);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesSkulking", BeeSpecies.SKULKING);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesGhastly", BeeSpecies.GHASTLY);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesSpidery", BeeSpecies.SPIDERY);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesTimely", BeeSpecies.TIMELY);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesLordly", BeeSpecies.LORDLY);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesDoctoral", BeeSpecies.DOCTORAL);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesIron", BeeSpecies.IRON);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesGold", BeeSpecies.GOLD);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesCopper", BeeSpecies.COPPER);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesTin", BeeSpecies.TIN);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesSilver", BeeSpecies.SILVER);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesLead", BeeSpecies.LEAD);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesDiamond", BeeSpecies.DIAMOND);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesEmerald", BeeSpecies.EMERALD);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesApatite", BeeSpecies.APATITE);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesStark", BeeSpecies.TC_STARK);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesAura", BeeSpecies.TC_AIR);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesIgnis", BeeSpecies.TC_FIRE);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesAqua", BeeSpecies.TC_WATER);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesSolum", BeeSpecies.TC_EARTH);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesPraecantatio", BeeSpecies.TC_MAGIC);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesVis", BeeSpecies.TC_VIS);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesPure", BeeSpecies.TC_PURE);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesFlux", BeeSpecies.TC_FLUX);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesNode", BeeSpecies.TC_ATTRACT);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesRejuvenating", BeeSpecies.TC_REJUVENATING);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesBrainy", BeeSpecies.TC_BRAINY);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesGossamer", BeeSpecies.TC_WISPY);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesWispy", BeeSpecies.TC_WISPY);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesBatty", BeeSpecies.TC_BATTY);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesChicken", BeeSpecies.TC_CHICKEN);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesBeef", BeeSpecies.TC_BEEF);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesPork", BeeSpecies.TC_PORK);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesMinium", BeeSpecies.EE_MINIUM);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesEssence", BeeSpecies.AM_ESSENCE);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesQuintessence", BeeSpecies.AM_QUINTESSENCE);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesErde", BeeSpecies.AM_EARTH);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesLuft", BeeSpecies.AM_AIR);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesFeuer", BeeSpecies.AM_FIRE);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesWasser", BeeSpecies.AM_WATER);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesBlitz", BeeSpecies.AM_LIGHTNING);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesStaude", BeeSpecies.AM_PLANT);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesEis", BeeSpecies.AM_ICE);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesMagma", BeeSpecies.AM_MAGMA);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesArkanen", BeeSpecies.AM_ARCANE);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesVortex", BeeSpecies.AM_VORTEX);
|
||||
registry.registerDeprecatedAlleleReplacement("thaumicbees.speciesWight", BeeSpecies.AM_WIGHT);
|
||||
}
|
||||
|
||||
public static IAlleleBeeSpecies getBaseSpecies(String name)
|
||||
{
|
||||
return (IAlleleBeeSpecies) AlleleManager.alleleRegistry.getAllele((new StringBuilder()).append("forestry.species").append(name).toString());
|
||||
}
|
||||
|
||||
public static IAlleleBeeSpecies getExtraSpecies(String name)
|
||||
{
|
||||
return (IAlleleBeeSpecies) AlleleManager.alleleRegistry.getAllele((new StringBuilder()).append("extrabees.species.").append(name).toString());
|
||||
}
|
||||
|
||||
public static IAllele getBaseAllele(String name)
|
||||
{
|
||||
return AlleleManager.alleleRegistry.getAllele("forestry." + name);
|
||||
}
|
||||
|
||||
public static IAllele getAllele(String name)
|
||||
{
|
||||
return AlleleManager.alleleRegistry.getAllele(name);
|
||||
}
|
||||
|
||||
private String uid;
|
||||
private boolean dominant;
|
||||
|
||||
public Allele(String id, boolean isDominant)
|
||||
{
|
||||
this.uid = "magicbees." + id;
|
||||
this.dominant = isDominant;
|
||||
AlleleManager.alleleRegistry.registerAllele(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getUID()
|
||||
{
|
||||
return this.uid;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isDominant()
|
||||
{
|
||||
return this.dominant;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName()
|
||||
{
|
||||
return LocalizationManager.getLocalizedString(getUID());
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,97 +0,0 @@
|
||||
package magicbees.bees;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import cpw.mods.fml.common.registry.LanguageRegistry;
|
||||
|
||||
import magicbees.main.MagicBees;
|
||||
import magicbees.main.utils.LocalizationManager;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.util.AxisAlignedBB;
|
||||
import net.minecraft.world.World;
|
||||
import forestry.api.apiculture.IAlleleBeeEffect;
|
||||
import forestry.api.apiculture.IBeeGenome;
|
||||
import forestry.api.apiculture.IBeeHousing;
|
||||
import forestry.api.genetics.IEffectData;
|
||||
|
||||
public abstract class AlleleEffect extends Allele implements IAlleleBeeEffect
|
||||
{
|
||||
protected int throttle;
|
||||
|
||||
public AlleleEffect(String id, boolean isDominant, int timeout)
|
||||
{
|
||||
super("effect" + id, isDominant);
|
||||
this.throttle = timeout;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isCombinable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public abstract IEffectData validateStorage(IEffectData storedData);
|
||||
|
||||
@Override
|
||||
public final IEffectData doEffect(IBeeGenome genome, IEffectData storedData, IBeeHousing housing)
|
||||
{
|
||||
int count = storedData.getInteger(0);
|
||||
if (count >= this.throttle)
|
||||
{
|
||||
storedData = this.doEffectThrottled(genome, storedData, housing);
|
||||
}
|
||||
else
|
||||
{
|
||||
storedData.setInteger(0, count + 1);
|
||||
}
|
||||
return storedData;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param genome
|
||||
* @param storedData
|
||||
* @param housing
|
||||
* @return
|
||||
*/
|
||||
protected abstract IEffectData doEffectThrottled(IBeeGenome genome, IEffectData storedData, IBeeHousing housing);
|
||||
|
||||
@Override
|
||||
public IEffectData doFX(IBeeGenome genome, IEffectData storedData, IBeeHousing housing)
|
||||
{
|
||||
int[] area = genome.getTerritory();
|
||||
float mod = housing.getTerritoryModifier(genome, 1f);
|
||||
// Check to make sure territory is at least 1 with housing modifications
|
||||
area[0] = Math.max((int)(area[0] * mod), 1);
|
||||
area[1] = Math.max((int)(area[1] * mod), 1);
|
||||
area[2] = Math.max((int)(area[2] * mod), 1);
|
||||
|
||||
MagicBees.proxy.drawBeeEffects(housing.getWorld(), housing.getXCoord(), housing.getYCoord(), housing.getZCoord(),
|
||||
genome.getPrimary().getIconColour(0), area[0], area[1], area[2]);
|
||||
return storedData;
|
||||
}
|
||||
|
||||
protected List<Entity> getEntitiesWithinRange(IBeeGenome genome, IBeeHousing housing)
|
||||
{
|
||||
// Get the size of the affected area
|
||||
int[] area = genome.getTerritory();
|
||||
|
||||
// Calculate offset
|
||||
int[] min = new int[3];
|
||||
int[] max = new int[3];
|
||||
min[0] = housing.getXCoord() - area[0] / 2;
|
||||
max[0] = housing.getXCoord() + area[0] / 2;
|
||||
|
||||
min[1] = housing.getYCoord() - area[1] / 2;
|
||||
max[1] = housing.getYCoord() + area[1] / 2;
|
||||
|
||||
min[2] = housing.getZCoord() - area[2] / 2;
|
||||
max[2] = housing.getZCoord() + area[2] / 2;
|
||||
|
||||
AxisAlignedBB bounds = AxisAlignedBB.getAABBPool().getAABB(min[0], min[1], min[2], max[0], max[1], max[2]);
|
||||
return housing.getWorld().getEntitiesWithinAABB(EntityPlayer.class, bounds);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,68 +0,0 @@
|
||||
package magicbees.bees;
|
||||
|
||||
import java.lang.reflect.Method;
|
||||
|
||||
import thaumcraft.api.ObjectTags;
|
||||
import thaumcraft.api.ThaumcraftApi;
|
||||
import thaumcraft.api.aura.AuraNode;
|
||||
import net.minecraft.world.World;
|
||||
import forestry.api.apiculture.IBeeGenome;
|
||||
import forestry.api.apiculture.IBeeHousing;
|
||||
import forestry.api.genetics.IEffectData;
|
||||
|
||||
public class AlleleEffectAuraNodeAttract extends AlleleEffect
|
||||
{
|
||||
|
||||
public AlleleEffectAuraNodeAttract(String id, boolean isDominant, int timeout)
|
||||
{
|
||||
super(id, isDominant, timeout);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IEffectData validateStorage(IEffectData storedData)
|
||||
{
|
||||
if (storedData == null)
|
||||
{
|
||||
storedData = new EffectData(1, 0, 0);
|
||||
}
|
||||
return storedData;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IEffectData doEffectThrottled(IBeeGenome genome, IEffectData storedData, IBeeHousing housing)
|
||||
{
|
||||
World w = housing.getWorld();
|
||||
if (w.rand.nextInt(10) < 1)
|
||||
{
|
||||
float x = housing.getXCoord();
|
||||
float y = housing.getYCoord();
|
||||
float z = housing.getZCoord();
|
||||
int nodeId = ThaumcraftApi.getClosestAuraWithinRange(w, x, y, z, 1800);
|
||||
if (nodeId != -1)
|
||||
{
|
||||
AuraNode node = ThaumcraftApi.getNodeCopy(nodeId);
|
||||
if (node.level >= node.baseLevel * 4 / 5)
|
||||
{
|
||||
x = (float)(x - node.xPos);
|
||||
y = (float)(y - node.yPos);
|
||||
z = (float)(z - node.zPos);
|
||||
|
||||
float distance = (float)Math.sqrt(x * x + y * y + z * z);
|
||||
x = x / distance;
|
||||
y = y / distance;
|
||||
z = z / distance;
|
||||
|
||||
x *= 0.05f;
|
||||
y *= 0.05f;
|
||||
z *= 0.05f;
|
||||
|
||||
ThaumcraftApi.queueNodeChanges(nodeId, -1, 0, false, null, x, y, z);
|
||||
}
|
||||
}
|
||||
}
|
||||
storedData.setInteger(0, 0);
|
||||
|
||||
return storedData;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,46 +0,0 @@
|
||||
package magicbees.bees;
|
||||
|
||||
import net.minecraft.world.World;
|
||||
import thaumcraft.api.EnumTag;
|
||||
import thaumcraft.api.ObjectTags;
|
||||
import thaumcraft.api.ThaumcraftApi;
|
||||
import forestry.api.apiculture.IBeeGenome;
|
||||
import forestry.api.apiculture.IBeeHousing;
|
||||
import forestry.api.genetics.IEffectData;
|
||||
|
||||
public class AlleleEffectAuraNodeCharge extends AlleleEffect
|
||||
{
|
||||
|
||||
AlleleEffectAuraNodeCharge(String id, boolean dominant, int timeout)
|
||||
{
|
||||
super(id, dominant, timeout);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IEffectData validateStorage(IEffectData storedData)
|
||||
{
|
||||
if (storedData == null)
|
||||
{
|
||||
storedData = new EffectData(1, 0, 0);
|
||||
}
|
||||
return storedData;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IEffectData doEffectThrottled(IBeeGenome genome, IEffectData storedData, IBeeHousing housing)
|
||||
{
|
||||
World world = housing.getWorld();
|
||||
int x = housing.getXCoord();
|
||||
int y = housing.getYCoord();
|
||||
int z = housing.getZCoord();
|
||||
|
||||
if (world.rand.nextBoolean())
|
||||
{
|
||||
ThaumcraftApi.increaseLowestAura(world, x, y, z, 1);
|
||||
}
|
||||
storedData.setInteger(0, 0);
|
||||
|
||||
return storedData;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,57 +0,0 @@
|
||||
package magicbees.bees;
|
||||
|
||||
import net.minecraft.world.World;
|
||||
import thaumcraft.api.EnumTag;
|
||||
import thaumcraft.api.ObjectTags;
|
||||
import thaumcraft.api.ThaumcraftApi;
|
||||
import forestry.api.apiculture.IBeeGenome;
|
||||
import forestry.api.apiculture.IBeeHousing;
|
||||
import forestry.api.genetics.IEffectData;
|
||||
|
||||
public class AlleleEffectAuraNodeFlux extends AlleleEffect
|
||||
{
|
||||
private int nodeRange;
|
||||
|
||||
AlleleEffectAuraNodeFlux(String id, boolean dominant, int timeout, int range)
|
||||
{
|
||||
super(id, dominant, timeout);
|
||||
this.nodeRange = range;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IEffectData validateStorage(IEffectData storedData)
|
||||
{
|
||||
if (storedData == null)
|
||||
{
|
||||
storedData = new EffectData(1, 0, 0);
|
||||
}
|
||||
return storedData;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IEffectData doEffectThrottled(IBeeGenome genome, IEffectData storedData, IBeeHousing housing)
|
||||
{
|
||||
World world = housing.getWorld();
|
||||
int x = housing.getXCoord();
|
||||
int y = housing.getYCoord();
|
||||
int z = housing.getZCoord();
|
||||
|
||||
EnumTag tag;
|
||||
do
|
||||
{
|
||||
tag = EnumTag.values()[world.rand.nextInt(EnumTag.values().length)];
|
||||
}
|
||||
while (tag == EnumTag.UNKNOWN || tag == EnumTag.WEATHER);
|
||||
|
||||
int nodeId = ThaumcraftApi.getClosestAuraWithinRange(world, x, y, z, this.nodeRange);
|
||||
if (nodeId != -1)
|
||||
{
|
||||
int quantity = world.rand.nextInt(2) + 1;
|
||||
ThaumcraftApi.queueNodeChanges(nodeId, 0, 0, false, new ObjectTags().add(tag, quantity), 0f, 0f, 0f);
|
||||
}
|
||||
storedData.setInteger(0, 0);
|
||||
|
||||
return storedData;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,65 +0,0 @@
|
||||
package magicbees.bees;
|
||||
|
||||
import magicbees.main.Config;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.world.World;
|
||||
import thaumcraft.api.EnumTag;
|
||||
import thaumcraft.api.ObjectTags;
|
||||
import thaumcraft.api.ThaumcraftApi;
|
||||
import thaumcraft.api.aura.AuraNode;
|
||||
import forestry.api.apiculture.IBeeGenome;
|
||||
import forestry.api.apiculture.IBeeHousing;
|
||||
import forestry.api.genetics.IEffectData;
|
||||
|
||||
public class AlleleEffectAuraNodePurify extends AlleleEffect
|
||||
{
|
||||
private int nodeRange;
|
||||
|
||||
public AlleleEffectAuraNodePurify(String id, boolean dominant, int timeout, int range)
|
||||
{
|
||||
super(id, dominant, timeout);
|
||||
this.nodeRange = range;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IEffectData validateStorage(IEffectData storedData)
|
||||
{
|
||||
if (storedData == null)
|
||||
{
|
||||
storedData = new EffectData(1, 0, 0);
|
||||
}
|
||||
return storedData;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IEffectData doEffectThrottled(IBeeGenome genome, IEffectData storedData, IBeeHousing housing)
|
||||
{
|
||||
World world = housing.getWorld();
|
||||
int x = housing.getXCoord();
|
||||
int y = housing.getYCoord();
|
||||
int z = housing.getZCoord();
|
||||
|
||||
int nodeId = ThaumcraftApi.getClosestAuraWithinRange(world, x, y, z, this.nodeRange);
|
||||
if (nodeId >= 0)
|
||||
{
|
||||
AuraNode node = ThaumcraftApi.getNodeCopy(nodeId);
|
||||
if (node != null)
|
||||
{
|
||||
int aspectCount = node.flux.tags.size();
|
||||
if (aspectCount > 0)
|
||||
{
|
||||
EnumTag selectedTag = node.flux.getAspectsSorted()[world.rand.nextInt(node.flux.tags.size())];
|
||||
if (selectedTag != null && housing.addProduct(new ItemStack(Config.solidFlux, 1, selectedTag.id), true))
|
||||
{
|
||||
node.flux.remove(selectedTag, 1);
|
||||
ThaumcraftApi.queueNodeChanges(node.key, 0, 0, false, new ObjectTags().remove(selectedTag, 1), 0, 0, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
storedData.setInteger(0, 0);
|
||||
|
||||
return storedData;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,55 +0,0 @@
|
||||
package magicbees.bees;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
||||
import magicbees.main.MagicBees;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.potion.PotionEffect;
|
||||
import net.minecraft.util.AxisAlignedBB;
|
||||
import forestry.api.apiculture.IAlleleBeeEffect;
|
||||
import forestry.api.apiculture.IBeeGenome;
|
||||
import forestry.api.apiculture.IBeeHousing;
|
||||
import forestry.api.genetics.AlleleManager;
|
||||
import forestry.api.genetics.IEffectData;
|
||||
|
||||
public class AlleleEffectCure extends AlleleEffect
|
||||
{
|
||||
|
||||
public AlleleEffectCure(String id, boolean isDominant)
|
||||
{
|
||||
super(id, isDominant, 200);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IEffectData validateStorage(IEffectData storedData)
|
||||
{
|
||||
if (storedData == null)
|
||||
{
|
||||
storedData = new EffectData(1, 0, 0);
|
||||
}
|
||||
return storedData;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IEffectData doEffectThrottled(IBeeGenome genome, IEffectData storedData, IBeeHousing housing)
|
||||
{
|
||||
List<Entity> entityList = this.getEntitiesWithinRange(genome, housing);
|
||||
|
||||
for (Entity e : entityList)
|
||||
{
|
||||
if (e instanceof EntityPlayer)
|
||||
{
|
||||
EntityPlayer player = (EntityPlayer)e;
|
||||
player.curePotionEffects(new ItemStack(Item.bucketMilk));
|
||||
}
|
||||
}
|
||||
storedData.setInteger(0, 0);
|
||||
|
||||
return storedData;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,77 +0,0 @@
|
||||
package magicbees.bees;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import magicbees.item.ItemArmorApiarist;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.potion.Potion;
|
||||
import net.minecraft.potion.PotionEffect;
|
||||
import net.minecraft.util.AxisAlignedBB;
|
||||
import forestry.api.apiculture.IAlleleBeeEffect;
|
||||
import forestry.api.apiculture.IBeeGenome;
|
||||
import forestry.api.apiculture.IBeeHousing;
|
||||
import forestry.api.genetics.AlleleManager;
|
||||
import forestry.api.genetics.IEffectData;
|
||||
|
||||
public class AlleleEffectPotion extends AlleleEffect
|
||||
{
|
||||
private int potionId;
|
||||
private int duration;
|
||||
private boolean isMalicious;
|
||||
|
||||
public AlleleEffectPotion(String name, Potion potionApplied, int effectDuration, boolean isDominant)
|
||||
{
|
||||
super(name, isDominant, 200);
|
||||
this.potionId = potionApplied.id;
|
||||
this.duration = 20 * effectDuration;
|
||||
this.isMalicious = false;
|
||||
}
|
||||
|
||||
public AlleleEffectPotion setMalicious()
|
||||
{
|
||||
this.isMalicious = true;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IEffectData validateStorage(IEffectData storedData)
|
||||
{
|
||||
if (storedData == null)
|
||||
{
|
||||
storedData = new EffectData(1, 0, 0);
|
||||
}
|
||||
return storedData;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IEffectData doEffectThrottled(IBeeGenome genome, IEffectData storedData, IBeeHousing housing)
|
||||
{
|
||||
List<Entity> entityList = this.getEntitiesWithinRange(genome, housing);
|
||||
|
||||
for (Entity e : entityList)
|
||||
{
|
||||
if (e instanceof EntityPlayer)
|
||||
{
|
||||
EntityPlayer player = (EntityPlayer)e;
|
||||
if (this.isMalicious)
|
||||
{
|
||||
int armorPieces = ItemArmorApiarist.getNumberPiecesWorn(player);
|
||||
int finalDuration = this.duration / 4 * (4 - armorPieces);
|
||||
if (finalDuration > 0)
|
||||
{
|
||||
player.addPotionEffect(new PotionEffect(this.potionId, finalDuration, 0));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player.addPotionEffect(new PotionEffect(this.potionId, this.duration, 0));
|
||||
}
|
||||
}
|
||||
}
|
||||
storedData.setInteger(0, 0);
|
||||
|
||||
return storedData;
|
||||
}
|
||||
}
|
||||
@@ -1,209 +0,0 @@
|
||||
package magicbees.bees;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
||||
import magicbees.item.ItemArmorApiarist;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityList;
|
||||
import net.minecraft.entity.EntityLiving;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.util.AxisAlignedBB;
|
||||
import net.minecraft.world.World;
|
||||
import forestry.api.apiculture.IAlleleBeeEffect;
|
||||
import forestry.api.apiculture.IBeeGenome;
|
||||
import forestry.api.apiculture.IBeeHousing;
|
||||
import forestry.api.genetics.IEffectData;
|
||||
|
||||
public class AlleleEffectSpawnMob extends AlleleEffect
|
||||
{
|
||||
protected boolean aggosOnPlayer;
|
||||
protected boolean spawnsWhilePlayerNear;
|
||||
protected String alternateMob;
|
||||
protected String mobName;
|
||||
protected String mobSound;
|
||||
protected int chanceToSpawn;
|
||||
protected int maxMobsInArea;
|
||||
|
||||
public AlleleEffectSpawnMob(String id, boolean isDominant, String mobToSpawn)
|
||||
{
|
||||
this(id, isDominant, mobToSpawn, null);
|
||||
}
|
||||
|
||||
public AlleleEffectSpawnMob(String id, boolean isDominant, String mobToSpawn, String mobSoundFx)
|
||||
{
|
||||
super(id, isDominant, 200);
|
||||
this.aggosOnPlayer = false;
|
||||
this.mobName = mobToSpawn;
|
||||
this.chanceToSpawn = 100;
|
||||
this.maxMobsInArea = 6;
|
||||
this.mobSound = mobSoundFx;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IEffectData validateStorage(IEffectData storedData)
|
||||
{
|
||||
if (storedData == null)
|
||||
{
|
||||
// Throttle; Ready to spawn
|
||||
storedData = new EffectData(1, 1, 0);
|
||||
}
|
||||
return storedData;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IEffectData doEffectThrottled(IBeeGenome genome, IEffectData storedData, IBeeHousing housing)
|
||||
{
|
||||
// Check if we're ready to spawn the mob.
|
||||
if (storedData.getBoolean(0))
|
||||
{
|
||||
World w = housing.getWorld();
|
||||
|
||||
int roll = w.rand.nextInt(100);
|
||||
|
||||
if (roll <= this.chanceToSpawn)
|
||||
{
|
||||
if (this.spawnsWhilePlayerNear)
|
||||
{
|
||||
List<Entity> entities = this.getEntitiesWithinRange(genome, housing);
|
||||
EntityPlayer target = null;
|
||||
for (Entity e : entities)
|
||||
{
|
||||
if (e instanceof EntityPlayer)
|
||||
{
|
||||
target = (EntityPlayer)e;
|
||||
// Check for wearing armor & cancel
|
||||
if (ItemArmorApiarist.getNumberPiecesWorn(target) >= 4)
|
||||
{
|
||||
// Full armor suit is treated as "invisible."
|
||||
target = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Let's spawn a mob. =D
|
||||
if (target != null)
|
||||
{
|
||||
storedData.setBoolean(0, !this.spawnMob(genome, target, w, housing, false));
|
||||
}
|
||||
else if (this.alternateMob != null)
|
||||
{
|
||||
storedData.setBoolean(0, !this.spawnMob(genome, null, w, housing, true));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
storedData.setBoolean(0, !this.spawnMob(genome, null, w, housing, true));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.mobSound != null && w.rand.nextInt(100) < 35)
|
||||
{
|
||||
int range = genome.getTerritory()[0];
|
||||
double x = housing.getXCoord() + w.rand.nextDouble() * (range * 2) - range;
|
||||
range = genome.getTerritory()[1];
|
||||
double y = housing.getYCoord() + w.rand.nextDouble() * (range * 2) - range;
|
||||
range = genome.getTerritory()[2];
|
||||
double z = housing.getZCoord() + w.rand.nextDouble() * (range * 2) - range;
|
||||
w.playSoundEffect(x, y, z, this.mobSound, 0.5f,
|
||||
(w.rand.nextFloat() - w.rand.nextFloat()) * 0.2f + 1.0f);
|
||||
}
|
||||
storedData.setBoolean(0, true);
|
||||
}
|
||||
}
|
||||
|
||||
return storedData;
|
||||
}
|
||||
|
||||
protected boolean spawnMob(IBeeGenome bee, EntityPlayer player, World world, IBeeHousing housing, boolean spawnAlternate)
|
||||
{
|
||||
boolean spawnedFlag = false;
|
||||
|
||||
|
||||
EntityLiving mob;
|
||||
if (spawnAlternate && this.alternateMob != null)
|
||||
{
|
||||
mob = (EntityLiving) EntityList.createEntityByName(this.alternateMob, world);
|
||||
}
|
||||
else
|
||||
{
|
||||
mob = (EntityLiving) EntityList.createEntityByName(this.mobName, world);
|
||||
}
|
||||
|
||||
if (mob != null)
|
||||
{
|
||||
double pos[] = this.randomMobSpawnCoords(world, bee, housing);
|
||||
|
||||
int entitiesCount = world.getEntitiesWithinAABB(mob.getClass(),
|
||||
AxisAlignedBB.getBoundingBox((int)pos[0], (int)pos[1], (int)pos[2], (int)pos[0] + 1, (int)pos[1] + 1, (int)pos[2] + 1)
|
||||
.expand(8.0D, 4.0D, 8.0D)).size();
|
||||
|
||||
mob.setPositionAndRotation(pos[0], pos[1], pos[2], world.rand.nextFloat() * 360f, 0f);
|
||||
|
||||
if (entitiesCount < this.maxMobsInArea && mob.getCanSpawnHere())
|
||||
{
|
||||
spawnedFlag = world.spawnEntityInWorld(mob);
|
||||
if (this.aggosOnPlayer && player != null)
|
||||
{
|
||||
if (ItemArmorApiarist.getNumberPiecesWorn(player) < 4)
|
||||
{
|
||||
// Protect fully suited player from initial murder intent.
|
||||
mob.setAttackTarget(player);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return spawnedFlag;
|
||||
}
|
||||
|
||||
public AlleleEffectSpawnMob setSpawnsOnPlayerNear(String alternateMobToSpawn)
|
||||
{
|
||||
this.spawnsWhilePlayerNear = true;
|
||||
this.alternateMob = alternateMobToSpawn;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
public AlleleEffectSpawnMob setAggrosPlayerOnSpawn()
|
||||
{
|
||||
this.aggosOnPlayer = true;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
public AlleleEffectSpawnMob setThrottle(int val)
|
||||
{
|
||||
this.throttle = val;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
public AlleleEffectSpawnMob setChanceToSpawn(int value)
|
||||
{
|
||||
this.chanceToSpawn = value;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
public AlleleEffectSpawnMob setMaxMobsInSpawnZone(int value)
|
||||
{
|
||||
this.maxMobsInArea = value;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
protected double[] randomMobSpawnCoords(World world, IBeeGenome bee, IBeeHousing housing)
|
||||
{
|
||||
double pos[] = new double[3];
|
||||
pos[0] = housing.getXCoord() + (world.rand.nextDouble() * (bee.getTerritory()[0] * housing.getTerritoryModifier(bee, 1f)) - bee.getTerritory()[0] / 2);
|
||||
pos[1] = housing.getYCoord() + world.rand.nextInt(3) - 1;
|
||||
pos[2] = housing.getZCoord() + (world.rand.nextDouble() * (bee.getTerritory()[2] * housing.getTerritoryModifier(bee, 1f)) - bee.getTerritory()[2] / 2);
|
||||
return pos;
|
||||
}
|
||||
}
|
||||
@@ -1,92 +0,0 @@
|
||||
package magicbees.bees;
|
||||
|
||||
import net.minecraft.entity.EntityList;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityLiving;
|
||||
import net.minecraft.world.World;
|
||||
import forestry.api.apiculture.IAlleleBeeEffect;
|
||||
import forestry.api.apiculture.IBeeGenome;
|
||||
import forestry.api.apiculture.IBeeHousing;
|
||||
import forestry.api.genetics.IEffectData;
|
||||
|
||||
public class AlleleEffectSpawnMobWeighted extends AlleleEffect
|
||||
{
|
||||
private String[] entityNames;
|
||||
private int[] spawnChance;
|
||||
|
||||
public AlleleEffectSpawnMobWeighted(String id, boolean isDominant, int throttle, String[] mobs, int[] chance)
|
||||
{
|
||||
super(id, isDominant, throttle);
|
||||
if (mobs.length != chance.length)
|
||||
{
|
||||
throw new IllegalArgumentException("Array lengths must be equal!");
|
||||
}
|
||||
this.entityNames = mobs;
|
||||
this.spawnChance = chance;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IEffectData validateStorage(IEffectData storedData)
|
||||
{
|
||||
if (storedData == null)
|
||||
{
|
||||
storedData = new EffectData(1, 0, 0);
|
||||
}
|
||||
return storedData;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IEffectData doEffectThrottled(IBeeGenome genome, IEffectData storedData, IBeeHousing housing)
|
||||
{
|
||||
if (this.spawnMob(genome, housing))
|
||||
{
|
||||
storedData.setInteger(0, 0);
|
||||
}
|
||||
|
||||
return storedData;
|
||||
}
|
||||
|
||||
protected boolean spawnMob(IBeeGenome genome, IBeeHousing housing)
|
||||
{
|
||||
boolean flag = false;
|
||||
|
||||
World w = housing.getWorld();
|
||||
int roll = 0;
|
||||
|
||||
for (int i = 0; i < this.spawnChance.length && !flag; ++i)
|
||||
{
|
||||
roll = 100 - w.rand.nextInt(100)+1;
|
||||
if (roll < this.spawnChance[i])
|
||||
{
|
||||
flag = true;
|
||||
Entity mob = EntityList.createEntityByName(this.entityNames[i], w);
|
||||
double[] coords = this.randomMobSpawnCoords(w, genome, housing);
|
||||
|
||||
mob.setPositionAndRotation(coords[0], coords[1], coords[2], w.rand.nextFloat() * 360f, 0f);
|
||||
if (mob instanceof EntityLiving)
|
||||
{
|
||||
if (((EntityLiving)mob).getCanSpawnHere())
|
||||
{
|
||||
w.spawnEntityInWorld(mob);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
w.spawnEntityInWorld(mob);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return flag;
|
||||
}
|
||||
|
||||
protected double[] randomMobSpawnCoords(World world, IBeeGenome bee, IBeeHousing housing)
|
||||
{
|
||||
double pos[] = new double[3];
|
||||
pos[0] = housing.getXCoord() + world.rand.nextDouble() * (bee.getTerritory()[0] * housing.getTerritoryModifier(bee, 1f)) - bee.getTerritory()[0] / 2;
|
||||
pos[1] = housing.getYCoord() + world.rand.nextDouble() * (bee.getTerritory()[1] * housing.getTerritoryModifier(bee, 1f)) - bee.getTerritory()[1] / 2;
|
||||
pos[2] = housing.getZCoord() + world.rand.nextDouble() * (bee.getTerritory()[2] * housing.getTerritoryModifier(bee, 1f)) - bee.getTerritory()[2] / 2;
|
||||
return pos;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,76 +0,0 @@
|
||||
package magicbees.bees;
|
||||
|
||||
import java.lang.reflect.Field;
|
||||
|
||||
import cpw.mods.fml.common.FMLLog;
|
||||
import forestry.api.apiculture.IBeeGenome;
|
||||
import forestry.api.apiculture.IBeeHousing;
|
||||
import magicbees.item.ItemArmorApiarist;
|
||||
import magicbees.main.utils.compat.ThaumcraftHelper;
|
||||
import net.minecraft.entity.EntityList;
|
||||
import net.minecraft.entity.EntityLiving;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.util.AxisAlignedBB;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class AlleleEffectSpawnWisp extends AlleleEffectSpawnMob
|
||||
{
|
||||
|
||||
private byte[] wispTypes = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47 };
|
||||
|
||||
public AlleleEffectSpawnWisp(String id, boolean isDominant, String mobToSpawn, String soundToPlay)
|
||||
{
|
||||
super(id, isDominant, mobToSpawn, soundToPlay);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean spawnMob(IBeeGenome bee, EntityPlayer player, World world, IBeeHousing housing, boolean spawnAlternate)
|
||||
{
|
||||
boolean spawnedFlag = false;
|
||||
|
||||
EntityLiving mob;
|
||||
if (spawnAlternate && this.alternateMob != null)
|
||||
{
|
||||
mob = (EntityLiving) EntityList.createEntityByName(this.alternateMob, world);
|
||||
}
|
||||
else
|
||||
{
|
||||
mob = (EntityLiving) EntityList.createEntityByName(this.mobName, world);
|
||||
}
|
||||
|
||||
if (mob != null)
|
||||
{
|
||||
double pos[] = this.randomMobSpawnCoords(world, bee, housing);
|
||||
|
||||
int entitiesCount = world.getEntitiesWithinAABB(mob.getClass(),
|
||||
AxisAlignedBB.getBoundingBox((int)pos[0], (int)pos[1], (int)pos[2], (int)pos[0] + 1, (int)pos[1] + 1, (int)pos[2] + 1)
|
||||
.expand(8.0D, 4.0D, 8.0D)).size();
|
||||
|
||||
mob.setPositionAndRotation(pos[0], pos[1], pos[2], world.rand.nextFloat() * 360f, 0f);
|
||||
|
||||
if (entitiesCount < this.maxMobsInArea && mob.getCanSpawnHere())
|
||||
{
|
||||
// Try some Reflection on TC code. This could be dangerous.
|
||||
try
|
||||
{
|
||||
Class wispEntity = Class.forName(ThaumcraftHelper.Entity.WISP.getClassName());
|
||||
Field type = wispEntity.getDeclaredField("type");
|
||||
type.setByte(mob, wispTypes[world.rand.nextInt(wispTypes.length)]);
|
||||
}
|
||||
catch (Exception e) { /*Last time I had a request to post error messages, I regretted it.*/ }
|
||||
|
||||
spawnedFlag = world.spawnEntityInWorld(mob);
|
||||
if (this.aggosOnPlayer && player != null)
|
||||
{
|
||||
if (ItemArmorApiarist.getNumberPiecesWorn(player) < 4)
|
||||
{
|
||||
// Protect fully suited player from initial murder intent.
|
||||
mob.setAttackTarget(player);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return spawnedFlag;
|
||||
}
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
package magicbees.bees;
|
||||
|
||||
import forestry.api.genetics.IAlleleFloat;
|
||||
|
||||
public class AlleleFloat extends Allele implements IAlleleFloat
|
||||
{
|
||||
private float value;
|
||||
|
||||
public AlleleFloat(String id, float val, boolean isDominant)
|
||||
{
|
||||
super(id, isDominant);
|
||||
this.value = val;
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getValue()
|
||||
{
|
||||
return this.value;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
package magicbees.bees;
|
||||
|
||||
import forestry.api.genetics.AlleleManager;
|
||||
import forestry.api.genetics.IAlleleFlowers;
|
||||
import forestry.api.genetics.IFlowerProvider;
|
||||
|
||||
public class AlleleFlower extends Allele implements IAlleleFlowers
|
||||
{
|
||||
private String uid;
|
||||
private IFlowerProvider provider;
|
||||
|
||||
public AlleleFlower(String uid, IFlowerProvider flowerProvider, boolean isDominant)
|
||||
{
|
||||
super("flower" + uid, isDominant);
|
||||
this.provider = flowerProvider;
|
||||
|
||||
AlleleManager.alleleRegistry.registerAllele(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IFlowerProvider getProvider()
|
||||
{
|
||||
return this.provider;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
package magicbees.bees;
|
||||
|
||||
import forestry.api.genetics.IAlleleInteger;
|
||||
|
||||
public class AlleleInteger extends Allele implements IAlleleInteger
|
||||
{
|
||||
private int value;
|
||||
|
||||
public AlleleInteger(String id, int val, boolean isDominant)
|
||||
{
|
||||
super(id, isDominant);
|
||||
this.value = val;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getValue()
|
||||
{
|
||||
return this.value;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,124 +0,0 @@
|
||||
package magicbees.bees;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
import magicbees.main.utils.LocalizationManager;
|
||||
|
||||
|
||||
import cpw.mods.fml.common.registry.LanguageRegistry;
|
||||
|
||||
import forestry.api.genetics.AlleleManager;
|
||||
import forestry.api.genetics.IAlleleSpecies;
|
||||
import forestry.api.genetics.IClassification;
|
||||
|
||||
public enum BeeClassification implements IClassification
|
||||
{
|
||||
VEILED("Veiled", "velata"),
|
||||
ARCANE("Arcane", "arcanus"),
|
||||
SUPERNATURAL("Supernatural", "occultus"),
|
||||
SCHOLARLY("Scholarly", "docto"),
|
||||
SKULKING("Skulking", "malevolens"),
|
||||
MAGICAL("Magic", "magica"),
|
||||
TIME("Time", "tempestivus"),
|
||||
SOUL("Soul", "animus"),
|
||||
|
||||
ABOMINABLE("Abominable", "detestabilis"),
|
||||
EXTRINSIC("Extrinsic", "extrarius"),
|
||||
|
||||
METALLIC("Metallic", "metallicis"),
|
||||
GEM("Gem", "lapidi"),
|
||||
|
||||
THAUMIC("Thaumic", "thaumis"),
|
||||
FLESHY("Fleshy", "carnosa"),
|
||||
|
||||
ALCHEMICAL("Alchemical", "alchimia"),
|
||||
|
||||
ESSENTIAL("Essential", "essentia"),
|
||||
;
|
||||
|
||||
private String uID;
|
||||
private String latin;
|
||||
private ArrayList<IAlleleSpecies> species;
|
||||
private IClassification parent;
|
||||
private EnumClassLevel level;
|
||||
|
||||
private BeeClassification(String name, String scientific)
|
||||
{
|
||||
this.uID = "classification." + name.toLowerCase();
|
||||
this.latin = scientific;
|
||||
this.level = EnumClassLevel.GENUS;
|
||||
this.species = new ArrayList();
|
||||
this.parent = AlleleManager.alleleRegistry.getClassification("family.apidae");
|
||||
AlleleManager.alleleRegistry.registerClassification(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EnumClassLevel getLevel()
|
||||
{
|
||||
return this.level;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getUID()
|
||||
{
|
||||
return this.uID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName()
|
||||
{
|
||||
return LocalizationManager.getLocalizedString(getUID());
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getScientific()
|
||||
{
|
||||
return this.latin;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getDescription()
|
||||
{
|
||||
return LocalizationManager.getLocalizedString(getUID() + ".description");
|
||||
}
|
||||
|
||||
@Override
|
||||
public IClassification[] getMemberGroups()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addMemberGroup(IClassification group)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public IAlleleSpecies[] getMemberSpecies()
|
||||
{
|
||||
return this.species.toArray(new IAlleleSpecies[this.species.size()]);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addMemberSpecies(IAlleleSpecies species)
|
||||
{
|
||||
if (!this.species.contains(species))
|
||||
{
|
||||
this.species.add(species);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public IClassification getParent()
|
||||
{
|
||||
return this.parent;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setParent(IClassification parent)
|
||||
{
|
||||
this.parent = parent;
|
||||
}
|
||||
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -1,26 +0,0 @@
|
||||
package magicbees.bees;
|
||||
|
||||
import forestry.api.apiculture.IBeeRoot;
|
||||
import forestry.api.genetics.AlleleManager;
|
||||
import magicbees.block.types.HiveType;
|
||||
import magicbees.item.types.DropType;
|
||||
import magicbees.main.Config;
|
||||
|
||||
public class BeeManager
|
||||
{
|
||||
public static IBeeRoot beeRoot;
|
||||
|
||||
public static void ititializeBees()
|
||||
{
|
||||
beeRoot = (IBeeRoot)AlleleManager.alleleRegistry.getSpeciesRoot("rootBees");
|
||||
|
||||
Allele.setupAdditionalAlleles();
|
||||
BeeSpecies.setupBeeSpecies();
|
||||
Allele.registerDeprecatedAlleleReplacements();
|
||||
BeeMutation.setupMutations();
|
||||
|
||||
HiveType.initHiveData();
|
||||
|
||||
beeRoot.setResearchSuitability(Config.drops.getStackForType(DropType.INTELLECT), 0.5f);
|
||||
}
|
||||
}
|
||||
@@ -1,612 +0,0 @@
|
||||
package magicbees.bees;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
|
||||
import thaumcraft.api.aura.EnumNodeType;
|
||||
|
||||
import magicbees.main.Config;
|
||||
import magicbees.main.utils.LocalizationManager;
|
||||
import magicbees.main.utils.MoonPhase;
|
||||
import magicbees.main.utils.compat.ArsMagicaHelper;
|
||||
import magicbees.main.utils.compat.EquivalentExchangeHelper;
|
||||
import magicbees.main.utils.compat.ExtraBeesHelper;
|
||||
import magicbees.main.utils.compat.ForestryHelper;
|
||||
import magicbees.main.utils.compat.ThaumcraftHelper;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.common.BiomeDictionary;
|
||||
import net.minecraftforge.common.BiomeDictionary.Type;
|
||||
import net.minecraftforge.oredict.OreDictionary;
|
||||
import cpw.mods.fml.common.FMLLog;
|
||||
import forestry.api.apiculture.IAlleleBeeSpecies;
|
||||
import forestry.api.apiculture.IBeeGenome;
|
||||
import forestry.api.apiculture.IBeeHousing;
|
||||
import forestry.api.apiculture.IBeeMutation;
|
||||
import forestry.api.apiculture.IBeeRoot;
|
||||
import forestry.api.core.BlockInterface;
|
||||
import forestry.api.genetics.IAllele;
|
||||
import forestry.api.genetics.IGenome;
|
||||
|
||||
public class BeeMutation implements IBeeMutation
|
||||
{
|
||||
public static void setupMutations()
|
||||
{
|
||||
IAlleleBeeSpecies baseA, baseB;
|
||||
BeeMutation mutation;
|
||||
|
||||
// Forestry + These -> Common
|
||||
|
||||
BeeSpecies[] magicMundane = new BeeSpecies[] { BeeSpecies.MYSTICAL, BeeSpecies.SORCEROUS, BeeSpecies.UNUSUAL, BeeSpecies.ATTUNED };
|
||||
String[] forestryMundane = new String[] { "Forest", "Meadows", "Modest", "Wintry", "Tropical", "Marshy" };
|
||||
String[] binnieMundane = new String[] { "marble", "rock", "water", "basalt" };
|
||||
|
||||
for (BeeSpecies species : magicMundane)
|
||||
{
|
||||
for (String str : forestryMundane)
|
||||
{
|
||||
new BeeMutation(species, Allele.getBaseSpecies(str), ForestryHelper.getTemplateForestryForSpecies("Common"), 15);
|
||||
}
|
||||
if (ExtraBeesHelper.isActive())
|
||||
{
|
||||
for (String str : binnieMundane)
|
||||
{
|
||||
FMLLog.info("Registering %s", str);
|
||||
try {
|
||||
new BeeMutation(species, Allele.getExtraSpecies(str), ForestryHelper.getTemplateForestryForSpecies("Common"), 15);
|
||||
} catch (Exception e) {
|
||||
FMLLog.info("Unable to register! This mutation will not be available.");
|
||||
}
|
||||
}
|
||||
}
|
||||
new BeeMutation(species, Allele.getBaseSpecies("Common"), ForestryHelper.getTemplateForestryForSpecies("Cultivated"), 12);
|
||||
new BeeMutation(species, Allele.getBaseSpecies("Cultivated"), BeeSpecies.ELDRITCH, 12);
|
||||
}
|
||||
|
||||
new BeeMutation(Allele.getBaseSpecies("Cultivated"), BeeSpecies.ELDRITCH, BeeSpecies.ESOTERIC, 10);
|
||||
new BeeMutation(BeeSpecies.ELDRITCH, BeeSpecies.ESOTERIC, BeeSpecies.MYSTERIOUS, 8);
|
||||
new BeeMutation(BeeSpecies.ESOTERIC, BeeSpecies.MYSTERIOUS, BeeSpecies.ARCANE, 8)
|
||||
.setMoonPhaseBonus(MoonPhase.WAXING_CRESCENT, MoonPhase.WAXING_GIBBOUS, 1.2f);
|
||||
|
||||
new BeeMutation(Allele.getBaseSpecies("Cultivated"), BeeSpecies.ELDRITCH, BeeSpecies.CHARMED, 10);
|
||||
new BeeMutation(BeeSpecies.ELDRITCH, BeeSpecies.CHARMED, BeeSpecies.ENCHANTED, 8);
|
||||
new BeeMutation(BeeSpecies.CHARMED, BeeSpecies.ENCHANTED, BeeSpecies.SUPERNATURAL, 8)
|
||||
.setMoonPhaseBonus(MoonPhase.WANING_GIBBOUS, MoonPhase.WANING_CRESCENT, 1.2f);
|
||||
|
||||
new BeeMutation(BeeSpecies.ARCANE, BeeSpecies.SUPERNATURAL, BeeSpecies.ETHEREAL, 7);
|
||||
|
||||
new BeeMutation(BeeSpecies.SUPERNATURAL, BeeSpecies.ETHEREAL, BeeSpecies.WINDY, 14)
|
||||
.setBlockRequired(18);
|
||||
new BeeMutation(BeeSpecies.SUPERNATURAL, BeeSpecies.ETHEREAL, BeeSpecies.WATERY, 14)
|
||||
.setBlockRequired(Block.waterStill);
|
||||
new BeeMutation(BeeSpecies.SUPERNATURAL, BeeSpecies.ETHEREAL, BeeSpecies.EARTHY, 100)//14)
|
||||
.setBlockRequired(Block.brick);
|
||||
new BeeMutation(BeeSpecies.SUPERNATURAL, BeeSpecies.ETHEREAL, BeeSpecies.FIREY, 14)
|
||||
.setBlockRequired(Block.lavaStill);
|
||||
|
||||
new BeeMutation(BeeSpecies.ETHEREAL, BeeSpecies.ATTUNED, BeeSpecies.AWARE, 10);
|
||||
new BeeMutation(BeeSpecies.ETHEREAL, BeeSpecies.AWARE, BeeSpecies.SPIRIT, 8);
|
||||
new BeeMutation(BeeSpecies.ATTUNED, BeeSpecies.AWARE, BeeSpecies.SPIRIT, 8);
|
||||
new BeeMutation(BeeSpecies.AWARE, BeeSpecies.SPIRIT, BeeSpecies.SOUL, 7);
|
||||
|
||||
new BeeMutation(Allele.getBaseSpecies("Monastic"), BeeSpecies.ARCANE, BeeSpecies.PUPIL, 10);
|
||||
new BeeMutation(BeeSpecies.ARCANE, BeeSpecies.PUPIL, BeeSpecies.SCHOLARLY, 8);
|
||||
new BeeMutation(BeeSpecies.PUPIL, BeeSpecies.SCHOLARLY, BeeSpecies.SAVANT, 6);
|
||||
|
||||
new BeeMutation(Allele.getBaseSpecies("Imperial"), BeeSpecies.ETHEREAL, BeeSpecies.TIMELY, 8);
|
||||
new BeeMutation(Allele.getBaseSpecies("Imperial"), BeeSpecies.TIMELY, BeeSpecies.LORDLY, 8);
|
||||
new BeeMutation(BeeSpecies.TIMELY, BeeSpecies.LORDLY, BeeSpecies.DOCTORAL, 7);
|
||||
|
||||
new BeeMutation(BeeSpecies.INFERNAL, BeeSpecies.ELDRITCH, BeeSpecies.HATEFUL, 9)
|
||||
.setBiomeRequired(BiomeDictionary.Type.NETHER);
|
||||
new BeeMutation(BeeSpecies.INFERNAL, BeeSpecies.HATEFUL, BeeSpecies.SPITEFUL, 7)
|
||||
.setBiomeRequired(BiomeDictionary.Type.NETHER);
|
||||
new BeeMutation(Allele.getBaseSpecies("Demonic"), BeeSpecies.SPITEFUL, BeeSpecies.WITHERING, 6)
|
||||
.setBiomeRequired(BiomeDictionary.Type.NETHER);
|
||||
|
||||
new BeeMutation(Allele.getBaseSpecies("Modest"), BeeSpecies.ELDRITCH, BeeSpecies.SKULKING, 12);
|
||||
new BeeMutation(Allele.getBaseSpecies("Tropical"), BeeSpecies.SKULKING, BeeSpecies.SPIDERY, 10);
|
||||
new BeeMutation(BeeSpecies.SKULKING, BeeSpecies.ETHEREAL, BeeSpecies.GHASTLY, 9);
|
||||
new BeeMutation(BeeSpecies.SKULKING, BeeSpecies.HATEFUL, BeeSpecies.SMOULDERING, 7)
|
||||
.setBiomeRequired(BiomeDictionary.Type.NETHER);
|
||||
|
||||
new BeeMutation(BeeSpecies.ETHEREAL, BeeSpecies.OBLIVION, BeeSpecies.NAMELESS, 10);
|
||||
new BeeMutation(BeeSpecies.OBLIVION, BeeSpecies.NAMELESS, BeeSpecies.ABANDONED, 8);
|
||||
new BeeMutation(BeeSpecies.NAMELESS, BeeSpecies.ABANDONED, BeeSpecies.FORLORN, 6);
|
||||
new BeeMutation(Allele.getBaseSpecies("Imperial"), BeeSpecies.ABANDONED, BeeSpecies.DRACONIC, 6)
|
||||
.setBiomeRequired(BiomeDictionary.Type.END);
|
||||
|
||||
if (BeeSpecies.COPPER.isActive())
|
||||
{
|
||||
new BeeMutation(Allele.getBaseSpecies("Industrious"), Allele.getBaseSpecies("Meadows"), BeeSpecies.COPPER, 12)
|
||||
.setBlockRequired("blockCopper");
|
||||
}
|
||||
if (BeeSpecies.TIN.isActive())
|
||||
{
|
||||
new BeeMutation(Allele.getBaseSpecies("Industrious"), Allele.getBaseSpecies("Forest"), BeeSpecies.TIN, 12)
|
||||
.setBlockRequired("blockTin");
|
||||
}
|
||||
new BeeMutation(Allele.getBaseSpecies("Common"), Allele.getBaseSpecies("Industrious"), BeeSpecies.IRON, 100)
|
||||
.setBlockRequired(Block.blockIron);
|
||||
if (BeeSpecies.LEAD.isActive())
|
||||
{
|
||||
baseA = (BeeSpecies.TIN.isActive()) ? BeeSpecies.TIN : (BeeSpecies.COPPER.isActive()) ? BeeSpecies.COPPER : BeeSpecies.IRON;
|
||||
mutation = new BeeMutation(baseA, Allele.getBaseSpecies("Common"), BeeSpecies.LEAD, 10);
|
||||
if (OreDictionary.getOres("blockLead").size() > 0)
|
||||
{
|
||||
mutation.setBlockRequired("blockLead");
|
||||
}
|
||||
}
|
||||
if (BeeSpecies.SILVER.isActive())
|
||||
{
|
||||
mutation = new BeeMutation(Allele.getBaseSpecies("Imperial"), Allele.getBaseSpecies("Modest"), BeeSpecies.SILVER, 8);
|
||||
if (OreDictionary.getOres("blockSilver").size() > 0)
|
||||
{
|
||||
mutation.setBlockRequired("blockSilver");
|
||||
}
|
||||
}
|
||||
baseA = (BeeSpecies.EE_MINIUM.isActive()) ? BeeSpecies.EE_MINIUM : Allele.getBaseSpecies("Imperial");
|
||||
baseB = (BeeSpecies.LEAD.isActive()) ? BeeSpecies.LEAD : BeeSpecies.IRON;
|
||||
new BeeMutation(baseA, baseB, BeeSpecies.GOLD, 8)
|
||||
.setBlockRequired(Block.blockGold);
|
||||
new BeeMutation(Allele.getBaseSpecies("Austere"), BeeSpecies.GOLD, BeeSpecies.DIAMOND, 7)
|
||||
.setBlockRequired(Block.blockDiamond);
|
||||
baseA = (BeeSpecies.SILVER.isActive()) ? BeeSpecies.SILVER : Allele.getBaseSpecies("Imperial");
|
||||
new BeeMutation(Allele.getBaseSpecies("Austere"), baseA, BeeSpecies.EMERALD, 6)
|
||||
.setBlockRequired(Block.blockEmerald);
|
||||
new BeeMutation(Allele.getBaseSpecies("Rural"), BeeSpecies.COPPER, BeeSpecies.APATITE, 12)
|
||||
.setBlockRequired("oreApatite");
|
||||
|
||||
if (ThaumcraftHelper.isActive())
|
||||
{
|
||||
BeeSpecies[] speciesList = new BeeSpecies[] {BeeSpecies.WINDY, BeeSpecies.FIREY, BeeSpecies.WATERY, BeeSpecies.EARTHY};
|
||||
|
||||
for (int a = 0; a < speciesList.length; ++a)
|
||||
{
|
||||
for (int b = a + 1; b < speciesList.length; ++b)
|
||||
{
|
||||
new BeeMutation(speciesList[a], speciesList[b], BeeSpecies.TC_STARK, 8)
|
||||
.setBlockRequired(Config.tcCrystal)
|
||||
.setBlockRequiredNameOverride("research.block.crystals");
|
||||
}
|
||||
}
|
||||
|
||||
new BeeMutation(BeeSpecies.WINDY, BeeSpecies.WINDY, BeeSpecies.TC_AIR, 8)
|
||||
.setBlockAndMetaRequired(Config.tcCrystal, ThaumcraftHelper.ShardType.AIR.ordinal());
|
||||
new BeeMutation(BeeSpecies.FIREY, BeeSpecies.FIREY, BeeSpecies.TC_FIRE, 8)
|
||||
.setBlockAndMetaRequired(Config.tcCrystal, ThaumcraftHelper.ShardType.FIRE.ordinal());
|
||||
new BeeMutation(BeeSpecies.WATERY, BeeSpecies.WATERY, BeeSpecies.TC_WATER, 8)
|
||||
.setBlockAndMetaRequired(Config.tcCrystal, ThaumcraftHelper.ShardType.WATER.ordinal());
|
||||
new BeeMutation(BeeSpecies.EARTHY, BeeSpecies.EARTHY, BeeSpecies.TC_EARTH, 8)
|
||||
.setBlockAndMetaRequired(Config.tcCrystal, ThaumcraftHelper.ShardType.EARTH.ordinal());
|
||||
new BeeMutation(BeeSpecies.ETHEREAL, BeeSpecies.ETHEREAL, BeeSpecies.TC_MAGIC, 8)
|
||||
.setBlockAndMetaRequired(Config.tcCrystal, ThaumcraftHelper.ShardType.MAGIC.ordinal());
|
||||
|
||||
new BeeMutation(BeeSpecies.ELDRITCH, BeeSpecies.ETHEREAL, BeeSpecies.TC_VIS, 10)
|
||||
.setAuraNodeRequired(75);
|
||||
new BeeMutation(Allele.getBaseSpecies("Demonic"), BeeSpecies.TC_VIS, BeeSpecies.TC_FLUX, 8)
|
||||
.setAuraNodeTypeRequired(50, thaumcraft.api.aura.EnumNodeType.DARK);
|
||||
new BeeMutation(BeeSpecies.TC_VIS, BeeSpecies.TC_FLUX, BeeSpecies.TC_ATTRACT, 13)
|
||||
.setAuraNodeTypeRequired(30, EnumNodeType.UNSTABLE)
|
||||
.setMoonPhaseRestricted(MoonPhase.NEW, MoonPhase.NEW);
|
||||
new BeeMutation(Allele.getBaseSpecies("Imperial"), BeeSpecies.TC_VIS, BeeSpecies.TC_REJUVENATING, 8)
|
||||
.setAuraNodeRequired(25);
|
||||
new BeeMutation(BeeSpecies.TC_VIS, BeeSpecies.TC_REJUVENATING, BeeSpecies.TC_PURE, 6)
|
||||
.setAuraNodeTypeRequired(10, thaumcraft.api.aura.EnumNodeType.PURE)
|
||||
.setMoonPhaseRestricted(MoonPhase.FULL, MoonPhase.FULL);
|
||||
|
||||
new BeeMutation(BeeSpecies.SKULKING, BeeSpecies.WINDY, BeeSpecies.TC_BATTY, 9);
|
||||
new BeeMutation(BeeSpecies.SKULKING, BeeSpecies.PUPIL, BeeSpecies.TC_BRAINY, 9);
|
||||
new BeeMutation(BeeSpecies.ETHEREAL, BeeSpecies.GHASTLY, BeeSpecies.TC_WISPY, 9)
|
||||
.setMoonPhaseRestricted(MoonPhase.WANING_CRESCENT, MoonPhase.WAXING_CRESCENT);
|
||||
|
||||
new BeeMutation(Allele.getBaseSpecies("Common"), BeeSpecies.SKULKING, BeeSpecies.TC_CHICKEN, 12)
|
||||
.setBiomeRequired(Type.FOREST);
|
||||
new BeeMutation(Allele.getBaseSpecies("Common"), BeeSpecies.SKULKING, BeeSpecies.TC_BEEF, 12)
|
||||
.setBiomeRequired(Type.PLAINS);
|
||||
new BeeMutation(Allele.getBaseSpecies("Common"), BeeSpecies.SKULKING, BeeSpecies.TC_PORK, 12)
|
||||
.setBiomeRequired(Type.MOUNTAIN);
|
||||
}
|
||||
|
||||
if (ArsMagicaHelper.isActive())
|
||||
{
|
||||
new BeeMutation(BeeSpecies.ARCANE, BeeSpecies.ETHEREAL, BeeSpecies.AM_ESSENCE, 10);
|
||||
new BeeMutation(BeeSpecies.ARCANE, BeeSpecies.AM_ESSENCE, BeeSpecies.AM_QUINTESSENCE, 7);
|
||||
|
||||
new BeeMutation(BeeSpecies.AM_ESSENCE, BeeSpecies.WINDY, BeeSpecies.AM_AIR, 10);
|
||||
new BeeMutation(BeeSpecies.AM_ESSENCE, BeeSpecies.EARTHY, BeeSpecies.AM_EARTH, 10);
|
||||
new BeeMutation(BeeSpecies.AM_ESSENCE, BeeSpecies.FIREY, BeeSpecies.AM_FIRE, 10);
|
||||
new BeeMutation(BeeSpecies.AM_ESSENCE, BeeSpecies.WATERY, BeeSpecies.AM_WATER, 10);
|
||||
new BeeMutation(BeeSpecies.AM_ESSENCE, BeeSpecies.ETHEREAL, BeeSpecies.AM_ARCANE, 10);
|
||||
|
||||
new BeeMutation(BeeSpecies.WINDY, BeeSpecies.AM_AIR, BeeSpecies.AM_LIGHTNING, 8);
|
||||
new BeeMutation(BeeSpecies.EARTHY, BeeSpecies.AM_EARTH, BeeSpecies.AM_PLANT, 8);
|
||||
new BeeMutation(BeeSpecies.FIREY, BeeSpecies.AM_FIRE, BeeSpecies.AM_MAGMA, 8);
|
||||
new BeeMutation(BeeSpecies.WATERY, BeeSpecies.AM_WATER, BeeSpecies.AM_ICE, 8);
|
||||
|
||||
new BeeMutation(BeeSpecies.SKULKING, BeeSpecies.AM_ESSENCE, BeeSpecies.AM_VORTEX, 8);
|
||||
new BeeMutation(BeeSpecies.SKULKING, BeeSpecies.GHASTLY, BeeSpecies.AM_WIGHT, 8);
|
||||
}
|
||||
|
||||
if (EquivalentExchangeHelper.isActive())
|
||||
{
|
||||
new BeeMutation(Allele.getBaseSpecies("Frugal"), BeeSpecies.ELDRITCH, BeeSpecies.EE_MINIUM, 8);
|
||||
}
|
||||
}
|
||||
|
||||
private IAllele parent1;
|
||||
private IAllele parent2;
|
||||
private IAllele mutationTemplate[];
|
||||
private int baseChance;
|
||||
private boolean isSecret;
|
||||
private boolean isMoonRestricted;
|
||||
private MoonPhase moonPhaseStart;
|
||||
private MoonPhase moonPhaseEnd;
|
||||
private float moonPhaseMutationBonus;
|
||||
private boolean nodeRequired;
|
||||
private thaumcraft.api.aura.EnumNodeType nodeType;
|
||||
private double nodeRange;
|
||||
private boolean requiresBlock;
|
||||
private int requiredBlockId;
|
||||
private int requiredBlockMeta;
|
||||
private String requiredBlockOreDictEntry;
|
||||
private String requiredBlockName;
|
||||
private BiomeDictionary.Type requiredBiomeType;
|
||||
|
||||
public BeeMutation(IAlleleBeeSpecies species0, IAlleleBeeSpecies species1, BeeSpecies resultSpecies, int percentChance)
|
||||
{
|
||||
this(species0, species1, resultSpecies.getGenome(), percentChance);
|
||||
}
|
||||
|
||||
public BeeMutation(IAlleleBeeSpecies species0, IAlleleBeeSpecies species1, IAllele[] resultSpeciesGenome, int percentChance)
|
||||
{
|
||||
this.parent1 = species0;
|
||||
this.parent2 = species1;
|
||||
this.mutationTemplate = resultSpeciesGenome;
|
||||
this.baseChance = percentChance;
|
||||
this.isSecret = false;
|
||||
this.isMoonRestricted = false;
|
||||
this.moonPhaseMutationBonus = -1f;
|
||||
this.nodeType = null;
|
||||
this.requiresBlock = false;
|
||||
this.requiredBlockMeta = OreDictionary.WILDCARD_VALUE;
|
||||
this.requiredBlockOreDictEntry = null;
|
||||
this.requiredBiomeType = null;
|
||||
this.requiredBlockName = null;
|
||||
|
||||
BeeManager.beeRoot.registerMutation(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getChance(IBeeHousing housing, IAllele allele0, IAllele allele1, IGenome genome0, IGenome genome1)
|
||||
{
|
||||
float finalChance = 0f;
|
||||
float chance = this.baseChance * 1f;
|
||||
|
||||
if (this.arePartners(allele0, allele1))
|
||||
{
|
||||
// This mutation applies. Continue calculation.
|
||||
if (this.moonPhaseStart != null && this.moonPhaseEnd != null)
|
||||
{
|
||||
// Only occurs during the phases.
|
||||
if (this.isMoonRestricted && !MoonPhase.getMoonPhase(housing.getWorld()).isBetween(this.moonPhaseStart, this.moonPhaseEnd))
|
||||
{
|
||||
chance = 0;
|
||||
}
|
||||
else if (this.moonPhaseMutationBonus != -1f)
|
||||
{
|
||||
// There is a bonus to this mutation during moon phases...
|
||||
if (MoonPhase.getMoonPhase(housing.getWorld()).isBetween(this.moonPhaseStart, this.moonPhaseEnd))
|
||||
{
|
||||
chance = (int)(chance * this.moonPhaseMutationBonus);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (this.nodeRequired)
|
||||
{
|
||||
int nodeId = thaumcraft.api.ThaumcraftApi.getClosestAuraWithinRange(housing.getWorld(),
|
||||
housing.getXCoord(), housing.getYCoord(), housing.getZCoord(), this.nodeRange);
|
||||
if (nodeId >= 0)
|
||||
{
|
||||
if (this.nodeType != null)
|
||||
{
|
||||
// Needs a _specific_ variety of node
|
||||
thaumcraft.api.aura.AuraNode node = thaumcraft.api.ThaumcraftApi.getNodeCopy(nodeId);
|
||||
if (node.type != this.nodeType)
|
||||
{
|
||||
chance = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
chance = 0;
|
||||
}
|
||||
}
|
||||
|
||||
if (this.requiresBlock)
|
||||
{
|
||||
Block blockBelow;
|
||||
int blockId;
|
||||
int blockMeta;
|
||||
int i = 1;
|
||||
do
|
||||
{
|
||||
blockId = housing.getWorld().getBlockId(housing.getXCoord(), housing.getYCoord() - i, housing.getZCoord());
|
||||
blockMeta = housing.getWorld().getBlockMetadata(housing.getXCoord(), housing.getYCoord() - i, housing.getZCoord());
|
||||
blockBelow = Block.blocksList[blockId];
|
||||
++i;
|
||||
}
|
||||
while (blockBelow != null && (blockBelow instanceof IBeeHousing || blockBelow == Config.fAlvearyBlock));
|
||||
|
||||
if (this.requiredBlockOreDictEntry != null)
|
||||
{
|
||||
int dicId = OreDictionary.getOreID(new ItemStack(blockId, 1, blockMeta));
|
||||
if (dicId != -1)
|
||||
{
|
||||
if (!OreDictionary.getOreName(dicId).equals(this.requiredBlockOreDictEntry))
|
||||
{
|
||||
chance = 0;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
chance = 0;
|
||||
}
|
||||
}
|
||||
else if (this.requiredBlockId != blockId || (this.requiredBlockMeta != OreDictionary.WILDCARD_VALUE && this.requiredBlockMeta != blockMeta))
|
||||
{
|
||||
chance = 0;
|
||||
}
|
||||
}
|
||||
|
||||
if (this.requiredBiomeType != null)
|
||||
{
|
||||
BiomeDictionary.Type[] types = BiomeDictionary.getTypesForBiome(housing.getWorld().getBiomeGenForCoords(housing.getXCoord(), housing.getZCoord()));
|
||||
boolean found = false;
|
||||
for (int i = 0; i < types.length; ++i)
|
||||
{
|
||||
if (this.requiredBiomeType == types[i])
|
||||
{
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!found)
|
||||
{
|
||||
chance = 0;
|
||||
}
|
||||
}
|
||||
|
||||
finalChance = Math.round(chance
|
||||
* housing.getMutationModifier((IBeeGenome) genome0,
|
||||
(IBeeGenome) genome1, chance)
|
||||
* BeeManager.beeRoot.getBeekeepingMode(housing.getWorld())
|
||||
.getMutationModifier((IBeeGenome) genome0,
|
||||
(IBeeGenome) genome1, chance));
|
||||
}
|
||||
|
||||
return finalChance;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IAllele getAllele0()
|
||||
{
|
||||
return parent1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IAllele getAllele1()
|
||||
{
|
||||
return parent2;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IAllele[] getTemplate()
|
||||
{
|
||||
return mutationTemplate;
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getBaseChance()
|
||||
{
|
||||
return baseChance;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isPartner(IAllele allele)
|
||||
{
|
||||
return parent1.getUID().equals(allele.getUID()) || parent2.getUID().equals(allele.getUID());
|
||||
}
|
||||
|
||||
@Override
|
||||
public IAllele getPartner(IAllele allele)
|
||||
{
|
||||
IAllele val = parent1;
|
||||
if (val.getUID().equals(allele.getUID()))
|
||||
val = parent2;
|
||||
return val;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Collection<String> getSpecialConditions()
|
||||
{
|
||||
ArrayList<String> conditions = new ArrayList<String>();
|
||||
|
||||
if (this.isMoonRestricted && moonPhaseStart != null && moonPhaseEnd != null)
|
||||
{
|
||||
if (moonPhaseStart != moonPhaseEnd)
|
||||
{
|
||||
conditions.add(String.format(LocalizationManager.getLocalizedString("research.requiresPhase"),
|
||||
moonPhaseStart.getLocalizedName(), moonPhaseEnd.getLocalizedName()));
|
||||
}
|
||||
else
|
||||
{
|
||||
conditions.add(String.format(LocalizationManager.getLocalizedString("research.requiresPhaseSingle"),
|
||||
moonPhaseStart.getLocalizedName()));
|
||||
}
|
||||
}
|
||||
|
||||
if (this.nodeRequired)
|
||||
{
|
||||
if (this.nodeType != null)
|
||||
{
|
||||
conditions.add(String.format(LocalizationManager.getLocalizedString("research.requiresNodeSpecific"),
|
||||
LocalizationManager.getLocalizedString("research.node." + this.nodeType.name().toLowerCase())));
|
||||
}
|
||||
else
|
||||
{
|
||||
conditions.add(LocalizationManager.getLocalizedString("research.requiresNode"));
|
||||
}
|
||||
}
|
||||
|
||||
if (this.requiresBlock)
|
||||
{
|
||||
if (this.requiredBlockName != null)
|
||||
{
|
||||
conditions.add(String.format(LocalizationManager.getLocalizedString("research.requiresBlock"),
|
||||
LocalizationManager.getLocalizedString(this.requiredBlockName)));
|
||||
}
|
||||
else if (this.requiredBlockOreDictEntry != null)
|
||||
{
|
||||
ArrayList<ItemStack> ores = OreDictionary.getOres(this.requiredBlockOreDictEntry);
|
||||
if (ores.size() > 0)
|
||||
{
|
||||
conditions.add(String.format(LocalizationManager.getLocalizedString("research.requiresBlock"), ores.get(0).getDisplayName()));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
int meta = 0;
|
||||
if (this.requiredBlockMeta != OreDictionary.WILDCARD_VALUE)
|
||||
{
|
||||
meta = this.requiredBlockMeta;
|
||||
}
|
||||
conditions.add(String.format(LocalizationManager.getLocalizedString("research.requiresBlock"),
|
||||
new ItemStack(this.requiredBlockId, 1, this.requiredBlockMeta).getDisplayName()));
|
||||
}
|
||||
}
|
||||
|
||||
if (this.requiredBiomeType != null)
|
||||
{
|
||||
String biomeName = this.requiredBiomeType.name().substring(0, 1) + this.requiredBiomeType.name().substring(1).toLowerCase();
|
||||
conditions.add(String.format(LocalizationManager.getLocalizedString("research.requiresBiome"), biomeName));
|
||||
}
|
||||
|
||||
return conditions;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IBeeRoot getRoot()
|
||||
{
|
||||
return BeeManager.beeRoot;
|
||||
}
|
||||
|
||||
public boolean arePartners(IAllele alleleA, IAllele alleleB)
|
||||
{
|
||||
return (this.parent1.getUID().equals(alleleA.getUID())) && this.parent2.getUID().equals(alleleB.getUID()) ||
|
||||
this.parent1.getUID().equals(alleleB.getUID()) && this.parent2.getUID().equals(alleleA.getUID());
|
||||
}
|
||||
|
||||
public BeeMutation setSecret()
|
||||
{
|
||||
this.isSecret = true;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
public boolean isSecret()
|
||||
{
|
||||
return isSecret;
|
||||
}
|
||||
|
||||
public BeeMutation setBlockRequired(int blockId)
|
||||
{
|
||||
this.requiresBlock = true;
|
||||
this.requiredBlockId = blockId;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
public BeeMutation setBlockRequired(Block block)
|
||||
{
|
||||
this.requiresBlock = true;
|
||||
this.requiredBlockId = block.blockID;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
public BeeMutation setBlockAndMetaRequired(int blockId, int meta)
|
||||
{
|
||||
this.requiresBlock = true;
|
||||
this.requiredBlockId = blockId;
|
||||
this.requiredBlockMeta = meta;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
public BeeMutation setBlockAndMetaRequired(Block block, int meta)
|
||||
{
|
||||
this.requiresBlock = true;
|
||||
this.requiredBlockId = block.blockID;
|
||||
this.requiredBlockMeta = meta;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
public BeeMutation setBlockRequired(String oreDictEntry)
|
||||
{
|
||||
this.requiresBlock = true;
|
||||
this.requiredBlockOreDictEntry = oreDictEntry;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
public BeeMutation setBlockRequiredNameOverride(String blockName)
|
||||
{
|
||||
this.requiredBlockName = blockName;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
public BeeMutation setMoonPhaseRestricted(MoonPhase begin, MoonPhase end)
|
||||
{
|
||||
this.isMoonRestricted = true;
|
||||
this.moonPhaseStart = begin;
|
||||
this.moonPhaseEnd = end;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
public BeeMutation setMoonPhaseBonus(MoonPhase begin, MoonPhase end, float mutationBonus)
|
||||
{
|
||||
this.moonPhaseMutationBonus = mutationBonus;
|
||||
this.moonPhaseStart = begin;
|
||||
this.moonPhaseEnd = end;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
public BeeMutation setAuraNodeRequired(double range)
|
||||
{
|
||||
this.nodeRequired = true;
|
||||
this.nodeRange = range;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
public BeeMutation setAuraNodeTypeRequired(double range, thaumcraft.api.aura.EnumNodeType type)
|
||||
{
|
||||
this.nodeType = type;
|
||||
|
||||
return this.setAuraNodeRequired(range);
|
||||
}
|
||||
|
||||
public BeeMutation setBiomeRequired(BiomeDictionary.Type biomeType)
|
||||
{
|
||||
this.requiredBiomeType = biomeType;
|
||||
|
||||
return this;
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -1,87 +0,0 @@
|
||||
package magicbees.bees;
|
||||
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import forestry.api.genetics.IEffectData;
|
||||
|
||||
public class EffectData implements IEffectData
|
||||
{
|
||||
private int[] intData;
|
||||
private boolean[] boolData;
|
||||
private float[] floatData;
|
||||
|
||||
public EffectData(int intCount, int boolCount, int floatCount)
|
||||
{
|
||||
this.intData = new int[intCount];
|
||||
this.boolData = new boolean[boolCount];
|
||||
this.floatData = new float[floatCount];
|
||||
}
|
||||
|
||||
@Override
|
||||
public void readFromNBT(NBTTagCompound nbttagcompound)
|
||||
{ }
|
||||
|
||||
@Override
|
||||
public void writeToNBT(NBTTagCompound nbttagcompound)
|
||||
{ }
|
||||
|
||||
@Override
|
||||
public void setInteger(int index, int val)
|
||||
{
|
||||
if (index >= 0 && index < this.intData.length)
|
||||
{
|
||||
this.intData[index] = val;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setFloat(int index, float val)
|
||||
{
|
||||
if (index >= 0 && index < this.floatData.length)
|
||||
{
|
||||
this.floatData[index] = val;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setBoolean(int index, boolean val)
|
||||
{
|
||||
if (index >= 0 && index < this.boolData.length)
|
||||
{
|
||||
this.boolData[index] = val;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getInteger(int index)
|
||||
{
|
||||
int val = 0;
|
||||
if (index >= 0 && index < this.intData.length)
|
||||
{
|
||||
val = this.intData[index];
|
||||
}
|
||||
return val;
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getFloat(int index)
|
||||
{
|
||||
float val = 0f;
|
||||
if (index >= 0 && index < this.intData.length)
|
||||
{
|
||||
val = this.floatData[index];
|
||||
}
|
||||
return val;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean getBoolean(int index)
|
||||
{
|
||||
boolean val = false;
|
||||
if (index >= 0 && index < this.intData.length)
|
||||
{
|
||||
val = this.boolData[index];
|
||||
}
|
||||
return val;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,73 +0,0 @@
|
||||
package magicbees.bees;
|
||||
|
||||
import magicbees.main.Config;
|
||||
import magicbees.main.utils.LocalizationManager;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.world.World;
|
||||
import forestry.api.genetics.IFlowerProvider;
|
||||
import forestry.api.genetics.IIndividual;
|
||||
import forestry.api.genetics.IPollinatable;
|
||||
|
||||
public class FlowerProviderArsMagicaFlower implements IFlowerProvider
|
||||
{
|
||||
private ItemStack[] flowers = {new ItemStack(Config.amBlackOrchid), new ItemStack(Config.amDesertNova) };
|
||||
|
||||
@Override
|
||||
public boolean isAcceptedFlower(World world, IIndividual genome, int x, int y, int z)
|
||||
{
|
||||
boolean flag = false;
|
||||
int id = world.getBlockId(x, y, z);
|
||||
if (id == Config.amBlackOrchid.blockID || id == Config.amDesertNova.blockID)
|
||||
{
|
||||
flag = true;
|
||||
}
|
||||
return flag;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean growFlower(World world, IIndividual genome, int x, int y, int z)
|
||||
{
|
||||
boolean flag = false;
|
||||
int blockDown = world.getBlockId(x, y - 1, z);
|
||||
if (world.getBlockId(x, y, z) == 0)
|
||||
{
|
||||
if (blockDown == Block.dirt.blockID || blockDown == Block.grass.blockID)
|
||||
{
|
||||
world.setBlock(x, y, z, Config.amBlackOrchid.blockID);
|
||||
flag = true;
|
||||
}
|
||||
else if (blockDown == Block.sand.blockID)
|
||||
{
|
||||
world.setBlock(x, y, z, Config.amDesertNova.blockID);
|
||||
flag = true;
|
||||
}
|
||||
}
|
||||
return flag;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getDescription()
|
||||
{
|
||||
return LocalizationManager.getLocalizedString("flowerProvider.arsmagica");
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack[] affectProducts(World world, IIndividual genome, int x, int y, int z, ItemStack[] products)
|
||||
{
|
||||
return products;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack[] getItemStacks()
|
||||
{
|
||||
return this.flowers;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isAcceptedPollinatable(World world, IPollinatable pollinatable)
|
||||
{
|
||||
return pollinatable.getPlantType().size() > 1;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,103 +0,0 @@
|
||||
package magicbees.bees;
|
||||
|
||||
import magicbees.main.utils.LocalizationManager;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.world.World;
|
||||
import thaumcraft.api.ThaumcraftApi;
|
||||
import thaumcraft.api.aura.AuraNode;
|
||||
import forestry.api.genetics.IFlowerProvider;
|
||||
import forestry.api.genetics.IIndividual;
|
||||
import forestry.api.genetics.IPollinatable;
|
||||
|
||||
public class FlowerProviderAuraNode implements IFlowerProvider
|
||||
{
|
||||
protected int nodeRange = 70;
|
||||
|
||||
@Override
|
||||
public boolean isAcceptedFlower(World world, IIndividual genome, int x, int y, int z)
|
||||
{
|
||||
return this.isNodeWithinRange(world, x, y, z);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isAcceptedPollinatable(World world, IPollinatable pollinatable)
|
||||
{
|
||||
return pollinatable.getPlantType().size() > 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean growFlower(World world, IIndividual genome, int x, int y, int z)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getDescription()
|
||||
{
|
||||
return LocalizationManager.getLocalizedString("flowerProvider.node");
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack[] affectProducts(World world, IIndividual genome, int x, int y, int z, ItemStack[] products)
|
||||
{
|
||||
return products;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack[] getItemStacks()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
protected boolean isNodeWithinRange(World w, int x, int y, int z)
|
||||
{
|
||||
boolean nodeNearby = false;
|
||||
if (ThaumcraftApi.getClosestAuraWithinRange(w, x, y, z, this.nodeRange) >= 0)
|
||||
{
|
||||
nodeNearby = true;
|
||||
}
|
||||
return nodeNearby;
|
||||
}
|
||||
|
||||
protected AuraNode getNodeWithinRange(World w, int x, int y, int z)
|
||||
{
|
||||
AuraNode node = null;
|
||||
|
||||
int nodeId = ThaumcraftApi.getClosestAuraWithinRange(w, x, y, z, this.nodeRange);
|
||||
if (nodeId >= 0)
|
||||
{
|
||||
node = ThaumcraftApi.getNodeCopy(nodeId);
|
||||
}
|
||||
|
||||
return node;
|
||||
}
|
||||
|
||||
protected ItemStack[] addItemToProducts(ItemStack[] products, ItemStack itemStack)
|
||||
{
|
||||
for (ItemStack stack : products)
|
||||
{
|
||||
if (stack.itemID == itemStack.itemID && stack.getItemDamage() == itemStack.getItemDamage())
|
||||
{
|
||||
if (stack.stackSize < stack.getItem().getItemStackLimit())
|
||||
{
|
||||
stack.stackSize += itemStack.stackSize;
|
||||
itemStack.stackSize = Math.max(stack.stackSize - stack.getItem().getItemStackLimit(), 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (itemStack.stackSize > 0)
|
||||
{
|
||||
ItemStack[] newProducts = new ItemStack[products.length + 1];
|
||||
for (int i = 0; i < products.length; ++i)
|
||||
{
|
||||
newProducts[i] = products[i];
|
||||
}
|
||||
newProducts[products.length] = itemStack;
|
||||
products = newProducts;
|
||||
}
|
||||
|
||||
return products;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,56 +0,0 @@
|
||||
package magicbees.bees;
|
||||
|
||||
import java.util.EnumSet;
|
||||
|
||||
import magicbees.main.utils.LocalizationManager;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.common.EnumPlantType;
|
||||
import forestry.api.apiculture.IBeeGenome;
|
||||
import forestry.api.genetics.IFlowerProvider;
|
||||
import forestry.api.genetics.IIndividual;
|
||||
import forestry.api.genetics.IPollinatable;
|
||||
|
||||
public class FlowerProviderBookshelf implements IFlowerProvider
|
||||
{
|
||||
|
||||
public boolean isAcceptedFlower(World world, IIndividual genome, int x, int i, int j)
|
||||
{
|
||||
boolean flag = false;
|
||||
if (world.getBlockId(x, i, j) == Block.bookShelf.blockID)
|
||||
{
|
||||
flag = true;
|
||||
}
|
||||
return flag;
|
||||
}
|
||||
|
||||
public boolean growFlower(World world, IIndividual genome, int x, int i, int j)
|
||||
{
|
||||
// Always return true so the system thinks we grew a flower.
|
||||
// Bees can't grow bookshelves! Are you crazy?!
|
||||
return true;
|
||||
}
|
||||
|
||||
public ItemStack[] affectProducts(World world, IIndividual genome, int x, int i, int j, ItemStack products[])
|
||||
{
|
||||
return products;
|
||||
}
|
||||
|
||||
public ItemStack[] getItemStacks()
|
||||
{
|
||||
return new ItemStack[] { new ItemStack(Block.bookShelf) };
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isAcceptedPollinatable(World world, IPollinatable pollinatable)
|
||||
{
|
||||
EnumSet<EnumPlantType> types = pollinatable.getPlantType();
|
||||
return types.size() > 0 && !types.contains(EnumPlantType.Nether) && !types.contains(EnumPlantType.Water) ;
|
||||
}
|
||||
|
||||
public String getDescription()
|
||||
{
|
||||
return LocalizationManager.getLocalizedString("flowerProvider.book");
|
||||
}
|
||||
}
|
||||
@@ -1,77 +0,0 @@
|
||||
package magicbees.bees;
|
||||
|
||||
import magicbees.main.Config;
|
||||
import magicbees.main.utils.LocalizationManager;
|
||||
import magicbees.main.utils.compat.ThaumcraftHelper;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.world.World;
|
||||
import forestry.api.genetics.IFlowerProvider;
|
||||
import forestry.api.genetics.IIndividual;
|
||||
import forestry.api.genetics.IPollinatable;
|
||||
|
||||
public class FlowerProviderThaumcraftFlower implements IFlowerProvider
|
||||
{
|
||||
private ItemStack[] flowers = {new ItemStack(Config.tcPlant, 1, 2), new ItemStack(Config.tcPlant, 1, 3) };
|
||||
|
||||
@Override
|
||||
public boolean isAcceptedFlower(World world, IIndividual genome, int x, int y, int z)
|
||||
{
|
||||
boolean flag = false;
|
||||
if (world.getBlockId(x, y, z) == Config.tcPlant.blockID)
|
||||
{
|
||||
int meta = world.getBlockMetadata(x, y, z);
|
||||
if (meta == 2 || meta == 3)
|
||||
{
|
||||
flag = true;
|
||||
}
|
||||
}
|
||||
return flag;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean growFlower(World world, IIndividual genome, int x, int y, int z)
|
||||
{
|
||||
boolean flag = false;
|
||||
int blockDown = world.getBlockId(x, y - 1, z);
|
||||
if (world.getBlockId(x, y, z) == 0)
|
||||
{
|
||||
if (blockDown == Block.dirt.blockID || blockDown == Block.grass.blockID)
|
||||
{
|
||||
world.setBlockMetadataWithNotify(x, y, z, Config.tcPlant.blockID, ThaumcraftHelper.BlockPlant.SHIMMERLEAF.ordinal());
|
||||
flag = true;
|
||||
}
|
||||
else if (blockDown == Block.sand.blockID)
|
||||
{
|
||||
world.setBlockMetadataWithNotify(x, y, z, Config.tcPlant.blockID, ThaumcraftHelper.BlockPlant.CINDERPEARL.ordinal());
|
||||
flag = true;
|
||||
}
|
||||
}
|
||||
return flag;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getDescription()
|
||||
{
|
||||
return LocalizationManager.getLocalizedString("flowerProvider.magic");
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack[] affectProducts(World world, IIndividual genome, int x, int y, int z, ItemStack[] products)
|
||||
{
|
||||
return products;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack[] getItemStacks()
|
||||
{
|
||||
return this.flowers;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isAcceptedPollinatable(World world, IPollinatable pollinatable)
|
||||
{
|
||||
return pollinatable.getPlantType().size() > 1;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,57 +0,0 @@
|
||||
package magicbees.bees;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.world.World;
|
||||
import forestry.api.apiculture.EnumBeeType;
|
||||
import forestry.api.apiculture.IHiveDrop;
|
||||
import forestry.api.genetics.IAllele;
|
||||
|
||||
public class HiveDrop implements IHiveDrop
|
||||
{
|
||||
private IAllele[] template;
|
||||
private int chance;
|
||||
private ItemStack[] bonus;
|
||||
|
||||
public HiveDrop(IAllele[] beeTemplate, ItemStack[] bonusDrops, int dropChance)
|
||||
{
|
||||
this.template = beeTemplate;
|
||||
this.bonus = bonusDrops;
|
||||
this.chance = dropChance;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack getPrincess(World world, int x, int y, int z, int fortune)
|
||||
{
|
||||
return BeeManager.beeRoot.getMemberStack(BeeManager.beeRoot.getBee(world, BeeManager.beeRoot.templateAsGenome(this.template)), EnumBeeType.PRINCESS.ordinal());
|
||||
}
|
||||
|
||||
@Override
|
||||
public Collection<ItemStack> getDrones(World world, int x, int y, int z, int fortune)
|
||||
{
|
||||
ArrayList<ItemStack> value = new ArrayList<ItemStack>(1);
|
||||
value.add(BeeManager.beeRoot.getMemberStack(BeeManager.beeRoot.getBee(world, BeeManager.beeRoot.templateAsGenome(this.template)), EnumBeeType.DRONE.ordinal()));
|
||||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Collection<ItemStack> getAdditional(World world, int x, int y, int z, int fortune)
|
||||
{
|
||||
ArrayList<ItemStack> value = new ArrayList<ItemStack>(bonus.length);
|
||||
|
||||
for (int i = 0; i < bonus.length; ++i)
|
||||
{
|
||||
value.add(bonus[i].copy());
|
||||
}
|
||||
|
||||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getChance(World world, int x, int y, int z)
|
||||
{
|
||||
return this.chance;
|
||||
}
|
||||
}
|
||||
@@ -1,113 +0,0 @@
|
||||
package magicbees.block;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import magicbees.client.gui.UIScreens;
|
||||
import magicbees.main.CommonProxy;
|
||||
import magicbees.main.MagicBees;
|
||||
import magicbees.main.utils.TabMagicBees;
|
||||
import magicbees.main.utils.VersionInfo;
|
||||
import magicbees.tileentity.TileEntityEffectJar;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockContainer;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
import net.minecraft.entity.item.EntityItem;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class BlockEffectJar extends BlockContainer
|
||||
{
|
||||
public BlockEffectJar(int id)
|
||||
{
|
||||
super(id, Material.glass);
|
||||
this.setCreativeTab(TabMagicBees.tabMagicBees);
|
||||
this.setUnlocalizedName("effectJar");
|
||||
this.setBlockBounds(0.25f, 0f, 0.25f, 0.75f, 0.81f, 0.74f);
|
||||
this.setHardness(0.1f);
|
||||
this.setResistance(1.5f);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int par6, float par7, float par8, float par9)
|
||||
{
|
||||
boolean activate = false;
|
||||
|
||||
if (!player.isSneaking())
|
||||
{
|
||||
player.openGui(MagicBees.object, UIScreens.EFFECT_JAR.ordinal(), world, x, y, z);
|
||||
activate = true;
|
||||
}
|
||||
|
||||
return activate;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TileEntity createNewTileEntity(World w)
|
||||
{
|
||||
return new TileEntityEffectJar();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isOpaqueCube()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean renderAsNormalBlock()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getRenderType()
|
||||
{
|
||||
return CommonProxy.RenderIdEffectJar;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void breakBlock(World world, int x, int y, int z, int id, int meta)
|
||||
{
|
||||
super.breakBlock(world, x, y, z, id, meta);
|
||||
this.dropInventory(world, x, y, z);
|
||||
}
|
||||
|
||||
private void dropInventory(World world, int x, int y, int z)
|
||||
{
|
||||
TileEntity e = world.getBlockTileEntity(x, y, z);
|
||||
|
||||
if (e != null && e instanceof TileEntityEffectJar)
|
||||
{
|
||||
TileEntityEffectJar jar = (TileEntityEffectJar)e;
|
||||
|
||||
// 0 is the only droppable stack.
|
||||
ItemStack stack = jar.getStackInSlot(0);
|
||||
|
||||
if (stack != null && stack.stackSize > 0)
|
||||
{
|
||||
float pX = world.rand.nextFloat() * 0.8f + 0.1f;
|
||||
float pY = world.rand.nextFloat() * 0.8f + 0.1f;
|
||||
float pZ = world.rand.nextFloat() * 0.8f + 0.1f;
|
||||
|
||||
EntityItem entityItem = new EntityItem(world, x + pX, y + pY, z + pZ, stack.copy());
|
||||
|
||||
entityItem.motionX = world.rand.nextGaussian() * 0.05f;
|
||||
entityItem.motionY = world.rand.nextGaussian() * 0.05f + 0.2f;
|
||||
entityItem.motionZ = world.rand.nextGaussian() * 0.05f;
|
||||
|
||||
world.spawnEntityInWorld(entityItem);
|
||||
stack.stackSize = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerIcons(IconRegister par1IconRegister)
|
||||
{
|
||||
this.blockIcon = Block.glass.getIcon(0, 0);
|
||||
}
|
||||
}
|
||||
@@ -1,109 +0,0 @@
|
||||
package magicbees.block;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import magicbees.block.types.HiveType;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.Icon;
|
||||
import net.minecraft.util.MovingObjectPosition;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import forestry.api.core.Tabs;
|
||||
|
||||
public class BlockHive extends Block
|
||||
{
|
||||
public BlockHive(int id)
|
||||
{
|
||||
super(id, new MaterialHive());
|
||||
this.setLightValue(0.8f);
|
||||
setHardness(1f);
|
||||
setCreativeTab(Tabs.tabApiculture);
|
||||
setUnlocalizedName("hive");
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canDragonDestroy(World world, int x, int y, int z)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int damageDropped(int meta)
|
||||
{
|
||||
return meta;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getLightValue(IBlockAccess world, int x, int y, int z)
|
||||
{
|
||||
int meta = world.getBlockMetadata(x, y, z);
|
||||
if (meta < 0 || meta > HiveType.values().length)
|
||||
{
|
||||
meta = 0;
|
||||
}
|
||||
return HiveType.getHiveFromMeta(meta).getLightValue();
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
@Override
|
||||
public void getSubBlocks(int id, CreativeTabs tab, List itemsList)
|
||||
{
|
||||
for (HiveType type : HiveType.values())
|
||||
{
|
||||
if (type.show)
|
||||
{
|
||||
itemsList.add(new ItemStack(this, 1, type.ordinal()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public ArrayList<ItemStack> getBlockDropped(World world, int x, int y, int z, int metadata, int fortune)
|
||||
{
|
||||
return HiveType.getHiveFromMeta(metadata).getDrops(world, x, y, z, fortune);
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerIcons(IconRegister register)
|
||||
{
|
||||
HiveType.registerIcons(register);
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public Icon getIcon(int side, int meta)
|
||||
{
|
||||
if (meta < 0 || meta > HiveType.values().length)
|
||||
{
|
||||
meta = 0;
|
||||
}
|
||||
return HiveType.getHiveFromMeta(meta).getIconForSide(side);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack getPickBlock(MovingObjectPosition target, World world, int x, int y, int z)
|
||||
{
|
||||
int id = world.getBlockId(x, y, z);
|
||||
|
||||
if (id == 0)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
Item item = Item.itemsList[id];
|
||||
if (item == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
return new ItemStack(id, 1, getDamageValue(world, x, y, z) & 7);
|
||||
}
|
||||
}
|
||||
@@ -1,68 +0,0 @@
|
||||
package magicbees.block;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import magicbees.block.types.PlankType;
|
||||
import magicbees.main.MagicBees;
|
||||
import magicbees.main.utils.VersionInfo;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.Icon;
|
||||
import net.minecraft.util.MovingObjectPosition;
|
||||
import net.minecraft.world.World;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
public class BlockPlanks extends Block
|
||||
{
|
||||
@SideOnly(Side.CLIENT)
|
||||
private Icon[] icons;
|
||||
|
||||
public BlockPlanks(int id)
|
||||
{
|
||||
super(id, Material.wood);
|
||||
this.setHardness(2.5f);
|
||||
this.setResistance(6.0f);
|
||||
this.setCreativeTab(CreativeTabs.tabBlock);
|
||||
if (MagicBees.getConfig().AreMagicPlanksFlammable)
|
||||
{
|
||||
Block.setBurnProperties(id, 5, 20);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public int damageDropped(int meta)
|
||||
{
|
||||
return meta;
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
@Override
|
||||
public void getSubBlocks(int id, CreativeTabs tab, List itemsList)
|
||||
{
|
||||
for (PlankType type : PlankType.values())
|
||||
{
|
||||
itemsList.add(new ItemStack(this, 1, type.ordinal()));
|
||||
}
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
@Override
|
||||
public Icon getIcon(int side, int meta)
|
||||
{
|
||||
return this.icons[Math.max(0, Math.min(meta & 7, icons.length-1))];
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerIcons(IconRegister par1IconRegister)
|
||||
{
|
||||
this.icons = new Icon[PlankType.values().length];
|
||||
for (PlankType t : PlankType.values())
|
||||
{
|
||||
this.icons[t.ordinal()] = par1IconRegister.registerIcon(VersionInfo.ModName.toLowerCase() + ":" + t.name);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,103 +0,0 @@
|
||||
package magicbees.block;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import magicbees.block.types.PlankType;
|
||||
import magicbees.main.Config;
|
||||
import magicbees.main.MagicBees;
|
||||
import magicbees.main.utils.VersionInfo;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockHalfSlab;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.Icon;
|
||||
import net.minecraft.util.MovingObjectPosition;
|
||||
import net.minecraft.world.World;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
public class BlockWoodSlab extends BlockHalfSlab
|
||||
{
|
||||
@SideOnly(Side.CLIENT)
|
||||
private Icon[] icons;
|
||||
|
||||
public BlockWoodSlab(int id, boolean doubleSlab)
|
||||
{
|
||||
super(id, doubleSlab, Material.wood);
|
||||
this.setHardness(2.5f);
|
||||
this.setResistance(6.0f);
|
||||
this.setUnlocalizedName("tb.slab.wood");
|
||||
this.setCreativeTab(CreativeTabs.tabBlock);
|
||||
this.setLightOpacity(doubleSlab ? 255 : 0);
|
||||
if (MagicBees.getConfig().AreMagicPlanksFlammable)
|
||||
{
|
||||
Block.setBurnProperties(id, 5, 20);
|
||||
}
|
||||
}
|
||||
|
||||
public int idDropped(int id, Random rand, int par3)
|
||||
{
|
||||
return Config.slabWoodHalf.blockID;
|
||||
}
|
||||
|
||||
protected ItemStack createStackedBlock(int meta)
|
||||
{
|
||||
return new ItemStack(Config.planksWood.blockID, 1, meta & 7);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getFullSlabName(int meta)
|
||||
{
|
||||
return this.getUnlocalizedName() + "." + PlankType.getType(meta).name;
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
@Override
|
||||
public void getSubBlocks(int id, CreativeTabs tab, List itemsList)
|
||||
{
|
||||
for (PlankType type : PlankType.values())
|
||||
{
|
||||
itemsList.add(new ItemStack(this, 1, type.ordinal()));
|
||||
}
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
@Override
|
||||
public Icon getIcon(int side, int meta)
|
||||
{
|
||||
return this.icons[Math.max(0, Math.min(meta & 7, icons.length-1))];
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerIcons(IconRegister par1IconRegister)
|
||||
{
|
||||
this.icons = new Icon[PlankType.values().length];
|
||||
for (PlankType t : PlankType.values())
|
||||
{
|
||||
this.icons[t.ordinal()] = par1IconRegister.registerIcon(VersionInfo.ModName.toLowerCase() + ":" + t.name);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack getPickBlock(MovingObjectPosition target, World world, int x, int y, int z)
|
||||
{
|
||||
int id = world.getBlockId(x, y, z);
|
||||
|
||||
if (id == 0)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
Item item = Item.itemsList[id];
|
||||
if (item == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
return new ItemStack(id, 1, getDamageValue(world, x, y, z) & 7);
|
||||
}
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package magicbees.block;
|
||||
|
||||
import net.minecraft.block.material.MapColor;
|
||||
import net.minecraft.block.material.Material;
|
||||
|
||||
public class MaterialHive extends Material
|
||||
{
|
||||
|
||||
public MaterialHive()
|
||||
{
|
||||
super(MapColor.stoneColor);
|
||||
this.setImmovableMobility();
|
||||
this.setRequiresTool();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,297 +0,0 @@
|
||||
package magicbees.block.types;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.Random;
|
||||
|
||||
import magicbees.bees.BeeGenomeManager;
|
||||
import magicbees.bees.BeeSpecies;
|
||||
import magicbees.bees.HiveDrop;
|
||||
import magicbees.item.types.CombType;
|
||||
import magicbees.main.Config;
|
||||
import magicbees.main.utils.VersionInfo;
|
||||
import magicbees.main.utils.compat.ForestryHelper;
|
||||
import magicbees.world.feature.FeatureHive;
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.Icon;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraft.world.biome.BiomeGenBase;
|
||||
import net.minecraftforge.common.BiomeDictionary;
|
||||
import net.minecraftforge.common.BiomeDictionary.Type;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import forestry.api.apiculture.IHiveDrop;
|
||||
|
||||
public enum HiveType
|
||||
{
|
||||
CURIOUS("curious", 12, true),
|
||||
UNUSUAL("unusual", 12, true),
|
||||
RESONANT("resonant", 12, true),
|
||||
DEEP("deep", 4, false),
|
||||
INFERNAL("infernal", 15, false),
|
||||
OBLIVION("oblivion", 7, false),
|
||||
;
|
||||
|
||||
private static String[] nameList;
|
||||
|
||||
private String name;
|
||||
public boolean show;
|
||||
private int lightLevel;
|
||||
private ArrayList<IHiveDrop> drops;
|
||||
private ArrayList<BiomeDictionary.Type> validBiomes;
|
||||
@SideOnly(Side.CLIENT)
|
||||
private Icon[] icons;
|
||||
|
||||
public static HiveType getHiveFromMeta(int meta)
|
||||
{
|
||||
HiveType type = CURIOUS;
|
||||
|
||||
if (meta > 0 && meta < HiveType.values().length)
|
||||
{
|
||||
type = HiveType.values()[meta];
|
||||
}
|
||||
|
||||
return type;
|
||||
}
|
||||
|
||||
public static void initHiveData()
|
||||
{
|
||||
ItemStack[] combs = new ItemStack[] {Config.combs.getStackForType(CombType.MUNDANE)};
|
||||
HiveDrop valiantDrop = new HiveDrop(BeeGenomeManager.addRainResist(ForestryHelper.getTemplateForestryForSpecies("Valiant")), combs, 5);
|
||||
|
||||
CURIOUS.validBiomes.add(Type.FOREST);
|
||||
CURIOUS.validBiomes.add(Type.JUNGLE);
|
||||
CURIOUS.validBiomes.add(Type.HILLS);
|
||||
CURIOUS.drops.add(new HiveDrop(BeeSpecies.MYSTICAL.getGenome(), combs, 80));
|
||||
CURIOUS.drops.add(new HiveDrop(BeeGenomeManager.addRainResist(BeeSpecies.MYSTICAL.getGenome()), combs, 15));
|
||||
CURIOUS.drops.add(valiantDrop);
|
||||
|
||||
UNUSUAL.validBiomes.add(Type.PLAINS);
|
||||
UNUSUAL.validBiomes.add(Type.MOUNTAIN);
|
||||
UNUSUAL.validBiomes.add(Type.HILLS);
|
||||
UNUSUAL.drops.add(new HiveDrop(BeeSpecies.UNUSUAL.getGenome(), combs, 80));
|
||||
UNUSUAL.drops.add(new HiveDrop(BeeGenomeManager.addRainResist(BeeSpecies.UNUSUAL.getGenome()), combs, 15));
|
||||
UNUSUAL.drops.add(valiantDrop);
|
||||
|
||||
RESONANT.validBiomes.add(Type.DESERT);
|
||||
RESONANT.validBiomes.add(Type.MAGICAL);
|
||||
RESONANT.drops.add(new HiveDrop(BeeSpecies.SORCEROUS.getGenome(), combs, 80));
|
||||
RESONANT.drops.add(new HiveDrop(BeeGenomeManager.addRainResist(BeeSpecies.SORCEROUS.getGenome()), combs, 20));
|
||||
RESONANT.drops.add(valiantDrop);
|
||||
|
||||
DEEP.validBiomes.add(Type.HILLS);
|
||||
DEEP.validBiomes.add(Type.MOUNTAIN);
|
||||
DEEP.validBiomes.add(Type.MAGICAL);
|
||||
DEEP.drops.add(new HiveDrop(BeeSpecies.ATTUNED.getGenome(), combs, 80));
|
||||
DEEP.drops.add(new HiveDrop(BeeGenomeManager.addRainResist(BeeSpecies.ATTUNED.getGenome()), combs, 20));
|
||||
DEEP.drops.add(valiantDrop);
|
||||
|
||||
combs = new ItemStack[] {Config.combs.getStackForType(CombType.MOLTEN), new ItemStack(Item.lightStoneDust, 6)};
|
||||
|
||||
INFERNAL.validBiomes.add(Type.NETHER);
|
||||
INFERNAL.validBiomes.add(Type.MAGICAL);
|
||||
INFERNAL.drops.add(new HiveDrop(BeeSpecies.INFERNAL.getGenome(), combs, 80));
|
||||
INFERNAL.drops.add(new HiveDrop(ForestryHelper.getTemplateForestryForSpecies("Steadfast"), combs, 3));
|
||||
|
||||
combs = new ItemStack[] {Config.combs.getStackForType(CombType.FORGOTTEN), new ItemStack(Item.enderPearl, 1)};
|
||||
|
||||
OBLIVION.validBiomes.add(Type.END);
|
||||
OBLIVION.validBiomes.add(Type.MAGICAL);
|
||||
OBLIVION.drops.add(new HiveDrop(BeeSpecies.OBLIVION.getGenome(), combs, 80));
|
||||
OBLIVION.drops.add(new HiveDrop(ForestryHelper.getTemplateForestryForSpecies("Steadfast"), combs, 9));
|
||||
}
|
||||
|
||||
private HiveType(String hiveName, int light, boolean visible)
|
||||
{
|
||||
this.name = hiveName;
|
||||
this.lightLevel = light;
|
||||
this.show = visible;
|
||||
this.drops = new ArrayList<IHiveDrop>();
|
||||
this.validBiomes = new ArrayList<BiomeDictionary.Type>();
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public static void registerIcons(IconRegister register)
|
||||
{
|
||||
for (HiveType type : HiveType.values())
|
||||
{
|
||||
type.icons = new Icon[2];
|
||||
|
||||
type.icons[0] = register.registerIcon(VersionInfo.ModName.toLowerCase() + ":beehive." + type.ordinal() + ".top");
|
||||
type.icons[1] = register.registerIcon(VersionInfo.ModName.toLowerCase() + ":beehive." + type.ordinal() + ".side");
|
||||
}
|
||||
}
|
||||
|
||||
private HiveType()
|
||||
{
|
||||
this.drops = new ArrayList<IHiveDrop>();
|
||||
}
|
||||
|
||||
public void addDrop(IHiveDrop drop)
|
||||
{
|
||||
this.drops.add(drop);
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public Icon getIconForSide(int side)
|
||||
{
|
||||
Icon i = this.icons[0];
|
||||
|
||||
if (side != 0 && side != 1)
|
||||
{
|
||||
i = this.icons[1];
|
||||
}
|
||||
|
||||
return i;
|
||||
}
|
||||
|
||||
public int getLightValue()
|
||||
{
|
||||
return this.lightLevel;
|
||||
}
|
||||
|
||||
public ArrayList<ItemStack> getDrops(World world, int x, int y, int z, int fortune)
|
||||
{
|
||||
ArrayList<ItemStack> hiveDrops = new ArrayList<ItemStack>();
|
||||
int dart;
|
||||
|
||||
// Get a princess.
|
||||
int throttle = 0;
|
||||
while (hiveDrops.size() <= 0 && throttle < 10)
|
||||
{
|
||||
++throttle;
|
||||
dart = world.rand.nextInt(100);
|
||||
for (IHiveDrop drop : drops)
|
||||
{
|
||||
if (dart <= drop.getChance(world, x, y, z))
|
||||
{
|
||||
hiveDrops.add(drop.getPrincess(world, x, y, z, fortune));
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Get a drone, maybe.
|
||||
dart = world.rand.nextInt(100);
|
||||
for (IHiveDrop drop : drops)
|
||||
{
|
||||
if (dart <= drop.getChance(world, x, y, z))
|
||||
{
|
||||
hiveDrops.addAll(drop.getDrones(world, x, y, z, fortune));
|
||||
hiveDrops.addAll(drop.getAdditional(world, x, y, z, fortune));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return hiveDrops;
|
||||
}
|
||||
|
||||
public static String[] getAllNames()
|
||||
{
|
||||
return (nameList == null) ? nameList = generateNames() : nameList;
|
||||
}
|
||||
|
||||
private static String[] generateNames()
|
||||
{
|
||||
String[] names = new String[values().length];
|
||||
for (int i = 0; i < names.length; ++i)
|
||||
{
|
||||
names[i] = values()[i].name;
|
||||
}
|
||||
return names;
|
||||
}
|
||||
|
||||
public void generateHive(World world, Random random, int chunkX, int chunkZ, boolean initialGen)
|
||||
{
|
||||
if (spawnsInBiome(world.getBiomeGenForCoordsBody(chunkX * 16, chunkZ * 16)))
|
||||
{
|
||||
switch (this)
|
||||
{
|
||||
case CURIOUS:
|
||||
for (int i = 0; i < 3; ++i)
|
||||
{
|
||||
int coordX = chunkX * 16 + random.nextInt(16);
|
||||
int coordZ = chunkZ * 16 + random.nextInt(16);
|
||||
if (FeatureHive.generateHiveCurious(world, random, coordX, coordZ, initialGen))
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case UNUSUAL:
|
||||
for (int i = 0; i < 3; ++i)
|
||||
{
|
||||
int coordX = chunkX * 16 + random.nextInt(16);
|
||||
int coordZ = chunkZ * 16 + random.nextInt(16);
|
||||
if (FeatureHive.generateHiveUnusual(world, random, coordX, coordZ, initialGen))
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case RESONANT:
|
||||
for (int i = 0; i < 2; ++i)
|
||||
{
|
||||
int coordX = chunkX * 16 + random.nextInt(16);
|
||||
int coordZ = chunkZ * 16 + random.nextInt(16);
|
||||
if (FeatureHive.generateHiveResonant(world, random, coordX, coordZ, initialGen))
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case DEEP:
|
||||
for (int i = 0; i < 1; ++i)
|
||||
{
|
||||
int coordX = chunkX * 16 + random.nextInt(16);
|
||||
int coordZ = chunkZ * 16 + random.nextInt(16);
|
||||
if (FeatureHive.generateHiveDeep(world, random, coordX, coordZ, initialGen))
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case INFERNAL:
|
||||
for (int i = 0; i < 1; ++i)
|
||||
{
|
||||
int coordX = chunkX * 16 + random.nextInt(16);
|
||||
int coordZ = chunkZ * 16 + random.nextInt(16);
|
||||
if (FeatureHive.generateHiveInfernal(world, random, coordX, coordZ, initialGen))
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case OBLIVION:
|
||||
for (int i = 0; i < 3; ++i)
|
||||
{
|
||||
int coordX = chunkX * 16 + random.nextInt(16);
|
||||
int coordZ = chunkZ * 16 + random.nextInt(16);
|
||||
if (FeatureHive.generateHiveOblivion(world, random, coordX, coordZ, initialGen))
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public boolean spawnsInBiome(BiomeGenBase biomeGen)
|
||||
{
|
||||
boolean found = false;
|
||||
BiomeDictionary.Type[] types = BiomeDictionary.getTypesForBiome(biomeGen);
|
||||
for (int i = 0; i < types.length; ++i)
|
||||
{
|
||||
if (this.validBiomes.contains(types[i]))
|
||||
{
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return found;
|
||||
}
|
||||
}
|
||||
@@ -1,45 +0,0 @@
|
||||
package magicbees.block.types;
|
||||
|
||||
public enum PlankType
|
||||
{
|
||||
GREATWOOD("greatwood", 48),
|
||||
SILVERWOOD("silverwood", 49),
|
||||
;
|
||||
|
||||
public String name;
|
||||
public int textureIdx;
|
||||
private static String[] nameList;
|
||||
|
||||
private PlankType(String n, int idx)
|
||||
{
|
||||
this.name = n;
|
||||
this.textureIdx = idx;
|
||||
}
|
||||
|
||||
public static PlankType getType(int meta)
|
||||
{
|
||||
PlankType type = null;
|
||||
|
||||
if (meta >= 0 && meta <= values().length)
|
||||
{
|
||||
type = values()[meta];
|
||||
}
|
||||
|
||||
return type;
|
||||
}
|
||||
|
||||
public static String[] getAllNames()
|
||||
{
|
||||
return (nameList == null) ? nameList = generateNames() : nameList;
|
||||
}
|
||||
|
||||
private static String[] generateNames()
|
||||
{
|
||||
String[] names = new String[values().length];
|
||||
for (int i = 0; i < names.length; ++i)
|
||||
{
|
||||
names[i] = values()[i].name;
|
||||
}
|
||||
return names;
|
||||
}
|
||||
}
|
||||
@@ -1,122 +0,0 @@
|
||||
package magicbees.client.gui;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import magicbees.tileentity.TileEntityEffectJar;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.inventory.Container;
|
||||
import net.minecraft.inventory.ICrafting;
|
||||
import net.minecraft.inventory.Slot;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import forestry.api.core.ItemInterface;
|
||||
|
||||
public class ContainerEffectJar extends Container
|
||||
{
|
||||
public TileEntityEffectJar jar;
|
||||
|
||||
public int lastBeeHealth = 0;
|
||||
public int speciesColour = 0xffffff;
|
||||
|
||||
public ContainerEffectJar(TileEntityEffectJar tileEntityEffectJar, EntityPlayer player)
|
||||
{
|
||||
this.jar = tileEntityEffectJar;
|
||||
this.addSlotToContainer(new SlotCustomItems(this.jar, 0, 80, 22, new ItemStack[] { ItemInterface.getItem("beeDroneGE") }));
|
||||
|
||||
for (int i = 0; i < 3; ++i)
|
||||
{
|
||||
for (int j = 0; j < 9; ++j)
|
||||
{
|
||||
this.addSlotToContainer(new Slot(player.inventory, j + i * 9 + 9, 8 + j * 18, 74 + i * 18));
|
||||
}
|
||||
}
|
||||
|
||||
for (int i = 0; i < 9; ++i)
|
||||
{
|
||||
this.addSlotToContainer(new Slot(player.inventory, i, 8 + i * 18, 132));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addCraftingToCrafters(ICrafting crafting)
|
||||
{
|
||||
super.addCraftingToCrafters(crafting);
|
||||
|
||||
crafting.sendProgressBarUpdate(this, 0, this.jar.currentBeeHealth);
|
||||
crafting.sendProgressBarUpdate(this, 1, this.jar.currentBeeColour);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void detectAndSendChanges()
|
||||
{
|
||||
super.detectAndSendChanges();
|
||||
|
||||
for (int i = 0; i < this.crafters.size(); ++i)
|
||||
{
|
||||
ICrafting crafting = (ICrafting)this.crafters.get(i);
|
||||
|
||||
if (this.lastBeeHealth != this.jar.currentBeeHealth)
|
||||
{
|
||||
crafting.sendProgressBarUpdate(this, 0, this.jar.currentBeeHealth);
|
||||
this.lastBeeHealth = this.jar.currentBeeHealth;
|
||||
}
|
||||
if (this.speciesColour != this.jar.currentBeeColour)
|
||||
{
|
||||
crafting.sendProgressBarUpdate(this, 1, this.jar.currentBeeColour);
|
||||
this.speciesColour = this.jar.currentBeeColour;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void updateProgressBar(int craftingId, int value)
|
||||
{
|
||||
if (craftingId == 0)
|
||||
{
|
||||
this.jar.currentBeeHealth = value;
|
||||
}
|
||||
else if (craftingId == 1)
|
||||
{
|
||||
this.jar.currentBeeColour = value;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canInteractWith(EntityPlayer entityplayer)
|
||||
{
|
||||
return this.jar.isUseableByPlayer(entityplayer);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack transferStackInSlot(EntityPlayer player, int slot)
|
||||
{
|
||||
Slot itemSlot = this.getSlot(slot);
|
||||
boolean clearSlot = false;
|
||||
|
||||
if (itemSlot != null && itemSlot.getHasStack())
|
||||
{
|
||||
ItemStack srcStack = itemSlot.getStack();
|
||||
if (slot == 0 && srcStack != null)
|
||||
{
|
||||
clearSlot = this.mergeItemStack(srcStack, 1, 36 + 1, false);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.getSlot(0).isItemValid(srcStack))
|
||||
{
|
||||
clearSlot = this.mergeItemStack(srcStack, 0, 1, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (clearSlot)
|
||||
{
|
||||
itemSlot.putStack(null);
|
||||
}
|
||||
itemSlot.onSlotChanged();
|
||||
player.inventory.onInventoryChanged();
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,67 +0,0 @@
|
||||
package magicbees.client.gui;
|
||||
|
||||
import magicbees.main.CommonProxy;
|
||||
import magicbees.tileentity.TileEntityEffectJar;
|
||||
import net.minecraft.client.gui.inventory.GuiContainer;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
|
||||
public class GUIEffectJar extends GuiContainer
|
||||
{
|
||||
public static final String BACKGROUND_FILE = "jarScreen.png";
|
||||
|
||||
private static final int WIDTH = 176;
|
||||
private static final int HEIGHT = 156;
|
||||
|
||||
private static final int SLOT_JAR_X = 80;
|
||||
private static final int SLOT_JAR_Y = 22;
|
||||
private static final int SLOT_INVENTORY_X = 8;
|
||||
private static final int SLOT_INVENTORY_Y = 74;
|
||||
private static final int BAR_DEST_X = 117;
|
||||
private static final int BAR_DEST_Y = 10;
|
||||
|
||||
private static final int BAR_SRC_X = 176;
|
||||
private static final int BAR_SRC_Y = 0;
|
||||
|
||||
private static final int BAR_WIDTH = 10;
|
||||
private static final int BAR_HEIGHT = 40;
|
||||
|
||||
public GUIEffectJar(TileEntityEffectJar jar, EntityPlayer player)
|
||||
{
|
||||
super(new ContainerEffectJar(jar, player));
|
||||
this.xSize = WIDTH;
|
||||
this.ySize = HEIGHT;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void drawGuiContainerForegroundLayer(int par1, int par2)
|
||||
{
|
||||
fontRenderer.drawString("Inventory", 9, 63, 0);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void drawGuiContainerBackgroundLayer(float f, int i, int j)
|
||||
{
|
||||
int texture = this.mc.renderEngine.getTexture(CommonProxy.GUI_PATH + BACKGROUND_FILE);
|
||||
|
||||
GL11.glColor4f(1f, 1f, 1f, 1f);
|
||||
GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_SRC_ALPHA);
|
||||
GL11.glBindTexture(GL11.GL_TEXTURE_2D, texture);
|
||||
|
||||
this.drawTexturedModalRect(this.guiLeft, this.guiTop, 0, 0, xSize, ySize);
|
||||
|
||||
TileEntityEffectJar jar = ((ContainerEffectJar)this.inventorySlots).jar;
|
||||
float r = ((jar.currentBeeColour >> 16) & 255) / 255f;
|
||||
float g = ((jar.currentBeeColour >> 8) & 255) / 255f;
|
||||
float b = (jar.currentBeeColour & 255) / 255f;
|
||||
|
||||
GL11.glColor3f(r, g, b);
|
||||
|
||||
int value = BAR_HEIGHT - (jar.currentBeeHealth * BAR_HEIGHT) / 100;
|
||||
this.drawTexturedModalRect(this.guiLeft + BAR_DEST_X, this.guiTop + value + BAR_DEST_Y, BAR_SRC_X, BAR_SRC_Y, BAR_WIDTH, BAR_HEIGHT - value);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,37 +0,0 @@
|
||||
package magicbees.client.gui;
|
||||
|
||||
import magicbees.tileentity.TileEntityEffectJar;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.world.World;
|
||||
import cpw.mods.fml.common.network.IGuiHandler;
|
||||
|
||||
public class GUIHandler implements IGuiHandler
|
||||
{
|
||||
|
||||
@Override
|
||||
public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z)
|
||||
{
|
||||
Object value = null;
|
||||
|
||||
if (ID == UIScreens.EFFECT_JAR.ordinal())
|
||||
{
|
||||
value = new ContainerEffectJar((TileEntityEffectJar)world.getBlockTileEntity(x, y, z), player);
|
||||
}
|
||||
|
||||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z)
|
||||
{
|
||||
Object value = null;
|
||||
|
||||
if (ID == UIScreens.EFFECT_JAR.ordinal())
|
||||
{
|
||||
value = new GUIEffectJar((TileEntityEffectJar)world.getBlockTileEntity(x, y, z), player);
|
||||
}
|
||||
|
||||
return value;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,119 +0,0 @@
|
||||
package magicbees.client.gui;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import net.minecraft.inventory.IInventory;
|
||||
import net.minecraft.inventory.Slot;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.oredict.OreDictionary;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author MysteriousAges
|
||||
*
|
||||
*/
|
||||
public class SlotCustomItems extends Slot
|
||||
{
|
||||
private List<ItemStack> items;
|
||||
|
||||
public SlotCustomItems(IInventory inventory, int slotIndex, int xPos, int yPos)
|
||||
{
|
||||
this(inventory, slotIndex, xPos, yPos, new ItemStack[0]);
|
||||
}
|
||||
|
||||
public SlotCustomItems(IInventory inventory, int slotIndex, int xPos, int yPos, ItemStack... items)
|
||||
{
|
||||
super(inventory, slotIndex, xPos, yPos);
|
||||
this.items = new ArrayList<ItemStack>();
|
||||
|
||||
for (ItemStack i : items)
|
||||
{
|
||||
this.items.add(i);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return List of valid ItemStacks
|
||||
*/
|
||||
public List<ItemStack> getValidItems()
|
||||
{
|
||||
return this.items;
|
||||
}
|
||||
|
||||
public void addValidItem(ItemStack newItem)
|
||||
{
|
||||
boolean contains = false;
|
||||
for (int i = 0; i < this.items.size(); ++i)
|
||||
{
|
||||
ItemStack s = this.items.get(i);
|
||||
if (s.itemID == newItem.itemID)
|
||||
{
|
||||
if (s.getItemDamage() == OreDictionary.WILDCARD_VALUE)
|
||||
{
|
||||
contains = true;
|
||||
break;
|
||||
}
|
||||
else if (s.getItemDamage() == newItem.getItemDamage())
|
||||
{
|
||||
contains = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!contains)
|
||||
{
|
||||
this.items.add(newItem);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param removeItem ItemStack to remove.
|
||||
*/
|
||||
public void removeValidItem(ItemStack removeItem)
|
||||
{
|
||||
for (int i = 0; i < this.items.size(); ++i)
|
||||
{
|
||||
ItemStack s = this.items.get(i);
|
||||
if (s.itemID == removeItem.itemID)
|
||||
{
|
||||
if (s.getItemDamage() == OreDictionary.WILDCARD_VALUE)
|
||||
{
|
||||
this.items.remove(i);
|
||||
break;
|
||||
}
|
||||
else if (s.getItemDamage() == removeItem.getItemDamage())
|
||||
{
|
||||
this.items.remove(i);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isItemValid(ItemStack itemStack)
|
||||
{
|
||||
boolean flag = false;
|
||||
for (int i = 0; i < this.items.size(); ++i)
|
||||
{
|
||||
if (this.items.get(i).itemID == itemStack.itemID)
|
||||
{
|
||||
if (this.items.get(i).getItemDamage() == itemStack.getItemDamage())
|
||||
{
|
||||
flag = true;
|
||||
break;
|
||||
}
|
||||
else
|
||||
{
|
||||
flag = this.items.get(i).getItemDamage() ==OreDictionary.WILDCARD_VALUE;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return flag;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
package magicbees.client.gui;
|
||||
|
||||
public enum UIScreens
|
||||
{
|
||||
EFFECT_JAR,
|
||||
;
|
||||
}
|
||||
@@ -1,39 +0,0 @@
|
||||
package magicbees.client.model;
|
||||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import magicbees.main.CommonProxy;
|
||||
import net.minecraftforge.client.model.AdvancedModelLoader;
|
||||
import net.minecraftforge.client.model.IModelCustom;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public class ModelEffectJar
|
||||
{
|
||||
public static final String objFile = CommonProxy.MODEL_PATH + "effectJar.obj";
|
||||
public static final String textureFile = CommonProxy.MODEL_TEXTURE_PATH + "jarTexture.png";
|
||||
|
||||
public static final ModelEffectJar model = new ModelEffectJar();
|
||||
|
||||
private IModelCustom effectJarObj;
|
||||
|
||||
public ModelEffectJar()
|
||||
{
|
||||
this.effectJarObj = AdvancedModelLoader.loadModel(objFile);
|
||||
}
|
||||
|
||||
public void render()
|
||||
{
|
||||
this.effectJarObj.renderPart("jarLid");
|
||||
|
||||
GL11.glPushAttrib(GL11.GL_ENABLE_BIT);
|
||||
GL11.glEnable(GL11.GL_CULL_FACE);
|
||||
GL11.glDisable(GL11.GL_LIGHTING);
|
||||
GL11.glEnable(GL11.GL_BLEND);
|
||||
GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
|
||||
this.effectJarObj.renderPart("jarBase");
|
||||
GL11.glPopAttrib();
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,104 +0,0 @@
|
||||
package magicbees.client.render;
|
||||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import cpw.mods.fml.client.FMLClientHandler;
|
||||
|
||||
|
||||
import magicbees.main.CommonProxy;
|
||||
import magicbees.main.MagicBees;
|
||||
import net.minecraft.client.particle.EntityFX;
|
||||
import net.minecraft.client.renderer.Tessellator;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.client.ForgeHooksClient;
|
||||
|
||||
/**
|
||||
* Borrowed from Forestry with some modifications.
|
||||
*/
|
||||
public class BeeRenderEffect extends EntityFX
|
||||
{
|
||||
public int blendmode = 1;
|
||||
private static String texture = "/mods/forestry/textures/items/particles/swarm_bee";
|
||||
|
||||
public BeeRenderEffect(World world, double x, double y, double z, float motionScaleX, float motionScaleY, float motionScaleZ, int color)
|
||||
{
|
||||
|
||||
super(world, x, y, z, 0.0D, 0.0D, 0.0D);
|
||||
|
||||
// Colour is stored in 4-byte int: XXRRGGBB
|
||||
particleRed = (color >> 16 & 255) / 255.0F;
|
||||
particleGreen = (color >> 8 & 255) / 255.0F;
|
||||
particleBlue = (color & 255) / 255.0F;
|
||||
|
||||
this.setParticleTextureIndex(0);
|
||||
this.setSize(0.1F, 0.1F);
|
||||
this.particleScale *= 0.2F;
|
||||
this.particleMaxAge = (int) (20.0D / (Math.random() * 0.8D + 0.2D));
|
||||
this.noClip = true;
|
||||
|
||||
this.motionX *= 0.119999999552965164D;
|
||||
this.motionY *= 0.119999999552965164D;
|
||||
this.motionZ *= 0.119999999552965164D;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Called to update the entity's position/logic.
|
||||
*/
|
||||
public void onUpdate()
|
||||
{
|
||||
|
||||
this.prevPosX = this.posX;
|
||||
this.prevPosY = this.posY;
|
||||
this.prevPosZ = this.posZ;
|
||||
this.moveEntity(this.motionX, this.motionY, this.motionZ);
|
||||
this.motionX *= 1.08D;
|
||||
this.motionY *= 1.08D;
|
||||
this.motionZ *= 1.08D;
|
||||
|
||||
if (this.particleMaxAge-- <= 0)
|
||||
{
|
||||
this.setDead();
|
||||
}
|
||||
}
|
||||
|
||||
public void renderParticle(Tessellator tessellator, float f, float f1, float f2, float f3, float f4, float f5)
|
||||
{
|
||||
|
||||
tessellator.draw();
|
||||
GL11.glPushMatrix();
|
||||
|
||||
GL11.glDepthMask(false);
|
||||
GL11.glEnable(3042);
|
||||
GL11.glBlendFunc(770, blendmode);
|
||||
|
||||
FMLClientHandler.instance().getClient().renderEngine.bindTexture(texture);
|
||||
|
||||
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
|
||||
|
||||
float f10 = 0.1F * particleScale;
|
||||
float f11 = (float) ((prevPosX + (posX - prevPosX) * f) - interpPosX);
|
||||
float f12 = (float) ((prevPosY + (posY - prevPosY) * f) - interpPosY);
|
||||
float f13 = (float) ((prevPosZ + (posZ - prevPosZ) * f) - interpPosZ);
|
||||
|
||||
// GL11.glRotatef(this.rand.nextFloat(), 0.0F, 1.0F, 0.0F);
|
||||
tessellator.startDrawingQuads();
|
||||
tessellator.setBrightness(0x0000f0);
|
||||
|
||||
tessellator.setColorRGBA_F(particleRed, particleGreen, particleBlue, 1.0F);
|
||||
tessellator.addVertexWithUV(f11 - f1 * f10 - f4 * f10, f12 - f2 * f10, f13 - f3 * f10 - f5 * f10, 0, 1);
|
||||
tessellator.addVertexWithUV((f11 - f1 * f10) + f4 * f10, f12 + f2 * f10, (f13 - f3 * f10) + f5 * f10, 1, 1);
|
||||
tessellator.addVertexWithUV(f11 + f1 * f10 + f4 * f10, f12 + f2 * f10, f13 + f3 * f10 + f5 * f10, 1, 0);
|
||||
tessellator.addVertexWithUV((f11 + f1 * f10) - f4 * f10, f12 - f2 * f10, (f13 + f3 * f10) - f5 * f10, 0, 0);
|
||||
|
||||
tessellator.draw();
|
||||
|
||||
GL11.glDisable(3042);
|
||||
GL11.glDepthMask(true);
|
||||
|
||||
GL11.glPopMatrix();
|
||||
GL11.glBindTexture(3553 /* GL_TEXTURE_2D *//* GL_TEXTURE_2D */, MagicBees.proxy.getClientInstance().renderEngine.getTexture("/particles.png"));
|
||||
tessellator.startDrawingQuads();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,80 +0,0 @@
|
||||
package magicbees.client.render;
|
||||
|
||||
import magicbees.client.model.ModelEffectJar;
|
||||
import magicbees.tileentity.TileEntityEffectJar;
|
||||
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.client.IItemRenderer;
|
||||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import cpw.mods.fml.client.FMLClientHandler;
|
||||
|
||||
public class EffectJarRenderer extends TileEntitySpecialRenderer implements IItemRenderer
|
||||
{
|
||||
public static EffectJarRenderer instance = new EffectJarRenderer();
|
||||
|
||||
@Override
|
||||
public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float tick)
|
||||
{
|
||||
if (tileEntity instanceof TileEntityEffectJar)
|
||||
{
|
||||
this.doRender(x, y, z, 1f);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean handleRenderType(ItemStack item, ItemRenderType type)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void renderItem(ItemRenderType type, ItemStack item, Object... data)
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
default:
|
||||
case ENTITY:
|
||||
doRender(0, 0, 0, 1.8f);
|
||||
break;
|
||||
|
||||
case EQUIPPED:
|
||||
doRender(0, 0, 0, 1.5f);
|
||||
break;
|
||||
|
||||
case EQUIPPED_FIRST_PERSON:
|
||||
doRender(-.5, .5, 0.25, 1f);
|
||||
break;
|
||||
|
||||
case INVENTORY:
|
||||
doRender(0.3, 0.25, 0.3, 1.5f);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private void doRender(double x, double y, double z, float scale)
|
||||
{
|
||||
GL11.glPushMatrix();
|
||||
GL11.glDisable(GL11.GL_LIGHTING);
|
||||
|
||||
GL11.glScaled(scale, scale, scale);
|
||||
GL11.glTranslated(x, y, z);
|
||||
|
||||
FMLClientHandler.instance().getClient().renderEngine.bindTexture(ModelEffectJar.textureFile);
|
||||
|
||||
ModelEffectJar.model.render();
|
||||
|
||||
GL11.glEnable(GL11.GL_LIGHTING);
|
||||
GL11.glPopMatrix();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,65 +0,0 @@
|
||||
package magicbees.item;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import forestry.api.apiculture.IArmorApiarist;
|
||||
|
||||
public class ItemArmorApiarist extends Item implements IArmorApiarist
|
||||
{
|
||||
|
||||
public ItemArmorApiarist(int par1)
|
||||
{
|
||||
super(par1);
|
||||
}
|
||||
|
||||
public static int getNumberPiecesWorn(EntityPlayer player)
|
||||
{
|
||||
int count = 0;
|
||||
|
||||
if (wearsHelmet(player)) {
|
||||
count++;
|
||||
}
|
||||
if (wearsChest(player)) {
|
||||
count++;
|
||||
}
|
||||
if (wearsLegs(player)) {
|
||||
count++;
|
||||
}
|
||||
if (wearsBoots(player)) {
|
||||
count++;
|
||||
}
|
||||
|
||||
return count;
|
||||
}
|
||||
|
||||
public static boolean wearsHelmet(EntityPlayer player)
|
||||
{
|
||||
ItemStack armorItem = player.inventory.armorInventory[3];
|
||||
return armorItem != null && armorItem.getItem() instanceof IArmorApiarist;
|
||||
}
|
||||
|
||||
public static boolean wearsChest(EntityPlayer player)
|
||||
{
|
||||
ItemStack armorItem = player.inventory.armorInventory[2];
|
||||
return armorItem != null && armorItem.getItem() instanceof IArmorApiarist;
|
||||
}
|
||||
|
||||
public static boolean wearsLegs(EntityPlayer player)
|
||||
{
|
||||
ItemStack armorItem = player.inventory.armorInventory[1];
|
||||
return armorItem != null && armorItem.getItem() instanceof IArmorApiarist;
|
||||
}
|
||||
|
||||
public static boolean wearsBoots(EntityPlayer player)
|
||||
{
|
||||
ItemStack armorItem = player.inventory.armorInventory[0];
|
||||
return armorItem != null && armorItem.getItem() instanceof IArmorApiarist;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean protectPlayer(EntityPlayer player, ItemStack armor, String cause, boolean doProtect)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -1,114 +0,0 @@
|
||||
package magicbees.item;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import forestry.api.core.Tabs;
|
||||
import forestry.api.recipes.RecipeManagers;
|
||||
import magicbees.block.types.PlankType;
|
||||
import magicbees.item.types.CapsuleType;
|
||||
import magicbees.item.types.LiquidType;
|
||||
import magicbees.main.CommonProxy;
|
||||
import magicbees.main.MagicBees;
|
||||
import magicbees.main.utils.TabMagicBees;
|
||||
import magicbees.main.utils.VersionInfo;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.EnumMovingObjectType;
|
||||
import net.minecraft.util.Icon;
|
||||
import net.minecraft.util.MovingObjectPosition;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.liquids.LiquidContainerData;
|
||||
import net.minecraftforge.liquids.LiquidContainerRegistry;
|
||||
import net.minecraftforge.liquids.LiquidDictionary;
|
||||
import net.minecraftforge.liquids.LiquidStack;
|
||||
|
||||
public class ItemCapsule extends Item
|
||||
{
|
||||
private CapsuleType capsuleType;
|
||||
|
||||
public ItemCapsule(CapsuleType type, int itemId, int maxStackSize)
|
||||
{
|
||||
super(itemId);
|
||||
this.capsuleType = type;
|
||||
this.setCreativeTab(TabMagicBees.tabMagicBees);
|
||||
this.setHasSubtypes(true);
|
||||
this.setMaxStackSize(maxStackSize);
|
||||
this.setUnlocalizedName("capsule." + type.toString().toLowerCase());
|
||||
GameRegistry.registerItem(this, "capsule." + type.toString().toLowerCase());
|
||||
}
|
||||
|
||||
public CapsuleType getType()
|
||||
{
|
||||
return this.capsuleType;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getItemDisplayName(ItemStack itemStack)
|
||||
{
|
||||
return LiquidType.values()[itemStack.getItemDamage()].getDisplayName() + " " + this.capsuleType.getLocalizedName();
|
||||
}
|
||||
|
||||
public ItemStack getCapsuleForLiquid(LiquidType l)
|
||||
{
|
||||
return new ItemStack(this, 1, l.ordinal());
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void getSubItems(int par1, CreativeTabs tab, List itemList)
|
||||
{
|
||||
for (LiquidType l : LiquidType.values())
|
||||
{
|
||||
if (l.available)
|
||||
{
|
||||
itemList.add(new ItemStack(this, 1, l.ordinal()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public boolean requiresMultipleRenderPasses()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerIcons(IconRegister par1IconRegister)
|
||||
{
|
||||
this.itemIcon = par1IconRegister.registerIcon(VersionInfo.ModName.toLowerCase() + ":capsule" + this.capsuleType.getName().substring(0, 1).toUpperCase()
|
||||
+ this.capsuleType.getName().substring(1));
|
||||
for (LiquidType t : LiquidType.values())
|
||||
{
|
||||
if (t != LiquidType.EMPTY && t.liquidIcon == null)
|
||||
{
|
||||
t.liquidIcon = par1IconRegister.registerIcon(VersionInfo.ModName.toLowerCase() + ":liquids/" + t.liquidID);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public Icon getIconFromDamageForRenderPass(int metadata, int pass)
|
||||
{
|
||||
Icon i = this.itemIcon;
|
||||
if (metadata != 0 && pass == 0)
|
||||
{
|
||||
i = LiquidType.values()[Math.max(0, Math.min(metadata, LiquidType.values().length - 1))].liquidIcon;
|
||||
}
|
||||
return i;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getRenderPasses(int metadata)
|
||||
{
|
||||
return (metadata == 0) ? 1 : 2;
|
||||
}
|
||||
}
|
||||
@@ -1,104 +0,0 @@
|
||||
package magicbees.item;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import forestry.api.core.Tabs;
|
||||
import magicbees.item.types.CombType;
|
||||
import magicbees.main.CommonProxy;
|
||||
import magicbees.main.MagicBees;
|
||||
import magicbees.main.utils.VersionInfo;
|
||||
import magicbees.main.utils.compat.ForestryHelper;
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.Icon;
|
||||
|
||||
public class ItemComb extends Item
|
||||
{
|
||||
public ItemComb(int itemID)
|
||||
{
|
||||
super(itemID);
|
||||
this.setCreativeTab(Tabs.tabApiculture);
|
||||
this.setHasSubtypes(true);
|
||||
this.setUnlocalizedName("comb");
|
||||
GameRegistry.registerItem(this, "comb");
|
||||
}
|
||||
|
||||
public ItemStack getStackForType(CombType type)
|
||||
{
|
||||
return new ItemStack(this, 1, type.ordinal());
|
||||
}
|
||||
|
||||
public ItemStack getStackForType(CombType type, int count)
|
||||
{
|
||||
return new ItemStack(this, count, type.ordinal());
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void getSubItems(int id, CreativeTabs tabs, List list)
|
||||
{
|
||||
for (CombType type : CombType.values())
|
||||
{
|
||||
if (type.showInList)
|
||||
{
|
||||
list.add(this.getStackForType(type));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public boolean requiresMultipleRenderPasses()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getRenderPasses(int meta)
|
||||
{
|
||||
return 2;
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
private Icon secondIcon;
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerIcons(IconRegister par1IconRegister)
|
||||
{
|
||||
this.itemIcon = par1IconRegister.registerIcon(ForestryHelper.Name.toLowerCase() + ":beeCombs.0");
|
||||
this.secondIcon= par1IconRegister.registerIcon(ForestryHelper.Name.toLowerCase() + ":beeCombs.1");
|
||||
}
|
||||
|
||||
@Override
|
||||
public Icon getIcon(ItemStack stack, int pass)
|
||||
{
|
||||
return (pass == 0) ? itemIcon : secondIcon;
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public int getColorFromItemStack(ItemStack stack, int pass)
|
||||
{
|
||||
int meta = Math.max(0, Math.min(CombType.values().length - 1, stack.getItemDamage()));
|
||||
int colour = CombType.values()[meta].getColours()[0];
|
||||
|
||||
if (pass >= 1)
|
||||
{
|
||||
colour = CombType.values()[meta].getColours()[1];
|
||||
}
|
||||
|
||||
return colour;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getItemDisplayName(ItemStack stack)
|
||||
{
|
||||
return CombType.values()[stack.getItemDamage()].getName();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,65 +0,0 @@
|
||||
package magicbees.item;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
import cpw.mods.fml.common.registry.LanguageRegistry;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import forestry.api.core.Tabs;
|
||||
import thaumcraft.api.EnumTag;
|
||||
import magicbees.main.CommonProxy;
|
||||
import magicbees.main.MagicBees;
|
||||
import magicbees.main.utils.LocalizationManager;
|
||||
import magicbees.main.utils.TabMagicBees;
|
||||
import magicbees.main.utils.VersionInfo;
|
||||
import magicbees.main.utils.compat.ForestryHelper;
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public class ItemCrystalAspect extends Item
|
||||
{
|
||||
public ItemCrystalAspect(int itemId)
|
||||
{
|
||||
super(itemId);
|
||||
this.setCreativeTab(TabMagicBees.tabMagicBees);
|
||||
this.setHasSubtypes(true);
|
||||
this.setUnlocalizedName("crystalAspect");
|
||||
GameRegistry.registerItem(this, "crystalAspect");
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void getSubItems(int par1, CreativeTabs tab, List list)
|
||||
{
|
||||
for (EnumTag tag : EnumTag.values())
|
||||
{
|
||||
if (tag == EnumTag.UNKNOWN)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
list.add(new ItemStack(this.itemID, 1, tag.id));
|
||||
}
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerIcons(IconRegister par1IconRegister)
|
||||
{
|
||||
this.itemIcon = par1IconRegister.registerIcon(VersionInfo.ModName.toLowerCase() + ":crystalAspect");
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public int getColorFromItemStack(ItemStack stack, int pass)
|
||||
{
|
||||
return EnumTag.get(stack.getItemDamage()).color;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getItemDisplayName(ItemStack stack)
|
||||
{
|
||||
return String.format(LocalizationManager.getLocalizedString("resource.crystalAspect"), EnumTag.get(stack.getItemDamage()).name);
|
||||
}
|
||||
}
|
||||
@@ -1,102 +0,0 @@
|
||||
package magicbees.item;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
import cpw.mods.fml.common.registry.LanguageRegistry;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import forestry.api.core.Tabs;
|
||||
import magicbees.item.types.DropType;
|
||||
import magicbees.item.types.PropolisType;
|
||||
import magicbees.main.CommonProxy;
|
||||
import magicbees.main.MagicBees;
|
||||
import magicbees.main.utils.compat.ForestryHelper;
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.Icon;
|
||||
|
||||
public class ItemDrop extends Item
|
||||
{
|
||||
public ItemDrop(int itemID)
|
||||
{
|
||||
super(itemID);
|
||||
this.setCreativeTab(Tabs.tabApiculture);
|
||||
this.setHasSubtypes(true);
|
||||
this.setUnlocalizedName("drop");
|
||||
GameRegistry.registerItem(this, "drop");
|
||||
}
|
||||
|
||||
public ItemStack getStackForType(DropType type)
|
||||
{
|
||||
return new ItemStack(this, 1, type.ordinal());
|
||||
}
|
||||
|
||||
public ItemStack getStackForType(DropType type, int count)
|
||||
{
|
||||
return new ItemStack(this, count, type.ordinal());
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void getSubItems(int id, CreativeTabs tabs, List list)
|
||||
{
|
||||
for (DropType type : DropType.values())
|
||||
{
|
||||
list.add(this.getStackForType(type));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public boolean requiresMultipleRenderPasses()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getRenderPasses(int metadata)
|
||||
{
|
||||
return 2;
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
private Icon secondIcon;
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerIcons(IconRegister par1IconRegister)
|
||||
{
|
||||
this.itemIcon = par1IconRegister.registerIcon(ForestryHelper.Name.toLowerCase() + ":honeyDrop.0");
|
||||
this.secondIcon= par1IconRegister.registerIcon(ForestryHelper.Name.toLowerCase() + ":honeyDrop.1");
|
||||
}
|
||||
|
||||
@Override
|
||||
public Icon getIcon(ItemStack stack, int pass)
|
||||
{
|
||||
return (pass == 0) ? this.itemIcon : this.secondIcon;
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public int getColorFromItemStack(ItemStack stack, int pass)
|
||||
{
|
||||
int meta = Math.max(0, Math.min(DropType.values().length - 1, stack.getItemDamage()));
|
||||
int colour = DropType.values()[meta].combColour[0];
|
||||
|
||||
if (pass >= 1)
|
||||
{
|
||||
colour = DropType.values()[meta].combColour[1];
|
||||
}
|
||||
|
||||
return colour;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getItemDisplayName(ItemStack stack)
|
||||
{
|
||||
return DropType.values()[stack.getItemDamage()].getName();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,120 +0,0 @@
|
||||
package magicbees.item;
|
||||
|
||||
import magicbees.item.types.HiveFrameType;
|
||||
import magicbees.main.Config;
|
||||
import magicbees.main.utils.TabMagicBees;
|
||||
import magicbees.main.utils.VersionInfo;
|
||||
import magicbees.main.utils.compat.ThaumcraftHelper;
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.world.World;
|
||||
import thaumcraft.api.ThaumcraftApi;
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import forestry.api.apiculture.IBee;
|
||||
import forestry.api.apiculture.IBeeGenome;
|
||||
import forestry.api.apiculture.IBeeHousing;
|
||||
import forestry.api.apiculture.IHiveFrame;
|
||||
|
||||
public class ItemMagicHiveFrame extends Item implements IHiveFrame
|
||||
{
|
||||
private HiveFrameType type;
|
||||
|
||||
public ItemMagicHiveFrame(int itemID, HiveFrameType frameType)
|
||||
{
|
||||
super(itemID);
|
||||
this.type = frameType;
|
||||
this.setMaxDamage(this.type.maxDamage);
|
||||
this.setMaxStackSize(1);
|
||||
this.setCreativeTab(TabMagicBees.tabMagicBees);
|
||||
this.setUnlocalizedName("frame" + frameType.getName());
|
||||
GameRegistry.registerItem(this, "frame" + frameType.getName());
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerIcons(IconRegister par1IconRegister)
|
||||
{
|
||||
this.itemIcon = par1IconRegister.registerIcon(VersionInfo.ModName.toLowerCase() + ":frame" + type.getName());
|
||||
}
|
||||
|
||||
// --------- IHiveFrame functions -----------------------------------------
|
||||
|
||||
@Override
|
||||
public ItemStack frameUsed(IBeeHousing housing, ItemStack frame, IBee queen, int wear)
|
||||
{
|
||||
return this.doWear(housing.getWorld(), housing.getXCoord(), housing.getYCoord(), housing.getZCoord(), frame, wear);
|
||||
}
|
||||
|
||||
private ItemStack doWear(World w, int x, int y, int z, ItemStack frame, int wear)
|
||||
{
|
||||
int damage = wear;
|
||||
|
||||
frame.setItemDamage(frame.getItemDamage() + damage);
|
||||
|
||||
if (frame.getItemDamage() >= frame.getMaxDamage())
|
||||
{
|
||||
// Break the frame.
|
||||
frame = null;
|
||||
}
|
||||
|
||||
return frame;
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getTerritoryModifier(IBeeGenome genome, float currentModifier)
|
||||
{
|
||||
return this.type.territoryMod;
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getMutationModifier(IBeeGenome genome, IBeeGenome mate, float currentModifier)
|
||||
{
|
||||
return this.type.mutationMod;
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getLifespanModifier(IBeeGenome genome, IBeeGenome mate, float currentModifier)
|
||||
{
|
||||
return this.type.lifespanMod;
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getProductionModifier(IBeeGenome genome, float currentModifier)
|
||||
{
|
||||
return this.type.productionMod;
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getFloweringModifier(IBeeGenome genome, float currentModifier)
|
||||
{
|
||||
return this.type.floweringMod;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isSealed()
|
||||
{
|
||||
return this.type.isSealed;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isSelfLighted()
|
||||
{
|
||||
return this.type.isLit;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isSunlightSimulated()
|
||||
{
|
||||
return this.type.isSunlit;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isHellish()
|
||||
{
|
||||
return this.type.isHellish;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,79 +0,0 @@
|
||||
package magicbees.item;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import forestry.api.core.Tabs;
|
||||
import magicbees.item.types.ResourceType;
|
||||
import magicbees.main.CommonProxy;
|
||||
import magicbees.main.MagicBees;
|
||||
import magicbees.main.utils.TabMagicBees;
|
||||
import magicbees.main.utils.VersionInfo;
|
||||
import magicbees.main.utils.compat.ForestryHelper;
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.Icon;
|
||||
|
||||
public class ItemMiscResources extends Item
|
||||
{
|
||||
private Icon[] icons = new Icon[ResourceType.values().length];
|
||||
|
||||
public ItemMiscResources(int ID)
|
||||
{
|
||||
super(ID);
|
||||
this.setCreativeTab(TabMagicBees.tabMagicBees);
|
||||
this.setHasSubtypes(true);
|
||||
this.setUnlocalizedName("miscResources");
|
||||
GameRegistry.registerItem(this, "miscResources");
|
||||
}
|
||||
|
||||
public ItemStack getStackForType(ResourceType type)
|
||||
{
|
||||
return new ItemStack(this, 1, type.ordinal());
|
||||
}
|
||||
|
||||
public ItemStack getStackForType(ResourceType type, int count)
|
||||
{
|
||||
return new ItemStack(this, count, type.ordinal());
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void getSubItems(int id, CreativeTabs tabs, List list)
|
||||
{
|
||||
for (ResourceType type : ResourceType.values())
|
||||
{
|
||||
if (type.showInList)
|
||||
{
|
||||
list.add(this.getStackForType(type));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerIcons(IconRegister par1IconRegister)
|
||||
{
|
||||
for (int i = 0; i < ResourceType.values().length; i++)
|
||||
{
|
||||
this.icons[i] = par1IconRegister.registerIcon(VersionInfo.ModName.toLowerCase() + ":" + ResourceType.values()[i].getName());
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public Icon getIconFromDamage(int meta)
|
||||
{
|
||||
return icons[meta];
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getItemDisplayName(ItemStack stack)
|
||||
{
|
||||
return ResourceType.values()[stack.getItemDamage()].getLocalizedName();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,64 +0,0 @@
|
||||
package magicbees.item;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import magicbees.item.types.PollenType;
|
||||
import magicbees.main.Config;
|
||||
import magicbees.main.MagicBees;
|
||||
import magicbees.main.utils.MoonPhase;
|
||||
import magicbees.main.utils.TabMagicBees;
|
||||
import magicbees.main.utils.VersionInfo;
|
||||
import magicbees.main.utils.compat.ForestryHelper;
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
import net.minecraft.util.Icon;
|
||||
|
||||
public class ItemMoonDial extends Item
|
||||
{
|
||||
@SideOnly(Side.CLIENT)
|
||||
private Icon[] icons;
|
||||
|
||||
public ItemMoonDial(int id)
|
||||
{
|
||||
super(id);
|
||||
this.setCreativeTab(TabMagicBees.tabMagicBees);
|
||||
this.setUnlocalizedName("moonDial");
|
||||
GameRegistry.registerItem(this, "moonDial");
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerIcons(IconRegister par1IconRegister)
|
||||
{
|
||||
this.icons = new Icon[MoonPhase.values().length];
|
||||
for (int i = 0; i < MoonPhase.values().length; ++i)
|
||||
{
|
||||
this.icons[i] = par1IconRegister.registerIcon(VersionInfo.ModName.toLowerCase() + ":moonDial." + i);
|
||||
}
|
||||
this.itemIcon = this.icons[4];
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public Icon getIcon(ItemStack stack, int renderPass, EntityPlayer player, ItemStack usingItem, int useRemaining)
|
||||
{
|
||||
return this.icons[MoonPhase.getMoonPhaseFromTime(player.worldObj.getWorldTime()).ordinal()];
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void addInformation(ItemStack itemStack, EntityPlayer entityPlayer, List infoList, boolean par4)
|
||||
{
|
||||
if (MagicBees.getConfig().MoonDialShowsPhaseInText &&
|
||||
entityPlayer.getCurrentEquippedItem() != null &&
|
||||
entityPlayer.getCurrentEquippedItem().getItem() == this)
|
||||
{
|
||||
infoList.add("\u00A77" + MoonPhase.getMoonPhaseFromTime(entityPlayer.worldObj.getWorldTime()).getLocalizedName());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,79 +0,0 @@
|
||||
package magicbees.item;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import thaumcraft.api.EnumTag;
|
||||
import magicbees.item.types.NuggetType;
|
||||
import magicbees.item.types.PollenType;
|
||||
import magicbees.item.types.ResourceType;
|
||||
import magicbees.main.CommonProxy;
|
||||
import magicbees.main.utils.VersionInfo;
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.Icon;
|
||||
|
||||
public class ItemNugget extends Item
|
||||
{
|
||||
@SideOnly(Side.CLIENT)
|
||||
private Icon[] icons;
|
||||
|
||||
public ItemNugget(int itemID)
|
||||
{
|
||||
super(itemID);
|
||||
this.setCreativeTab(CreativeTabs.tabMaterials);
|
||||
this.setHasSubtypes(true);
|
||||
this.setUnlocalizedName("beeNugget");
|
||||
}
|
||||
|
||||
public ItemStack getStackForType(NuggetType type)
|
||||
{
|
||||
return new ItemStack(this, 1, type.ordinal());
|
||||
}
|
||||
|
||||
public ItemStack getStackForType(NuggetType type, int count)
|
||||
{
|
||||
return new ItemStack(this, count, type.ordinal());
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void getSubItems(int par1, CreativeTabs tab, List list)
|
||||
{
|
||||
for (NuggetType type : NuggetType.values())
|
||||
{
|
||||
if (type.isActive())
|
||||
{
|
||||
list.add(new ItemStack(this.itemID, 1, type.ordinal()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerIcons(IconRegister par1IconRegister)
|
||||
{
|
||||
this.icons = new Icon[NuggetType.values().length];
|
||||
for (int i = 0; i < NuggetType.values().length; i++)
|
||||
{
|
||||
this.icons[i] = par1IconRegister.registerIcon(VersionInfo.ModName.toLowerCase() + ":nugget"
|
||||
+ NuggetType.values()[i].name().substring(0, 1)
|
||||
+ NuggetType.values()[i].name().substring(1).toLowerCase());
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public Icon getIconFromDamage(int meta)
|
||||
{
|
||||
return icons[meta];
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getItemDisplayName(ItemStack stack)
|
||||
{
|
||||
return NuggetType.values()[stack.getItemDamage()].getName();
|
||||
}
|
||||
}
|
||||
@@ -1,99 +0,0 @@
|
||||
package magicbees.item;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import forestry.api.core.Tabs;
|
||||
import magicbees.item.types.PollenType;
|
||||
import magicbees.main.CommonProxy;
|
||||
import magicbees.main.MagicBees;
|
||||
import magicbees.main.utils.compat.ForestryHelper;
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.Icon;
|
||||
|
||||
public class ItemPollen extends Item
|
||||
{
|
||||
public ItemPollen(int itemID)
|
||||
{
|
||||
super(itemID);
|
||||
this.setCreativeTab(Tabs.tabApiculture);
|
||||
this.setHasSubtypes(true);
|
||||
this.setUnlocalizedName("pollen");
|
||||
GameRegistry.registerItem(this, "pollen");
|
||||
}
|
||||
public ItemStack getStackForType(PollenType type)
|
||||
{
|
||||
return new ItemStack(this, 1, type.ordinal());
|
||||
}
|
||||
|
||||
public ItemStack getStackForType(PollenType type, int count)
|
||||
{
|
||||
return new ItemStack(this, count, type.ordinal());
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void getSubItems(int id, CreativeTabs tabs, List list)
|
||||
{
|
||||
for (PollenType type : PollenType.values())
|
||||
{
|
||||
list.add(this.getStackForType(type));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public boolean requiresMultipleRenderPasses()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getRenderPasses(int metadata)
|
||||
{
|
||||
return 2;
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
private Icon secondIcon;
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerIcons(IconRegister par1IconRegister)
|
||||
{
|
||||
this.itemIcon = par1IconRegister.registerIcon(ForestryHelper.Name.toLowerCase() + ":pollen.0");
|
||||
this.secondIcon= par1IconRegister.registerIcon(ForestryHelper.Name.toLowerCase() + ":pollen.1");
|
||||
}
|
||||
|
||||
@Override
|
||||
public Icon getIcon(ItemStack stack, int pass)
|
||||
{
|
||||
return (pass == 0) ? this.itemIcon : this.secondIcon;
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public int getColorFromItemStack(ItemStack stack, int pass)
|
||||
{
|
||||
int meta = Math.max(0, Math.min(PollenType.values().length - 1, stack.getItemDamage()));
|
||||
int colour = PollenType.values()[meta].colour[0];
|
||||
|
||||
if (pass >= 1)
|
||||
{
|
||||
colour = PollenType.values()[meta].colour[1];
|
||||
}
|
||||
|
||||
return colour;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getItemDisplayName(ItemStack stack)
|
||||
{
|
||||
return PollenType.values()[stack.getItemDamage()].getName();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,73 +0,0 @@
|
||||
package magicbees.item;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import forestry.api.core.Tabs;
|
||||
import magicbees.item.types.PropolisType;
|
||||
import magicbees.main.CommonProxy;
|
||||
import magicbees.main.utils.compat.ForestryHelper;
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.Icon;
|
||||
|
||||
public class ItemPropolis extends Item
|
||||
{
|
||||
public ItemPropolis(int id)
|
||||
{
|
||||
super(id);
|
||||
this.setCreativeTab(Tabs.tabApiculture);
|
||||
this.setHasSubtypes(true);
|
||||
this.setUnlocalizedName("propolis");
|
||||
GameRegistry.registerItem(this, "propolis");
|
||||
}
|
||||
|
||||
public ItemStack getStackForType(PropolisType type)
|
||||
{
|
||||
return new ItemStack(this, 1, type.ordinal());
|
||||
}
|
||||
|
||||
public ItemStack getStackForType(PropolisType type, int count)
|
||||
{
|
||||
return new ItemStack(this, count, type.ordinal());
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void getSubItems(int id, CreativeTabs tabs, List list)
|
||||
{
|
||||
for (PropolisType type : PropolisType.values())
|
||||
{
|
||||
list.add(this.getStackForType(type));
|
||||
}
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerIcons(IconRegister par1IconRegister)
|
||||
{
|
||||
this.itemIcon = par1IconRegister.registerIcon(ForestryHelper.Name.toLowerCase() + ":propolis.0");
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getColorFromItemStack(ItemStack stack, int pass)
|
||||
{
|
||||
int colour = 0xffffff;
|
||||
int meta = stack.getItemDamage();
|
||||
if (meta >= 0 && meta < PropolisType.values().length)
|
||||
{
|
||||
colour = PropolisType.values()[meta].colour;
|
||||
}
|
||||
return colour;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getItemDisplayName(ItemStack stack)
|
||||
{
|
||||
return PropolisType.values()[stack.getItemDamage()].getName();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,113 +0,0 @@
|
||||
package magicbees.item;
|
||||
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
import magicbees.main.Config;
|
||||
import magicbees.main.utils.VersionInfo;
|
||||
import magicbees.main.utils.compat.ThaumcraftHelper;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityLiving;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.potion.Potion;
|
||||
import net.minecraft.potion.PotionEffect;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.common.ForgeHooks;
|
||||
import thaumcraft.api.IVisRepairable;
|
||||
import thaumcraft.api.ThaumcraftApi;
|
||||
import forestry.api.arboriculture.IToolGrafter;
|
||||
|
||||
public class ItemThaumiumGrafter extends Item implements IVisRepairable, IToolGrafter
|
||||
{
|
||||
public ItemThaumiumGrafter(int id)
|
||||
{
|
||||
super(id);
|
||||
this.setMaxStackSize(1);
|
||||
this.setMaxDamage(15);
|
||||
this.setCreativeTab(forestry.api.core.Tabs.tabArboriculture);
|
||||
this.setUnlocalizedName(VersionInfo.ModName.toLowerCase() + ":thaumiumGrafter");
|
||||
GameRegistry.registerItem(this, VersionInfo.ModName.toLowerCase() + ":thaumiumGrafter");
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getSaplingModifier(ItemStack stack, World world, EntityPlayer player, int x, int y, int z)
|
||||
{
|
||||
return 100f;
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getStrVsBlock(ItemStack itemStack, Block block)
|
||||
{
|
||||
return 1f;
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getStrVsBlock(ItemStack itemStack, Block block, int metadata)
|
||||
{
|
||||
return ForgeHooks.isToolEffective(itemStack, block, metadata) ? 4.8f : getStrVsBlock(itemStack, block);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onBlockDestroyed(ItemStack itemstack, World world, int id, int x, int y, int z, EntityLiving entityLiving) {
|
||||
int damage = 1;
|
||||
if (id == Config.tcLeaf.blockID)
|
||||
{
|
||||
Block block = Block.blocksList[id];
|
||||
int meta = world.getBlockMetadata(x, y, z) & 1;
|
||||
block.dropBlockAsItemWithChance(world, x, y, z, meta, 0, 0);
|
||||
if (meta == ThaumcraftHelper.TreeType.GREATWOOD.ordinal())
|
||||
{
|
||||
damage = 2;
|
||||
}
|
||||
else if (meta == ThaumcraftHelper.TreeType.SILVERWOOD.ordinal())
|
||||
{
|
||||
damage = 4;
|
||||
}
|
||||
}
|
||||
itemstack.damageItem(damage, entityLiving);
|
||||
|
||||
if (entityLiving instanceof EntityPlayer)
|
||||
{
|
||||
EntityPlayer p = (EntityPlayer)entityLiving;
|
||||
p.addExhaustion(8f);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the enchantability factor of the item, most of the time is based on material.
|
||||
*/
|
||||
public int getItemEnchantability()
|
||||
{
|
||||
return ThaumcraftApi.toolMatThaumium.getEnchantability();
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the name for this tool's material.
|
||||
*/
|
||||
public String getToolMaterialName()
|
||||
{
|
||||
return ThaumcraftApi.toolMatThaumium.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Return whether this item is repairable in an anvil.
|
||||
*/
|
||||
public boolean getIsRepairable(ItemStack par1ItemStack, ItemStack par2ItemStack)
|
||||
{
|
||||
return ThaumcraftApi.toolMatThaumium.getToolCraftingMaterial() == par2ItemStack.itemID ? true : super.getIsRepairable(par1ItemStack, par2ItemStack);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void doRepair(ItemStack stack, Entity e)
|
||||
{
|
||||
if (stack.getItemDamage() > 0)
|
||||
{
|
||||
if (ThaumcraftApi.decreaseClosestAura(e.worldObj, e.posX, e.posY, e.posZ, 2, true))
|
||||
{
|
||||
stack.damageItem(-1, (EntityLiving)e);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,81 +0,0 @@
|
||||
package magicbees.item;
|
||||
|
||||
import magicbees.main.utils.VersionInfo;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityLiving;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.common.ForgeHooks;
|
||||
import thaumcraft.api.IVisRepairable;
|
||||
import thaumcraft.api.ThaumcraftApi;
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
import forestry.api.core.IToolScoop;
|
||||
|
||||
public class ItemThaumiumScoop extends Item implements IVisRepairable, IToolScoop
|
||||
{
|
||||
public ItemThaumiumScoop(int itemID)
|
||||
{
|
||||
super(itemID);
|
||||
this.setMaxStackSize(1);
|
||||
this.setMaxDamage(30);
|
||||
this.setCreativeTab(forestry.api.core.Tabs.tabApiculture);
|
||||
this.setUnlocalizedName(VersionInfo.ModName.toLowerCase() + ":thaumiumScoop");
|
||||
GameRegistry.registerItem(this, VersionInfo.ModName.toLowerCase() + ":thaumiumScoop");
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getStrVsBlock(ItemStack itemStack, Block block)
|
||||
{
|
||||
return 1f;
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getStrVsBlock(ItemStack itemStack, Block block, int metadata)
|
||||
{
|
||||
return ForgeHooks.isToolEffective(itemStack, block, metadata) ? 4.8f : getStrVsBlock(itemStack, block);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onBlockDestroyed(ItemStack itemstack, World world, int i, int j, int k, int l, EntityLiving entityliving) {
|
||||
itemstack.damageItem(1, entityliving);
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the enchantability factor of the item, most of the time is based on material.
|
||||
*/
|
||||
public int getItemEnchantability()
|
||||
{
|
||||
return ThaumcraftApi.toolMatThaumium.getEnchantability();
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the name for this tool's material.
|
||||
*/
|
||||
public String getToolMaterialName()
|
||||
{
|
||||
return ThaumcraftApi.toolMatThaumium.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Return whether this item is repairable in an anvil.
|
||||
*/
|
||||
public boolean getIsRepairable(ItemStack par1ItemStack, ItemStack par2ItemStack)
|
||||
{
|
||||
return ThaumcraftApi.toolMatThaumium.getToolCraftingMaterial() == par2ItemStack.itemID ? true : super.getIsRepairable(par1ItemStack, par2ItemStack);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void doRepair(ItemStack stack, Entity e)
|
||||
{
|
||||
if (stack.getItemDamage() > 0)
|
||||
{
|
||||
if (ThaumcraftApi.decreaseClosestAura(e.worldObj, e.posX, e.posY, e.posZ, 1, true))
|
||||
{
|
||||
stack.damageItem(-1, (EntityLiving)e);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,83 +0,0 @@
|
||||
package magicbees.item;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import magicbees.item.types.WaxType;
|
||||
import magicbees.main.utils.VersionInfo;
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.Icon;
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import forestry.api.core.Tabs;
|
||||
|
||||
public class ItemWax extends Item
|
||||
{
|
||||
@SideOnly(Side.CLIENT)
|
||||
private Icon secondaryIcon;
|
||||
|
||||
public ItemWax(int itemID)
|
||||
{
|
||||
super(itemID);
|
||||
this.setCreativeTab(Tabs.tabApiculture);
|
||||
this.setHasSubtypes(true);
|
||||
this.setUnlocalizedName("wax");
|
||||
GameRegistry.registerItem(this, "wax");
|
||||
}
|
||||
|
||||
public ItemStack getStackForType(WaxType type)
|
||||
{
|
||||
return new ItemStack(this, 1, type.ordinal());
|
||||
}
|
||||
|
||||
public ItemStack getStackForType(WaxType type, int count)
|
||||
{
|
||||
return new ItemStack(this, count, type.ordinal());
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerIcons(IconRegister par1IconRegister)
|
||||
{
|
||||
this.itemIcon = par1IconRegister.registerIcon(VersionInfo.ModName.toLowerCase() + ":wax.0");
|
||||
this.secondaryIcon = par1IconRegister.registerIcon(VersionInfo.ModName.toLowerCase() + ":wax.1");
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public Icon getIconFromDamage(int meta)
|
||||
{
|
||||
return (WaxType.values()[meta].sparkly) ? this.itemIcon : this.secondaryIcon;
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void getSubItems(int id, CreativeTabs tabs, List list)
|
||||
{
|
||||
for (WaxType type : WaxType.values())
|
||||
{
|
||||
list.add(this.getStackForType(type));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public int getColorFromItemStack(ItemStack stack, int pass)
|
||||
{
|
||||
int colour = 0xffffff;
|
||||
int meta = stack.getItemDamage();
|
||||
if (meta >= 0 && meta < WaxType.values().length)
|
||||
{
|
||||
colour = WaxType.values()[meta].colour;
|
||||
}
|
||||
return colour;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getItemDisplayName(ItemStack stack)
|
||||
{
|
||||
return WaxType.values()[stack.getItemDamage()].getName();
|
||||
}
|
||||
}
|
||||
@@ -1,31 +0,0 @@
|
||||
package magicbees.item.types;
|
||||
|
||||
import magicbees.main.utils.LocalizationManager;
|
||||
import cpw.mods.fml.common.registry.LanguageRegistry;
|
||||
|
||||
public enum CapsuleType
|
||||
{
|
||||
MAGIC("magic", 2000, 0),
|
||||
VOID("void", 8000, 1),
|
||||
;
|
||||
private String name;
|
||||
public int capacity;
|
||||
public int iconIdx;
|
||||
|
||||
private CapsuleType(String n, int c, int idx)
|
||||
{
|
||||
this.name = n;
|
||||
this.capacity = c;
|
||||
this.iconIdx = idx;
|
||||
}
|
||||
|
||||
public String getName()
|
||||
{
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public String getLocalizedName()
|
||||
{
|
||||
return LocalizationManager.getLocalizedString("capsule." + name);
|
||||
}
|
||||
}
|
||||
Loaded 100 of 472 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user