Compare commits
1514 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fe8bebe1c3 | |||
| d8928070fd | |||
| fd1dd982c1 | |||
| d7a09f70ef | |||
| deaddb8e82 | |||
| 4e3eb89f84 | |||
| 3e56311f2f | |||
| cb62d3a706 | |||
| adf1bd0191 | |||
| f32289d881 | |||
| 26bb08ddb5 | |||
| b4471b1abb | |||
| abe3334488 | |||
| 45dd8930d3 | |||
| 195cbecdb3 | |||
| c4b5100283 | |||
| 8350ae5f45 | |||
| 3e0bfec882 | |||
| bfa574ed21 | |||
| 5367315fd3 | |||
| 9d8e23a2ea | |||
| 094ee93dbc | |||
| 00e794f03f | |||
| e1131bd1e2 | |||
| 9ab91cd98b | |||
| 8606bd5c61 | |||
| 8ed68d9c74 | |||
| ee086366ed | |||
| dd371c2c7f | |||
| 2ed64f4944 | |||
| 25413c58f6 | |||
| 6d76bb989c | |||
| afe98cbe04 | |||
| 300e26a372 | |||
| 434386a7ff | |||
| daaac300b8 | |||
| fcdd0bc378 | |||
| bed724b1ce | |||
| 2f8cffdd93 | |||
| 2458f9c890 | |||
| 0a9e53d78c | |||
| cd49869df7 | |||
| f14a32809e | |||
| ff65e3936a | |||
| a3284ffdab | |||
| fe215f0a91 | |||
| fb31fab2cc | |||
| f2a9d8c806 | |||
| 3faa3db2b6 | |||
| f733a73d62 | |||
| 268ed4c753 | |||
| 43c06131c6 | |||
| 608e3a020c | |||
| f63adf1eca | |||
| 749742a8aa | |||
| c6af3d9a70 | |||
| ec6f331168 | |||
| fa1ea8582d | |||
| 98d6740bb2 | |||
| 10ab5d0d5a | |||
| 65d4f2fd1a | |||
| 91f6fedf3a | |||
| c6437465b7 | |||
| 52da8bdb67 | |||
| e9e06fa7ee | |||
| ef85c284c6 | |||
| 5225ea426b | |||
| 5304b3febe | |||
| 8cc1cab725 | |||
| d1622afa38 | |||
| d9f039e1f4 | |||
| 5f401bf548 | |||
| 4759a6d204 | |||
| f6f8ac20e8 | |||
| a005f1c2e8 | |||
| 27c5498935 | |||
| 783a7a62a7 | |||
| a23b35ed63 | |||
| d50dcc31fa | |||
| 2356a38898 | |||
| 69c9407796 | |||
| 0232e83196 | |||
| d43e8d19dd | |||
| bdd522e8d9 | |||
| 129b8f5a2b | |||
| 669fad0497 | |||
| 8e8cbca57b | |||
| 42651ed087 | |||
| cbbb9d1ade | |||
| 20e9eb66b2 | |||
| 85a503e65d | |||
| fd7ed5bbf0 | |||
| 9b19f5b0e2 | |||
| 3cb9695026 | |||
| 048c2d0b46 | |||
| f5a56682dd | |||
| 190060754d | |||
| 5ec07dc4fe | |||
| 2003506fd1 | |||
| 90a282bf05 | |||
| 194fa38b9f | |||
| 9599a31893 | |||
| 8e1d90a873 | |||
| 3989dbd860 | |||
| a620245bbe | |||
| 2e41d44964 | |||
| d8660a53be | |||
| eb883219a9 | |||
| d13bbe06ac | |||
| 0db7e70722 | |||
| b9381fc2e1 | |||
| 26184c3190 | |||
| a4b16c21a3 | |||
| 5ec9600177 | |||
| 2b36df9ebf | |||
| 832d517e98 | |||
| 94226f3219 | |||
| e83429e1bb | |||
| 65482357f7 | |||
| ae69ad6d8a | |||
| d449ee47c4 | |||
| c45a15e13b | |||
| 5cda370746 | |||
| 9bde4dd899 | |||
| d37345ccfe | |||
| ecbcc56997 | |||
| 8ccc114f92 | |||
| 19e7fd3544 | |||
| 1393b4c9dd | |||
| 8c45807ecd | |||
| 5f416bcca2 | |||
| 702bab1a12 | |||
| bd16641638 | |||
| 3e206ee544 | |||
| e1b66a2a1c | |||
| 0f41d4b60c | |||
| 962bd3af32 | |||
| ddd51c419c | |||
| 4513d33c13 | |||
| 0466539c1c | |||
| df06aaf271 | |||
| 7d3ecd580e | |||
| 97e065ea1f | |||
| 4b11b8857b | |||
| b2afa0398c | |||
| 679ea1c332 | |||
| e2c62f0e27 | |||
| 7693be3ec5 | |||
| 23b6e195ac | |||
| 7715f605eb | |||
| 2bed72bb79 | |||
| 61d0781099 | |||
| 1c7a28c606 | |||
| 2dc2f90d5b | |||
| 6011b2dd49 | |||
| 53fc345e88 | |||
| 46b1d1ffdc | |||
| 97f04922b9 | |||
| 70418b0bb2 | |||
| ff042a394b | |||
| bb453b0d35 | |||
| c411a800f6 | |||
| 476c310de6 | |||
| d0b8a5f33f | |||
| 51e82587c7 | |||
| 70444999b9 | |||
| 2139b810d0 | |||
| c402390282 | |||
| 237463dd94 | |||
| 6eb2a9504a | |||
| 64651feb3c | |||
| 1e2e34ac54 | |||
| 36eb8c807e | |||
| 58afa6539f | |||
| 1056629545 | |||
| 2de3a2ecee | |||
| cf9ab8a13b | |||
| 3e78c713d1 | |||
| 2f50568237 | |||
| 92fa237ce0 | |||
| 7747804385 | |||
| fb4995da62 | |||
| 3f5c299d09 | |||
| 404ef5624b | |||
| d32dbfd3c8 | |||
| 7483314190 | |||
| 6b40fda793 | |||
| 19cdea7eb5 | |||
| d4c9e5c490 | |||
| fc300745cd | |||
| 9f63859769 | |||
| 271e8889a1 | |||
| 36af72faeb | |||
| 2a1ba12516 | |||
| 260b2d1c92 | |||
| dffea9a167 | |||
| 086b9ab1e3 | |||
| 17f73f214d | |||
| 423aaf0762 | |||
| adfc2577ed | |||
| c1f260d95f | |||
| 848f4238d2 | |||
| e7dadcddbe | |||
| d6157d78a1 | |||
| 5cdeff01be | |||
| 077ff17078 | |||
| 6a88728544 | |||
| fdd67bbba4 | |||
| ec3b464655 | |||
| 16d6d55d7f | |||
| 0ea86c939c | |||
| 2cbff91ab0 | |||
| 3dff3a5d54 | |||
| f3349b0a2d | |||
| f667e9a5f0 | |||
| 2c0a2975de | |||
| 2e3d6b721a | |||
| 94e294f4e9 | |||
| 91620a0042 | |||
| ffc79b5494 | |||
| ce7c29d0ac | |||
| 6ece190ac4 | |||
| 00a596ea8f | |||
| 1fc1d5517d | |||
| d5fc7a5b21 | |||
| 1f85d0f607 | |||
| 5efa6d6251 | |||
| 4269a66a4b | |||
| df2a7c1858 | |||
| c483bd17f5 | |||
| 92536fceb4 | |||
| ded71cb2bd | |||
| 41a4518c5b | |||
| 87643094c3 | |||
| 8a4c9b58e6 | |||
| 5436e6bf08 | |||
| 078112d97b | |||
| 46355a4e9b | |||
| eb389971a3 | |||
| a38ebf7c4d | |||
| dfcba264f3 | |||
| d343ac47f5 | |||
| 05db930a4e | |||
| 33bc0a6a3f | |||
| f2f48a8d59 | |||
| 0f0af2349b | |||
| 32a4fcab77 | |||
| a847a01d8a | |||
| ed643787df | |||
| 524b26d2a2 | |||
| 184b1f8efb | |||
| 06cca13087 | |||
| 8e735e72ff | |||
| d3dd137570 | |||
| 78e1126c38 | |||
| ebe3ff045d | |||
| 6291a545c3 | |||
| 99fd5a9d53 | |||
| 416c7d2683 | |||
| 0c88d1e7ee | |||
| d88f550eb0 | |||
| e21c59b326 | |||
| d8af8d26be | |||
| 02426bc101 | |||
| 11f8471772 | |||
| d35b720a16 | |||
| 7a5b84c10a | |||
| 800860d4e6 | |||
| ac81418684 | |||
| 7daad58607 | |||
| 038ca23523 | |||
| 37d8833b95 | |||
| fdcba13369 | |||
| b1ac0adfd8 | |||
| 7ba2893635 | |||
| ed8baf8c15 | |||
| 758377ed5d | |||
| a2091d10fe | |||
| fed12cb99f | |||
| 66c365d11f | |||
| 044f4c9ed3 | |||
| 91a74813d9 | |||
| a0b645a0a7 | |||
| d439fb2915 | |||
| 7efd4d872f | |||
| 1b09760631 | |||
| 04daadceed | |||
| 4d3df96350 | |||
| d7e2ae8fcb | |||
| 73f471e685 | |||
| 390ad875ee | |||
| e5f43bf315 | |||
| 8a72ebca89 | |||
| ad1eff2adb | |||
| 9e252df8d9 | |||
| 67584083c6 | |||
| c1c7e94cf6 | |||
| 85dec35366 | |||
| d5372a5ff6 | |||
| c8eb792d38 | |||
| f4ef7edf86 | |||
| 67c733b418 | |||
| fe4db2eb98 | |||
| 2891014cf6 | |||
| e809c688df | |||
| 71a9bb2532 | |||
| 3363acb7db | |||
| 8f6f35b9cf | |||
| ff75f34333 | |||
| e2c0129037 | |||
| 7fe7f4b1c2 | |||
| 693487504c | |||
| 883d9ba49b | |||
| fe8d824526 | |||
| d2250b115f | |||
| e5ab9df086 | |||
| 96af371882 | |||
| bde76d1fb1 | |||
| eb4caaa688 | |||
| 3ba04b3831 | |||
| 7cd8b72bb7 | |||
| 2182b6e37c | |||
| 5d26b98ab8 | |||
| 979531afb7 | |||
| dcf7de9000 | |||
| 87999dbf27 | |||
| c2d18ce013 | |||
| 046a27bf4c | |||
| 841bc6e356 | |||
| e72b5b369c | |||
| d635a87f01 | |||
| 51481d3e30 | |||
| 77e11c7a24 | |||
| 3056bb6ffb | |||
| edc0cef2bb | |||
| 4bd2797f5e | |||
| f37dfd0a24 | |||
| 937ea00e9d | |||
| b431d5d681 | |||
| 0ef854ca4b | |||
| 2c6e50d48a | |||
| dcd94b1cfa | |||
| 89de98f71e | |||
| d16677224a | |||
| 89bebc4385 | |||
| 987ea8d39d | |||
| f4212a86c3 | |||
| 3c4a0cae11 | |||
| 2894a7caa0 | |||
| 044e639827 | |||
| d7b97fa7b8 | |||
| 62435a65f1 | |||
| bf4818cf97 | |||
| 3e09c49e03 | |||
| 9481c9a7d7 | |||
| ccefb47581 | |||
| 59af05aeb1 | |||
| b32834e2b3 | |||
| 6c7cbb7ee1 | |||
| 84c065ff28 | |||
| c9b92a81a3 | |||
| eed4776c6f | |||
| 22807bc619 | |||
| ae352c093e | |||
| 36d6681eac | |||
| 6cffe93970 | |||
| b1472c58d0 | |||
| 96450a76c7 | |||
| ac209053b9 | |||
| dce1aa37eb | |||
| 0b6831e4d7 | |||
| da6d8ba9a8 | |||
| f0e45c7a3c | |||
| cbfc88c87f | |||
| 8c5842aca9 | |||
| 483049f555 | |||
| a7a65ae39d | |||
| 45878df17d | |||
| 98142d8ade | |||
| 7956872d1d | |||
| e243c8e9a2 | |||
| 641d0d40cc | |||
| 50fad685b6 | |||
| 1ad49edd76 | |||
| 7ceaa4cc3e | |||
| b70c86542b | |||
| c1197c0084 | |||
| f0d807f0a2 | |||
| 5fa2c0ab27 | |||
| 3063bd887c | |||
| fac4a8f9dc | |||
| 9d8226da19 | |||
| 33754d289d | |||
| 959672dae3 | |||
| 90c17c09a8 | |||
| e0bf7223e0 | |||
| ba9af94228 | |||
| 122b6163dc | |||
| fab42ccc75 | |||
| f5dd2c8b0a | |||
| a126112a2d | |||
| 99cda5f5a3 | |||
| 56a5363528 | |||
| be65edbd5b | |||
| fe5d9251eb | |||
| 3cf48b2291 | |||
| cc4599b5fc | |||
| c1fa77df51 | |||
| 725fa491e6 | |||
| e2a6cd1d57 | |||
| 6ddf60fab8 | |||
| 2c07acfe81 | |||
| 3749742231 | |||
| 74b9610b45 | |||
| a725779ff6 | |||
| b82df25c75 | |||
| cc9b33b473 | |||
| 5496b746ea | |||
| f80f623ccf | |||
| cba6c5500f | |||
| bc8268af94 | |||
| 297cd16702 | |||
| 41711e50b9 | |||
| 2bfb8b75e8 | |||
| 58e96aa3de | |||
| 4f07b63b13 | |||
| 905dd6c888 | |||
| ab7f35a9ee | |||
| 6e81f698c0 | |||
| 8ad8ce68b5 | |||
| 644194d0d6 | |||
| 95b27f490c | |||
| 6032c0328e | |||
| e8d554d69d | |||
| 1e15b23506 | |||
| 2ed7a5598a | |||
| 1c05dd5834 | |||
| 632d124359 | |||
| 829c18e2bb | |||
| d3a5be7ed6 | |||
| 217cbf0982 | |||
| 4dd0a4cd96 | |||
| 54c0ce43ea | |||
| bd8f43acbf | |||
| 970630a90d | |||
| 771a944058 | |||
| db1cd8c312 | |||
| 375e1efb15 | |||
| 955fcac92a | |||
| 216e2cb1e3 | |||
| 53f5724657 | |||
| a3269826f9 | |||
| 1a918be658 | |||
| 90130e72aa | |||
| c8f10d92bb | |||
| 548af3c6cc | |||
| 98b9380494 | |||
| bbf4d4a9ce | |||
| 1513ba3f6a | |||
| f03f8ec432 | |||
| e1dcd588b7 | |||
| 8338a7d13e | |||
| b8e685b1b6 | |||
| d84500c5b7 | |||
| a1679c944b | |||
| a3a39201d1 | |||
| d788da687e | |||
| 030e0c6a14 | |||
| 8e4265aa33 | |||
| 80eaa032b9 | |||
| bee9c70497 | |||
| c4fa21c193 | |||
| 8a7450168b | |||
| 7cb641cdc8 | |||
| b5b8050c4c | |||
| e65083b045 | |||
| b61219ef88 | |||
| 4f9fd1b369 | |||
| 630fae3f73 | |||
| 488ef1b544 | |||
| 098ee2f000 | |||
| 04d2b06c0d | |||
| ac48ab02fc | |||
| 9022150e38 | |||
| 65c6d2249a | |||
| 8e7f79a9ea | |||
| 95b48b9438 | |||
| cdd76b7b22 | |||
| 3e2bc0e038 | |||
| eec3e59eea | |||
| e39855b48f | |||
| cdcab7d91c | |||
| 27ad2c2b96 | |||
| 542a2e5d5a | |||
| 3b58f5e8da | |||
| 092afad4a5 | |||
| 6aa810d62a | |||
| 41d98f9944 | |||
| 1b198979fd | |||
| 8d5cc916e0 | |||
| 5abb8bf886 | |||
| 0bed78a144 | |||
| 30940e91ea | |||
| 0f9ac5fdda | |||
| 5e001d86cb | |||
| b13a338948 | |||
| 454404b0c1 | |||
| bb1e191666 | |||
| b72fce97db | |||
| bcc4a732ed | |||
| 52d28fabe3 | |||
| c077840988 | |||
| 8f6510aad4 | |||
| fa8427dcbd | |||
| 7eb09fc4db | |||
| ac528d09ae | |||
| c97165cc63 | |||
| 08ee8f7656 | |||
| 727fcc528f | |||
| a4c468b9cf | |||
| 4ad31f5066 | |||
| f70e97046f | |||
| 3a053d9ebe | |||
| fbaff342e4 | |||
| f0baea3be8 | |||
| fd7e393d23 | |||
| a24ed38e90 | |||
| 15582fd1df | |||
| f9cad0758d | |||
| 406013142e | |||
| 7de90ed0ae | |||
| 8ec8babb6a | |||
| 621910df91 | |||
| 66437897be | |||
| 7414840530 | |||
| 0741e4ae09 | |||
| 87f6a63f47 | |||
| b0950683a1 | |||
| 009cf8ac40 | |||
| 4c272de77f | |||
| 6648d18f00 | |||
| 16b5b5aea2 | |||
| e20697a7d9 | |||
| dc0447d137 | |||
| 577b1fa757 | |||
| 3d69dc9bc4 | |||
| 66c87a2fa2 | |||
| fdab91323c | |||
| 98a8c3d06b | |||
| 458356a2be | |||
| c91b432e09 | |||
| d67d93b343 | |||
| f6f8da28af | |||
| 76fd3c1166 | |||
| 3da881829e | |||
| 90ee7fb15d | |||
| e5e2714273 | |||
| 1534521362 | |||
| 0f8204cd93 | |||
| eb11845a2f | |||
| fe213e5ac5 | |||
| 25c82b2c9f | |||
| d03faae983 | |||
| 76e19874cf | |||
| 1975c3c262 | |||
| 720feb4f16 | |||
| 588579d67f | |||
| 043f6e9919 | |||
| cc7824a0e5 | |||
| a57cd3f580 | |||
| 33f54a1bd6 | |||
| 3008088ad7 | |||
| 198ea9f16e | |||
| d8c5e6a5fa | |||
| fbcf8c4705 | |||
| d67f97cd16 | |||
| 0e2f8a22a2 | |||
| 20fc0e136d | |||
| 7f7495f1df | |||
| e6e858820f | |||
| 4679b0ee61 | |||
| 890eef1803 | |||
| 780ce89ac3 | |||
| e96339dd2b | |||
| b67d7eed82 | |||
| 5ebd8452bf | |||
| ee774cd3f8 | |||
| 0a2f90d115 | |||
| 0f86efa3f5 | |||
| 7398af0e1c | |||
| eb0b304fd9 | |||
| c455ee69b8 | |||
| 820a6bdbd6 | |||
| 7a8499c455 | |||
| 76f17ba53c | |||
| 16a0872d06 | |||
| 49a87f62ce | |||
| c382ab7300 | |||
| 49a6df5bc7 | |||
| 10e050c35b | |||
| b1e249aad0 | |||
| d3bb71d834 | |||
| 3f7051ec8e | |||
| 2f1f19bbb3 | |||
| 4c7f065af3 | |||
| 6c52f31686 | |||
| 3ac7e518b1 | |||
| af85a2bf67 | |||
| c4b4a257f3 | |||
| 4eba3bca5b | |||
| cd78586910 | |||
| 178198b0c6 | |||
| bdf46a6ee2 | |||
| 0be2011645 | |||
| bce500616c | |||
| e022c23c8f | |||
| 61b81fc802 | |||
| b819fe4adb | |||
| 66a797dd7c | |||
| 99c294e948 | |||
| 6529de911a | |||
| 650edae902 | |||
| 78904204cf | |||
| df7ab00c37 | |||
| 5432decf95 | |||
| da5879b667 | |||
| 370fc49357 | |||
| c74aaddbd3 | |||
| 1a4db4b8d7 | |||
| d77d21858e | |||
| 42bfc549be | |||
| c6bdf845a8 | |||
| ccc46e77a3 | |||
| 7e45cf0e37 | |||
| 86dd8193f7 | |||
| 5fff8310d6 | |||
| 1cde7bc933 | |||
| ed9e6dd21c | |||
| 589730bfad | |||
| 8700a79ca6 | |||
| a14cf2204d | |||
| 8bed7f223e | |||
| db85419702 | |||
| fb79fd284d | |||
| e3305c1963 | |||
| a3c85b4a59 | |||
| a2b20f1d67 | |||
| 86908b1ae6 | |||
| 6bf52b0b0f | |||
| eb1e86cacb | |||
| c405e725b2 | |||
| d377af9a69 | |||
| 12dbd17320 | |||
| 5028c8025b | |||
| d11d6e754f | |||
| 887339f7b8 | |||
| a665200c31 | |||
| 6554e295d5 | |||
| 4eeb554dcb | |||
| 3eae4a7d19 | |||
| 6c91e852ec | |||
| 52f516299b | |||
| c74166b02a | |||
| 26e86a114c | |||
| fc834036a0 | |||
| f96f7d82c5 | |||
| c592f54a77 | |||
| 89609a83ea | |||
| e67969f52f | |||
| 32a0496bc2 | |||
| 6df311c11a | |||
| 2e23b92763 | |||
| 41a029ffb4 | |||
| 9c8f914f42 | |||
| d75cdc9696 | |||
| 77bb28ded6 | |||
| 0e7981d717 | |||
| fbb0c05c7f | |||
| efa0ab7e4e | |||
| 70fe5189e0 | |||
| 3a8d6d0bcd | |||
| 7ac817e9ae | |||
| 0ceb4765a2 | |||
| 7ce9654402 | |||
| 5328627d7a | |||
| fe1a67ffaa | |||
| 4253d659f1 | |||
| b3560aaa00 | |||
| 005392911d | |||
| 7f02562e0c | |||
| 84bc00fa20 | |||
| c1483d87c7 | |||
| f5e4a202cb | |||
| 6f15c2921a | |||
| d891e5da15 | |||
| 6607c8cd2f | |||
| 1e20086799 | |||
| f85ab7ddc2 | |||
| c3700737c3 | |||
| 2f8013a49b | |||
| af54883fd3 | |||
| 223a210d49 | |||
| c133e4f0ef | |||
| 424d27b71c | |||
| 2fe5a3cef8 | |||
| a3c33d5323 | |||
| e927c27b85 | |||
| d7d99c5e7e | |||
| b6d3be41e1 | |||
| 071ee83b7a | |||
| dfe7a29c92 | |||
| 2b02dc19c0 | |||
| 9bf296bec9 | |||
| 5db7fc8e8c | |||
| c7eb696d60 | |||
| 4f53f5910b | |||
| 971fc3d243 | |||
| c2b5a58dd2 | |||
| 53c32cc296 | |||
| 89299cdb3c | |||
| 2972f0ddc8 | |||
| bd97a6edd5 | |||
| 6b90c70755 | |||
| 1832be3118 | |||
| a9c5019554 | |||
| 3c7d91b73e | |||
| ee0bfb9a3a | |||
| c23f11d8a1 | |||
| f598fb3cc4 | |||
| 6e6e51dc20 | |||
| 344958aefb | |||
| 623e9eea3c | |||
| 59544993bd | |||
| 0bbf898709 | |||
| bbf77dc65f | |||
| 3600c72709 | |||
| 2a206594cf | |||
| b977ee89ee | |||
| 057754c851 | |||
| 9235170bf1 | |||
| 7d3464abf9 | |||
| 23f8497dea | |||
| b175c71b84 | |||
| ab974828b0 | |||
| dafa0e85c9 | |||
| 581822b234 | |||
| 0dcdc2e265 | |||
| 31ce7882b8 | |||
| a1ae91af76 | |||
| 30a978b614 | |||
| 364872d75b | |||
| 0177f14051 | |||
| 83ac99da74 | |||
| 87cebc3e3f | |||
| 4b607d8fc8 | |||
| 5b4c3cfdc7 | |||
| ec4bc86266 | |||
| 5578aba8c8 | |||
| de3a4afac1 | |||
| a72c97e666 | |||
| 433d575fd4 | |||
| 6cdcd8ccc9 | |||
| d432a6eb89 | |||
| c333da8fa3 | |||
| 1786a3c069 | |||
| 35542207d8 | |||
| e5decb1325 | |||
| 41b8754130 | |||
| dacce3e7bd | |||
| c427fa04a7 | |||
| eac94ac6b7 | |||
| 4102f7b8f5 | |||
| efaf308a94 | |||
| b679079a5a | |||
| 8e7dadf7e9 | |||
| ea8c02b591 | |||
| 9c69352f9a | |||
| 877f87afe4 | |||
| c590e7f6e6 | |||
| 070b35f3db | |||
| 7c8ee24f8c | |||
| 7761a37d59 | |||
| 202dff3a96 | |||
| cfbc6b4543 | |||
| e82641760b | |||
| 2b1c11b0bb | |||
| 69e1c5433f | |||
| 55d66be929 | |||
| 5de15d5b2c | |||
| 3f6607028d | |||
| 6369cef465 | |||
| 8e7d63dccb | |||
| 0ed8a4c3e8 | |||
| d9885bd4a8 | |||
| 04ec9ba749 | |||
| 0b261aac24 | |||
| 8df692053a | |||
| b8344da734 | |||
| 04e4fd10a5 | |||
| 4cb7a9e6f4 | |||
| 2e2bb12671 | |||
| 9b51d54403 | |||
| ac0f32b21f | |||
| 0720d50f2f | |||
| 8ee6f58656 | |||
| 744ac69fb7 | |||
| de4acb6098 | |||
| 9eb093d865 | |||
| 03c3dfc3c8 | |||
| f0e3c6eae9 | |||
| 2e6f15655c | |||
| ce454e99be | |||
| 8087b58851 | |||
| ecc447ab2c | |||
| 21f4d5e6b6 | |||
| 5493757d25 | |||
| 6933173957 | |||
| 044a9f3b8e | |||
| af6310b13e | |||
| 2ab1fc0adf | |||
| 62f224d77b | |||
| 0a7df79952 | |||
| 8c8bd03c0b | |||
| e1237d6b46 | |||
| e3ab7488ff | |||
| a59cef87de | |||
| f316c93e38 | |||
| a22cc2cedc | |||
| 18ea568e2a | |||
| c19d9d49f9 | |||
| badf123946 | |||
| d4b85cde75 | |||
| fdee124875 | |||
| 0408aadabc | |||
| 895a1a18d8 | |||
| b4ab401f98 | |||
| 84ac312ba9 | |||
| 7cdbe431e5 | |||
| 1d0606947b | |||
| 754a1f1de3 | |||
| 882f240307 | |||
| 8666936646 | |||
| e1455df108 | |||
| fdd75ef3a8 | |||
| 928f623f7e | |||
| dde6e9b9d4 | |||
| 2de1842445 | |||
| 71396637e3 | |||
| 035dc244ff | |||
| 2e7efb3660 | |||
| 329d34f8e5 | |||
| 93145750c0 | |||
| 067da3fec0 | |||
| 7ae4cc86c7 | |||
| 860636d067 | |||
| f185bc07a6 | |||
| 2d1d29eb37 | |||
| 1102b89009 | |||
| 86e4da8a7b | |||
| a8c5e729d4 | |||
| d48e7e1f6d | |||
| 653ba814cc | |||
| 7584d00681 | |||
| dc88dda1f2 | |||
| 39a3f51d27 | |||
| 05f4f6ed92 | |||
| 9c561d550b | |||
| 11625ea240 | |||
| d79514e4a0 | |||
| 6a5add38e2 | |||
| 5b6ed0cfd0 | |||
| f35a951b09 | |||
| 99b73957c1 | |||
| 73b9e83b9f | |||
| 9246639709 | |||
| 3403e47b02 | |||
| 418e44390d | |||
| 1c93cc8f15 | |||
| 7e027da804 | |||
| 0b756708d4 | |||
| 5313d61490 | |||
| 77cb3d8b92 | |||
| 81984b3ad7 | |||
| 5465527ea0 | |||
| 974b910acc | |||
| 154f9d9ebb | |||
| cafacc8dd4 | |||
| 77dff3ab32 | |||
| f0ee7939a2 | |||
| cb9185fb3f | |||
| 63a311f601 | |||
| 730f5c5d6d | |||
| bff03d695b | |||
| 686832ebf8 | |||
| b42300a4da | |||
| fb04890a50 | |||
| 1246eb8bdf | |||
| b62d3ec139 | |||
| 0fe53a0d0e | |||
| 7c4e810c8d | |||
| 71a88aa668 | |||
| a5398240a0 | |||
| 0ab4309c52 | |||
| 9fe692c9bd | |||
| 96a9e2f558 | |||
| b28d468935 | |||
| 0316c1de58 | |||
| f3e10b1851 | |||
| 576923a2f2 | |||
| d1ccb126b6 | |||
| 210d5d2602 | |||
| c6b9926d7f | |||
| ea6c892ec0 | |||
| 5211bf4c98 | |||
| 85cf7d7981 | |||
| c0b0687fd3 | |||
| 0df62abebd | |||
| dbaa0a9310 | |||
| e1e649caf7 | |||
| d65263f319 | |||
| d831d1302f | |||
| e276aa682f | |||
| c2a239a12f | |||
| 6f2bbfab4c | |||
| 66df324ef0 | |||
| 999401c50c | |||
| 255083e00c | |||
| 86083712ad | |||
| d010fc9737 | |||
| 0e2183d234 | |||
| 3b7d1685c5 | |||
| d109878821 | |||
| 588b5d91cc | |||
| 0c4cb295f3 | |||
| d7f32a985d | |||
| 8b9743f2bf | |||
| c70915ffb0 | |||
| b31e5f5356 | |||
| 3d2ba425ec | |||
| 153b38b74c | |||
| 4abc60cf8e | |||
| 25a5108944 | |||
| 845d4da353 | |||
| 838691d924 | |||
| 115f73de2e | |||
| 026de7d590 | |||
| 785e40ce3e | |||
| 63f426336b | |||
| 24ddc0e574 | |||
| a422de6adb | |||
| 7f923d7f25 | |||
| 5a7d099413 | |||
| 53fd4de0cc | |||
| 8882c16cbf | |||
| f2cceda471 | |||
| 92b931434e | |||
| 8ddff3f459 | |||
| 2208083b03 | |||
| 3d1d2a3468 | |||
| 746bca8c40 | |||
| 6aeec56dc0 | |||
| d68a7d316c | |||
| dc7ddfe107 | |||
| 8c5d85d52a | |||
| 7a653675de | |||
| 4eccb1e770 | |||
| 524dc52dd6 | |||
| d64a63992c | |||
| 0809ac5625 | |||
| 63fb23d1b6 | |||
| 2e577edc3d | |||
| 9f96b86938 | |||
| e24d166f6a | |||
| 0be0635a8f | |||
| a2cad01c01 | |||
| d98f1e8dc3 | |||
| f1aab0f8ef | |||
| 571db6b48b | |||
| 4c4bdff55c | |||
| 03aa59521c | |||
| 92753a432a | |||
| 84cfd4c9fc | |||
| b7b5d2590c | |||
| 44c86849b8 | |||
| 8acee98b8f | |||
| 05aa6972c4 | |||
| 5498eb6d7c | |||
| d9725a7d9b | |||
| 2918a1110b | |||
| a4cf557b65 | |||
| a122f939e0 | |||
| 57771d3a81 | |||
| 69e41e283d | |||
| 98bded8653 | |||
| 0c61a316ed | |||
| f3374ba509 | |||
| ca21da1421 | |||
| aff3941729 | |||
| 8383715892 | |||
| 78a3cf90ee | |||
| 372d2a8386 | |||
| 169624f45e | |||
| 89a0f12dc4 | |||
| fdfc373181 | |||
| fdd16d8876 | |||
| cff5e7b388 | |||
| 62aa13751b | |||
| 927ecc015b | |||
| 977c9ea70f | |||
| b62ff9898f | |||
| 02ac8cf220 | |||
| 242c05266f | |||
| f84b9a7e1d | |||
| e08ab38c52 | |||
| 98234f9935 | |||
| 7134e851e4 | |||
| e5d6a40511 | |||
| ab689f2a48 | |||
| 68c3ea5ae9 | |||
| 72923cadb4 | |||
| 377c7a1c39 | |||
| 71afa9bf53 | |||
| 2e51ea5f78 | |||
| 4a486673f6 | |||
| a6ee559723 | |||
| 99215e1701 | |||
| 15664b2822 | |||
| c9e8a6e939 | |||
| e94a0cfccf | |||
| f054bd699b | |||
| 3a0eafce3c | |||
| daf2587140 | |||
| 18bf78b379 | |||
| f2d9a7312b | |||
| f9835e589a | |||
| 18d10e4cc4 | |||
| 9fd183900a | |||
| e922bf02d4 | |||
| faaff58fde | |||
| 2521f11a40 | |||
| 1e7126f98e | |||
| 888b3e5600 | |||
| 7dee5699cf | |||
| ebda927fb5 | |||
| efecd4b8c1 | |||
| 2f65d41cd1 | |||
| 8b3a954f73 | |||
| 059523f543 | |||
| dca09fe0a6 | |||
| 3a30ca7570 | |||
| 71223a9d58 | |||
| 2d71b0e34a | |||
| 430b33b7a3 | |||
| 9d35f65e76 | |||
| 209298bb4d | |||
| 3b495c35d7 | |||
| c96cf10c86 | |||
| 03073081f8 | |||
| 174818c6d8 | |||
| 97b7583ff2 | |||
| 73f928d57a | |||
| 0d25b76b77 | |||
| cdcba63c2d | |||
| ef6bc3e58f | |||
| 0ce551589e | |||
| f89f79d71c | |||
| 0d312f91af | |||
| 468cb4e9df | |||
| 6a2056562b | |||
| 84fa5a38e0 | |||
| 621952e37d | |||
| 20a6e7631f | |||
| 851878cf18 | |||
| 3a6001e18f | |||
| 29a55f914b | |||
| 8fc62faf30 | |||
| 465f9efbd5 | |||
| d26caa5f8b | |||
| b0504f4141 | |||
| 6488119318 | |||
| b0bb793a0e | |||
| 2a5d26b349 | |||
| 95b50748d2 | |||
| 67213462db | |||
| c5848fe323 | |||
| 373fa522be | |||
| 432724623e | |||
| 33e2eb5a74 | |||
| 37f51db0d9 | |||
| 0d6f80e813 | |||
| bcb4c0bc02 | |||
| c978bf90f8 | |||
| b013f3a8fa | |||
| e5ee4e0e61 | |||
| 5d34b4e182 | |||
| d866b6c167 | |||
| accfc1221f | |||
| ca97a7a5e3 | |||
| b39a51a870 | |||
| 8be68e9b22 | |||
| 59dbfb1452 | |||
| 8b921a7b79 | |||
| e21dab14e5 | |||
| 4e863e7d90 | |||
| 0e378d8ad4 | |||
| b20afd0ffa | |||
| 28c30c44c5 | |||
| cc78153fe4 | |||
| 94ac69ce37 | |||
| ed47a23156 | |||
| 07a4a8505b | |||
| 863b57fc3b | |||
| a62d9bfcbf | |||
| 51ed55510c | |||
| 97f23cf955 | |||
| 3b5b9b68ce | |||
| 13d40c922b | |||
| de260b5283 | |||
| efafaedf68 | |||
| d2563de6c3 | |||
| c3e11c6cca | |||
| 8861811c93 | |||
| e6eb58bcf5 | |||
| 03eec78d6f | |||
| 0cd25428e6 | |||
| 6d510d3912 | |||
| 41b8150ef4 | |||
| 20f72cae04 | |||
| a95b9962b9 | |||
| 38afde724b | |||
| 17465e68e8 | |||
| b0348fb888 | |||
| 7a731ec658 | |||
| 3a9296f453 | |||
| 4ac8a0add0 | |||
| 6e76690835 | |||
| 776d68bb03 | |||
| e2b870f1f1 | |||
| 4befdecd25 | |||
| 98fe4680c1 | |||
| 2d7917de14 | |||
| 6e881fac2d | |||
| 0076f2ea51 | |||
| 523548373d | |||
| 58bdeb134c | |||
| 2722057c81 | |||
| d6f29464c6 | |||
| 5105a2b1fb | |||
| c00962b044 | |||
| 858f73c439 | |||
| ade5e23458 | |||
| 61dfc05ae0 | |||
| 25fd03cb88 | |||
| e7fe8b60de | |||
| f16ae9c80b | |||
| ed1f327c57 | |||
| 4a19ea4c68 | |||
| 0ec1d728e5 | |||
| 57eb4c0a71 | |||
| ecf2f3fdaf | |||
| f3db010303 | |||
| 1a1316072a | |||
| 020740bf43 | |||
| 682c674696 | |||
| 7fa7502770 | |||
| 962c7c0a92 | |||
| 12e0efa3e1 | |||
| a349e1a277 | |||
| b72c766c16 | |||
| 72eab029ab | |||
| 3613c235be | |||
| 880ea762e5 | |||
| 83c9c0efcb | |||
| 733a53ec6d | |||
| 8c500c4016 | |||
| abdd6e1915 | |||
| 209333989e | |||
| 2803a671d1 | |||
| 1cf2e8d43e | |||
| e7746dc037 | |||
| 72195ea784 | |||
| f102c3b468 | |||
| f0215ca56a | |||
| 0f9ca7885a | |||
| 124d14d3c3 | |||
| f9e25b5a33 | |||
| 72d85aecc9 | |||
| 0bfb7b7ed3 | |||
| e82e8a039b | |||
| e626355aef | |||
| 192848e383 | |||
| 6339be5a06 | |||
| 4b5fd35056 | |||
| 1137b11550 | |||
| 6636718ef7 | |||
| e40f68d3fa | |||
| 96e79e9d9c | |||
| 3f5ed8ed7f | |||
| fdd44f4633 | |||
| 0085909914 | |||
| 5c301238cd | |||
| 30ba43e672 | |||
| afb9bb4379 | |||
| 3863e2c900 | |||
| b0249244cc | |||
| 77873e135f | |||
| 35997d58bb | |||
| 82efa151cc | |||
| 71569cadb5 | |||
| 1d737c3167 | |||
| 168038c595 | |||
| e99680d59b | |||
| 18503ac526 | |||
| 22f7345147 | |||
| b6b76d145b | |||
| 7c9b734948 | |||
| 16c0fbe3c1 | |||
| b8f22202d4 | |||
| 513292cd08 | |||
| d8ac614a17 | |||
| 8dd0991a7d | |||
| 5832e2d828 | |||
| c451a25c7f | |||
| 9d4fd64c58 | |||
| 42c7cca64f | |||
| 7f61ebebc8 | |||
| 7f14faeaa3 | |||
| f193c2adc4 | |||
| b748a1982f | |||
| a44369a272 | |||
| 25a3573a76 | |||
| 9845e2a463 | |||
| 3d5fd2c5e8 | |||
| dbacb566bb | |||
| 96576a7fc5 | |||
| 81464d7de1 | |||
| dd8e1d1faf | |||
| 00248f574a | |||
| e6e1771349 | |||
| 0a0a788c1c | |||
| 74c0fd92ae | |||
| 34665d94df | |||
| 7e681dc1d9 | |||
| c158519f37 | |||
| de069980ce | |||
| 1710894edc | |||
| 65d0ae9290 | |||
| 1baed48b0a | |||
| da6b31cdb1 | |||
| 013c8d882c | |||
| 503d325021 | |||
| 875214c166 | |||
| 2eec5309ac | |||
| a9ec31d72f | |||
| e392ecd08d | |||
| 03f9436ef9 | |||
| 8917a331eb | |||
| 8fbb317f6e | |||
| f15561c4dc | |||
| ee431b3269 | |||
| ba97dacfdd | |||
| ce6a2e8487 | |||
| 64ed05a1b4 | |||
| 23aa8fd72d | |||
| 332ea089e3 | |||
| 106003ebf9 | |||
| 8271597394 | |||
| 9210069d9b | |||
| f364359905 | |||
| fb618b939f | |||
| 43a47f8971 | |||
| e85acf2bee | |||
| bbde2443e1 | |||
| ad2f63ba0d | |||
| ee977720ca | |||
| ca953f4596 | |||
| 2adc055536 | |||
| 399934ac2b | |||
| 9451106c81 | |||
| 8e75de8fb9 | |||
| eca598516e | |||
| 2c5a54c210 | |||
| 1ac2ab0c10 | |||
| 199b17b9c6 | |||
| f582c8081b | |||
| 77d66b1817 | |||
| df370396b1 | |||
| ceeb84a439 | |||
| 9af6b50347 | |||
| d151313253 | |||
| 6d935cc8ae | |||
| 1396dbf600 | |||
| 8087a43df5 | |||
| c2cd395ca1 | |||
| a6e2975677 | |||
| 3783ae8619 | |||
| be17616836 | |||
| 36c72d641f | |||
| f878a7598d | |||
| 071ae6d680 | |||
| cc29230ce5 | |||
| b282e5d968 | |||
| 3410db7b45 | |||
| 800c30e91c | |||
| 817163dbf6 | |||
| d164e279ef | |||
| 4f9b8db6fc | |||
| b58c92ebb6 | |||
| 2667b8eac6 | |||
| 235fad439d | |||
| fcea444041 | |||
| 80f56d4359 | |||
| f14bfa7d53 | |||
| a7d55ee520 | |||
| 7382897e8e | |||
| aac2b598ea | |||
| 0f31cd43d2 | |||
| 788de6d432 | |||
| 04a6a683bc | |||
| 25e433f7bd | |||
| fbc44f47c8 | |||
| 06bca227d0 | |||
| 8321a5fe1c | |||
| 1bb8de3570 | |||
| 8666937117 | |||
| eaf57bedf6 | |||
| a30ef4679c | |||
| 0ee2ca72ac | |||
| 881bb919da | |||
| 5ecd68d5b6 | |||
| e2d0e5d424 | |||
| e3bf7d63c0 | |||
| 3fedcf273b | |||
| 8042dbb3db | |||
| e7e397c412 | |||
| ecc472a692 | |||
| 9790d9fd93 | |||
| f3f89344b4 | |||
| bac94b67b8 | |||
| ba1afcca38 | |||
| bb1c341c95 | |||
| 2ef04f1303 | |||
| 632d048ee2 | |||
| adea6b3dec | |||
| 5416ea2365 | |||
| a081a4f066 | |||
| b54676793e | |||
| d34c988c88 | |||
| 4ff1631f89 | |||
| dc6a325392 | |||
| 4f364a46df | |||
| c699ed44aa | |||
| 6bd4472229 | |||
| c9d67e40af | |||
| 9a7329598e | |||
| 278cfc076b | |||
| 5c908c7404 | |||
| 65aceeffa8 | |||
| 08505e1fa3 | |||
| b75e8d5824 | |||
| fbda2c571b | |||
| 2a89bdf52a | |||
| 67d9a48d75 | |||
| 07084939a0 | |||
| a7b0872697 | |||
| 371588ed79 | |||
| 92ae39a3ab | |||
| 9986ffc458 | |||
| 3dd81433ac | |||
| 369a82889c | |||
| 22b965e15a | |||
| 0b86887962 | |||
| db7296c0a1 | |||
| d1f2625262 | |||
| b756a3f564 | |||
| dfa595ad2a | |||
| 0519f60cb0 | |||
| 81c32d5181 | |||
| b609b08f98 | |||
| 50f141edbd | |||
| 0542a58e4b | |||
| 58db877006 | |||
| dff3364eb5 | |||
| 88310cf04b | |||
| d81eb1fe2d | |||
| d8f452b665 | |||
| ec05bd994c | |||
| dff48c07c9 | |||
| 234d97b8ce | |||
| 9bf8b4388f | |||
| b31f2df58d | |||
| 14df50dbf3 | |||
| 6aeca93b85 | |||
| 3143c871d0 | |||
| 7f7c71a22e | |||
| 05f522580b | |||
| 926af89029 | |||
| f1248c4c33 | |||
| bd2ee1c5ea | |||
| 8ef286b9d6 | |||
| 4b4693498d | |||
| e41d6a0289 | |||
| c8d716d39f | |||
| 33c1535bfa | |||
| 1067d30264 | |||
| 96145e75f4 | |||
| 2ba6dad3b2 | |||
| a870393edb | |||
| d04bc2fb3c | |||
| 9d52e85afa | |||
| 3745e6ce8d | |||
| a4c38263d1 | |||
| c1a7a35192 | |||
| eb98ec891b | |||
| 69a5507f96 | |||
| a1f43ff51a | |||
| da91585d69 | |||
| f138a68f3e | |||
| 30191eb5ba | |||
| 4552394f6e | |||
| 9c3d3db3fb | |||
| 9c1c9056f1 | |||
| b5582688a3 | |||
| 34597a4e21 | |||
| e0b32d2641 | |||
| 6baf952904 | |||
| f132ae3678 | |||
| 720b38442e | |||
| 136f5d7314 | |||
| a83e4b7c3d | |||
| 1bb0109c45 | |||
| 4744dfab78 | |||
| 7dedd4700f | |||
| 95fb894ba3 | |||
| 621ddc5535 | |||
| ece09a956b | |||
| db5493f60b | |||
| f0482dd391 | |||
| c53b3b5dfc | |||
| ad16550a86 | |||
| 99e4928542 | |||
| 43995a4b32 | |||
| 8ec9bb8b3b | |||
| 18c8197ff4 | |||
| dd1ca1e286 | |||
| c9f0b4e489 | |||
| 63a6037ad2 | |||
| 3675f154d1 | |||
| 5e5be0e192 | |||
| e300bf93fd | |||
| cdf949a557 | |||
| 4c5aeac39f | |||
| a5f58bb22f | |||
| dddfd6dbaf | |||
| 53f448e578 | |||
| 311939c63c | |||
| d8a3556bc3 | |||
| 57e84c3039 | |||
| 1bcf7f9d52 | |||
| 2746002eb1 | |||
| ee6a3def22 | |||
| 0b15c56037 | |||
| 39c26a72e2 | |||
| d2f62ef98c | |||
| 6476a519bb | |||
| b8e2d73aa0 | |||
| 5a2b35ccd0 | |||
| 16218e46ec | |||
| 27b692823c | |||
| 68aaec16bc | |||
| ec8d393403 | |||
| 27e5eac6aa | |||
| ca521935e0 | |||
| f60798129c | |||
| 3e90f354c5 | |||
| a27ed6d9ba | |||
| b18addbf37 | |||
| 3fa501d726 | |||
| ef3cb0a455 | |||
| be82dfec1f | |||
| 8eb5ad01cf | |||
| a3c5e4cb05 | |||
| c35e057d96 | |||
| a5a80b58d5 | |||
| c10c809c9e | |||
| 3d2bd84450 | |||
| 2776b2d430 | |||
| f0d04699d1 | |||
| afbce77d0b | |||
| 3a5844a0fe | |||
| e2798aaaf4 | |||
| 99d86511a1 | |||
| a8c920932e | |||
| bd9eaa2d48 | |||
| c6f232ab63 | |||
| 29a4464e18 | |||
| 63e375f208 | |||
| 2f51568772 | |||
| 59adde7c6b | |||
| 52c512635d | |||
| e0175bac98 | |||
| 63ab2bbad0 | |||
| 33b04f6ff9 | |||
| 236f6f72e3 | |||
| 8920d949d2 | |||
| eed0c11d7f | |||
| 8179259afa | |||
| e38293a291 | |||
| 15ba197083 | |||
| ff903e65a5 | |||
| 305fc6c7f2 | |||
| ada69b9a95 | |||
| 97dabc4a5c | |||
| fec00fee17 |
@@ -0,0 +1,3 @@
|
|||||||
|
* text=auto eol=lf
|
||||||
|
*.java text diff=java eol=lf
|
||||||
|
*.gradle text diff=java eol=lf
|
||||||
@@ -0,0 +1,105 @@
|
|||||||
|
# How to contribute
|
||||||
|
|
||||||
|
We want to keep it as easy as possible to contribute changes to support
|
||||||
|
the growth and stability of AE2. There are a few guidelines that we
|
||||||
|
need contributors to follow so that we can have a chance of keeping on
|
||||||
|
top of things.
|
||||||
|
|
||||||
|
## Getting Started
|
||||||
|
|
||||||
|
### Reporting an Issue
|
||||||
|
|
||||||
|
Applied Energistics 2 crashing, have a suggestion, found a bug? Create an issue now!
|
||||||
|
|
||||||
|
1. Make sure your issue has not already been answered or fixed and you are using the latest version. Also think about whether your issue is a valid one before submitting it.
|
||||||
|
* If it is already possible with vanilla and AE2 itself, the suggestion will be considered invalid.
|
||||||
|
* Asking for a smaller version, more compact version, or more efficient version of something will also be considered invalid.
|
||||||
|
2. Go to [the issues page](https://github.com/AppliedEnergistics/Applied-Energistics-2/issues) and click [new issue](https://github.com/AppliedEnergistics/Applied-Energistics-2/issues/new)
|
||||||
|
3. If applicable, use on of the provided templates. It will also contain further details about required or useful information to add.
|
||||||
|
4. Click `Submit New Issue`, and wait for feedback!
|
||||||
|
|
||||||
|
Providing as many details as possible does help us to find and resolve the issue faster and also you getting a fixed version as fast as possible.
|
||||||
|
|
||||||
|
Please note that we might close any issue not matching these requirements.
|
||||||
|
|
||||||
|
### Submitting Changes
|
||||||
|
|
||||||
|
* Submit an issue to the github project, assuming one does not already exist.
|
||||||
|
* Clearly describe the issue including steps to reproduce when it is a bug.
|
||||||
|
* Make sure you fill in the earliest version that you know has the issue.
|
||||||
|
* Waiting for feedback is suggested.
|
||||||
|
* Fork the repository on GitHub
|
||||||
|
* Create a topic branch from where you want to base your work.
|
||||||
|
* This `master` branch that is under active development.
|
||||||
|
* Only target release branches if you are certain your fix must be on that
|
||||||
|
branch.
|
||||||
|
* To quickly create a topic branch based on the development branch; `git
|
||||||
|
checkout -b my_contribution_branch`. Please avoid working
|
||||||
|
directly on the `master` branch.
|
||||||
|
* Make commits of logical units.
|
||||||
|
* Check for unnecessary whitespace with `git diff --check` before committing.
|
||||||
|
* Make sure your commit messages are in the proper format.
|
||||||
|
* You can either use the gradle `spotlessCheck` and `spotlessApply` tasks or use the provided eclipse formatter config in `/codeformat`
|
||||||
|
|
||||||
|
````
|
||||||
|
(#12345) Make the example in CONTRIBUTING imperative and concrete
|
||||||
|
|
||||||
|
Without this patch applied the example commit message in the CONTRIBUTING
|
||||||
|
document is not a concrete example. This is a problem because the
|
||||||
|
contributor is left to imagine what the commit message should look like
|
||||||
|
based on a description rather than an example. This patch fixes the
|
||||||
|
problem by making the example concrete and imperative.
|
||||||
|
|
||||||
|
The first line is a real life imperative statement with a ticket number
|
||||||
|
from our issue tracker. The body describes the behavior without the patch,
|
||||||
|
why this is a problem, and how the patch fixes the problem when applied.
|
||||||
|
````
|
||||||
|
* Always fully test your changes. If they are large enough in scope, then fully test AE2.
|
||||||
|
* Describing the process you used to test your changes in detail will help speed up this process.
|
||||||
|
|
||||||
|
## Making Trivial Changes
|
||||||
|
|
||||||
|
### Documentation
|
||||||
|
|
||||||
|
For changes of a trivial nature to comments and documentation, it is not always necessary to create a new issue.
|
||||||
|
We usually use `squash and merge`. This allows us to easily append the PR number for future reference.
|
||||||
|
|
||||||
|
````
|
||||||
|
Add documentation commit example to CONTRIBUTING
|
||||||
|
|
||||||
|
There is no example for contributing a documentation commit
|
||||||
|
to the Puppet repository. This is a problem because the contributor
|
||||||
|
is left to assume how a commit of this nature may appear.
|
||||||
|
|
||||||
|
The first line is a real life imperative statement with '(doc)' in
|
||||||
|
place of what would have been the ticket number in a
|
||||||
|
non-documentation related commit. The body describes the nature of
|
||||||
|
the new documentation or comments added.
|
||||||
|
````
|
||||||
|
|
||||||
|
### Semantic Changes
|
||||||
|
|
||||||
|
In order to keep the code in a state where PRs can be safely merged, it is important to
|
||||||
|
avoid changes to syntax or changes that don't add any real value to the code base. PRs
|
||||||
|
that make changes only to syntax or "clean up" the code will be rejected. Any code clean-up
|
||||||
|
should be coordinated with the core team first.
|
||||||
|
|
||||||
|
|
||||||
|
## Style Guidelines
|
||||||
|
|
||||||
|
Applied Energistics does not follow standard Java syntax. The guidelines below illustrate
|
||||||
|
the styling guidelines used by AE.
|
||||||
|
|
||||||
|
PRs that do not conform to these standards will be rejected.
|
||||||
|
|
||||||
|
You can find presets for Eclipse in the `codeformat` folder. For IntelliJ IDEA we recommend the eclipse formatter plugin.
|
||||||
|
|
||||||
|
There is also a gradle task available to check for syntax errors (`spotlessCheck`) as well as applying the fixes (`spotlessApply`).
|
||||||
|
|
||||||
|
We try to keep them up to date. Please report any problem with maintaining the correct formatting.
|
||||||
|
|
||||||
|
# Additional Resources
|
||||||
|
|
||||||
|
* [General GitHub documentation](http://help.github.com/)
|
||||||
|
* [GitHub pull request documentation](http://help.github.com/send-pull-requests/)
|
||||||
|
* #AppliedEnergistics IRC channel on esper.net
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<!-- Provide a summary of the issue in the Title above, please do not "[Tag]" it. -->
|
||||||
|
|
||||||
|
**Describe the issue**
|
||||||
|
<!-- Always use the most recent version from ae-mod.info, it might already be fixed. -->
|
||||||
|
<!-- When describing a bug, tell us what was expected and what the actual behaviour is. -->
|
||||||
|
<!-- When suggesting a feature, tell us how it should work and why it should be considered. -->
|
||||||
|
|
||||||
|
**Environment**
|
||||||
|
<!-- Include as many relevant details about the environment -->
|
||||||
|
<!-- A forced crash report by pressing F3+c for 10 seconds. Use pastebin, gist, etc. -->
|
||||||
|
<!-- Without it, we will automatically close the issue. -->
|
||||||
|
|
||||||
|
- Environment:
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
---
|
||||||
|
name: Bug report
|
||||||
|
about: You found a bug or encountered a crash? Please report it here.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<!-- Provide a summary of the issue in the Title above, please do not "[Tag]" it. -->
|
||||||
|
|
||||||
|
**Describe the bug**
|
||||||
|
<!-- Always use the most recent version from ae-mod.info, it might already be fixed. -->
|
||||||
|
|
||||||
|
**To Reproduce**
|
||||||
|
<!-- Please provide the steps to reproduce it, otherwise we might not be able to fix it. -->
|
||||||
|
|
||||||
|
**Expected behavior**
|
||||||
|
<!-- A clear and concise description of what you expected to happen. -->
|
||||||
|
|
||||||
|
**Additional context**
|
||||||
|
<!-- Screenshots, crashlogs, etc. -->
|
||||||
|
<!-- A complete crashlog is required when reporting a crash. No excerpts. -->
|
||||||
|
<!-- Please use pastebin or gist for posting the complete crashlog. -->
|
||||||
|
|
||||||
|
**Environment**
|
||||||
|
<!-- Include as many relevant details about the environment -->
|
||||||
|
<!-- A forced crash report by pressing F3+c for 10 seconds. Use pastebin, gist, etc. -->
|
||||||
|
<!-- Without it, we will automatically close the issue. -->
|
||||||
|
|
||||||
|
- Environment:
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
name: Feature Request
|
||||||
|
about: A feature request or suggestion to improve Applied Energistics 2
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<!-- Provide a summary of the issue in the Title above, please do not "[Tag]" it. -->
|
||||||
|
|
||||||
|
**Describe the feature**
|
||||||
|
<!-- Tell us how it should work. -->
|
||||||
|
|
||||||
|
**Reasons why it should be considered**
|
||||||
|
<!-- This can help us in various degrees, e.g. to determine if it fits our design ideas. -->
|
||||||
|
|
||||||
|
**Additional Context**
|
||||||
|
<!-- Use this for further details, e.g. screenshots, links to mods for integrations. -->
|
||||||
|
<!-- Features will only be considered for the latest/next version. -->
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
name: 'Build branches'
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches-ignore: [ master ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Set up JDK 1.8
|
||||||
|
uses: actions/setup-java@v1
|
||||||
|
with:
|
||||||
|
java-version: 1.8
|
||||||
|
- name: Grant execute permission for gradlew
|
||||||
|
run: chmod +x gradlew
|
||||||
|
- name: Use gradle cache for faster builds
|
||||||
|
uses: actions/cache@v1
|
||||||
|
with:
|
||||||
|
path: ~/.gradle/caches
|
||||||
|
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
|
||||||
|
- name: Generate assets
|
||||||
|
uses: GabrielBB/xvfb-action@v1.2
|
||||||
|
with:
|
||||||
|
run: ./gradlew runData --no-daemon
|
||||||
|
- name: Build with Gradle
|
||||||
|
run: ./gradlew build --no-daemon
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name: 'Lock threads'
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * *'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lock:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: dessant/lock-threads@v2
|
||||||
|
with:
|
||||||
|
github-token: ${{ github.token }}
|
||||||
|
issue-lock-inactive-days: '180'
|
||||||
|
pr-lock-inactive-days: '180'
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
name: 'Build master'
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Set up JDK 1.8
|
||||||
|
uses: actions/setup-java@v1
|
||||||
|
with:
|
||||||
|
java-version: 1.8
|
||||||
|
- name: Grant execute permission for gradlew
|
||||||
|
run: chmod +x gradlew
|
||||||
|
- name: Use gradle cache for faster builds
|
||||||
|
uses: actions/cache@v1
|
||||||
|
with:
|
||||||
|
path: ~/.gradle/caches
|
||||||
|
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
|
||||||
|
- name: Generate assets
|
||||||
|
uses: GabrielBB/xvfb-action@v1.2
|
||||||
|
with:
|
||||||
|
run: ./gradlew runData --no-daemon
|
||||||
|
- name: Build with Gradle
|
||||||
|
run: ./gradlew build --no-daemon
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
name: 'Build PRs'
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Set up JDK 1.8
|
||||||
|
uses: actions/setup-java@v1
|
||||||
|
with:
|
||||||
|
java-version: 1.8
|
||||||
|
- name: Grant execute permission for gradlew
|
||||||
|
run: chmod +x gradlew
|
||||||
|
- name: Use gradle cache for faster builds
|
||||||
|
uses: actions/cache@v1
|
||||||
|
with:
|
||||||
|
path: ~/.gradle/caches
|
||||||
|
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
|
||||||
|
- name: Generate assets
|
||||||
|
uses: GabrielBB/xvfb-action@v1.2
|
||||||
|
with:
|
||||||
|
run: ./gradlew runData --no-daemon
|
||||||
|
- name: Build with Gradle
|
||||||
|
env:
|
||||||
|
PR_NUMBER: ${{ github.event.pull_request.number }}
|
||||||
|
run: ./gradlew build --no-daemon
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: dist
|
||||||
|
path: build/libs/
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
name: 'Release'
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [created]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Validate semver
|
||||||
|
env:
|
||||||
|
RELEASE: ${{ github.event.release.tag_name }}
|
||||||
|
run: echo $RELEASE | grep -oP '^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$'
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Set up JDK 1.8
|
||||||
|
uses: actions/setup-java@v1
|
||||||
|
with:
|
||||||
|
java-version: 1.8
|
||||||
|
- name: Grant execute permission for gradlew
|
||||||
|
run: chmod +x gradlew
|
||||||
|
- name: Use gradle cache for faster builds
|
||||||
|
uses: actions/cache@v1
|
||||||
|
with:
|
||||||
|
path: ~/.gradle/caches
|
||||||
|
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
|
||||||
|
- name: Generate assets
|
||||||
|
uses: GabrielBB/xvfb-action@v1.2
|
||||||
|
env:
|
||||||
|
RELEASE: ${{ github.event.release.tag_name }}
|
||||||
|
with:
|
||||||
|
run: ./gradlew runData --no-daemon
|
||||||
|
- name: Build with Gradle
|
||||||
|
env:
|
||||||
|
RELEASE: ${{ github.event.release.tag_name }}
|
||||||
|
run: ./gradlew build --no-daemon
|
||||||
|
- name: Publish package
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
RELEASE: ${{ github.event.release.tag_name }}
|
||||||
|
run: ./gradlew publish --no-daemon
|
||||||
+13
-4
@@ -7,18 +7,27 @@
|
|||||||
!gradlew
|
!gradlew
|
||||||
!gradlew.bat
|
!gradlew.bat
|
||||||
!build.gradle
|
!build.gradle
|
||||||
!build.properties
|
!gradle.properties
|
||||||
|
!.travis.yml
|
||||||
|
|
||||||
# include markdowns
|
# include markdowns
|
||||||
!README.md
|
!README.md
|
||||||
!License.md
|
!LICENSE
|
||||||
|
|
||||||
# include sourcecode
|
# include sourcecode except generated
|
||||||
!src/
|
!src/
|
||||||
|
src/generated
|
||||||
|
|
||||||
# include git important files
|
# include git important files
|
||||||
!.gitmodules
|
!.gitmodules
|
||||||
!.gitignore
|
!.gitignore
|
||||||
|
!.gitattributes
|
||||||
|
|
||||||
# code format to reduce noise in git commits
|
# code format to reduce noise in git commits
|
||||||
!codeformat/
|
!codeformat/
|
||||||
|
|
||||||
|
# Github specific files and directories
|
||||||
|
!.github/
|
||||||
|
|
||||||
|
# Explicit ignores
|
||||||
|
Thumbs.db
|
||||||
-152
@@ -1,152 +0,0 @@
|
|||||||
# How to contribute
|
|
||||||
|
|
||||||
We want to keep it as easy as possible to contribute changes to support
|
|
||||||
the growth and stability of AE2. There are a few guidelines that we
|
|
||||||
need contributors to follow so that we can have a chance of keeping on
|
|
||||||
top of things.
|
|
||||||
|
|
||||||
## Getting Started
|
|
||||||
|
|
||||||
### Reporting an Issue
|
|
||||||
|
|
||||||
Applied Energistics 2 crashing, have a suggestion, found a bug? Create an issue now!
|
|
||||||
|
|
||||||
1. Make sure your issue hasn't already been answered or fixed. Also think about whether your issue is a valid one before submitting it.
|
|
||||||
2. Go to [the issues page](https://github.com/AppliedEnergistics/Applied-Energistics-2/issues)
|
|
||||||
3. Click new issue
|
|
||||||
4. Enter your Issue's title (something that summarizes your issue), and then create a detailed description of the issue.
|
|
||||||
* To help in resolving your issues please try to include the follow if applicable:
|
|
||||||
* The problem that is happening?
|
|
||||||
* What was expected?
|
|
||||||
* How to reproduce the problem?
|
|
||||||
* Server or Single Player?
|
|
||||||
* Mod Pack using and version?
|
|
||||||
* Crash log (Please make sure to use [pastebin](http://pastebin.com/) for the log file)
|
|
||||||
* Screen shots or Pictures of the problem
|
|
||||||
5. Click `Submit New Issue`, and wait for feedback!
|
|
||||||
|
|
||||||
### Submitting Changes
|
|
||||||
|
|
||||||
* Submit an issue to the github project, assuming one does not already exist.
|
|
||||||
* Clearly describe the issue including steps to reproduce when it is a bug.
|
|
||||||
* Make sure you fill in the earliest version that you know has the issue.
|
|
||||||
* Fork the repository on GitHub
|
|
||||||
* Create a topic branch from where you want to base your work.
|
|
||||||
* This is revison branch that is under active development.
|
|
||||||
* Only target release branches if you are certain your fix must be on that
|
|
||||||
branch.
|
|
||||||
* To quickly create a topic branch based on the development branch; `git
|
|
||||||
checkout -b fix/master/my_contribution branch`. Please avoid working
|
|
||||||
directly on the `active development` branch.
|
|
||||||
* Make commits of logical units.
|
|
||||||
* Check for unnecessary whitespace with `git diff --check` before committing.
|
|
||||||
* Make sure your commit messages are in the proper format.
|
|
||||||
|
|
||||||
````
|
|
||||||
(#12345) Make the example in CONTRIBUTING imperative and concrete
|
|
||||||
|
|
||||||
Without this patch applied the example commit message in the CONTRIBUTING
|
|
||||||
document is not a concrete example. This is a problem because the
|
|
||||||
contributor is left to imagine what the commit message should look like
|
|
||||||
based on a description rather than an example. This patch fixes the
|
|
||||||
problem by making the example concrete and imperative.
|
|
||||||
|
|
||||||
The first line is a real life imperative statement with a ticket number
|
|
||||||
from our issue tracker. The body describes the behavior without the patch,
|
|
||||||
why this is a problem, and how the patch fixes the problem when applied.
|
|
||||||
````
|
|
||||||
* Always fully test your changes. If they are large engouh in scope, then fully
|
|
||||||
test AE2.
|
|
||||||
* Describing the process you used to test your changes in detail will help speed
|
|
||||||
up this process.
|
|
||||||
|
|
||||||
## Making Trivial Changes
|
|
||||||
|
|
||||||
### Documentation
|
|
||||||
|
|
||||||
For changes of a trivial nature to comments and documentation, it is not
|
|
||||||
always necessary to create a new issue. In this case, it is
|
|
||||||
appropriate to start the first line of a commit with '(doc)' instead of
|
|
||||||
a ticket number.
|
|
||||||
|
|
||||||
````
|
|
||||||
(doc) Add documentation commit example to CONTRIBUTING
|
|
||||||
|
|
||||||
There is no example for contributing a documentation commit
|
|
||||||
to the Puppet repository. This is a problem because the contributor
|
|
||||||
is left to assume how a commit of this nature may appear.
|
|
||||||
|
|
||||||
The first line is a real life imperative statement with '(doc)' in
|
|
||||||
place of what would have been the ticket number in a
|
|
||||||
non-documentation related commit. The body describes the nature of
|
|
||||||
the new documentation or comments added.
|
|
||||||
````
|
|
||||||
|
|
||||||
### Semantic Changes
|
|
||||||
|
|
||||||
In order to keep the code in a state where PRs can be safely merged, it is important to
|
|
||||||
avoid changes to syntax or changes that don't add any real value to the code base. PRs
|
|
||||||
that make changes only to syntax or "clean up" the code will be rejected. Any code clean-up
|
|
||||||
should be coordinated with the core team first.
|
|
||||||
|
|
||||||
|
|
||||||
## Style Guidelines
|
|
||||||
|
|
||||||
Applied Energistics does not follow standard Java syntax. The guidelines below illustrate
|
|
||||||
the styling guidelines used by AE.
|
|
||||||
|
|
||||||
PRs that do not conform to these standards will be rejected.
|
|
||||||
|
|
||||||
### Whitespace
|
|
||||||
|
|
||||||
#### Tabs or spaces
|
|
||||||
Configure your IDE to use tabs as padding whitespace. Ensure that there is no extra whitespace
|
|
||||||
at the end of lines, or on blank lines.
|
|
||||||
|
|
||||||
#### Pad parenthes with whitespace
|
|
||||||
````
|
|
||||||
if( item.equals( newItem )
|
|
||||||
|
|
||||||
public void DeleteItem( item )
|
|
||||||
|
|
||||||
catch( Throwable )
|
|
||||||
````
|
|
||||||
|
|
||||||
### Braces
|
|
||||||
|
|
||||||
Place opening and closing braces on a new line. Always include open and close braces, even if
|
|
||||||
the body is a single line.
|
|
||||||
|
|
||||||
````
|
|
||||||
if( item.equals( newItem )
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
public void DeleteItem( item )
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
````
|
|
||||||
|
|
||||||
## Submitting Changes
|
|
||||||
|
|
||||||
* Push your changes to a topic branch in your fork of the repository.
|
|
||||||
* Submit a pull request to the repository in the puppetlabs organization.
|
|
||||||
* Update your issue to mark that you have submitted code and are ready for it to be reviewed.
|
|
||||||
* Include a link to the pull request in the ticket.
|
|
||||||
* The core team looks at Pull Requests on a regular basis.
|
|
||||||
* There are many reasons why it will take a long time to pull your PR. Be patient, we'll
|
|
||||||
get to it.
|
|
||||||
* After feedback has been given we expect responses within two weeks. After two
|
|
||||||
weeks will may close the pull request if it isn't showing any activity.
|
|
||||||
|
|
||||||
# Additional Resources
|
|
||||||
|
|
||||||
* [General GitHub documentation](http://help.github.com/)
|
|
||||||
* [GitHub pull request documentation](http://help.github.com/send-pull-requests/)
|
|
||||||
* #AppliedEnergistics IRC channel on esper.net
|
|
||||||
@@ -1,6 +1,9 @@
|
|||||||
|
[](https://github.com/AppliedEnergistics/Applied-Energistics-2/actions?query=workflow%3A%22Build+master%22)
|
||||||
|
[](https://github.com/AppliedEnergistics/Applied-Energistics-2/releases)
|
||||||
|
|
||||||
# Applied Energistics 2
|
# Applied Energistics 2
|
||||||
|
|
||||||
## Table of Content
|
## Table of Contents
|
||||||
|
|
||||||
* [About](#about)
|
* [About](#about)
|
||||||
* [Contacts](#contacts)
|
* [Contacts](#contacts)
|
||||||
@@ -11,6 +14,7 @@
|
|||||||
* [Building](#building)
|
* [Building](#building)
|
||||||
* [Contribution](#contribution)
|
* [Contribution](#contribution)
|
||||||
* [API](#applied-energistics-2-api)
|
* [API](#applied-energistics-2-api)
|
||||||
|
* [CraftTweaker](#applied-energistics-2-crafttweaker)
|
||||||
* [Localization](#applied-energistics-2-localization)
|
* [Localization](#applied-energistics-2-localization)
|
||||||
* [Credits](#credits)
|
* [Credits](#credits)
|
||||||
|
|
||||||
@@ -23,15 +27,21 @@ A Mod about Matter, Energy and using them to conquer the world..
|
|||||||
* [Website](http://ae-mod.info/)
|
* [Website](http://ae-mod.info/)
|
||||||
* [IRC #appliedenergistics on esper.net](http://webchat.esper.net/?channels=appliedenergistics&prompt=1)
|
* [IRC #appliedenergistics on esper.net](http://webchat.esper.net/?channels=appliedenergistics&prompt=1)
|
||||||
* [GitHub](https://github.com/AppliedEnergistics/Applied-Energistics-2)
|
* [GitHub](https://github.com/AppliedEnergistics/Applied-Energistics-2)
|
||||||
|
* [Discord](https://discord.gg/GygKjjm)
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
Applied Energistics 2 API is (c) 2013 - 2014 AlgorithmX2 and licensed under MIT.
|
* Applied Energistics 2 API
|
||||||
|
- (c) 2013 - 2020 AlgorithmX2 et al
|
||||||
Applied Energistics 2 is (c) 2013 - 2014 AlgorithmX2 and licensed under LGPL v3.
|
- [](http://opensource.org/licenses/MIT)
|
||||||
See the LICENSE.txt for details or go to http://www.gnu.org/licenses/lgpl-3.0.txt for more information.
|
* Applied Energistics 2
|
||||||
|
- (c) 2013 - 2020 AlgorithmX2 et al
|
||||||
Textures and Models are licensed under Creative Commons 3.
|
- [](https://raw.githubusercontent.com/AppliedEnergistics/Applied-Energistics-2/rv2/LICENSE)
|
||||||
|
* Textures and Models
|
||||||
|
- (c) 2013 - 2020 AlgorithmX2 et al
|
||||||
|
- [](https://creativecommons.org/licenses/by-nc-sa/3.0/)
|
||||||
|
* Text and Translations
|
||||||
|
- [](https://creativecommons.org/publicdomain/zero/1.0/)
|
||||||
|
|
||||||
## Downloads
|
## Downloads
|
||||||
|
|
||||||
@@ -45,42 +55,34 @@ You install this mod by putting it into the `minecraft/mods/` folder. It has no
|
|||||||
|
|
||||||
Applied Energistics 2 crashing, have a suggestion, found a bug? Create an issue now!
|
Applied Energistics 2 crashing, have a suggestion, found a bug? Create an issue now!
|
||||||
|
|
||||||
1. Make sure your issue hasn't already been answered or fixed. Also think about whether your issue is a valid one before submitting it.
|
1. Make sure your issue has not already been answered or fixed and you are using the latest version. Also think about whether your issue is a valid one before submitting it.
|
||||||
2. Go to [the issues page](https://github.com/AppliedEnergistics/Applied-Energistics-2/issues)
|
* If it is already possible with vanilla and AE2 itself, the suggestion will be considered invalid.
|
||||||
3. Click new issue
|
* Asking for a smaller version, more compact version, or more efficient version of something will also be considered invalid.
|
||||||
4. Enter your Issue's title (something that summarizes your issue), and then create a detailed description of the issue.
|
2. Go to [the issues page](https://github.com/AppliedEnergistics/Applied-Energistics-2/issues) and click [new issue](https://github.com/AppliedEnergistics/Applied-Energistics-2/issues/new)
|
||||||
* To help in resolving your issues please try to include the follow if applicable:
|
3. If applicable, use on of the provided templates. It will also contain further details about required or useful information to add.
|
||||||
* The problem that is happening?
|
4. Click `Submit New Issue`, and wait for feedback!
|
||||||
* What was expected?
|
|
||||||
* How to reproduce the problem?
|
Providing as many details as possible does help us to find and resolve the issue faster and also you getting a fixed version as fast as possible.
|
||||||
* Server or Single Player?
|
|
||||||
* Mod Pack using and version?
|
Please note that we might close any issue not matching these requirements.
|
||||||
* Crash log (Please make sure to use [pastebin](http://pastebin.com/) for the log file)
|
|
||||||
* Screen shots or Pictures of the problem
|
|
||||||
5. Click `Submit New Issue`, and wait for feedback!
|
|
||||||
|
|
||||||
## Building
|
## Building
|
||||||
|
|
||||||
1. Clone this repository via
|
1. Clone this repository via
|
||||||
- SSH `git clone git@github.com:AppliedEnergistics/Applied-Energistics-2.git` or
|
- SSH `git clone git@github.com:AppliedEnergistics/Applied-Energistics-2.git` or
|
||||||
- HTTPS `git clone https://github.com/AppliedEnergistics/Applied-Energistics-2.git`
|
- HTTPS `git clone https://github.com/AppliedEnergistics/Applied-Energistics-2.git`
|
||||||
2. Setup workspace
|
2. Build using the gradle `build` task. Jar will be in `build/libs`
|
||||||
- Decompiled source `gradlew setupDecompWorkspace`
|
3. For core developer: Setup IDE
|
||||||
- Obfuscated source `gradlew setupDevWorkspace`
|
- IntelliJ: Import as gradle project
|
||||||
- CI server `gradlew setupCIWorkspace`
|
- Eclipse: Import as gradle project or execute gradle task `eclipse` and potentially `genEclipseRuns`
|
||||||
3. Build `gradlew build`. Jar will be in `build/libs`
|
|
||||||
4. For core developer: Setup IDE
|
|
||||||
- IntelliJ: Import into IDE and execute `gradlew genIntellijRuns` afterwards
|
|
||||||
- Eclipse: execute `gradlew eclipse`
|
|
||||||
5. For add-on developer: Core-Mod Detection
|
|
||||||
- In order to have FML detect AE from your dev environment, add the following VM Option to your run profile
|
|
||||||
- `-Dfml.coreMods.load=appeng.transformer.AppEngCore`
|
|
||||||
|
|
||||||
## Contribution
|
## Contribution
|
||||||
|
|
||||||
Before you want to add major changes, you might want to discuss them with us first, before wasting your time.
|
Before you want to add major changes, you might want to discuss them with us first, before wasting your time.
|
||||||
If you are still willing to contribute to this project, you can contribute via [Pull-Request](https://help.github.com/articles/creating-a-pull-request).
|
If you are still willing to contribute to this project, you can contribute via [Pull-Request](https://help.github.com/articles/creating-a-pull-request).
|
||||||
|
|
||||||
|
The [guidelines for contributing](https://github.com/AppliedEnergistics/Applied-Energistics-2/blob/master/.github/CONTRIBUTING.md) contain more detailed information about topics like the used code style and should also be considered.
|
||||||
|
|
||||||
Here are a few things to keep in mind that will help get your PR approved.
|
Here are a few things to keep in mind that will help get your PR approved.
|
||||||
|
|
||||||
* A PR should be focused on content. Any PRs where the changes are only syntax will be rejected.
|
* A PR should be focused on content. Any PRs where the changes are only syntax will be rejected.
|
||||||
@@ -91,7 +93,7 @@ Here are a few things to keep in mind that will help get your PR approved.
|
|||||||
- Does your feature simplify another feature of AE2? These changes will not be accepted.
|
- Does your feature simplify another feature of AE2? These changes will not be accepted.
|
||||||
- If your feature can be done by any popular mod, discuss with us first.
|
- If your feature can be done by any popular mod, discuss with us first.
|
||||||
|
|
||||||
Getting Started
|
**Getting Started**
|
||||||
|
|
||||||
1. Fork this repository
|
1. Fork this repository
|
||||||
2. Clone the fork via
|
2. Clone the fork via
|
||||||
@@ -99,11 +101,11 @@ Getting Started
|
|||||||
* HTTPS `git clone https://github.com/<your username>/Applied-Energistics-2.git`
|
* HTTPS `git clone https://github.com/<your username>/Applied-Energistics-2.git`
|
||||||
3. Change code base
|
3. Change code base
|
||||||
4. Add changes to git `git add -A`
|
4. Add changes to git `git add -A`
|
||||||
5. Commit changes to your clone `git commit -m "<summery of made changes>"`
|
5. Commit changes to your clone `git commit -m "<summary of made changes>"`
|
||||||
6. Push to your fork `git push`
|
6. Push to your fork `git push`
|
||||||
7. Create a Pull-Request on GitHub
|
7. Create a Pull-Request on GitHub
|
||||||
8. Wait for review
|
8. Wait for review
|
||||||
9. Suqash commits for cleaner history
|
9. Squash commits for cleaner history
|
||||||
|
|
||||||
If you are only doing single file pull requests, GitHub supports using a quick way without the need of cloning your fork. Also read up about [synching](https://help.github.com/articles/syncing-a-fork) if you plan to contribute on regular basis.
|
If you are only doing single file pull requests, GitHub supports using a quick way without the need of cloning your fork. Also read up about [synching](https://help.github.com/articles/syncing-a-fork) if you plan to contribute on regular basis.
|
||||||
|
|
||||||
@@ -111,21 +113,61 @@ If you are only doing single file pull requests, GitHub supports using a quick w
|
|||||||
|
|
||||||
The API for Applied Energistics 2. It is open source to discuss changes, improve documentation, and provide better add-on support in general.
|
The API for Applied Energistics 2. It is open source to discuss changes, improve documentation, and provide better add-on support in general.
|
||||||
|
|
||||||
Development and standard builds can be obtained [Here](http://ae2.ae-mod.info/Downloads/).
|
Universal builds obtained [Here](http://ae2.ae-mod.info/Downloads/) should work in a development environment.
|
||||||
|
|
||||||
### Maven
|
### Maven
|
||||||
|
|
||||||
When compiling against the AE2 API you can use gradle dependencies, just add
|
When compiling against the AE2 API you can use gradle dependencies, just add
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile "appeng:appliedenergistics2:rv_-_____-__:dev"
|
compile "appeng:appliedenergistics2:rv_-_____-__:api"
|
||||||
}
|
}
|
||||||
|
|
||||||
or add the compile line to your existing dependencies task to your build.gradle
|
or add the compile line to your existing dependencies task to your build.gradle
|
||||||
|
|
||||||
Where the __ are filled in with the correct version criteria; AE2 is available from the default forge maven so no additional repositories are necessary.
|
Where the __ are filled in with the correct version criteria; AE2 is available from the default forge maven so no additional repositories are necessary.
|
||||||
|
|
||||||
An example string would be `appeng:appliedenergistics2:rv2-alpha-30:dev`
|
An example string would be `appeng:appliedenergistics2:rv5-stable-1:api` for the API only or `appeng:appliedenergistics2:rv5-stable-1` for the whole mod.
|
||||||
|
|
||||||
|
## Applied Energistics 2 CraftTweaker
|
||||||
|
|
||||||
|
### Inscriber
|
||||||
|
|
||||||
|
The inscriber uses the vanilla recipe system with a custom `type` of `appliedenergistics2:inscriber`.
|
||||||
|
See the [inscriber recipe folder](src/main/resources/data/appliedenergistics2/recipes/inscriber) for some examples.
|
||||||
|
|
||||||
|
### Grindstone
|
||||||
|
|
||||||
|
The grindstone uses the vanilla recipe system with a custom `type` of `appliedenergistics2:grinder`.
|
||||||
|
See the [grinder recipe folder](src/main/resources/data/appliedenergistics2/recipes/grinder) for some examples.
|
||||||
|
|
||||||
|
### Spatial
|
||||||
|
Whitelist a TileEntity class for Spatial IO.
|
||||||
|
|
||||||
|
mods.appliedenergistics2.Spatial.whitelistEntity( String fullEntityClassName );
|
||||||
|
|
||||||
|
### Attunement
|
||||||
|
Attune a ItemStack or ModID to a specific P2P-Tunnel type. ModID's are used as fallback when no ItemStack was found.
|
||||||
|
|
||||||
|
mods.appliedenergistics2.Attunement.attuneME( ItemStack itemStack );
|
||||||
|
mods.appliedenergistics2.Attunement.attuneME( String modID );
|
||||||
|
mods.appliedenergistics2.Attunement.attuneItem( ItemStack itemStack );
|
||||||
|
mods.appliedenergistics2.Attunement.attuneItem( String modID );
|
||||||
|
mods.appliedenergistics2.Attunement.attuneFluid( ItemStack itemStack );
|
||||||
|
mods.appliedenergistics2.Attunement.attuneFluid( String modID );
|
||||||
|
mods.appliedenergistics2.Attunement.attuneRedstone( ItemStack itemStack );
|
||||||
|
mods.appliedenergistics2.Attunement.attuneRedstone( String modID );
|
||||||
|
mods.appliedenergistics2.Attunement.attuneRF( ItemStack itemStack );
|
||||||
|
mods.appliedenergistics2.Attunement.attuneRF( String modID );
|
||||||
|
mods.appliedenergistics2.Attunement.attuneIC2( ItemStack itemStack );
|
||||||
|
mods.appliedenergistics2.Attunement.attuneIC2( String modID );
|
||||||
|
mods.appliedenergistics2.Attunement.attuneLight( ItemStack itemStack );
|
||||||
|
mods.appliedenergistics2.Attunement.attuneLight( String modID );
|
||||||
|
|
||||||
|
### Cannon
|
||||||
|
Add ammo types for the matter cannon.
|
||||||
|
|
||||||
|
mods.appliedenergistics2.Cannon.registerAmmo( ItemStack itemStack, double weight );
|
||||||
|
|
||||||
## Applied Energistics 2 Localization
|
## Applied Energistics 2 Localization
|
||||||
|
|
||||||
@@ -137,13 +179,17 @@ An example string would be `appeng:appliedenergistics2:rv2-alpha-30:dev`
|
|||||||
|
|
||||||
Files must be encoded as UTF-8.
|
Files must be encoded as UTF-8.
|
||||||
|
|
||||||
### License
|
### New or updated Translations
|
||||||
|
|
||||||
All Text and Translations submitted here can be used for any purpose, and may be re-distributed or used without any limitations.
|
The language files are located in `/src/main/resources/assets/appliedenergistics2/lang/` and use the [appropriate locale code](http://minecraft.gamepedia.com/Language) as name and `.lang` as extension.
|
||||||
|
|
||||||
### New Translations
|
To update an translation edit the corresponding file and improve/correct the existing entry. Or copy any entries from `en_US.lang` for missing translation.
|
||||||
|
|
||||||
You can provide any additional languages by creating a new file with the [appropriate language code](http://download1.parallels.com/SiteBuilder/Windows/docs/3.2/en_US/sitebulder-3.2-win-sdk-localization-pack-creation-guide/30801.htm).
|
To create a new translation, copy the contents of `en_US.lang`, create a new file with appropriate filename, and translate it to your language.
|
||||||
|
|
||||||
|
Please keep in mind that we use [String format](https://docs.oracle.com/javase/8/docs/api/java/util/Formatter.html) to pass additional data to the text for displaying.
|
||||||
|
Therefore you should preserve parts like `%s` or `%1$d%%`, which allows us to replace them with the correct values while you still have the option to change their order for match the rules of grammar.
|
||||||
|
This might not be possible for some languages. Should this be the case, please contact us.
|
||||||
|
|
||||||
### Final Note
|
### Final Note
|
||||||
|
|
||||||
|
|||||||
+124
-72
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* This file is part of Applied Energistics 2.
|
* This file is part of Applied Energistics 2.
|
||||||
* Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved.
|
* Copyright (c) 2013 - 2015, AlgorithmX2, All rights reserved.
|
||||||
*
|
*
|
||||||
* Applied Energistics 2 is free software: you can redistribute it and/or modify
|
* Applied Energistics 2 is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Lesser General Public License as published by
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
@@ -16,99 +16,151 @@
|
|||||||
* along with Applied Energistics 2. If not, see <http://www.gnu.org/licenses/lgpl>.
|
* along with Applied Energistics 2. If not, see <http://www.gnu.org/licenses/lgpl>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
apply plugin: 'forge'
|
|
||||||
|
|
||||||
apply from: 'gradle/scripts/propertyloader.gradle'
|
|
||||||
apply from: 'gradle/scripts/dependencies.gradle'
|
|
||||||
apply from: 'gradle/scripts/artifacts.gradle'
|
|
||||||
apply from: 'gradle/scripts/autoinstallruntime.gradle'
|
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
|
maven { url = 'https://files.minecraftforge.net/maven' }
|
||||||
|
jcenter()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
|
||||||
maven {
|
|
||||||
name = "forge"
|
|
||||||
url = "http://files.minecraftforge.net/maven"
|
|
||||||
}
|
|
||||||
|
|
||||||
maven {
|
|
||||||
name = "sonatype"
|
|
||||||
url = "https://oss.sonatype.org/content/repositories/snapshots/"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'
|
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.+', changing: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
configurations.all {
|
plugins {
|
||||||
resolutionStrategy.cacheDynamicVersionsFor 7200, 'hours'
|
id "maven-publish"
|
||||||
|
id "com.diffplug.gradle.spotless" version "4.3.0"
|
||||||
|
id "org.sonarqube" version "2.8"
|
||||||
|
id "jacoco"
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceCompatibility = JavaVersion.VERSION_1_6
|
apply plugin: 'net.minecraftforge.gradle'
|
||||||
targetCompatibility = JavaVersion.VERSION_1_6
|
apply plugin: "eclipse"
|
||||||
|
|
||||||
version = config.version + "-" + config.aechannel + "-" + config.build
|
repositories {
|
||||||
group = config.group
|
mavenLocal()
|
||||||
archivesBaseName = config.archivesBaseName
|
jcenter()
|
||||||
|
mavenCentral()
|
||||||
// If TeamCity is running this build, lets set the version info
|
|
||||||
if (hasProperty("teamcity")) {
|
|
||||||
version = teamcity["build.number"]
|
|
||||||
|
|
||||||
// Fix for main branch being built
|
|
||||||
version = version.replaceAll("/", "-")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add Coremod Manifest
|
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
|
||||||
jar {
|
compileJava {
|
||||||
manifest {
|
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
|
||||||
attributes 'FMLCorePlugin': 'appeng.transformer.AppEngCore'
|
|
||||||
attributes 'FMLCorePluginContainsFMLMod': 'true'
|
|
||||||
}
|
|
||||||
|
|
||||||
// specify which files are really included, can control which APIs should be in
|
|
||||||
include "appeng/**"
|
|
||||||
include "assets/**"
|
|
||||||
include "mcmod.info"
|
|
||||||
include "pack.mcmeta"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
minecraft {
|
// ensure everything uses UTF-8 and not some random codepage chosen by gradle
|
||||||
version = config.minecraft_version + "-" + config.forge_version
|
compileJava.options.encoding = 'UTF-8'
|
||||||
|
tasks.withType(JavaCompile) {
|
||||||
replace "@version@", project.version
|
options.encoding = 'UTF-8'
|
||||||
replace "@aechannel@", config.aechannel
|
|
||||||
|
|
||||||
// used when launching minecraft in dev env
|
|
||||||
runDir = "run"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Create version number
|
||||||
|
version = version_major + "." + version_minor + "." + version_patch
|
||||||
|
|
||||||
|
ext.pr = System.getenv('PR_NUMBER') ?: ""
|
||||||
|
if (ext.pr) {
|
||||||
|
version = version + "+pr." + ext.pr
|
||||||
|
}
|
||||||
|
|
||||||
|
ext.branch = System.getenv('BRANCH') ?: ""
|
||||||
|
if (ext.branch) {
|
||||||
|
version = version + "+branch." + ext.branch
|
||||||
|
}
|
||||||
|
|
||||||
|
ext.release = System.getenv('RELEASE') ?: ""
|
||||||
|
if (ext.release) {
|
||||||
|
version = ext.release.substring(1)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Maven group and artifact name
|
||||||
|
group = artifact_group
|
||||||
|
archivesBaseName = artifact_basename
|
||||||
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
|
api
|
||||||
main {
|
main {
|
||||||
java {
|
compileClasspath += sourceSets.api.output
|
||||||
srcDirs += 'src/api/java'
|
runtimeClasspath += sourceSets.api.output
|
||||||
srcDirs += 'src/main/java/'
|
|
||||||
}
|
|
||||||
|
|
||||||
resources {
|
resources {
|
||||||
srcDir "src/main/resources/"
|
srcDir 'src/generated/resources'
|
||||||
include "assets/appliedenergistics2/recipes/*.recipe",
|
}
|
||||||
"assets/appliedenergistics2/lang/*.lang",
|
}
|
||||||
"assets/appliedenergistics2/textures/blocks/*",
|
test {
|
||||||
"assets/appliedenergistics2/textures/guis/*",
|
compileClasspath += sourceSets.api.output
|
||||||
"assets/appliedenergistics2/textures/models/*",
|
runtimeClasspath += sourceSets.api.output
|
||||||
"assets/appliedenergistics2/textures/items/*"
|
java {
|
||||||
|
exclude '**/*'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
processResources {
|
configurations {
|
||||||
// replace stuff in mcmod.info, nothing else
|
apiCompile.extendsFrom(compile)
|
||||||
from(sourceSets.main.resources.srcDirs) {
|
}
|
||||||
include 'mcmod.info'
|
|
||||||
expand 'version': project.version, 'mcversion': config.minecraft_version
|
apply from: 'gradle/scripts/dependencies.gradle'
|
||||||
|
apply from: 'gradle/scripts/spotless.gradle'
|
||||||
|
|
||||||
|
minecraft {
|
||||||
|
mappings channel: "snapshot", version: project.mcp_mappings
|
||||||
|
|
||||||
|
accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')
|
||||||
|
|
||||||
|
runs {
|
||||||
|
client {
|
||||||
|
property 'forge.logging.console.level', 'debug'
|
||||||
|
workingDirectory project.file('run')
|
||||||
|
mods {
|
||||||
|
appliedenergistics2 {
|
||||||
|
source sourceSets.main
|
||||||
|
source sourceSets.api
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
server {
|
||||||
|
property 'forge.logging.console.level', 'debug'
|
||||||
|
workingDirectory project.file('run')
|
||||||
|
mods {
|
||||||
|
appliedenergistics2 {
|
||||||
|
source sourceSets.main
|
||||||
|
source sourceSets.api
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
data {
|
||||||
|
property 'forge.logging.console.level', 'debug'
|
||||||
|
workingDirectory project.file('run')
|
||||||
|
args '--mod', 'appliedenergistics2', '--all', '--output', file('src/generated/resources/')
|
||||||
|
mods {
|
||||||
|
appliedenergistics2 {
|
||||||
|
source sourceSets.main
|
||||||
|
source sourceSets.api
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
apply from: 'gradle/scripts/artifacts.gradle'
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
maven(MavenPublication) {
|
||||||
|
groupId = project.group
|
||||||
|
artifactId = project.archivesBaseName
|
||||||
|
version = project.version
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
repositories {
|
||||||
|
maven {
|
||||||
|
credentials {
|
||||||
|
username System.getenv("GITHUB_ACTOR")
|
||||||
|
password System.getenv("GITHUB_TOKEN")
|
||||||
|
}
|
||||||
|
name = "GitHubPackages"
|
||||||
|
url = "https://maven.pkg.github.com/AppliedEnergistics/Applied-Energistics-2"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,41 +0,0 @@
|
|||||||
version=rv2
|
|
||||||
aechannel=beta
|
|
||||||
build=0
|
|
||||||
group=appeng
|
|
||||||
archivesBaseName=appliedenergistics2
|
|
||||||
|
|
||||||
#########################################################
|
|
||||||
# Versions #
|
|
||||||
#########################################################
|
|
||||||
minecraft_version=1.7.10
|
|
||||||
forge_version=10.13.2.1230
|
|
||||||
|
|
||||||
#########################################################
|
|
||||||
# APIs used for development #
|
|
||||||
#########################################################
|
|
||||||
cb_minecraft_version=1.7.10
|
|
||||||
fmp_version=1.1.0.311
|
|
||||||
code_chicken_lib_version=1.1.1.105
|
|
||||||
code_chicken_core_version=1.0.4.29
|
|
||||||
nei_version=1.0.3.66
|
|
||||||
waila_version=1.5.5_1.7.10
|
|
||||||
|
|
||||||
#########################################################
|
|
||||||
# API Stubs #
|
|
||||||
# Note: Do not edit these version numbers as they are #
|
|
||||||
# not the version of the mod, but stub code for AE2 to #
|
|
||||||
# compile #
|
|
||||||
#########################################################
|
|
||||||
api_betterstorage_version=1
|
|
||||||
api_coloredlightscore_version=1
|
|
||||||
api_craftguide_version=1
|
|
||||||
api_ic2_version=1
|
|
||||||
api_immibis_version=1
|
|
||||||
api_invtweaks_version=1
|
|
||||||
api_mekansim_version=1
|
|
||||||
api_mfr_version=1
|
|
||||||
api_railcraft_version=1
|
|
||||||
api_rblocks_version=1
|
|
||||||
api_rf_version=2
|
|
||||||
api_rotarycraft_version=1
|
|
||||||
dev_buildcraft_version=1
|
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
#Organize Import Order
|
||||||
|
#Sat Jun 13 15:22:41 CEST 2015
|
||||||
|
8=appeng
|
||||||
|
7=
|
||||||
|
6=cpw
|
||||||
|
5=net
|
||||||
|
4=io
|
||||||
|
3=org
|
||||||
|
2=com
|
||||||
|
1=javax
|
||||||
|
0=java
|
||||||
@@ -1,92 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
|
|
||||||
|
|
||||||
<!--
|
|
||||||
This configuration file was written by the eclipse-cs plugin configuration editor
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
Checkstyle-Configuration: AE2
|
|
||||||
Description: none
|
|
||||||
-->
|
|
||||||
<module name="Checker">
|
|
||||||
<property name="severity" value="warning"/>
|
|
||||||
<module name="TreeWalker">
|
|
||||||
<property name="tabWidth" value="4"/>
|
|
||||||
<module name="ConstantName"/>
|
|
||||||
<module name="LocalFinalVariableName"/>
|
|
||||||
<module name="LocalVariableName"/>
|
|
||||||
<module name="MemberName"/>
|
|
||||||
<module name="MethodName"/>
|
|
||||||
<module name="PackageName"/>
|
|
||||||
<module name="ParameterName"/>
|
|
||||||
<module name="StaticVariableName"/>
|
|
||||||
<module name="TypeName"/>
|
|
||||||
<module name="AvoidStarImport"/>
|
|
||||||
<module name="IllegalImport"/>
|
|
||||||
<module name="RedundantImport"/>
|
|
||||||
<module name="UnusedImports"/>
|
|
||||||
<module name="EmptyForIteratorPad"/>
|
|
||||||
<module name="MethodParamPad"/>
|
|
||||||
<module name="NoWhitespaceAfter">
|
|
||||||
<property name="tokens" value="BNOT,DEC,DOT,INC,LNOT,UNARY_MINUS,UNARY_PLUS"/>
|
|
||||||
</module>
|
|
||||||
<module name="NoWhitespaceBefore"/>
|
|
||||||
<module name="OperatorWrap"/>
|
|
||||||
<module name="ParenPad">
|
|
||||||
<property name="option" value="space"/>
|
|
||||||
</module>
|
|
||||||
<module name="TypecastParenPad">
|
|
||||||
<property name="option" value="space"/>
|
|
||||||
<property name="tokens" value="RPAREN,TYPECAST"/>
|
|
||||||
</module>
|
|
||||||
<module name="WhitespaceAfter"/>
|
|
||||||
<module name="WhitespaceAround"/>
|
|
||||||
<module name="ModifierOrder"/>
|
|
||||||
<module name="RedundantModifier"/>
|
|
||||||
<module name="AvoidNestedBlocks"/>
|
|
||||||
<module name="EmptyBlock">
|
|
||||||
<property name="severity" value="ignore"/>
|
|
||||||
<metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
|
|
||||||
</module>
|
|
||||||
<module name="LeftCurly">
|
|
||||||
<property name="option" value="nl"/>
|
|
||||||
</module>
|
|
||||||
<module name="NeedBraces"/>
|
|
||||||
<module name="RightCurly">
|
|
||||||
<property name="option" value="alone"/>
|
|
||||||
</module>
|
|
||||||
<module name="AvoidInlineConditionals">
|
|
||||||
<property name="severity" value="ignore"/>
|
|
||||||
<metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
|
|
||||||
</module>
|
|
||||||
<module name="EmptyStatement"/>
|
|
||||||
<module name="EqualsHashCode"/>
|
|
||||||
<module name="HiddenField"/>
|
|
||||||
<module name="IllegalInstantiation"/>
|
|
||||||
<module name="InnerAssignment"/>
|
|
||||||
<module name="MagicNumber"/>
|
|
||||||
<module name="MissingSwitchDefault"/>
|
|
||||||
<module name="RedundantThrows">
|
|
||||||
<property name="suppressLoadErrors" value="true"/>
|
|
||||||
</module>
|
|
||||||
<module name="SimplifyBooleanExpression"/>
|
|
||||||
<module name="SimplifyBooleanReturn"/>
|
|
||||||
<module name="FinalClass"/>
|
|
||||||
<module name="HideUtilityClassConstructor"/>
|
|
||||||
<module name="InterfaceIsType"/>
|
|
||||||
<module name="VisibilityModifier"/>
|
|
||||||
<module name="ArrayTypeStyle"/>
|
|
||||||
<module name="FinalParameters"/>
|
|
||||||
<module name="UpperEll"/>
|
|
||||||
</module>
|
|
||||||
<module name="Translation"/>
|
|
||||||
<module name="RegexpSingleline">
|
|
||||||
<property name="format" value="\s+$"/>
|
|
||||||
<property name="message" value="Line has trailing spaces."/>
|
|
||||||
</module>
|
|
||||||
<module name="Header">
|
|
||||||
<property name="severity" value="error"/>
|
|
||||||
<property name="headerFile" value="${config_loc}/copyright.txt"/>
|
|
||||||
<property name="fileExtensions" value="java"/>
|
|
||||||
</module>
|
|
||||||
</module>
|
|
||||||
@@ -0,0 +1,365 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<profiles version="18">
|
||||||
|
<profile kind="CodeFormatterProfile" name="AE2" version="18">
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_ellipsis" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_for_statment" value="common_lines"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_logical_operator" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_method_invocation" value="common_lines"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_imports" value="1"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_switch_statement" value="common_lines"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.format_javadoc_comments" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.indentation.size" value="4"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_enum_constant_declaration" value="common_lines"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_arrow_in_switch_default" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.align_with_spaces" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@formatter:off"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.continuation_indentation" value="2"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.number_of_blank_lines_before_code_block" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_switch_case_expressions" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_imports" value="1"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.number_of_blank_lines_at_end_of_method_body" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_package" value="1"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_if_while_statement" value="common_lines"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.indent_root_tags" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.enabling_tag" value="@formatter:on"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.count_line_length_from_starting_position" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_arrow_in_switch_case" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_before_multiplicative_operator" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations" value="1"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameterized_type_references" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_logical_operator" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_annotation_declaration_on_one_line" value="one_line_never"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_enum_constant" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_multiplicative_operator" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_block" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration" value="end_of_line"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.align_tags_descriptions_grouped" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.line_length" value="80"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.use_on_off_tags" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_method_body_on_one_line" value="one_line_never"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_loop_body_block_on_one_line" value="one_line_never"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_method_declaration" value="end_of_line"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_abstract_method" value="1"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_enum_constant_declaration_on_one_line" value="one_line_never"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.align_variable_declarations_on_columns" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_type_declaration_on_one_line" value="one_line_never"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_catch_clause" value="common_lines"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_additive_operator" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_relational_operator" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_multiplicative_operator" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_anonymous_type_declaration_on_one_line" value="one_line_never"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_switch_case_expressions" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_before_shift_operator" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block" value="end_of_line"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration" value="end_of_line"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_lambda_body" value="end_of_line"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.number_of_blank_lines_at_end_of_code_block" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.compact_else_if" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_bitwise_operator" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_type_parameters" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_compact_loops" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_simple_for_body_on_same_line" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_relational_operator" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_unary_operator" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve" value="1"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_annotation" value="common_lines"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_ellipsis" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_additive_operator" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_string_concatenation" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.format_line_comments" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.text_block_indentation" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.align_type_members_on_columns" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_assignment" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_module_statements" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.number_of_blank_lines_after_code_block" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.align_tags_names_descriptions" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_if_then_body_block_on_one_line" value="one_line_never"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_conditional_expression" value="80"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.align_assignment_statements_on_columns" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration" value="end_of_line"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block_in_case" value="end_of_line"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_arrow_in_switch_default" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_between_different_tags" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_conditional_expression_chain" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.format_header" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_additive_operator" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_method_declaration" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.join_wrapped_lines" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_before_conditional_operator" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_shift_operator" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.align_fields_grouping_blank_lines" value="2147483647"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_bitwise_operator" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration" value="end_of_line"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_resources_in_try" value="80"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_try_clause" value="common_lines"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_code_block_on_one_line" value="one_line_never"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.tabulation.size" value="4"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_bitwise_operator" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.format_source_code" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_field" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer" value="2"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_method" value="1"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_before_assignment_operator" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_not_operator" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_switch" value="end_of_line"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.format_html" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_method_delcaration" value="common_lines"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_compact_if" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_lambda_body_block_on_one_line" value="one_line_never"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.indent_empty_lines" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_type_arguments" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_unary_operator" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk" value="1"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_label" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_arrow_in_switch_case" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_member_type" value="1"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_logical_operator" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_before_bitwise_operator" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_before_relational_operator" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.format_block_comments" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.indent_tag_description" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_string_concatenation" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_last_class_body_declaration" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_body" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_multiple_fields" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_simple_while_body_on_same_line" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_array_initializer" value="end_of_line"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_before_logical_operator" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_shift_operator" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_between_statement_group_in_switch" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_lambda_declaration" value="common_lines"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_shift_operator" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_simple_do_while_body_on_same_line" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_enum_declaration_on_one_line" value="one_line_never"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_constant" value="end_of_line"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_type_declaration" value="end_of_line"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_multiplicative_operator" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_package" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_expressions_in_for_loop_header" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_before_additive_operator" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_simple_getter_setter_on_one_line" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_string_concatenation" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.join_lines_in_comments" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.indent_parameter_description" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_code_block" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.tabulation.char" value="space"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_relational_operator" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_before_string_concatenation" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_between_import_groups" value="1"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.lineSplit" value="120"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch" value="insert"/>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
#Organize Import Order
|
|
||||||
#Thu Oct 09 12:52:21 CEST 2014
|
|
||||||
6=
|
|
||||||
5=cpw
|
|
||||||
4=net
|
|
||||||
3=io
|
|
||||||
2=org
|
|
||||||
1=com
|
|
||||||
0=java
|
|
||||||
7=appeng
|
|
||||||
@@ -1,295 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<profiles version="12">
|
|
||||||
<profile kind="CodeFormatterProfile" name="Algo" version="12">
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_ellipsis" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_imports" value="2"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.format_javadoc_comments" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indentation.size" value="4"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@formatter:off"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.continuation_indentation" value="2"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_imports" value="1"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_package" value="2"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_binary_operator" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.indent_root_tags" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.enabling_tag" value="@formatter:on"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations" value="2"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.compiler.problem.enumIdentifier" value="error"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_block" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration" value="end_of_line"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.line_length" value="120"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.use_on_off_tags" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_method_declaration" value="next_line"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_binary_expression" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block" value="next_line"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration" value="next_line"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_lambda_body" value="end_of_line"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.compact_else_if" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.compiler.problem.assertIdentifier" value="error"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_binary_operator" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_unary_operator" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve" value="1"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_ellipsis" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.format_line_comments" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.align_type_members_on_columns" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_assignment" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_conditional_expression" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration" value="next_line"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block_in_case" value="next_line"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.format_header" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode" value="enabled"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_method_declaration" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.join_wrapped_lines" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration" value="next_line"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_resources_in_try" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.compiler.source" value="1.8"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.tabulation.size" value="4"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.format_source_code" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_field" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer" value="2"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_method" value="1"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.compiler.codegen.targetPlatform" value="1.8"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_switch" value="next_line"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.format_html" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_compact_if" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indent_empty_lines" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_unary_operator" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk" value="1"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_label" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_member_type" value="1"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.format_block_comments" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration" value="0"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_body" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_multiple_fields" value="16"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_array_initializer" value="end_of_line"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.wrap_before_binary_operator" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.compiler.compliance" value="1.8"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_constant" value="next_line"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_type_declaration" value="next_line"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_package" value="1"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.join_lines_in_comments" value="false"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.indent_parameter_description" value="true"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.tabulation.char" value="tab"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations" value="do not insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_between_import_groups" value="1"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.lineSplit" value="160"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation" value="insert"/>
|
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch" value="insert"/>
|
|
||||||
</profile>
|
|
||||||
</profiles>
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
This file is part of Applied Energistics 2.
|
This file is part of Applied Energistics 2.
|
||||||
Copyright (c) 2013 - $today.year, AlgorithmX2, All rights reserved.
|
Copyright (c) 2013 - $YEAR, AlgorithmX2, All rights reserved.
|
||||||
|
|
||||||
Applied Energistics 2 is free software: you can redistribute it and/or modify
|
Applied Energistics 2 is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
|||||||
@@ -0,0 +1,34 @@
|
|||||||
|
version_major=0
|
||||||
|
version_minor=0
|
||||||
|
version_patch=0
|
||||||
|
|
||||||
|
artifact_group=appeng
|
||||||
|
artifact_basename=appliedenergistics2
|
||||||
|
|
||||||
|
#########################################################
|
||||||
|
# Minecraft Versions #
|
||||||
|
#########################################################
|
||||||
|
minecraft_release=1.15
|
||||||
|
minecraft_version=1.15.2
|
||||||
|
mcp_mappings=20200613-1.15.1
|
||||||
|
forge_version=31.2.20
|
||||||
|
|
||||||
|
#########################################################
|
||||||
|
# Provided APIs #
|
||||||
|
#########################################################
|
||||||
|
jei_version=6.0.0.4
|
||||||
|
top_version=2.0.4-5
|
||||||
|
hwyla_version=1.10.8-B72_1.15.2
|
||||||
|
ctm_version=MC1.15.2-1.1.0.9
|
||||||
|
|
||||||
|
#########################################################
|
||||||
|
# Deployment #
|
||||||
|
#########################################################
|
||||||
|
website_version=1.15.2
|
||||||
|
curse_versions=1.15.2
|
||||||
|
|
||||||
|
#########################################################
|
||||||
|
# Gradle #
|
||||||
|
#########################################################
|
||||||
|
# Various tasks like runData will fail when run as daemon
|
||||||
|
org.gradle.daemon=false
|
||||||
@@ -1,43 +1,78 @@
|
|||||||
task myJavadocs(type: Javadoc) {
|
/*
|
||||||
|
* This file is part of Applied Energistics 2.
|
||||||
|
* Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved.
|
||||||
|
*
|
||||||
|
* Applied Energistics 2 is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Applied Energistics 2 is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
|
* along with Applied Energistics 2. If not, see <http://www.gnu.org/licenses/lgpl>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
processResources {
|
||||||
|
exclude '.cache'
|
||||||
|
}
|
||||||
|
|
||||||
|
jar {
|
||||||
|
from sourceSets.main.output.classesDirs
|
||||||
|
from sourceSets.api.output.classesDirs
|
||||||
|
from sourceSets.main.output.resourcesDir
|
||||||
|
from sourceSets.api.output.resourcesDir
|
||||||
|
|
||||||
|
manifest {
|
||||||
|
attributes([
|
||||||
|
"Specification-Title": "Applied Energistics 2",
|
||||||
|
"Specification-Vendor": "TeamAppliedEnergistics",
|
||||||
|
"Specification-Version": "${project.version}",
|
||||||
|
"Implementation-Title": "${project.name}",
|
||||||
|
"Implementation-Version": "${project.version}",
|
||||||
|
"Implementation-Vendor" :"TeamAppliedEnergistics",
|
||||||
|
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"),
|
||||||
|
])
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
task javadocs(type: Javadoc) {
|
||||||
|
classpath = sourceSets.main.compileClasspath
|
||||||
source = sourceSets.api.java
|
source = sourceSets.api.java
|
||||||
include "appeng/api/**"
|
include "appeng/api/**"
|
||||||
|
|
||||||
classpath = configurations.compile
|
options.addStringOption('Xdoclint:none', '-quiet')
|
||||||
|
options.encoding = 'UTF-8'
|
||||||
|
options.charSet = 'UTF-8'
|
||||||
}
|
}
|
||||||
|
|
||||||
task javadocJar(type: Jar, dependsOn: myJavadocs) {
|
task javadocJar(type: Jar, dependsOn: javadocs) {
|
||||||
classifier = 'javadoc'
|
classifier = "javadoc"
|
||||||
from 'build/docs/javadoc/'
|
from javadoc.destinationDir
|
||||||
}
|
}
|
||||||
|
|
||||||
task devJar(type: Jar) {
|
task sourcesJar(type: Jar) {
|
||||||
|
classifier = "sources"
|
||||||
manifest {
|
from sourceSets.main.allJava
|
||||||
attributes 'FMLCorePlugin': 'appeng.transformer.AppEngCore'
|
from sourceSets.api.allJava
|
||||||
attributes 'FMLCorePluginContainsFMLMod': 'true'
|
|
||||||
}
|
|
||||||
|
|
||||||
from(sourceSets.main.output) {
|
|
||||||
include "appeng/**"
|
|
||||||
include "assets/**"
|
|
||||||
include 'mcmod.info'
|
|
||||||
}
|
|
||||||
|
|
||||||
classifier = 'dev'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
task apiJar(type: Jar) {
|
task apiJar(type: Jar) {
|
||||||
|
classifier = "api"
|
||||||
|
from sourceSets.api.output
|
||||||
|
include "appeng/api/**"
|
||||||
|
|
||||||
from(sourceSets.api.java) {
|
// TODO: when FG bug is fixed, remove allJava from the api jar.
|
||||||
include "appeng/api/**"
|
// https://github.com/MinecraftForge/ForgeGradle/issues/369
|
||||||
}
|
// Gradle should be able to pull them from the -sources jar.
|
||||||
|
from sourceSets.api.allJava
|
||||||
classifier = 'api'
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
artifacts {
|
artifacts {
|
||||||
archives devJar
|
|
||||||
archives apiJar
|
|
||||||
archives javadocJar
|
archives javadocJar
|
||||||
|
archives sourcesJar
|
||||||
|
archives apiJar
|
||||||
}
|
}
|
||||||
@@ -1,34 +0,0 @@
|
|||||||
// searches for NEI and Chicken stuff from compile set
|
|
||||||
// and adds them to the mods in run dir
|
|
||||||
task copyChicken(type: Copy, dependsOn: "extractUserDev") {
|
|
||||||
from { configurations.compile }
|
|
||||||
include "**/*Chicken*.jar", "**/*NotEnoughItems*.jar"
|
|
||||||
exclude "**/CodeChickenLib*" // because CCC downloads it anyways.. -_-
|
|
||||||
into file(minecraft.runDir + "/mods")
|
|
||||||
mustRunAfter "deobfBinJar"
|
|
||||||
mustRunAfter "repackMinecraft"
|
|
||||||
}
|
|
||||||
tasks.setupDevWorkspace.dependsOn copyChicken
|
|
||||||
tasks.setupDecompWorkspace.dependsOn copyChicken
|
|
||||||
|
|
||||||
// same for BC hacked file
|
|
||||||
task copyBuildcraft(type: Copy, dependsOn: "extractUserDev") {
|
|
||||||
from { configurations.compile }
|
|
||||||
include "**/*buildcraft*.jar"
|
|
||||||
into file(minecraft.runDir + "/mods")
|
|
||||||
mustRunAfter "deobfBinJar"
|
|
||||||
mustRunAfter "repackMinecraft"
|
|
||||||
}
|
|
||||||
tasks.setupDevWorkspace.dependsOn copyBuildcraft
|
|
||||||
tasks.setupDecompWorkspace.dependsOn copyBuildcraft
|
|
||||||
|
|
||||||
// and for IC2 because it needs its EMLJ jar
|
|
||||||
task copyIndustrialcraft(type: Copy, dependsOn: "extractUserDev") {
|
|
||||||
from { configurations.compile }
|
|
||||||
include "**/*industrialcraft*.jar"
|
|
||||||
into file(minecraft.runDir + "/mods")
|
|
||||||
mustRunAfter "deobfBinJar"
|
|
||||||
mustRunAfter "repackMinecraft"
|
|
||||||
}
|
|
||||||
tasks.setupDevWorkspace.dependsOn copyIndustrialcraft
|
|
||||||
tasks.setupDecompWorkspace.dependsOn copyIndustrialcraft
|
|
||||||
@@ -16,51 +16,72 @@
|
|||||||
* along with Applied Energistics 2. If not, see <http://www.gnu.org/licenses/lgpl>.
|
* along with Applied Energistics 2. If not, see <http://www.gnu.org/licenses/lgpl>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
mavenLocal()
|
||||||
|
|
||||||
maven {
|
maven { // modmaven, maven proxy
|
||||||
name 'CB Maven FS'
|
name 'modmaven'
|
||||||
url "http://chickenbones.net/maven/"
|
url "https://modmaven.k-4u.nl/"
|
||||||
}
|
}
|
||||||
|
|
||||||
maven {
|
maven {
|
||||||
name "Waila Mobius Repo"
|
name "Mobius"
|
||||||
url "http://mobiusstrip.eu/maven"
|
url "http://mobiusstrip.eu/maven"
|
||||||
}
|
}
|
||||||
|
|
||||||
maven {
|
maven {
|
||||||
name "FireBall API Depot"
|
name = "JEI repo"
|
||||||
url "http://dl.tsr.me/artifactory/libs-release-local"
|
url "http://dvs1.progwml6.com/files/maven"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
maven {
|
||||||
|
name = "Tesla repo"
|
||||||
|
url "http://maven.mcmoddev.com"
|
||||||
|
}
|
||||||
|
|
||||||
|
maven {
|
||||||
|
name = "IC2 repo"
|
||||||
|
url = "http://maven.ic2.player.to"
|
||||||
|
}
|
||||||
|
|
||||||
|
maven {
|
||||||
|
name = "CoFH Maven"
|
||||||
|
url = "http://maven.covers1624.net"
|
||||||
|
}
|
||||||
|
|
||||||
|
maven { // TheOneProbe
|
||||||
|
name 'tterrag maven'
|
||||||
|
url "http://maven.tterrag.com/"
|
||||||
|
}
|
||||||
|
|
||||||
|
maven {
|
||||||
|
name 'mcjty'
|
||||||
|
url "http://maven.k-4u.nl/"
|
||||||
|
}
|
||||||
|
|
||||||
|
maven { // CraftTweaker
|
||||||
|
name 'jared maven'
|
||||||
|
url "http://maven.blamejared.com/"
|
||||||
|
}
|
||||||
|
|
||||||
|
maven {
|
||||||
|
name = "CurseForge"
|
||||||
|
url = "https://minecraft.curseforge.com/api/maven/"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
minecraft "net.minecraftforge:forge:${minecraft_version}-${forge_version}"
|
||||||
|
|
||||||
compile "codechicken:ForgeMultipart:${config.cb_minecraft_version}-${config.fmp_version}:dev"
|
// compile against provided APIs
|
||||||
compile "codechicken:CodeChickenLib:${config.cb_minecraft_version}-${config.code_chicken_lib_version}:dev"
|
compileOnly "mezz.jei:jei-${minecraft_version}:${jei_version}:api"
|
||||||
compile "codechicken:CodeChickenCore:${config.cb_minecraft_version}-${config.code_chicken_core_version}:dev"
|
compileOnly "mcjty.theoneprobe:TheOneProbe-${minecraft_release}:${minecraft_release}-${top_version}:api"
|
||||||
compile "codechicken:NotEnoughItems:${config.cb_minecraft_version}-${config.nei_version}:dev"
|
|
||||||
|
|
||||||
compile "mcp.mobius.waila:Waila:${config.waila_version}:dev"
|
// Runtime, Mods
|
||||||
|
runtimeOnly fg.deobf("mezz.jei:jei-${minecraft_version}:${jei_version}")
|
||||||
compile(group: 'api', name: 'betterstorage', version: "${config.api_betterstorage_version}")
|
runtimeOnly fg.deobf("mcjty.theoneprobe:TheOneProbe-${minecraft_release}:${minecraft_release}-${top_version}")
|
||||||
compile(group: 'api', name: 'coloredlightscore', version: "${config.api_coloredlightscore_version}")
|
runtimeOnly fg.deobf("team.chisel.ctm:CTM:${ctm_version}")
|
||||||
compile(group: 'api', name: 'craftguide', version: "${config.api_craftguide_version}")
|
|
||||||
compile(group: 'api', name: 'ic2', version: "${config.api_ic2_version}")
|
|
||||||
compile(group: 'api', name: 'immibis', version: "${config.api_immibis_version}")
|
|
||||||
compile(group: 'api', name: 'invtweaks', version: "${config.api_invtweaks_version}")
|
|
||||||
compile(group: 'api', name: 'mekansim', version: "${config.api_mekansim_version}")
|
|
||||||
compile(group: 'api', name: 'mfr', version: "${config.api_mfr_version}")
|
|
||||||
compile(group: 'api', name: 'railcraft', version: "${config.api_railcraft_version}")
|
|
||||||
compile(group: 'api', name: 'rblocks', version: "${config.api_rblocks_version}")
|
|
||||||
compile(group: 'api', name: 'rf', version: "${config.api_rf_version}")
|
|
||||||
compile(group: 'api', name: 'rotarycraft', version: "${config.api_rotarycraft_version}")
|
|
||||||
compile(group: 'dev', name: 'buildcraft', version: "${config.dev_buildcraft_version}")
|
|
||||||
|
|
||||||
// add hacked buildcraft jar to compile time (for facades)
|
// unit test dependencies
|
||||||
compile fileTree(dir: 'libs', include: '*.jar')
|
testCompile "junit:junit:4.13"
|
||||||
|
|
||||||
testCompile "junit:junit:4.11"
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
// define the properties file
|
|
||||||
ext.configFile = file "build.properties"
|
|
||||||
|
|
||||||
configFile.withReader {
|
|
||||||
// read config. it shall from now on be referenced as simply config or as project.config
|
|
||||||
def prop = new Properties()
|
|
||||||
prop.load(it)
|
|
||||||
project.ext.config = new ConfigSlurper().parse prop
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of Applied Energistics 2.
|
||||||
|
* Copyright (c) 2013 - 2020, AlgorithmX2, All rights reserved.
|
||||||
|
*
|
||||||
|
* Applied Energistics 2 is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Applied Energistics 2 is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
*g GNU Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
|
* along with Applied Energistics 2. If not, see <http://www.gnu.org/licenses/lgpl>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
spotless {
|
||||||
|
java {
|
||||||
|
target 'src/*/java/appeng/**/*.java'
|
||||||
|
|
||||||
|
indentWithSpaces()
|
||||||
|
eclipse().configFile 'codeformat/codeformat.xml'
|
||||||
|
importOrderFile 'codeformat/ae2.importorder'
|
||||||
|
}
|
||||||
|
format 'json', {
|
||||||
|
target 'src/*/resources/**/*.json'
|
||||||
|
targetExclude 'src/generated/resources/**'
|
||||||
|
prettier().config(['parser': 'json'])
|
||||||
|
}
|
||||||
|
}
|
||||||
Vendored
BIN
Binary file not shown.
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
#Sat Sep 13 21:58:22 CEST 2014
|
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
|
distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-bin.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.1-all.zip
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
##
|
##
|
||||||
@@ -6,47 +6,6 @@
|
|||||||
##
|
##
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
|
||||||
DEFAULT_JVM_OPTS=""
|
|
||||||
|
|
||||||
APP_NAME="Gradle"
|
|
||||||
APP_BASE_NAME=`basename "$0"`
|
|
||||||
|
|
||||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
|
||||||
MAX_FD="maximum"
|
|
||||||
|
|
||||||
warn ( ) {
|
|
||||||
echo "$*"
|
|
||||||
}
|
|
||||||
|
|
||||||
die ( ) {
|
|
||||||
echo
|
|
||||||
echo "$*"
|
|
||||||
echo
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
# OS specific support (must be 'true' or 'false').
|
|
||||||
cygwin=false
|
|
||||||
msys=false
|
|
||||||
darwin=false
|
|
||||||
case "`uname`" in
|
|
||||||
CYGWIN* )
|
|
||||||
cygwin=true
|
|
||||||
;;
|
|
||||||
Darwin* )
|
|
||||||
darwin=true
|
|
||||||
;;
|
|
||||||
MINGW* )
|
|
||||||
msys=true
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# For Cygwin, ensure paths are in UNIX format before anything is touched.
|
|
||||||
if $cygwin ; then
|
|
||||||
[ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Attempt to set APP_HOME
|
# Attempt to set APP_HOME
|
||||||
# Resolve links: $0 may be a link
|
# Resolve links: $0 may be a link
|
||||||
PRG="$0"
|
PRG="$0"
|
||||||
@@ -61,9 +20,49 @@ while [ -h "$PRG" ] ; do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
SAVED="`pwd`"
|
SAVED="`pwd`"
|
||||||
cd "`dirname \"$PRG\"`/" >&-
|
cd "`dirname \"$PRG\"`/" >/dev/null
|
||||||
APP_HOME="`pwd -P`"
|
APP_HOME="`pwd -P`"
|
||||||
cd "$SAVED" >&-
|
cd "$SAVED" >/dev/null
|
||||||
|
|
||||||
|
APP_NAME="Gradle"
|
||||||
|
APP_BASE_NAME=`basename "$0"`
|
||||||
|
|
||||||
|
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||||
|
DEFAULT_JVM_OPTS=""
|
||||||
|
|
||||||
|
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||||
|
MAX_FD="maximum"
|
||||||
|
|
||||||
|
warn () {
|
||||||
|
echo "$*"
|
||||||
|
}
|
||||||
|
|
||||||
|
die () {
|
||||||
|
echo
|
||||||
|
echo "$*"
|
||||||
|
echo
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
# 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
|
||||||
|
;;
|
||||||
|
MINGW* )
|
||||||
|
msys=true
|
||||||
|
;;
|
||||||
|
NONSTOP* )
|
||||||
|
nonstop=true
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
||||||
|
|
||||||
@@ -90,7 +89,7 @@ location of your Java installation."
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Increase the maximum file descriptors if we can.
|
# Increase the maximum file descriptors if we can.
|
||||||
if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
|
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
|
||||||
MAX_FD_LIMIT=`ulimit -H -n`
|
MAX_FD_LIMIT=`ulimit -H -n`
|
||||||
if [ $? -eq 0 ] ; then
|
if [ $? -eq 0 ] ; then
|
||||||
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
|
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
|
||||||
@@ -114,6 +113,7 @@ fi
|
|||||||
if $cygwin ; then
|
if $cygwin ; then
|
||||||
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
|
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
|
||||||
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
|
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
|
||||||
|
JAVACMD=`cygpath --unix "$JAVACMD"`
|
||||||
|
|
||||||
# We build the pattern for arguments to be converted via cygpath
|
# We build the pattern for arguments to be converted via cygpath
|
||||||
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
|
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
|
||||||
@@ -154,11 +154,19 @@ if $cygwin ; then
|
|||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
|
# Escape application args
|
||||||
function splitJvmOpts() {
|
save () {
|
||||||
JVM_OPTS=("$@")
|
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
|
||||||
|
echo " "
|
||||||
}
|
}
|
||||||
eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
|
APP_ARGS=$(save "$@")
|
||||||
JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
|
|
||||||
|
|
||||||
exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
|
# Collect all arguments for the java command, following the shell quoting and substitution rules
|
||||||
|
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
|
||||||
|
|
||||||
|
# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
|
||||||
|
if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
|
||||||
|
cd "$(dirname "$0")"
|
||||||
|
fi
|
||||||
|
|
||||||
|
exec "$JAVACMD" "$@"
|
||||||
|
|||||||
Vendored
+4
-10
@@ -8,14 +8,14 @@
|
|||||||
@rem Set local scope for the variables with windows NT shell
|
@rem Set local scope for the variables with windows NT shell
|
||||||
if "%OS%"=="Windows_NT" setlocal
|
if "%OS%"=="Windows_NT" setlocal
|
||||||
|
|
||||||
@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=
|
|
||||||
|
|
||||||
set DIRNAME=%~dp0
|
set DIRNAME=%~dp0
|
||||||
if "%DIRNAME%" == "" set DIRNAME=.
|
if "%DIRNAME%" == "" set DIRNAME=.
|
||||||
set APP_BASE_NAME=%~n0
|
set APP_BASE_NAME=%~n0
|
||||||
set APP_HOME=%DIRNAME%
|
set APP_HOME=%DIRNAME%
|
||||||
|
|
||||||
|
@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=
|
||||||
|
|
||||||
@rem Find java.exe
|
@rem Find java.exe
|
||||||
if defined JAVA_HOME goto findJavaFromJavaHome
|
if defined JAVA_HOME goto findJavaFromJavaHome
|
||||||
|
|
||||||
@@ -46,10 +46,9 @@ echo location of your Java installation.
|
|||||||
goto fail
|
goto fail
|
||||||
|
|
||||||
:init
|
:init
|
||||||
@rem Get command-line arguments, handling Windowz variants
|
@rem Get command-line arguments, handling Windows variants
|
||||||
|
|
||||||
if not "%OS%" == "Windows_NT" goto win9xME_args
|
if not "%OS%" == "Windows_NT" goto win9xME_args
|
||||||
if "%@eval[2+2]" == "4" goto 4NT_args
|
|
||||||
|
|
||||||
:win9xME_args
|
:win9xME_args
|
||||||
@rem Slurp the command line arguments.
|
@rem Slurp the command line arguments.
|
||||||
@@ -60,11 +59,6 @@ set _SKIP=2
|
|||||||
if "x%~1" == "x" goto execute
|
if "x%~1" == "x" goto execute
|
||||||
|
|
||||||
set CMD_LINE_ARGS=%*
|
set CMD_LINE_ARGS=%*
|
||||||
goto execute
|
|
||||||
|
|
||||||
:4NT_args
|
|
||||||
@rem Get arguments from the 4NT Shell from JP Software
|
|
||||||
set CMD_LINE_ARGS=%$
|
|
||||||
|
|
||||||
:execute
|
:execute
|
||||||
@rem Setup the command line
|
@rem Setup the command line
|
||||||
|
|||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -23,39 +23,45 @@
|
|||||||
|
|
||||||
package appeng.api;
|
package appeng.api;
|
||||||
|
|
||||||
|
import java.lang.reflect.Field;
|
||||||
|
|
||||||
|
import appeng.api.exceptions.CoreInaccessibleException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
* Entry point for api.
|
* Entry point for api.
|
||||||
*
|
|
||||||
* Available IMCs:
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class AEApi
|
public enum AEApi {
|
||||||
{
|
;
|
||||||
|
|
||||||
static private IAppEngApi api = null;
|
private static final String CORE_API_FQN = "appeng.core.Api";
|
||||||
|
private static final String CORE_API_FIELD = "INSTANCE";
|
||||||
|
private static final IAppEngApi HELD_API;
|
||||||
|
|
||||||
/**
|
static {
|
||||||
* API Entry Point.
|
try {
|
||||||
*
|
final Class<?> apiClass = Class.forName(CORE_API_FQN);
|
||||||
* @return the {@link IAppEngApi} or null if the instance could not be retrieved
|
final Field apiField = apiClass.getField(CORE_API_FIELD);
|
||||||
*/
|
|
||||||
public static IAppEngApi instance()
|
|
||||||
{
|
|
||||||
if ( api == null )
|
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
|
||||||
Class c = Class.forName( "appeng.core.Api" );
|
|
||||||
api = (IAppEngApi) c.getField( "instance" ).get( c );
|
|
||||||
}
|
|
||||||
catch (Throwable e)
|
|
||||||
{
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return api;
|
HELD_API = (IAppEngApi) apiField.get(apiClass);
|
||||||
}
|
} catch (final ClassNotFoundException e) {
|
||||||
|
throw new CoreInaccessibleException(
|
||||||
|
"AE2 API tried to access the " + CORE_API_FQN + " class, without it being declared.");
|
||||||
|
} catch (final NoSuchFieldException e) {
|
||||||
|
throw new CoreInaccessibleException("AE2 API tried to access the " + CORE_API_FIELD + " field in "
|
||||||
|
+ CORE_API_FQN + " without it being declared.");
|
||||||
|
} catch (final IllegalAccessException e) {
|
||||||
|
throw new CoreInaccessibleException("AE2 API tried to access the " + CORE_API_FIELD + " field in "
|
||||||
|
+ CORE_API_FQN + " without enough access permissions.");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* API Entry Point.
|
||||||
|
*
|
||||||
|
* @return the {@link IAppEngApi}
|
||||||
|
*/
|
||||||
|
public static IAppEngApi instance() {
|
||||||
|
return HELD_API;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,33 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of Applied Energistics 2.
|
||||||
|
* Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved.
|
||||||
|
*
|
||||||
|
* Applied Energistics 2 is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Applied Energistics 2 is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
|
* along with Applied Energistics 2. If not, see <http://www.gnu.org/licenses/lgpl>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package appeng.api;
|
||||||
|
|
||||||
|
import java.lang.annotation.ElementType;
|
||||||
|
import java.lang.annotation.Retention;
|
||||||
|
import java.lang.annotation.RetentionPolicy;
|
||||||
|
import java.lang.annotation.Target;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Marks interfaces that can be used as injectable constructor arguments for an
|
||||||
|
* {@link AEPlugin}.
|
||||||
|
*/
|
||||||
|
@Target(ElementType.TYPE)
|
||||||
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
|
public @interface AEInjectable {
|
||||||
|
}
|
||||||
@@ -0,0 +1,37 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of Applied Energistics 2.
|
||||||
|
* Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved.
|
||||||
|
*
|
||||||
|
* Applied Energistics 2 is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Applied Energistics 2 is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
|
* along with Applied Energistics 2. If not, see <http://www.gnu.org/licenses/lgpl>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package appeng.api;
|
||||||
|
|
||||||
|
import java.lang.annotation.Documented;
|
||||||
|
import java.lang.annotation.ElementType;
|
||||||
|
import java.lang.annotation.Retention;
|
||||||
|
import java.lang.annotation.RetentionPolicy;
|
||||||
|
import java.lang.annotation.Target;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Use this annotation on a class in your Mod to have it instantiated during the
|
||||||
|
* initialization phase of Applied Energistics. AE expects your class to have a
|
||||||
|
* single constructor and can supply certain arguments to your constructor using
|
||||||
|
* dependency injection.
|
||||||
|
*/
|
||||||
|
@Target(ElementType.TYPE)
|
||||||
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
|
@Documented
|
||||||
|
public @interface AEPlugin {
|
||||||
|
}
|
||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -23,72 +23,44 @@
|
|||||||
|
|
||||||
package appeng.api;
|
package appeng.api;
|
||||||
|
|
||||||
import appeng.api.definitions.Blocks;
|
import appeng.api.definitions.IDefinitions;
|
||||||
import appeng.api.definitions.Items;
|
|
||||||
import appeng.api.definitions.Materials;
|
|
||||||
import appeng.api.definitions.Parts;
|
|
||||||
import appeng.api.exceptions.FailedConnection;
|
|
||||||
import appeng.api.features.IRegistryContainer;
|
import appeng.api.features.IRegistryContainer;
|
||||||
import appeng.api.networking.IGridBlock;
|
import appeng.api.networking.IGridHelper;
|
||||||
import appeng.api.networking.IGridConnection;
|
|
||||||
import appeng.api.networking.IGridHost;
|
|
||||||
import appeng.api.networking.IGridNode;
|
import appeng.api.networking.IGridNode;
|
||||||
import appeng.api.parts.IPartHelper;
|
import appeng.api.parts.IPartHelper;
|
||||||
import appeng.api.storage.IStorageHelper;
|
import appeng.api.storage.IStorageHelper;
|
||||||
|
import appeng.api.util.IClientHelper;
|
||||||
|
|
||||||
public interface IAppEngApi
|
@AEInjectable
|
||||||
{
|
public interface IAppEngApi {
|
||||||
|
/**
|
||||||
|
* @return Registry Container for the numerous registries in AE2.
|
||||||
|
*/
|
||||||
|
IRegistryContainer registries();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return Registry Container for the numerous registries in AE2.
|
* @return A helper for working with storage data types.
|
||||||
*/
|
*/
|
||||||
IRegistryContainer registries();
|
IStorageHelper storage();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return helper for working with storage data types.
|
* @return A helper to create {@link IGridNode} and other grid related objects.
|
||||||
*/
|
*/
|
||||||
IStorageHelper storage();
|
IGridHelper grid();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return helper for working with grids, and buses.
|
* @return A helper for working with grids, and buses.
|
||||||
*/
|
*/
|
||||||
IPartHelper partHelper();
|
IPartHelper partHelper();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return an accessible list of all of AE's Items
|
* @return An accessible list of all AE definitions
|
||||||
*/
|
*/
|
||||||
Items items();
|
IDefinitions definitions();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return an accessible list of all of AE's materials; materials are items
|
* @return Utility methods primarily useful for client side stuff
|
||||||
*/
|
*/
|
||||||
Materials materials();
|
IClientHelper client();
|
||||||
|
|
||||||
/**
|
|
||||||
* @return an accessible list of all of AE's blocks
|
|
||||||
*/
|
|
||||||
Blocks blocks();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return an accessible list of all of AE's parts, parts are items
|
|
||||||
*/
|
|
||||||
Parts parts();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* create a grid node for your {@link IGridHost}
|
|
||||||
*
|
|
||||||
* @param block grid block
|
|
||||||
* @return grid node of block
|
|
||||||
*/
|
|
||||||
IGridNode createGridNode(IGridBlock block);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* create a connection between two {@link IGridNode}
|
|
||||||
*
|
|
||||||
* @param a to be connected gridnode
|
|
||||||
* @param b to be connected gridnode
|
|
||||||
* @throws FailedConnection
|
|
||||||
*/
|
|
||||||
IGridConnection createGridConnection(IGridNode a, IGridNode b) throws FailedConnection;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -23,49 +23,42 @@
|
|||||||
|
|
||||||
package appeng.api.config;
|
package appeng.api.config;
|
||||||
|
|
||||||
public enum AccessRestriction
|
public enum AccessRestriction {
|
||||||
{
|
NO_ACCESS(0), READ(1), WRITE(2), READ_WRITE(3);
|
||||||
NO_ACCESS(0), READ(1), WRITE(2), READ_WRITE(3);
|
|
||||||
|
|
||||||
private final int permissionBit;
|
private final int permissionBit;
|
||||||
|
|
||||||
private AccessRestriction(int v) {
|
AccessRestriction(final int v) {
|
||||||
permissionBit = v;
|
this.permissionBit = v;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean hasPermission(AccessRestriction ar)
|
public boolean hasPermission(final AccessRestriction ar) {
|
||||||
{
|
return (this.permissionBit & ar.permissionBit) == ar.permissionBit;
|
||||||
return (permissionBit & ar.permissionBit) == ar.permissionBit;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
public AccessRestriction restrictPermissions(AccessRestriction ar)
|
public AccessRestriction restrictPermissions(final AccessRestriction ar) {
|
||||||
{
|
return this.getPermByBit(this.permissionBit & ar.permissionBit);
|
||||||
return getPermByBit( permissionBit & ar.permissionBit);
|
}
|
||||||
}
|
|
||||||
|
|
||||||
public AccessRestriction addPermissions(AccessRestriction ar)
|
private AccessRestriction getPermByBit(final int bit) {
|
||||||
{
|
switch (bit) {
|
||||||
return getPermByBit( permissionBit | ar.permissionBit);
|
default:
|
||||||
}
|
case 0:
|
||||||
|
return NO_ACCESS;
|
||||||
|
case 1:
|
||||||
|
return READ;
|
||||||
|
case 2:
|
||||||
|
return WRITE;
|
||||||
|
case 3:
|
||||||
|
return READ_WRITE;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public AccessRestriction removePermissions(AccessRestriction ar)
|
public AccessRestriction addPermissions(final AccessRestriction ar) {
|
||||||
{
|
return this.getPermByBit(this.permissionBit | ar.permissionBit);
|
||||||
return getPermByBit( permissionBit & (~ar.permissionBit) );
|
}
|
||||||
}
|
|
||||||
|
|
||||||
private AccessRestriction getPermByBit(int bit)
|
public AccessRestriction removePermissions(final AccessRestriction ar) {
|
||||||
{
|
return this.getPermByBit(this.permissionBit & (~ar.permissionBit));
|
||||||
switch (bit)
|
}
|
||||||
{
|
|
||||||
default:
|
|
||||||
case 0:
|
|
||||||
return NO_ACCESS;
|
|
||||||
case 1:
|
|
||||||
return READ;
|
|
||||||
case 2:
|
|
||||||
return WRITE;
|
|
||||||
case 3:
|
|
||||||
return READ_WRITE;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -23,7 +23,6 @@
|
|||||||
|
|
||||||
package appeng.api.config;
|
package appeng.api.config;
|
||||||
|
|
||||||
public enum ActionItems
|
public enum ActionItems {
|
||||||
{
|
WRENCH, CLOSE, STASH, ENCODE, ENABLE_SUBSTITUTION, DISABLE_SUBSTITUTION
|
||||||
WRENCH, CLOSE, STASH, ENCODE, SUBSTITUTION
|
|
||||||
}
|
}
|
||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -23,15 +23,26 @@
|
|||||||
|
|
||||||
package appeng.api.config;
|
package appeng.api.config;
|
||||||
|
|
||||||
public enum Actionable
|
import net.minecraftforge.fluids.capability.IFluidHandler.FluidAction;
|
||||||
{
|
|
||||||
/**
|
|
||||||
* Perform the intended action.
|
|
||||||
*/
|
|
||||||
MODULATE,
|
|
||||||
|
|
||||||
/**
|
public enum Actionable {
|
||||||
* Pretend to perform the action.
|
/**
|
||||||
*/
|
* Perform the intended action.
|
||||||
SIMULATE
|
*/
|
||||||
|
MODULATE(FluidAction.EXECUTE),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Pretend to perform the action.
|
||||||
|
*/
|
||||||
|
SIMULATE(FluidAction.SIMULATE);
|
||||||
|
|
||||||
|
private final FluidAction fluidAction;
|
||||||
|
|
||||||
|
Actionable(FluidAction fluidAction) {
|
||||||
|
this.fluidAction = fluidAction;
|
||||||
|
}
|
||||||
|
|
||||||
|
public FluidAction getFluidAction() {
|
||||||
|
return fluidAction;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -23,16 +23,14 @@
|
|||||||
|
|
||||||
package appeng.api.config;
|
package appeng.api.config;
|
||||||
|
|
||||||
|
public enum CondenserOutput {
|
||||||
|
|
||||||
public enum CondenserOutput
|
TRASH, // 0
|
||||||
{
|
|
||||||
|
|
||||||
TRASH, // 0
|
MATTER_BALLS, // 256
|
||||||
|
|
||||||
MATTER_BALLS, // 256
|
SINGULARITY; // 250,000
|
||||||
|
|
||||||
SINGULARITY; // 250,000
|
public int requiredPower = 0;
|
||||||
|
|
||||||
public int requiredPower = 0;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -23,7 +23,6 @@
|
|||||||
|
|
||||||
package appeng.api.config;
|
package appeng.api.config;
|
||||||
|
|
||||||
public enum CopyMode
|
public enum CopyMode {
|
||||||
{
|
CLEAR_ON_REMOVE, KEEP_ON_REMOVE
|
||||||
CLEAR_ON_REMOVE, KEEP_ON_REMOVE
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -23,7 +23,6 @@
|
|||||||
|
|
||||||
package appeng.api.config;
|
package appeng.api.config;
|
||||||
|
|
||||||
public enum FullnessMode
|
public enum FullnessMode {
|
||||||
{
|
EMPTY, HALF, FULL
|
||||||
EMPTY, HALF, FULL
|
|
||||||
}
|
}
|
||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -23,22 +23,20 @@
|
|||||||
|
|
||||||
package appeng.api.config;
|
package appeng.api.config;
|
||||||
|
|
||||||
public enum FuzzyMode
|
public enum FuzzyMode {
|
||||||
{
|
// Note that percentage damaged, is the inverse of percentage durability.
|
||||||
// Note that percentage damaged, is the inverse of percentage durability.
|
IGNORE_ALL(-1), PERCENT_99(0), PERCENT_75(25), PERCENT_50(50), PERCENT_25(75);
|
||||||
IGNORE_ALL(-1), PERCENT_99(0), PERCENT_75(25), PERCENT_50(50), PERCENT_25(75);
|
|
||||||
|
|
||||||
final public float breakPoint;
|
public final float breakPoint;
|
||||||
final public float percentage;
|
public final float percentage;
|
||||||
|
|
||||||
private FuzzyMode(float p) {
|
FuzzyMode(final float p) {
|
||||||
percentage = p;
|
this.percentage = p;
|
||||||
breakPoint = p / 100.0f;
|
this.breakPoint = p / 100.0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int calculateBreakPoint(int maxDamage)
|
public int calculateBreakPoint(final int maxDamage) {
|
||||||
{
|
return (int) ((this.percentage * maxDamage) / 100.0f);
|
||||||
return (int) ((percentage * maxDamage) / 100.0f);
|
}
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -23,7 +23,6 @@
|
|||||||
|
|
||||||
package appeng.api.config;
|
package appeng.api.config;
|
||||||
|
|
||||||
public enum IncludeExclude
|
public enum IncludeExclude {
|
||||||
{
|
WHITELIST, BLACKLIST
|
||||||
WHITELIST, BLACKLIST
|
|
||||||
}
|
}
|
||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -23,11 +23,10 @@
|
|||||||
|
|
||||||
package appeng.api.config;
|
package appeng.api.config;
|
||||||
|
|
||||||
public enum LevelEmitterMode
|
public enum LevelEmitterMode {
|
||||||
{
|
|
||||||
|
|
||||||
STORED_AMOUNT,
|
STORED_AMOUNT,
|
||||||
|
|
||||||
STORABLE_AMOUNT
|
STORABLE_AMOUNT
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -23,11 +23,10 @@
|
|||||||
|
|
||||||
package appeng.api.config;
|
package appeng.api.config;
|
||||||
|
|
||||||
public enum LevelType
|
public enum LevelType {
|
||||||
{
|
|
||||||
|
|
||||||
ITEM_LEVEL,
|
ITEM_LEVEL,
|
||||||
|
|
||||||
ENERGY_LEVEL
|
ENERGY_LEVEL
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -23,7 +23,6 @@
|
|||||||
|
|
||||||
package appeng.api.config;
|
package appeng.api.config;
|
||||||
|
|
||||||
public enum ModSettings
|
public enum ModSettings {
|
||||||
{
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -23,13 +23,12 @@
|
|||||||
|
|
||||||
package appeng.api.config;
|
package appeng.api.config;
|
||||||
|
|
||||||
public enum NetworkEmitterMode
|
public enum NetworkEmitterMode {
|
||||||
{
|
|
||||||
|
|
||||||
POWER_LEVEL,
|
POWER_LEVEL,
|
||||||
|
|
||||||
BOOTING,
|
BOOTING,
|
||||||
|
|
||||||
CHANNEL_ERROR
|
CHANNEL_ERROR
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -23,7 +23,6 @@
|
|||||||
|
|
||||||
package appeng.api.config;
|
package appeng.api.config;
|
||||||
|
|
||||||
public enum OperationMode
|
public enum OperationMode {
|
||||||
{
|
FILL, EMPTY
|
||||||
FILL, EMPTY
|
|
||||||
}
|
}
|
||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -23,7 +23,6 @@
|
|||||||
|
|
||||||
package appeng.api.config;
|
package appeng.api.config;
|
||||||
|
|
||||||
public enum OutputMode
|
public enum OutputMode {
|
||||||
{
|
EXPORT_ONLY, EXPORT_OR_CRAFT, CRAFT_ONLY
|
||||||
EXPORT_ONLY, EXPORT_OR_CRAFT, CRAFT_ONLY
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -23,22 +23,19 @@
|
|||||||
|
|
||||||
package appeng.api.config;
|
package appeng.api.config;
|
||||||
|
|
||||||
public enum PowerMultiplier
|
public enum PowerMultiplier {
|
||||||
{
|
ONE, CONFIG;
|
||||||
ONE, CONFIG;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* please do not edit this value, it is set when AE loads its config files.
|
* please do not edit this value, it is set when AE loads its config files.
|
||||||
*/
|
*/
|
||||||
public double multiplier = 1.0;
|
public double multiplier = 1.0;
|
||||||
|
|
||||||
public double multiply(double in)
|
public double multiply(final double in) {
|
||||||
{
|
return in * this.multiplier;
|
||||||
return in * multiplier;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
public double divide(double in)
|
public double divide(final double in) {
|
||||||
{
|
return in / this.multiplier;
|
||||||
return in / multiplier;
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -23,43 +23,46 @@
|
|||||||
|
|
||||||
package appeng.api.config;
|
package appeng.api.config;
|
||||||
|
|
||||||
public enum PowerUnits
|
import net.minecraft.util.text.ITextComponent;
|
||||||
{
|
import net.minecraft.util.text.TranslationTextComponent;
|
||||||
AE("gui.appliedenergistics2.units.appliedenergstics"), // Native Units - AE Energy
|
|
||||||
MJ("gui.appliedenergistics2.units.buildcraft"), // BuildCraft - Minecraft Joules
|
|
||||||
EU("gui.appliedenergistics2.units.ic2"), // IndustrialCraft 2 - Energy Units
|
|
||||||
WA("gui.appliedenergistics2.units.rotarycraft"), // RotaryCraft - Watts
|
|
||||||
RF("gui.appliedenergistics2.units.thermalexpansion"), // ThermalExpansion - Redstone Flux
|
|
||||||
MK("gui.appliedenergistics2.units.mekanism"); // Mekanism - Joules
|
|
||||||
|
|
||||||
private PowerUnits(String un) {
|
public enum PowerUnits {
|
||||||
unlocalizedName = un;
|
AE("gui.appliedenergistics2.units.appliedenergstics"), // Native Units - AE Energy
|
||||||
}
|
EU("gui.appliedenergistics2.units.ic2"), // IndustrialCraft 2 - Energy Units
|
||||||
|
RF("gui.appliedenergistics2.units.rf"); // RF - Redstone Flux
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* please do not edit this value, it is set when AE loads its config files.
|
* unlocalized name for the power unit.
|
||||||
*/
|
*/
|
||||||
public double conversionRatio = 1.0;
|
public final String unlocalizedName;
|
||||||
|
/**
|
||||||
|
* please do not edit this value, it is set when AE loads its config files.
|
||||||
|
*/
|
||||||
|
public double conversionRatio = 1.0;
|
||||||
|
|
||||||
/**
|
PowerUnits(final String un) {
|
||||||
* unlocalized name for the power unit.
|
this.unlocalizedName = un;
|
||||||
*/
|
}
|
||||||
final public String unlocalizedName;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* do power conversion using AE's conversion rates.
|
* do power conversion using AE's conversion rates.
|
||||||
*
|
*
|
||||||
* Example: PowerUnits.EU.convertTo( PowerUnits.AE, 32 );
|
* Example: PowerUnits.EU.convertTo( PowerUnits.AE, 32 );
|
||||||
*
|
*
|
||||||
* will normally returns 64, as it will convert the EU, to AE with AE's power settings.
|
* will normally returns 64, as it will convert the EU, to AE with AE's power
|
||||||
*
|
* settings.
|
||||||
* @param target target power unit
|
*
|
||||||
* @param value value
|
* @param target target power unit
|
||||||
* @return value converted to target units, from this units.
|
* @param value value
|
||||||
*/
|
*
|
||||||
public double convertTo(PowerUnits target, double value)
|
* @return value converted to target units, from this units.
|
||||||
{
|
*/
|
||||||
return (value * conversionRatio) / target.conversionRatio;
|
public double convertTo(final PowerUnits target, final double value) {
|
||||||
}
|
return (value * this.conversionRatio) / target.conversionRatio;
|
||||||
|
}
|
||||||
|
|
||||||
|
public ITextComponent textComponent() {
|
||||||
|
return new TranslationTextComponent(unlocalizedName);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -23,7 +23,6 @@
|
|||||||
|
|
||||||
package appeng.api.config;
|
package appeng.api.config;
|
||||||
|
|
||||||
public enum RedstoneMode
|
public enum RedstoneMode {
|
||||||
{
|
IGNORE, LOW_SIGNAL, HIGH_SIGNAL, SIGNAL_PULSE
|
||||||
IGNORE, LOW_SIGNAL, HIGH_SIGNAL, SIGNAL_PULSE
|
|
||||||
}
|
}
|
||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -23,7 +23,6 @@
|
|||||||
|
|
||||||
package appeng.api.config;
|
package appeng.api.config;
|
||||||
|
|
||||||
public enum RelativeDirection
|
public enum RelativeDirection {
|
||||||
{
|
LEFT, RIGHT, UP, DOW
|
||||||
LEFT, RIGHT, UP, DOW
|
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
/*
|
||||||
|
* The MIT License (MIT)
|
||||||
|
*
|
||||||
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
* subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package appeng.api.config;
|
||||||
|
|
||||||
|
public enum SchedulingMode {
|
||||||
|
DEFAULT, ROUNDROBIN, RANDOM
|
||||||
|
}
|
||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -23,7 +23,18 @@
|
|||||||
|
|
||||||
package appeng.api.config;
|
package appeng.api.config;
|
||||||
|
|
||||||
public enum SearchBoxMode
|
public enum SearchBoxMode {
|
||||||
{
|
AUTOSEARCH(false), AUTOSEARCH_KEEP(false), MANUAL_SEARCH(false), MANUAL_SEARCH_KEEP(false), JEI_AUTOSEARCH(true),
|
||||||
AUTOSEARCH, MANUAL_SEARCH, NEI_AUTOSEARCH, NEI_MANUAL_SEARCH
|
JEI_AUTOSEARCH_KEEP(true), JEI_MANUAL_SEARCH(true), JEI_MANUAL_SEARCH_KEEP(true);
|
||||||
|
|
||||||
|
private final boolean requiresJei;
|
||||||
|
|
||||||
|
SearchBoxMode(boolean requiresJei) {
|
||||||
|
this.requiresJei = requiresJei;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isRequiresJei() {
|
||||||
|
return requiresJei;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -24,47 +24,47 @@
|
|||||||
package appeng.api.config;
|
package appeng.api.config;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represent the security systems basic permissions, these are not for anti-griefing, they are part of the mod as a
|
* Represent the security systems basic permissions, these are not for
|
||||||
* gameplay feature.
|
* anti-griefing, they are part of the mod as a gameplay feature.
|
||||||
*/
|
*/
|
||||||
public enum SecurityPermissions
|
public enum SecurityPermissions {
|
||||||
{
|
/**
|
||||||
/**
|
* required to insert items into the network via terminal ( also used for
|
||||||
* required to insert items into the network via terminal ( also used for machines based on the owner of the
|
* machines based on the owner of the network, which is determined by its
|
||||||
* network, which is determined by its Security Block. )
|
* Security Block. )
|
||||||
*/
|
*/
|
||||||
INJECT,
|
INJECT,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* required to extract items from the network via terminal ( also used for machines based on the owner of the
|
* required to extract items from the network via terminal ( also used for
|
||||||
* network, which is determined by its Security Block. )
|
* machines based on the owner of the network, which is determined by its
|
||||||
*/
|
* Security Block. )
|
||||||
EXTRACT,
|
*/
|
||||||
|
EXTRACT,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* required to request crafting from the network via terminal.
|
* required to request crafting from the network via terminal.
|
||||||
*/
|
*/
|
||||||
CRAFT,
|
CRAFT,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* required to modify automation, and make modifications to the networks physical layout.
|
* required to modify automation, and make modifications to the networks
|
||||||
*/
|
* physical layout.
|
||||||
BUILD,
|
*/
|
||||||
|
BUILD,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* required to modify the security blocks settings.
|
* required to modify the security blocks settings.
|
||||||
*/
|
*/
|
||||||
SECURITY;
|
SECURITY;
|
||||||
|
|
||||||
final private String unlocalizedName = "gui.appliedenergistics2.security." + name().toLowerCase();
|
private final String translationKey = "gui.appliedenergistics2.security." + this.name().toLowerCase();
|
||||||
|
|
||||||
public String getUnlocalizedName()
|
public String getTranslatedName() {
|
||||||
{
|
return this.translationKey + ".name";
|
||||||
return unlocalizedName + ".name";
|
}
|
||||||
}
|
|
||||||
|
|
||||||
public String getUnlocalizedTip()
|
public String getTranslatedTip() {
|
||||||
{
|
return this.translationKey + ".tip";
|
||||||
return unlocalizedName + ".tip";
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -25,45 +25,71 @@ package appeng.api.config;
|
|||||||
|
|
||||||
import java.util.EnumSet;
|
import java.util.EnumSet;
|
||||||
|
|
||||||
public enum Settings
|
import javax.annotation.Nonnull;
|
||||||
{
|
|
||||||
LEVEL_EMITTER_MODE(EnumSet.allOf( LevelEmitterMode.class )),
|
|
||||||
|
|
||||||
REDSTONE_EMITTER(EnumSet.of( RedstoneMode.HIGH_SIGNAL, RedstoneMode.LOW_SIGNAL )), REDSTONE_CONTROLLED(EnumSet.allOf( RedstoneMode.class )),
|
public enum Settings {
|
||||||
|
LEVEL_EMITTER_MODE(EnumSet.allOf(LevelEmitterMode.class)),
|
||||||
|
|
||||||
CONDENSER_OUTPUT(EnumSet.allOf( CondenserOutput.class )),
|
REDSTONE_EMITTER(EnumSet.of(RedstoneMode.HIGH_SIGNAL, RedstoneMode.LOW_SIGNAL)),
|
||||||
|
|
||||||
POWER_UNITS(EnumSet.allOf( PowerUnits.class )), ACCESS(EnumSet.of( AccessRestriction.READ_WRITE, AccessRestriction.READ, AccessRestriction.WRITE )),
|
REDSTONE_CONTROLLED(EnumSet.allOf(RedstoneMode.class)),
|
||||||
|
|
||||||
SORT_DIRECTION(EnumSet.allOf( SortDir.class )), SORT_BY(EnumSet.allOf( SortOrder.class )),
|
CONDENSER_OUTPUT(EnumSet.allOf(CondenserOutput.class)),
|
||||||
|
|
||||||
SEARCH_TOOLTIPS(EnumSet.of( YesNo.YES, YesNo.NO )), VIEW_MODE(EnumSet.allOf( ViewItems.class )), SEARCH_MODE(EnumSet.allOf( SearchBoxMode.class )),
|
POWER_UNITS(EnumSet.allOf(PowerUnits.class)),
|
||||||
|
|
||||||
ACTIONS(EnumSet.allOf( ActionItems.class )), IO_DIRECTION(EnumSet.of( RelativeDirection.LEFT, RelativeDirection.RIGHT )),
|
ACCESS(EnumSet.of(AccessRestriction.READ_WRITE, AccessRestriction.READ, AccessRestriction.WRITE)),
|
||||||
|
|
||||||
BLOCK(EnumSet.of( YesNo.YES, YesNo.NO )), OPERATION_MODE(EnumSet.allOf( OperationMode.class )),
|
SORT_DIRECTION(EnumSet.allOf(SortDir.class)),
|
||||||
|
|
||||||
FULLNESS_MODE(EnumSet.allOf( FullnessMode.class )), CRAFT_ONLY(EnumSet.of( YesNo.YES, YesNo.NO )),
|
SORT_BY(EnumSet.allOf(SortOrder.class)),
|
||||||
|
|
||||||
FUZZY_MODE(EnumSet.allOf( FuzzyMode.class )), LEVEL_TYPE(EnumSet.allOf( LevelType.class )),
|
SEARCH_TOOLTIPS(EnumSet.of(YesNo.YES, YesNo.NO)),
|
||||||
|
|
||||||
TERMINAL_STYLE(EnumSet.of( TerminalStyle.TALL, TerminalStyle.SMALL )), COPY_MODE(EnumSet.allOf( CopyMode.class )),
|
VIEW_MODE(EnumSet.allOf(ViewItems.class)),
|
||||||
|
|
||||||
INTERFACE_TERMINAL(EnumSet.of( YesNo.YES, YesNo.NO )), CRAFT_VIA_REDSTONE(EnumSet.of( YesNo.YES, YesNo.NO )),
|
SEARCH_MODE(EnumSet.allOf(SearchBoxMode.class)),
|
||||||
|
|
||||||
STORAGE_FILTER(EnumSet.allOf( StorageFilter.class ));
|
IO_DIRECTION(EnumSet.of(RelativeDirection.LEFT, RelativeDirection.RIGHT)),
|
||||||
|
|
||||||
private EnumSet values;
|
BLOCK(EnumSet.of(YesNo.YES, YesNo.NO)),
|
||||||
|
|
||||||
public EnumSet getPossibleValues()
|
OPERATION_MODE(EnumSet.allOf(OperationMode.class)),
|
||||||
{
|
|
||||||
return values;
|
|
||||||
}
|
|
||||||
|
|
||||||
private Settings(EnumSet set) {
|
FULLNESS_MODE(EnumSet.allOf(FullnessMode.class)),
|
||||||
if ( set == null || set.isEmpty() )
|
|
||||||
throw new RuntimeException( "Invalid configuration." );
|
CRAFT_ONLY(EnumSet.of(YesNo.YES, YesNo.NO)),
|
||||||
values = set;
|
|
||||||
}
|
FUZZY_MODE(EnumSet.allOf(FuzzyMode.class)),
|
||||||
|
|
||||||
|
LEVEL_TYPE(EnumSet.allOf(LevelType.class)),
|
||||||
|
|
||||||
|
TERMINAL_STYLE(EnumSet.of(TerminalStyle.TALL, TerminalStyle.SMALL)),
|
||||||
|
|
||||||
|
COPY_MODE(EnumSet.allOf(CopyMode.class)),
|
||||||
|
|
||||||
|
INTERFACE_TERMINAL(EnumSet.of(YesNo.YES, YesNo.NO)),
|
||||||
|
|
||||||
|
CRAFT_VIA_REDSTONE(EnumSet.of(YesNo.YES, YesNo.NO)),
|
||||||
|
|
||||||
|
STORAGE_FILTER(EnumSet.allOf(StorageFilter.class)),
|
||||||
|
|
||||||
|
PLACE_BLOCK(EnumSet.of(YesNo.YES, YesNo.NO)),
|
||||||
|
|
||||||
|
SCHEDULING_MODE(EnumSet.allOf(SchedulingMode.class));
|
||||||
|
|
||||||
|
private final EnumSet<? extends Enum<?>> values;
|
||||||
|
|
||||||
|
Settings(@Nonnull final EnumSet<? extends Enum<?>> possibleOptions) {
|
||||||
|
if (possibleOptions.isEmpty()) {
|
||||||
|
throw new IllegalArgumentException("Tried to instantiate an empty setting.");
|
||||||
|
}
|
||||||
|
|
||||||
|
this.values = possibleOptions;
|
||||||
|
}
|
||||||
|
|
||||||
|
public EnumSet<? extends Enum<?>> getPossibleValues() {
|
||||||
|
return this.values;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -23,7 +23,6 @@
|
|||||||
|
|
||||||
package appeng.api.config;
|
package appeng.api.config;
|
||||||
|
|
||||||
public enum SortDir
|
public enum SortDir {
|
||||||
{
|
ASCENDING, DESCENDING
|
||||||
ASCENDING, DESCENDING
|
|
||||||
}
|
}
|
||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -23,7 +23,6 @@
|
|||||||
|
|
||||||
package appeng.api.config;
|
package appeng.api.config;
|
||||||
|
|
||||||
public enum SortOrder
|
public enum SortOrder {
|
||||||
{
|
NAME, AMOUNT, MOD
|
||||||
NAME, AMOUNT, MOD, INVTWEAKS
|
|
||||||
}
|
}
|
||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -23,11 +23,10 @@
|
|||||||
|
|
||||||
package appeng.api.config;
|
package appeng.api.config;
|
||||||
|
|
||||||
public enum StorageFilter
|
public enum StorageFilter {
|
||||||
{
|
|
||||||
|
|
||||||
NONE,
|
NONE,
|
||||||
|
|
||||||
EXTRACTABLE_ONLY
|
EXTRACTABLE_ONLY
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -23,13 +23,12 @@
|
|||||||
|
|
||||||
package appeng.api.config;
|
package appeng.api.config;
|
||||||
|
|
||||||
public enum TerminalStyle
|
public enum TerminalStyle {
|
||||||
{
|
|
||||||
|
|
||||||
TALL,
|
TALL,
|
||||||
|
|
||||||
FULL,
|
FULL,
|
||||||
|
|
||||||
SMALL
|
SMALL
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -23,16 +23,14 @@
|
|||||||
|
|
||||||
package appeng.api.config;
|
package appeng.api.config;
|
||||||
|
|
||||||
public enum TunnelType
|
public enum TunnelType {
|
||||||
{
|
ME, // Network Tunnel
|
||||||
ME, // Network Tunnel
|
IC2_POWER, // EU Tunnel
|
||||||
BC_POWER, // MJ Tunnel
|
FE_POWER, // Forge Energy tunnel
|
||||||
IC2_POWER, // EU Tunnel
|
REDSTONE, // Redstone Tunnel
|
||||||
RF_POWER, // RF Tunnel
|
FLUID, // Fluid Tunnel
|
||||||
REDSTONE, // Redstone Tunnel
|
ITEM, // Item Tunnel
|
||||||
FLUID, // Fluid Tunnel
|
LIGHT, // Light Tunnel
|
||||||
ITEM, // Item Tunnel
|
BUNDLED_REDSTONE, // Bundled Redstone Tunnel
|
||||||
LIGHT, // Light Tunnel
|
COMPUTER_MESSAGE // Computer Message Tunnel
|
||||||
BUNDLED_REDSTONE, // Bundled Redstone Tunnel
|
|
||||||
COMPUTER_MESSAGE // Computer Message Tunnel
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -23,59 +23,62 @@
|
|||||||
|
|
||||||
package appeng.api.config;
|
package appeng.api.config;
|
||||||
|
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
|
|
||||||
import appeng.api.util.AEItemDefinition;
|
import appeng.api.definitions.IItemDefinition;
|
||||||
|
|
||||||
|
public enum Upgrades {
|
||||||
|
/**
|
||||||
|
* Gold Tier Upgrades.
|
||||||
|
*/
|
||||||
|
CAPACITY(0), REDSTONE(0), CRAFTING(0),
|
||||||
|
|
||||||
public enum Upgrades
|
/**
|
||||||
{
|
* Diamond Tier Upgrades.
|
||||||
/**
|
*/
|
||||||
* Gold Tier Upgrades.
|
FUZZY(1), SPEED(1), INVERTER(1);
|
||||||
*/
|
|
||||||
CAPACITY( 0 ), REDSTONE( 0 ), CRAFTING( 0 ),
|
|
||||||
|
|
||||||
/**
|
private final int tier;
|
||||||
* Diamond Tier Upgrades.
|
private final Map<ItemStack, Integer> supportedMax = new HashMap<>();
|
||||||
*/
|
|
||||||
FUZZY( 1 ), SPEED( 1 ), INVERTER( 1 );
|
|
||||||
|
|
||||||
public final int myTier;
|
Upgrades(final int tier) {
|
||||||
public final HashMap<ItemStack, Integer> supportedMax = new HashMap<ItemStack, Integer>();
|
this.tier = tier;
|
||||||
|
}
|
||||||
|
|
||||||
private Upgrades( int tier )
|
/**
|
||||||
{
|
* @return list of Items/Blocks that support this upgrade, and how many it
|
||||||
this.myTier = tier;
|
* supports.
|
||||||
}
|
*/
|
||||||
|
public Map<ItemStack, Integer> getSupported() {
|
||||||
|
return this.supportedMax;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return list of Items/Blocks that support this upgrade, and how many it supports.
|
* Registers a specific amount of this upgrade into a specific machine
|
||||||
*/
|
*
|
||||||
public HashMap<ItemStack, Integer> getSupported()
|
* @param item machine in which this upgrade can be installed
|
||||||
{
|
* @param maxSupported amount how many upgrades can be installed
|
||||||
return this.supportedMax;
|
*/
|
||||||
}
|
public void registerItem(final IItemDefinition item, final int maxSupported) {
|
||||||
|
item.maybeStack(1).ifPresent(is -> this.registerItem(is, maxSupported));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Registers a specific amount of this upgrade into a specific machine
|
||||||
|
*
|
||||||
|
* @param stack machine in which this upgrade can be installed
|
||||||
|
* @param maxSupported amount how many upgrades can be installed
|
||||||
|
*/
|
||||||
|
public void registerItem(final ItemStack stack, final int maxSupported) {
|
||||||
|
if (stack != null) {
|
||||||
|
this.supportedMax.put(stack, maxSupported);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getTier() {
|
||||||
public void registerItem( AEItemDefinition myItem, int maxSupported )
|
return this.tier;
|
||||||
{
|
}
|
||||||
if ( myItem != null )
|
|
||||||
{
|
|
||||||
final ItemStack stack = myItem.stack( 1 );
|
|
||||||
|
|
||||||
this.registerItem( stack, maxSupported );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public void registerItem( ItemStack stack, int maxSupported )
|
|
||||||
{
|
|
||||||
if ( stack != null )
|
|
||||||
{
|
|
||||||
this.supportedMax.put( stack, maxSupported );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -23,7 +23,6 @@
|
|||||||
|
|
||||||
package appeng.api.config;
|
package appeng.api.config;
|
||||||
|
|
||||||
public enum ViewItems
|
public enum ViewItems {
|
||||||
{
|
ALL, STORED, CRAFTABLE
|
||||||
ALL, STORED, CRAFTABLE
|
|
||||||
}
|
}
|
||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -23,7 +23,6 @@
|
|||||||
|
|
||||||
package appeng.api.config;
|
package appeng.api.config;
|
||||||
|
|
||||||
public enum YesNo
|
public enum YesNo {
|
||||||
{
|
YES, NO, UNDECIDED
|
||||||
YES, NO, UNDECIDED
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,112 +0,0 @@
|
|||||||
/*
|
|
||||||
* The MIT License (MIT)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
|
||||||
*
|
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
|
||||||
* the Software without restriction, including without limitation the rights to
|
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
|
||||||
* subject to the following conditions:
|
|
||||||
*
|
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
|
||||||
* copies or substantial portions of the Software.
|
|
||||||
*
|
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
||||||
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
||||||
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
||||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
*/
|
|
||||||
|
|
||||||
package appeng.api.definitions;
|
|
||||||
|
|
||||||
import appeng.api.util.AEItemDefinition;
|
|
||||||
|
|
||||||
public class Blocks
|
|
||||||
{
|
|
||||||
|
|
||||||
/*
|
|
||||||
* World Gen
|
|
||||||
*/
|
|
||||||
public AEItemDefinition blockQuartzOre;
|
|
||||||
public AEItemDefinition blockQuartzOreCharged;
|
|
||||||
public AEItemDefinition blockMatrixFrame;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Decorative
|
|
||||||
*/
|
|
||||||
public AEItemDefinition blockQuartz;
|
|
||||||
public AEItemDefinition blockQuartzPillar;
|
|
||||||
public AEItemDefinition blockQuartzChiseled;
|
|
||||||
public AEItemDefinition blockQuartzGlass;
|
|
||||||
public AEItemDefinition blockQuartzVibrantGlass;
|
|
||||||
public AEItemDefinition blockQuartzTorch;
|
|
||||||
public AEItemDefinition blockFluix;
|
|
||||||
public AEItemDefinition blockSkyStone;
|
|
||||||
public AEItemDefinition blockSkyChest;
|
|
||||||
public AEItemDefinition blockSkyCompass;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Misc
|
|
||||||
*/
|
|
||||||
public AEItemDefinition blockGrindStone;
|
|
||||||
public AEItemDefinition blockCrankHandle;
|
|
||||||
public AEItemDefinition blockInscriber;
|
|
||||||
public AEItemDefinition blockWireless;
|
|
||||||
public AEItemDefinition blockCharger;
|
|
||||||
public AEItemDefinition blockTinyTNT;
|
|
||||||
public AEItemDefinition blockSecurity;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Quantum Network Bridge
|
|
||||||
*/
|
|
||||||
public AEItemDefinition blockQuantumRing;
|
|
||||||
public AEItemDefinition blockQuantumLink;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Spatial IO
|
|
||||||
*/
|
|
||||||
public AEItemDefinition blockSpatialPylon;
|
|
||||||
public AEItemDefinition blockSpatialIOPort;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Bus / Cables
|
|
||||||
*/
|
|
||||||
public AEItemDefinition blockMultiPart;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Machines
|
|
||||||
*/
|
|
||||||
public AEItemDefinition blockController;
|
|
||||||
public AEItemDefinition blockDrive;
|
|
||||||
public AEItemDefinition blockChest;
|
|
||||||
public AEItemDefinition blockInterface;
|
|
||||||
public AEItemDefinition blockCellWorkbench;
|
|
||||||
public AEItemDefinition blockIOPort;
|
|
||||||
public AEItemDefinition blockCondenser;
|
|
||||||
public AEItemDefinition blockEnergyAcceptor;
|
|
||||||
public AEItemDefinition blockVibrationChamber;
|
|
||||||
public AEItemDefinition blockQuartzGrowthAccelerator;
|
|
||||||
|
|
||||||
public AEItemDefinition blockEnergyCell;
|
|
||||||
public AEItemDefinition blockEnergyCellDense;
|
|
||||||
public AEItemDefinition blockEnergyCellCreative;
|
|
||||||
|
|
||||||
// rv1
|
|
||||||
public AEItemDefinition blockCraftingUnit;
|
|
||||||
public AEItemDefinition blockCraftingAccelerator;
|
|
||||||
public AEItemDefinition blockCraftingStorage1k;
|
|
||||||
public AEItemDefinition blockCraftingStorage4k;
|
|
||||||
public AEItemDefinition blockCraftingStorage16k;
|
|
||||||
public AEItemDefinition blockCraftingStorage64k;
|
|
||||||
public AEItemDefinition blockCraftingMonitor;
|
|
||||||
|
|
||||||
public AEItemDefinition blockMolecularAssembler;
|
|
||||||
|
|
||||||
public AEItemDefinition blockLightDetector;
|
|
||||||
public AEItemDefinition blockPaint;
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,56 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of Applied Energistics 2.
|
||||||
|
* Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved.
|
||||||
|
*
|
||||||
|
* Applied Energistics 2 is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Applied Energistics 2 is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
|
* along with Applied Energistics 2. If not, see <http://www.gnu.org/licenses/lgpl>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package appeng.api.definitions;
|
||||||
|
|
||||||
|
import java.util.Optional;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.item.BlockItem;
|
||||||
|
import net.minecraft.util.math.BlockPos;
|
||||||
|
import net.minecraft.world.IBlockReader;
|
||||||
|
|
||||||
|
public interface IBlockDefinition extends IItemDefinition {
|
||||||
|
/**
|
||||||
|
* @return the {@link Block} implementation if applicable
|
||||||
|
*/
|
||||||
|
default Optional<Block> maybeBlock() {
|
||||||
|
return Optional.of(block());
|
||||||
|
}
|
||||||
|
|
||||||
|
Block block();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return the {@link BlockItem} implementation if applicable
|
||||||
|
*/
|
||||||
|
default Optional<BlockItem> maybeBlockItem() {
|
||||||
|
return Optional.of(blockItem());
|
||||||
|
}
|
||||||
|
|
||||||
|
BlockItem blockItem();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Compare Block with world.
|
||||||
|
*
|
||||||
|
* @param world world of block
|
||||||
|
* @param pos location
|
||||||
|
*
|
||||||
|
* @return if the block is placed in the world at the specific location.
|
||||||
|
*/
|
||||||
|
boolean isSameAs(IBlockReader world, BlockPos pos);
|
||||||
|
}
|
||||||
@@ -0,0 +1,189 @@
|
|||||||
|
/*
|
||||||
|
* The MIT License (MIT)
|
||||||
|
*
|
||||||
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
* subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package appeng.api.definitions;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A list of all blocks in AE
|
||||||
|
*/
|
||||||
|
public interface IBlocks {
|
||||||
|
/*
|
||||||
|
* world gen
|
||||||
|
*/
|
||||||
|
IBlockDefinition quartzOre();
|
||||||
|
|
||||||
|
IBlockDefinition quartzOreCharged();
|
||||||
|
|
||||||
|
IBlockDefinition matrixFrame();
|
||||||
|
|
||||||
|
/*
|
||||||
|
* decorative
|
||||||
|
*/
|
||||||
|
IBlockDefinition quartzBlock();
|
||||||
|
|
||||||
|
IBlockDefinition quartzPillar();
|
||||||
|
|
||||||
|
IBlockDefinition chiseledQuartzBlock();
|
||||||
|
|
||||||
|
IBlockDefinition quartzGlass();
|
||||||
|
|
||||||
|
IBlockDefinition quartzVibrantGlass();
|
||||||
|
|
||||||
|
IBlockDefinition quartzFixture();
|
||||||
|
|
||||||
|
IBlockDefinition fluixBlock();
|
||||||
|
|
||||||
|
IBlockDefinition skyStoneBlock();
|
||||||
|
|
||||||
|
IBlockDefinition smoothSkyStoneBlock();
|
||||||
|
|
||||||
|
IBlockDefinition skyStoneBrick();
|
||||||
|
|
||||||
|
IBlockDefinition skyStoneSmallBrick();
|
||||||
|
|
||||||
|
IBlockDefinition skyStoneChest();
|
||||||
|
|
||||||
|
IBlockDefinition smoothSkyStoneChest();
|
||||||
|
|
||||||
|
IBlockDefinition skyCompass();
|
||||||
|
|
||||||
|
IBlockDefinition skyStoneStairs();
|
||||||
|
|
||||||
|
IBlockDefinition smoothSkyStoneStairs();
|
||||||
|
|
||||||
|
IBlockDefinition skyStoneBrickStairs();
|
||||||
|
|
||||||
|
IBlockDefinition skyStoneSmallBrickStairs();
|
||||||
|
|
||||||
|
IBlockDefinition fluixStairs();
|
||||||
|
|
||||||
|
IBlockDefinition quartzStairs();
|
||||||
|
|
||||||
|
IBlockDefinition chiseledQuartzStairs();
|
||||||
|
|
||||||
|
IBlockDefinition quartzPillarStairs();
|
||||||
|
|
||||||
|
IBlockDefinition skyStoneSlab();
|
||||||
|
|
||||||
|
IBlockDefinition smoothSkyStoneSlab();
|
||||||
|
|
||||||
|
IBlockDefinition skyStoneBrickSlab();
|
||||||
|
|
||||||
|
IBlockDefinition skyStoneSmallBrickSlab();
|
||||||
|
|
||||||
|
IBlockDefinition fluixSlab();
|
||||||
|
|
||||||
|
IBlockDefinition quartzSlab();
|
||||||
|
|
||||||
|
IBlockDefinition chiseledQuartzSlab();
|
||||||
|
|
||||||
|
IBlockDefinition quartzPillarSlab();
|
||||||
|
|
||||||
|
/*
|
||||||
|
* misc
|
||||||
|
*/
|
||||||
|
ITileDefinition grindstone();
|
||||||
|
|
||||||
|
ITileDefinition crank();
|
||||||
|
|
||||||
|
ITileDefinition inscriber();
|
||||||
|
|
||||||
|
ITileDefinition wirelessAccessPoint();
|
||||||
|
|
||||||
|
ITileDefinition charger();
|
||||||
|
|
||||||
|
IBlockDefinition tinyTNT();
|
||||||
|
|
||||||
|
ITileDefinition securityStation();
|
||||||
|
|
||||||
|
/*
|
||||||
|
* quantum Network Bridge
|
||||||
|
*/
|
||||||
|
ITileDefinition quantumRing();
|
||||||
|
|
||||||
|
ITileDefinition quantumLink();
|
||||||
|
|
||||||
|
/*
|
||||||
|
* spatial iO
|
||||||
|
*/
|
||||||
|
ITileDefinition spatialPylon();
|
||||||
|
|
||||||
|
ITileDefinition spatialIOPort();
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Bus / cables
|
||||||
|
*/
|
||||||
|
ITileDefinition multiPart();
|
||||||
|
|
||||||
|
/*
|
||||||
|
* machines
|
||||||
|
*/
|
||||||
|
ITileDefinition controller();
|
||||||
|
|
||||||
|
ITileDefinition drive();
|
||||||
|
|
||||||
|
ITileDefinition chest();
|
||||||
|
|
||||||
|
ITileDefinition iface();
|
||||||
|
|
||||||
|
ITileDefinition fluidIface();
|
||||||
|
|
||||||
|
ITileDefinition cellWorkbench();
|
||||||
|
|
||||||
|
ITileDefinition iOPort();
|
||||||
|
|
||||||
|
ITileDefinition condenser();
|
||||||
|
|
||||||
|
ITileDefinition energyAcceptor();
|
||||||
|
|
||||||
|
ITileDefinition vibrationChamber();
|
||||||
|
|
||||||
|
ITileDefinition quartzGrowthAccelerator();
|
||||||
|
|
||||||
|
ITileDefinition energyCell();
|
||||||
|
|
||||||
|
ITileDefinition energyCellDense();
|
||||||
|
|
||||||
|
ITileDefinition energyCellCreative();
|
||||||
|
|
||||||
|
// rv1
|
||||||
|
ITileDefinition craftingUnit();
|
||||||
|
|
||||||
|
ITileDefinition craftingAccelerator();
|
||||||
|
|
||||||
|
ITileDefinition craftingStorage1k();
|
||||||
|
|
||||||
|
ITileDefinition craftingStorage4k();
|
||||||
|
|
||||||
|
ITileDefinition craftingStorage16k();
|
||||||
|
|
||||||
|
ITileDefinition craftingStorage64k();
|
||||||
|
|
||||||
|
ITileDefinition craftingMonitor();
|
||||||
|
|
||||||
|
ITileDefinition molecularAssembler();
|
||||||
|
|
||||||
|
ITileDefinition lightDetector();
|
||||||
|
|
||||||
|
ITileDefinition paint();
|
||||||
|
}
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of Applied Energistics 2.
|
||||||
|
* Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved.
|
||||||
|
*
|
||||||
|
* Applied Energistics 2 is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Applied Energistics 2 is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
|
* along with Applied Energistics 2. If not, see <http://www.gnu.org/licenses/lgpl>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package appeng.api.definitions;
|
||||||
|
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Interface to compare a definition with an itemstack or a block
|
||||||
|
*
|
||||||
|
* @author thatsIch
|
||||||
|
* @version rv2
|
||||||
|
* @since rv2
|
||||||
|
*/
|
||||||
|
public interface IComparableDefinition {
|
||||||
|
/**
|
||||||
|
* Compare {@link ItemStack} with this
|
||||||
|
*
|
||||||
|
* @param comparableStack compared item
|
||||||
|
*
|
||||||
|
* @return true if the item stack is a matching item.
|
||||||
|
*/
|
||||||
|
boolean isSameAs(ItemStack comparableStack);
|
||||||
|
}
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
/*
|
||||||
|
* The MIT License (MIT)
|
||||||
|
*
|
||||||
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
* subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package appeng.api.definitions;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* All definitions in AE
|
||||||
|
*/
|
||||||
|
public interface IDefinitions {
|
||||||
|
/**
|
||||||
|
* @return an accessible list of all of AE's blocks
|
||||||
|
*/
|
||||||
|
IBlocks blocks();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return an accessible list of all of AE's Items
|
||||||
|
*/
|
||||||
|
IItems items();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return an accessible list of all of AE's materials; materials are items
|
||||||
|
*/
|
||||||
|
IMaterials materials();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return an accessible list of all of AE's parts, parts are items
|
||||||
|
*/
|
||||||
|
IParts parts();
|
||||||
|
}
|
||||||
@@ -0,0 +1,66 @@
|
|||||||
|
/*
|
||||||
|
* The MIT License (MIT)
|
||||||
|
*
|
||||||
|
* Copyright (c) 2013 - 2015 AlgorithmX2
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
* subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package appeng.api.definitions;
|
||||||
|
|
||||||
|
import java.util.Optional;
|
||||||
|
import java.util.Set;
|
||||||
|
|
||||||
|
import javax.annotation.Nonnull;
|
||||||
|
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
|
||||||
|
import appeng.api.features.AEFeature;
|
||||||
|
|
||||||
|
public interface IItemDefinition extends IComparableDefinition {
|
||||||
|
/**
|
||||||
|
* @return the unique name of the definition which will be used to register the
|
||||||
|
* underlying structure. Will never be null
|
||||||
|
*/
|
||||||
|
@Nonnull
|
||||||
|
String identifier();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return the {@link Item} Implementation if applicable
|
||||||
|
*/
|
||||||
|
default Optional<Item> maybeItem() {
|
||||||
|
return Optional.of(item());
|
||||||
|
}
|
||||||
|
|
||||||
|
Item item();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return an {@link ItemStack} with specified quantity of this item.
|
||||||
|
*/
|
||||||
|
default Optional<ItemStack> maybeStack(int stackSize) {
|
||||||
|
return Optional.of(stack(stackSize));
|
||||||
|
}
|
||||||
|
|
||||||
|
ItemStack stack(int stackSize);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return an immutable set of the features of this item
|
||||||
|
*/
|
||||||
|
Set<AEFeature> features();
|
||||||
|
}
|
||||||
@@ -0,0 +1,120 @@
|
|||||||
|
/*
|
||||||
|
* The MIT License (MIT)
|
||||||
|
*
|
||||||
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
* subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package appeng.api.definitions;
|
||||||
|
|
||||||
|
import appeng.api.util.AEColoredItemDefinition;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A list of all items in AE
|
||||||
|
*/
|
||||||
|
public interface IItems {
|
||||||
|
IItemDefinition certusQuartzAxe();
|
||||||
|
|
||||||
|
IItemDefinition certusQuartzHoe();
|
||||||
|
|
||||||
|
IItemDefinition certusQuartzShovel();
|
||||||
|
|
||||||
|
IItemDefinition certusQuartzPick();
|
||||||
|
|
||||||
|
IItemDefinition certusQuartzSword();
|
||||||
|
|
||||||
|
IItemDefinition certusQuartzWrench();
|
||||||
|
|
||||||
|
IItemDefinition certusQuartzKnife();
|
||||||
|
|
||||||
|
IItemDefinition netherQuartzAxe();
|
||||||
|
|
||||||
|
IItemDefinition netherQuartzHoe();
|
||||||
|
|
||||||
|
IItemDefinition netherQuartzShovel();
|
||||||
|
|
||||||
|
IItemDefinition netherQuartzPick();
|
||||||
|
|
||||||
|
IItemDefinition netherQuartzSword();
|
||||||
|
|
||||||
|
IItemDefinition netherQuartzWrench();
|
||||||
|
|
||||||
|
IItemDefinition netherQuartzKnife();
|
||||||
|
|
||||||
|
IItemDefinition entropyManipulator();
|
||||||
|
|
||||||
|
IItemDefinition wirelessTerminal();
|
||||||
|
|
||||||
|
IItemDefinition biometricCard();
|
||||||
|
|
||||||
|
IItemDefinition chargedStaff();
|
||||||
|
|
||||||
|
IItemDefinition massCannon();
|
||||||
|
|
||||||
|
IItemDefinition memoryCard();
|
||||||
|
|
||||||
|
IItemDefinition networkTool();
|
||||||
|
|
||||||
|
IItemDefinition portableCell();
|
||||||
|
|
||||||
|
IItemDefinition cellCreative();
|
||||||
|
|
||||||
|
IItemDefinition viewCell();
|
||||||
|
|
||||||
|
IItemDefinition cell1k();
|
||||||
|
|
||||||
|
IItemDefinition cell4k();
|
||||||
|
|
||||||
|
IItemDefinition cell16k();
|
||||||
|
|
||||||
|
IItemDefinition cell64k();
|
||||||
|
|
||||||
|
IItemDefinition fluidCell1k();
|
||||||
|
|
||||||
|
IItemDefinition fluidCell4k();
|
||||||
|
|
||||||
|
IItemDefinition fluidCell16k();
|
||||||
|
|
||||||
|
IItemDefinition fluidCell64k();
|
||||||
|
|
||||||
|
IItemDefinition spatialCell2();
|
||||||
|
|
||||||
|
IItemDefinition spatialCell16();
|
||||||
|
|
||||||
|
IItemDefinition spatialCell128();
|
||||||
|
|
||||||
|
IItemDefinition facade();
|
||||||
|
|
||||||
|
IItemDefinition certusCrystalSeed();
|
||||||
|
|
||||||
|
IItemDefinition fluixCrystalSeed();
|
||||||
|
|
||||||
|
IItemDefinition netherQuartzSeed();
|
||||||
|
|
||||||
|
IItemDefinition dummyFluidItem();
|
||||||
|
|
||||||
|
// rv1
|
||||||
|
IItemDefinition encodedPattern();
|
||||||
|
|
||||||
|
IItemDefinition colorApplicator();
|
||||||
|
|
||||||
|
AEColoredItemDefinition coloredPaintBall();
|
||||||
|
|
||||||
|
AEColoredItemDefinition coloredLumenPaintBall();
|
||||||
|
}
|
||||||
@@ -0,0 +1,143 @@
|
|||||||
|
/*
|
||||||
|
* The MIT License (MIT)
|
||||||
|
*
|
||||||
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
* subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package appeng.api.definitions;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A list of all materials in AE
|
||||||
|
*/
|
||||||
|
public interface IMaterials {
|
||||||
|
IItemDefinition cell2SpatialPart();
|
||||||
|
|
||||||
|
IItemDefinition cell16SpatialPart();
|
||||||
|
|
||||||
|
IItemDefinition cell128SpatialPart();
|
||||||
|
|
||||||
|
IItemDefinition silicon();
|
||||||
|
|
||||||
|
IItemDefinition skyDust();
|
||||||
|
|
||||||
|
IItemDefinition calcProcessorPress();
|
||||||
|
|
||||||
|
IItemDefinition engProcessorPress();
|
||||||
|
|
||||||
|
IItemDefinition logicProcessorPress();
|
||||||
|
|
||||||
|
IItemDefinition calcProcessorPrint();
|
||||||
|
|
||||||
|
IItemDefinition engProcessorPrint();
|
||||||
|
|
||||||
|
IItemDefinition logicProcessorPrint();
|
||||||
|
|
||||||
|
IItemDefinition siliconPress();
|
||||||
|
|
||||||
|
IItemDefinition siliconPrint();
|
||||||
|
|
||||||
|
IItemDefinition namePress();
|
||||||
|
|
||||||
|
IItemDefinition logicProcessor();
|
||||||
|
|
||||||
|
IItemDefinition calcProcessor();
|
||||||
|
|
||||||
|
IItemDefinition engProcessor();
|
||||||
|
|
||||||
|
IItemDefinition basicCard();
|
||||||
|
|
||||||
|
IItemDefinition advCard();
|
||||||
|
|
||||||
|
IItemDefinition purifiedCertusQuartzCrystal();
|
||||||
|
|
||||||
|
IItemDefinition purifiedNetherQuartzCrystal();
|
||||||
|
|
||||||
|
IItemDefinition purifiedFluixCrystal();
|
||||||
|
|
||||||
|
IItemDefinition cell1kPart();
|
||||||
|
|
||||||
|
IItemDefinition cell4kPart();
|
||||||
|
|
||||||
|
IItemDefinition cell16kPart();
|
||||||
|
|
||||||
|
IItemDefinition cell64kPart();
|
||||||
|
|
||||||
|
IItemDefinition emptyStorageCell();
|
||||||
|
|
||||||
|
IItemDefinition cardRedstone();
|
||||||
|
|
||||||
|
IItemDefinition cardSpeed();
|
||||||
|
|
||||||
|
IItemDefinition cardCapacity();
|
||||||
|
|
||||||
|
IItemDefinition cardFuzzy();
|
||||||
|
|
||||||
|
IItemDefinition cardInverter();
|
||||||
|
|
||||||
|
IItemDefinition cardCrafting();
|
||||||
|
|
||||||
|
IItemDefinition enderDust();
|
||||||
|
|
||||||
|
IItemDefinition flour();
|
||||||
|
|
||||||
|
IItemDefinition goldDust();
|
||||||
|
|
||||||
|
IItemDefinition ironDust();
|
||||||
|
|
||||||
|
IItemDefinition fluixDust();
|
||||||
|
|
||||||
|
IItemDefinition certusQuartzDust();
|
||||||
|
|
||||||
|
IItemDefinition netherQuartzDust();
|
||||||
|
|
||||||
|
IItemDefinition matterBall();
|
||||||
|
|
||||||
|
IItemDefinition certusQuartzCrystal();
|
||||||
|
|
||||||
|
IItemDefinition certusQuartzCrystalCharged();
|
||||||
|
|
||||||
|
IItemDefinition fluixCrystal();
|
||||||
|
|
||||||
|
IItemDefinition fluixPearl();
|
||||||
|
|
||||||
|
IItemDefinition woodenGear();
|
||||||
|
|
||||||
|
IItemDefinition wirelessReceiver();
|
||||||
|
|
||||||
|
IItemDefinition wirelessBooster();
|
||||||
|
|
||||||
|
IItemDefinition annihilationCore();
|
||||||
|
|
||||||
|
IItemDefinition formationCore();
|
||||||
|
|
||||||
|
IItemDefinition singularity();
|
||||||
|
|
||||||
|
IItemDefinition qESingularity();
|
||||||
|
|
||||||
|
IItemDefinition blankPattern();
|
||||||
|
|
||||||
|
IItemDefinition fluidCell1kPart();
|
||||||
|
|
||||||
|
IItemDefinition fluidCell4kPart();
|
||||||
|
|
||||||
|
IItemDefinition fluidCell16kPart();
|
||||||
|
|
||||||
|
IItemDefinition fluidCell64kPart();
|
||||||
|
}
|
||||||
@@ -0,0 +1,113 @@
|
|||||||
|
/*
|
||||||
|
* The MIT License (MIT)
|
||||||
|
*
|
||||||
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
* subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package appeng.api.definitions;
|
||||||
|
|
||||||
|
import appeng.api.util.AEColoredItemDefinition;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A list of all parts in AE
|
||||||
|
*/
|
||||||
|
public interface IParts {
|
||||||
|
AEColoredItemDefinition cableSmart();
|
||||||
|
|
||||||
|
AEColoredItemDefinition cableCovered();
|
||||||
|
|
||||||
|
AEColoredItemDefinition cableGlass();
|
||||||
|
|
||||||
|
AEColoredItemDefinition cableDenseCovered();
|
||||||
|
|
||||||
|
AEColoredItemDefinition cableDenseSmart();
|
||||||
|
|
||||||
|
IItemDefinition quartzFiber();
|
||||||
|
|
||||||
|
IItemDefinition toggleBus();
|
||||||
|
|
||||||
|
IItemDefinition invertedToggleBus();
|
||||||
|
|
||||||
|
IItemDefinition storageBus();
|
||||||
|
|
||||||
|
IItemDefinition importBus();
|
||||||
|
|
||||||
|
IItemDefinition exportBus();
|
||||||
|
|
||||||
|
IItemDefinition iface();
|
||||||
|
|
||||||
|
IItemDefinition fluidIface();
|
||||||
|
|
||||||
|
IItemDefinition levelEmitter();
|
||||||
|
|
||||||
|
IItemDefinition annihilationPlane();
|
||||||
|
|
||||||
|
IItemDefinition identityAnnihilationPlane();
|
||||||
|
|
||||||
|
IItemDefinition formationPlane();
|
||||||
|
|
||||||
|
IItemDefinition p2PTunnelME();
|
||||||
|
|
||||||
|
IItemDefinition p2PTunnelRedstone();
|
||||||
|
|
||||||
|
IItemDefinition p2PTunnelItems();
|
||||||
|
|
||||||
|
IItemDefinition p2PTunnelFluids();
|
||||||
|
|
||||||
|
IItemDefinition p2PTunnelEU();
|
||||||
|
|
||||||
|
IItemDefinition p2PTunnelFE();
|
||||||
|
|
||||||
|
IItemDefinition p2PTunnelLight();
|
||||||
|
|
||||||
|
IItemDefinition cableAnchor();
|
||||||
|
|
||||||
|
IItemDefinition monitor();
|
||||||
|
|
||||||
|
IItemDefinition semiDarkMonitor();
|
||||||
|
|
||||||
|
IItemDefinition darkMonitor();
|
||||||
|
|
||||||
|
IItemDefinition interfaceTerminal();
|
||||||
|
|
||||||
|
IItemDefinition patternTerminal();
|
||||||
|
|
||||||
|
IItemDefinition craftingTerminal();
|
||||||
|
|
||||||
|
IItemDefinition terminal();
|
||||||
|
|
||||||
|
IItemDefinition storageMonitor();
|
||||||
|
|
||||||
|
IItemDefinition conversionMonitor();
|
||||||
|
|
||||||
|
IItemDefinition fluidTerminal();
|
||||||
|
|
||||||
|
IItemDefinition fluidImportBus();
|
||||||
|
|
||||||
|
IItemDefinition fluidExportBus();
|
||||||
|
|
||||||
|
IItemDefinition fluidStorageBus();
|
||||||
|
|
||||||
|
IItemDefinition fluidLevelEmitter();
|
||||||
|
|
||||||
|
IItemDefinition fluidAnnihilationPlane();
|
||||||
|
|
||||||
|
IItemDefinition fluidFormationnPlane();
|
||||||
|
}
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of Applied Energistics 2.
|
||||||
|
* Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved.
|
||||||
|
*
|
||||||
|
* Applied Energistics 2 is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Applied Energistics 2 is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
|
* along with Applied Energistics 2. If not, see <http://www.gnu.org/licenses/lgpl>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package appeng.api.definitions;
|
||||||
|
|
||||||
|
import java.util.Optional;
|
||||||
|
|
||||||
|
import net.minecraft.tileentity.TileEntity;
|
||||||
|
|
||||||
|
public interface ITileDefinition extends IBlockDefinition {
|
||||||
|
/**
|
||||||
|
* @return the {@link TileEntity} Class if applicable.
|
||||||
|
*/
|
||||||
|
Optional<? extends Class<? extends TileEntity>> maybeEntity();
|
||||||
|
}
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
package appeng.api.definitions;
|
||||||
|
|
||||||
|
import net.minecraft.util.ResourceLocation;
|
||||||
|
|
||||||
|
// Private helper class to create AE2 resource locations
|
||||||
|
final class IdHelper {
|
||||||
|
|
||||||
|
private IdHelper() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates a ResourceLocation namespaced to AE2.
|
||||||
|
*/
|
||||||
|
static ResourceLocation id(String id) {
|
||||||
|
return new ResourceLocation("appliedenergistics2", id);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -1,77 +0,0 @@
|
|||||||
/*
|
|
||||||
* The MIT License (MIT)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
|
||||||
*
|
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
|
||||||
* the Software without restriction, including without limitation the rights to
|
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
|
||||||
* subject to the following conditions:
|
|
||||||
*
|
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
|
||||||
* copies or substantial portions of the Software.
|
|
||||||
*
|
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
||||||
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
||||||
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
||||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
*/
|
|
||||||
|
|
||||||
package appeng.api.definitions;
|
|
||||||
|
|
||||||
import appeng.api.util.AEColoredItemDefinition;
|
|
||||||
import appeng.api.util.AEItemDefinition;
|
|
||||||
|
|
||||||
public class Items
|
|
||||||
{
|
|
||||||
|
|
||||||
public AEItemDefinition itemCertusQuartzAxe;
|
|
||||||
public AEItemDefinition itemCertusQuartzHoe;
|
|
||||||
public AEItemDefinition itemCertusQuartzShovel;
|
|
||||||
public AEItemDefinition itemCertusQuartzPick;
|
|
||||||
public AEItemDefinition itemCertusQuartzSword;
|
|
||||||
public AEItemDefinition itemCertusQuartzWrench;
|
|
||||||
public AEItemDefinition itemCertusQuartzKnife;
|
|
||||||
|
|
||||||
public AEItemDefinition itemNetherQuartzAxe;
|
|
||||||
public AEItemDefinition itemNetherQuartzHoe;
|
|
||||||
public AEItemDefinition itemNetherQuartzShovel;
|
|
||||||
public AEItemDefinition itemNetherQuartzPick;
|
|
||||||
public AEItemDefinition itemNetherQuartzSword;
|
|
||||||
public AEItemDefinition itemNetherQuartzWrench;
|
|
||||||
public AEItemDefinition itemNetherQuartzKnife;
|
|
||||||
|
|
||||||
public AEItemDefinition itemEntropyManipulator;
|
|
||||||
public AEItemDefinition itemWirelessTerminal;
|
|
||||||
public AEItemDefinition itemBiometricCard;
|
|
||||||
public AEItemDefinition itemChargedStaff;
|
|
||||||
public AEItemDefinition itemMassCannon;
|
|
||||||
public AEItemDefinition itemMemoryCard;
|
|
||||||
public AEItemDefinition itemNetworkTool;
|
|
||||||
public AEItemDefinition itemPortableCell;
|
|
||||||
|
|
||||||
public AEItemDefinition itemCellCreative;
|
|
||||||
public AEItemDefinition itemViewCell;
|
|
||||||
|
|
||||||
public AEItemDefinition itemCell1k;
|
|
||||||
public AEItemDefinition itemCell4k;
|
|
||||||
public AEItemDefinition itemCell16k;
|
|
||||||
public AEItemDefinition itemCell64k;
|
|
||||||
|
|
||||||
public AEItemDefinition itemSpatialCell2;
|
|
||||||
public AEItemDefinition itemSpatialCell16;
|
|
||||||
public AEItemDefinition itemSpatialCell128;
|
|
||||||
|
|
||||||
public AEItemDefinition itemFacade;
|
|
||||||
public AEItemDefinition itemCrystalSeed;
|
|
||||||
|
|
||||||
// rv1
|
|
||||||
public AEItemDefinition itemEncodedPattern;
|
|
||||||
public AEItemDefinition itemColorApplicator;
|
|
||||||
public AEColoredItemDefinition itemPaintBall;
|
|
||||||
public AEColoredItemDefinition itemLumenPaintBall;
|
|
||||||
}
|
|
||||||
@@ -1,103 +0,0 @@
|
|||||||
/*
|
|
||||||
* The MIT License (MIT)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
|
||||||
*
|
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
|
||||||
* the Software without restriction, including without limitation the rights to
|
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
|
||||||
* subject to the following conditions:
|
|
||||||
*
|
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
|
||||||
* copies or substantial portions of the Software.
|
|
||||||
*
|
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
||||||
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
||||||
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
||||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
*/
|
|
||||||
|
|
||||||
package appeng.api.definitions;
|
|
||||||
|
|
||||||
import appeng.api.util.AEItemDefinition;
|
|
||||||
|
|
||||||
public class Materials
|
|
||||||
{
|
|
||||||
|
|
||||||
public AEItemDefinition materialCell2SpatialPart;
|
|
||||||
public AEItemDefinition materialCell16SpatialPart;
|
|
||||||
public AEItemDefinition materialCell128SpatialPart;
|
|
||||||
|
|
||||||
public AEItemDefinition materialSilicon;
|
|
||||||
public AEItemDefinition materialSkyDust;
|
|
||||||
|
|
||||||
public AEItemDefinition materialCalcProcessorPress;
|
|
||||||
public AEItemDefinition materialEngProcessorPress;
|
|
||||||
public AEItemDefinition materialLogicProcessorPress;
|
|
||||||
|
|
||||||
public AEItemDefinition materialCalcProcessorPrint;
|
|
||||||
public AEItemDefinition materialEngProcessorPrint;
|
|
||||||
public AEItemDefinition materialLogicProcessorPrint;
|
|
||||||
|
|
||||||
public AEItemDefinition materialSiliconPress;
|
|
||||||
public AEItemDefinition materialSiliconPrint;
|
|
||||||
|
|
||||||
public AEItemDefinition materialNamePress;
|
|
||||||
|
|
||||||
public AEItemDefinition materialLogicProcessor;
|
|
||||||
public AEItemDefinition materialCalcProcessor;
|
|
||||||
public AEItemDefinition materialEngProcessor;
|
|
||||||
|
|
||||||
public AEItemDefinition materialBasicCard;
|
|
||||||
public AEItemDefinition materialAdvCard;
|
|
||||||
|
|
||||||
public AEItemDefinition materialPurifiedCertusQuartzCrystal;
|
|
||||||
public AEItemDefinition materialPurifiedNetherQuartzCrystal;
|
|
||||||
public AEItemDefinition materialPurifiedFluixCrystal;
|
|
||||||
|
|
||||||
public AEItemDefinition materialCell1kPart;
|
|
||||||
public AEItemDefinition materialCell4kPart;
|
|
||||||
public AEItemDefinition materialCell16kPart;
|
|
||||||
public AEItemDefinition materialCell64kPart;
|
|
||||||
public AEItemDefinition materialEmptyStorageCell;
|
|
||||||
|
|
||||||
public AEItemDefinition materialCardRedstone;
|
|
||||||
public AEItemDefinition materialCardSpeed;
|
|
||||||
public AEItemDefinition materialCardCapacity;
|
|
||||||
public AEItemDefinition materialCardFuzzy;
|
|
||||||
public AEItemDefinition materialCardInverter;
|
|
||||||
public AEItemDefinition materialCardCrafting;
|
|
||||||
|
|
||||||
public AEItemDefinition materialEnderDust;
|
|
||||||
public AEItemDefinition materialFlour;
|
|
||||||
public AEItemDefinition materialGoldDust;
|
|
||||||
public AEItemDefinition materialIronDust;
|
|
||||||
public AEItemDefinition materialFluixDust;
|
|
||||||
public AEItemDefinition materialCertusQuartzDust;
|
|
||||||
public AEItemDefinition materialNetherQuartzDust;
|
|
||||||
|
|
||||||
public AEItemDefinition materialMatterBall;
|
|
||||||
public AEItemDefinition materialIronNugget;
|
|
||||||
|
|
||||||
public AEItemDefinition materialCertusQuartzCrystal;
|
|
||||||
public AEItemDefinition materialCertusQuartzCrystalCharged;
|
|
||||||
public AEItemDefinition materialFluixCrystal;
|
|
||||||
public AEItemDefinition materialFluixPearl;
|
|
||||||
|
|
||||||
public AEItemDefinition materialWoodenGear;
|
|
||||||
|
|
||||||
public AEItemDefinition materialWireless;
|
|
||||||
public AEItemDefinition materialWirelessBooster;
|
|
||||||
|
|
||||||
public AEItemDefinition materialAnnihilationCore;
|
|
||||||
public AEItemDefinition materialFormationCore;
|
|
||||||
|
|
||||||
public AEItemDefinition materialSingularity;
|
|
||||||
public AEItemDefinition materialQESingularity;
|
|
||||||
public AEItemDefinition materialBlankPattern;
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,76 +0,0 @@
|
|||||||
/*
|
|
||||||
* The MIT License (MIT)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
|
||||||
*
|
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
|
||||||
* the Software without restriction, including without limitation the rights to
|
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
|
||||||
* subject to the following conditions:
|
|
||||||
*
|
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
|
||||||
* copies or substantial portions of the Software.
|
|
||||||
*
|
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
||||||
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
||||||
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
||||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
*/
|
|
||||||
|
|
||||||
package appeng.api.definitions;
|
|
||||||
|
|
||||||
import appeng.api.util.AEColoredItemDefinition;
|
|
||||||
import appeng.api.util.AEItemDefinition;
|
|
||||||
|
|
||||||
public class Parts
|
|
||||||
{
|
|
||||||
|
|
||||||
public AEColoredItemDefinition partCableSmart;
|
|
||||||
public AEColoredItemDefinition partCableCovered;
|
|
||||||
public AEColoredItemDefinition partCableGlass;
|
|
||||||
public AEColoredItemDefinition partCableDense;
|
|
||||||
|
|
||||||
public AEColoredItemDefinition partLumenCableSmart;
|
|
||||||
public AEColoredItemDefinition partLumenCableCovered;
|
|
||||||
public AEColoredItemDefinition partLumenCableGlass;
|
|
||||||
public AEColoredItemDefinition partLumenCableDense;
|
|
||||||
|
|
||||||
public AEItemDefinition partQuartzFiber;
|
|
||||||
public AEItemDefinition partToggleBus;
|
|
||||||
public AEItemDefinition partInvertedToggleBus;
|
|
||||||
|
|
||||||
public AEItemDefinition partStorageBus;
|
|
||||||
public AEItemDefinition partImportBus;
|
|
||||||
public AEItemDefinition partExportBus;
|
|
||||||
public AEItemDefinition partInterface;
|
|
||||||
|
|
||||||
public AEItemDefinition partLevelEmitter;
|
|
||||||
|
|
||||||
public AEItemDefinition partAnnihilationPlane;
|
|
||||||
public AEItemDefinition partFormationPlane;
|
|
||||||
|
|
||||||
public AEItemDefinition partP2PTunnelME;
|
|
||||||
public AEItemDefinition partP2PTunnelRedstone;
|
|
||||||
public AEItemDefinition partP2PTunnelItems;
|
|
||||||
public AEItemDefinition partP2PTunnelLiquids;
|
|
||||||
public AEItemDefinition partP2PTunnelMJ;
|
|
||||||
public AEItemDefinition partP2PTunnelEU;
|
|
||||||
public AEItemDefinition partP2PTunnelRF;
|
|
||||||
public AEItemDefinition partP2PTunnelLight;
|
|
||||||
|
|
||||||
public AEItemDefinition partCableAnchor;
|
|
||||||
public AEItemDefinition partMonitor;
|
|
||||||
public AEItemDefinition partSemiDarkMonitor;
|
|
||||||
public AEItemDefinition partDarkMonitor;
|
|
||||||
|
|
||||||
public AEItemDefinition partInterfaceTerminal;
|
|
||||||
public AEItemDefinition partPatternTerminal;
|
|
||||||
public AEItemDefinition partCraftingTerminal;
|
|
||||||
public AEItemDefinition partTerminal;
|
|
||||||
public AEItemDefinition partStorageMonitor;
|
|
||||||
public AEItemDefinition partConversionMonitor;
|
|
||||||
}
|
|
||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -23,29 +23,34 @@
|
|||||||
|
|
||||||
package appeng.api.events;
|
package appeng.api.events;
|
||||||
|
|
||||||
|
import net.minecraftforge.eventbus.api.Event;
|
||||||
|
|
||||||
import appeng.api.features.ILocatable;
|
import appeng.api.features.ILocatable;
|
||||||
import cpw.mods.fml.common.eventhandler.Event;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Input Event:
|
* Input Event:
|
||||||
*
|
*
|
||||||
* Used to Notify the Location Registry of objects, and their availability.
|
* Used to Notify the Location Registry of objects, and their availability.
|
||||||
*/
|
*/
|
||||||
public class LocatableEventAnnounce extends Event
|
public class LocatableEventAnnounce extends Event {
|
||||||
{
|
|
||||||
|
|
||||||
public enum LocatableEvent
|
public final ILocatable target;
|
||||||
{
|
public final LocatableEvent change;
|
||||||
Register, // Adds the locatable to the registry
|
|
||||||
Unregister // Removes the locatable from the registry
|
|
||||||
}
|
|
||||||
|
|
||||||
final public ILocatable target;
|
public LocatableEventAnnounce(final ILocatable o, final LocatableEvent ev) {
|
||||||
final public LocatableEvent change;
|
this.target = o;
|
||||||
|
this.change = ev;
|
||||||
|
}
|
||||||
|
|
||||||
public LocatableEventAnnounce(ILocatable o, LocatableEvent ev) {
|
public enum LocatableEvent {
|
||||||
target = o;
|
/**
|
||||||
change = ev;
|
* Adds the locatable to the registry
|
||||||
}
|
*/
|
||||||
|
REGISTER,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Removes the locatable from the registry
|
||||||
|
*/
|
||||||
|
UNREGISTER
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,18 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
* the Software without restriction, including without limitation the rights to
|
* the Software without restriction, including without limitation the rights to
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
* subject to the following conditions:
|
* subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* copies or substantial portions of the Software.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
@@ -23,12 +23,11 @@
|
|||||||
|
|
||||||
package appeng.api.exceptions;
|
package appeng.api.exceptions;
|
||||||
|
|
||||||
public class AppEngException extends Exception
|
public class AppEngException extends Exception {
|
||||||
{
|
|
||||||
|
|
||||||
private static final long serialVersionUID = -9051434206368465494L;
|
private static final long serialVersionUID = -9051434206368465494L;
|
||||||
|
|
||||||
public AppEngException(String t) {
|
public AppEngException(final String t) {
|
||||||
super( t );
|
super(t);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,27 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of Applied Energistics 2.
|
||||||
|
* Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved.
|
||||||
|
*
|
||||||
|
* Applied Energistics 2 is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Applied Energistics 2 is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
|
* along with Applied Energistics 2. If not, see <http://www.gnu.org/licenses/lgpl>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package appeng.api.exceptions;
|
||||||
|
|
||||||
|
public class CoreInaccessibleException extends RuntimeException {
|
||||||
|
private static final long serialVersionUID = -7434641554655517242L;
|
||||||
|
|
||||||
|
public CoreInaccessibleException(final String message) {
|
||||||
|
super(message);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,52 @@
|
|||||||
|
/*
|
||||||
|
* The MIT License (MIT)
|
||||||
|
*
|
||||||
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
* subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package appeng.api.exceptions;
|
||||||
|
|
||||||
|
import appeng.api.networking.IGridNode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Exception occurred because of an already existing connection between the two
|
||||||
|
* {@link IGridNode}s
|
||||||
|
*
|
||||||
|
* Intended to signal an internal exception and not intended to be thrown by any
|
||||||
|
* 3rd party module.
|
||||||
|
*
|
||||||
|
* @author yueh
|
||||||
|
* @version rv3
|
||||||
|
* @since rv3
|
||||||
|
*/
|
||||||
|
public class ExistingConnectionException extends FailedConnectionException {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 2975450379720353182L;
|
||||||
|
private static final String DEFAULT_MESSAGE = "Connection between both nodes already exists.";
|
||||||
|
|
||||||
|
public ExistingConnectionException() {
|
||||||
|
super(DEFAULT_MESSAGE);
|
||||||
|
}
|
||||||
|
|
||||||
|
public ExistingConnectionException(String message) {
|
||||||
|
super(message);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
/*
|
|
||||||
* The MIT License (MIT)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
|
||||||
*
|
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
|
||||||
* the Software without restriction, including without limitation the rights to
|
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
|
||||||
* subject to the following conditions:
|
|
||||||
*
|
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
|
||||||
* copies or substantial portions of the Software.
|
|
||||||
*
|
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
||||||
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
||||||
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
||||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
*/
|
|
||||||
|
|
||||||
package appeng.api.exceptions;
|
|
||||||
|
|
||||||
public class FailedConnection extends Exception
|
|
||||||
{
|
|
||||||
|
|
||||||
private static final long serialVersionUID = -2544208090248293753L;
|
|
||||||
|
|
||||||
public FailedConnection() {
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* The MIT License (MIT)
|
||||||
|
*
|
||||||
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
* subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package appeng.api.exceptions;
|
||||||
|
|
||||||
|
import appeng.api.networking.IGridNode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Exception indicating a failed connection between two {@link IGridNode}s.
|
||||||
|
*
|
||||||
|
* Intended to signal an internal exception and not intended to be thrown by any
|
||||||
|
* 3rd party module.
|
||||||
|
*
|
||||||
|
* See any subclass for a more specific reason.
|
||||||
|
*
|
||||||
|
* @author AlgorithmX2
|
||||||
|
* @author yueh
|
||||||
|
* @version rv3
|
||||||
|
* @since rv0
|
||||||
|
*/
|
||||||
|
public class FailedConnectionException extends Exception {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = -2544208090248293753L;
|
||||||
|
|
||||||
|
public FailedConnectionException() {
|
||||||
|
}
|
||||||
|
|
||||||
|
public FailedConnectionException(String message) {
|
||||||
|
super(message);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of Applied Energistics 2.
|
||||||
|
* Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved.
|
||||||
|
*
|
||||||
|
* Applied Energistics 2 is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Applied Energistics 2 is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
|
* along with Applied Energistics 2. If not, see <http://www.gnu.org/licenses/lgpl>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package appeng.api.exceptions;
|
||||||
|
|
||||||
|
public class MissingDefinitionException extends RuntimeException {
|
||||||
|
private static final long serialVersionUID = -6547396584255825761L;
|
||||||
|
|
||||||
|
public MissingDefinitionException(final String message) {
|
||||||
|
super(message);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,34 +0,0 @@
|
|||||||
/*
|
|
||||||
* The MIT License (MIT)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
|
||||||
*
|
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
|
||||||
* the Software without restriction, including without limitation the rights to
|
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
|
||||||
* subject to the following conditions:
|
|
||||||
*
|
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
|
||||||
* copies or substantial portions of the Software.
|
|
||||||
*
|
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
||||||
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
||||||
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
||||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
*/
|
|
||||||
|
|
||||||
package appeng.api.exceptions;
|
|
||||||
|
|
||||||
public class MissingIngredientError extends Exception {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = -998858343831371697L;
|
|
||||||
|
|
||||||
public MissingIngredientError(String n) {
|
|
||||||
super( n );
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
/*
|
||||||
|
* The MIT License (MIT)
|
||||||
|
*
|
||||||
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
* subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package appeng.api.exceptions;
|
||||||
|
|
||||||
|
public class MissingIngredientException extends Exception {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = -998858343831371697L;
|
||||||
|
|
||||||
|
public MissingIngredientException(final String n) {
|
||||||
|
super(n);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,35 +0,0 @@
|
|||||||
/*
|
|
||||||
* The MIT License (MIT)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
|
||||||
*
|
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
|
||||||
* the Software without restriction, including without limitation the rights to
|
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
|
||||||
* subject to the following conditions:
|
|
||||||
*
|
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
|
||||||
* copies or substantial portions of the Software.
|
|
||||||
*
|
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
||||||
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
||||||
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
||||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
*/
|
|
||||||
|
|
||||||
package appeng.api.exceptions;
|
|
||||||
|
|
||||||
public class ModNotInstalled extends Exception
|
|
||||||
{
|
|
||||||
|
|
||||||
private static final long serialVersionUID = -9052435206368425494L;
|
|
||||||
|
|
||||||
public ModNotInstalled(String t) {
|
|
||||||
super( t );
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
/*
|
||||||
|
* The MIT License (MIT)
|
||||||
|
*
|
||||||
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
* subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package appeng.api.exceptions;
|
||||||
|
|
||||||
|
public class ModNotInstalledException extends Exception {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = -9052435206368425494L;
|
||||||
|
|
||||||
|
public ModNotInstalledException(final String t) {
|
||||||
|
super(t);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
/*
|
||||||
|
* The MIT License (MIT)
|
||||||
|
*
|
||||||
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
* subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package appeng.api.exceptions;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Exception due to trying to connect one or more null values.
|
||||||
|
*
|
||||||
|
* Intended to signal an internal exception and not intended to be thrown by any
|
||||||
|
* 3rd party module.
|
||||||
|
*
|
||||||
|
* @author yueh
|
||||||
|
* @version rv3
|
||||||
|
* @since rv3
|
||||||
|
*/
|
||||||
|
public class NullNodeConnectionException extends FailedConnectionException {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = -2143719383495321764L;
|
||||||
|
private static final String DEFAULT_MESSAGE = "Connection forged between null entities.";
|
||||||
|
|
||||||
|
public NullNodeConnectionException() {
|
||||||
|
super(DEFAULT_MESSAGE);
|
||||||
|
}
|
||||||
|
|
||||||
|
public NullNodeConnectionException(String message) {
|
||||||
|
super(message);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -1,35 +0,0 @@
|
|||||||
/*
|
|
||||||
* The MIT License (MIT)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
|
||||||
*
|
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
|
||||||
* the Software without restriction, including without limitation the rights to
|
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
|
||||||
* subject to the following conditions:
|
|
||||||
*
|
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
|
||||||
* copies or substantial portions of the Software.
|
|
||||||
*
|
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
||||||
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
||||||
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
||||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
*/
|
|
||||||
|
|
||||||
package appeng.api.exceptions;
|
|
||||||
|
|
||||||
public class RecipeError extends Exception
|
|
||||||
{
|
|
||||||
|
|
||||||
private static final long serialVersionUID = -6602870588617670262L;
|
|
||||||
|
|
||||||
public RecipeError(String n) {
|
|
||||||
super( n );
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
/*
|
||||||
|
* The MIT License (MIT)
|
||||||
|
*
|
||||||
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
* subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package appeng.api.exceptions;
|
||||||
|
|
||||||
|
public class RecipeException extends Exception {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = -6602870588617670262L;
|
||||||
|
|
||||||
|
public RecipeException(final String n) {
|
||||||
|
super(n);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,35 +0,0 @@
|
|||||||
/*
|
|
||||||
* The MIT License (MIT)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
|
||||||
*
|
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
|
||||||
* the Software without restriction, including without limitation the rights to
|
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
|
||||||
* subject to the following conditions:
|
|
||||||
*
|
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
|
||||||
* copies or substantial portions of the Software.
|
|
||||||
*
|
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
||||||
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
||||||
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
||||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
*/
|
|
||||||
|
|
||||||
package appeng.api.exceptions;
|
|
||||||
|
|
||||||
public class RegistrationError extends Exception
|
|
||||||
{
|
|
||||||
|
|
||||||
private static final long serialVersionUID = -6602870588617670263L;
|
|
||||||
|
|
||||||
public RegistrationError(String n) {
|
|
||||||
super( n );
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
/*
|
||||||
|
* The MIT License (MIT)
|
||||||
|
*
|
||||||
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
* subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package appeng.api.exceptions;
|
||||||
|
|
||||||
|
public class RegistrationException extends Exception {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = -6602870588617670263L;
|
||||||
|
|
||||||
|
public RegistrationException(final String n) {
|
||||||
|
super(n);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
/*
|
||||||
|
* The MIT License (MIT)
|
||||||
|
*
|
||||||
|
* Copyright (c) 2013 AlgorithmX2
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
* subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package appeng.api.exceptions;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Exception due to trying to connect different security realms.
|
||||||
|
*
|
||||||
|
* Intended to signal an internal exception and not intended to be thrown by any
|
||||||
|
* 3rd party module.
|
||||||
|
*
|
||||||
|
* @author yueh
|
||||||
|
* @version rv3
|
||||||
|
* @since rv3
|
||||||
|
*/
|
||||||
|
public class SecurityConnectionException extends FailedConnectionException {
|
||||||
|
private static final long serialVersionUID = 5048714900434215426L;
|
||||||
|
private static final String DEFAULT_MESSAGE = "Connection failed due to different security realms.";
|
||||||
|
|
||||||
|
public SecurityConnectionException() {
|
||||||
|
super(DEFAULT_MESSAGE);
|
||||||
|
}
|
||||||
|
|
||||||
|
public SecurityConnectionException(String message) {
|
||||||
|
super(message);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,439 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of Applied Energistics 2.
|
||||||
|
* Copyright (c) 2013 - 2018, AlgorithmX2, All rights reserved.
|
||||||
|
*
|
||||||
|
* Applied Energistics 2 is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Applied Energistics 2 is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
|
* along with Applied Energistics 2. If not, see <http://www.gnu.org/licenses/lgpl>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package appeng.api.features;
|
||||||
|
|
||||||
|
public enum AEFeature {
|
||||||
|
// stuff that has no reason for ever being turned off, or that
|
||||||
|
// is just flat out required by tons of
|
||||||
|
// important stuff.
|
||||||
|
CORE("Core", null, false) {
|
||||||
|
@Override
|
||||||
|
public boolean isVisible() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Worldgen related
|
||||||
|
*/
|
||||||
|
CERTUS_QUARTZ_WORLD_GEN("CertusQuartzWorldGen", Constants.CATEGORY_WORLD, true),
|
||||||
|
|
||||||
|
METEORITE_WORLD_GEN("MeteoriteWorldGen", Constants.CATEGORY_WORLD, true),
|
||||||
|
|
||||||
|
DECORATIVE_LIGHTS("DecorativeLights", Constants.CATEGORY_WORLD, false),
|
||||||
|
|
||||||
|
DECORATIVE_BLOCKS("DecorativeBlocks", Constants.CATEGORY_WORLD, false,
|
||||||
|
"Blocks that are not used in any essential recipes, also slabs and stairs."),
|
||||||
|
|
||||||
|
SKY_STONE_CHESTS("SkyStoneChests", Constants.CATEGORY_WORLD, false),
|
||||||
|
|
||||||
|
SPAWN_PRESSES_IN_METEORITES("SpawnPressesInMeteorites", Constants.CATEGORY_WORLD, true),
|
||||||
|
|
||||||
|
FLOUR("Flour", Constants.CATEGORY_WORLD, false), CHEST_LOOT("ChestLoot", Constants.CATEGORY_WORLD, false),
|
||||||
|
|
||||||
|
VILLAGER_TRADING("VillagerTrading", Constants.CATEGORY_WORLD, true),
|
||||||
|
|
||||||
|
TINY_TNT("TinyTNT", Constants.CATEGORY_WORLD, false),
|
||||||
|
|
||||||
|
CERTUS_ORE("CertusOre", Constants.CATEGORY_WORLD, false),
|
||||||
|
|
||||||
|
CHARGED_CERTUS_ORE("ChargedCertusOre", Constants.CATEGORY_WORLD, false),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Machines
|
||||||
|
*/
|
||||||
|
GRIND_STONE("GrindStone", Constants.CATEGORY_MACHINES, false),
|
||||||
|
|
||||||
|
INSCRIBER("Inscriber", Constants.CATEGORY_MACHINES, false),
|
||||||
|
|
||||||
|
CHARGER("Charger", Constants.CATEGORY_MACHINES, false),
|
||||||
|
|
||||||
|
CRYSTAL_GROWTH_ACCELERATOR("CrystalGrowthAccelerator", Constants.CATEGORY_MACHINES, false),
|
||||||
|
|
||||||
|
POWER_GEN("VibrationChamber", Constants.CATEGORY_MACHINES, false),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Tools
|
||||||
|
*/
|
||||||
|
POWERED_TOOLS("PoweredTools", Constants.CATEGORY_TOOLS_CLASSIFICATIONS, false),
|
||||||
|
|
||||||
|
CERTUS_QUARTZ_TOOLS("CertusQuartzTools", Constants.CATEGORY_TOOLS_CLASSIFICATIONS, false),
|
||||||
|
|
||||||
|
NETHER_QUARTZ_TOOLS("NetherQuartzTools", Constants.CATEGORY_TOOLS_CLASSIFICATIONS, false),
|
||||||
|
|
||||||
|
QUARTZ_HOE("QuartzHoe", Constants.CATEGORY_TOOLS, false),
|
||||||
|
|
||||||
|
QUARTZ_SPADE("QuartzSpade", Constants.CATEGORY_TOOLS, false),
|
||||||
|
|
||||||
|
QUARTZ_SWORD("QuartzSword", Constants.CATEGORY_TOOLS, false),
|
||||||
|
|
||||||
|
QUARTZ_PICKAXE("QuartzPickaxe", Constants.CATEGORY_TOOLS, false),
|
||||||
|
|
||||||
|
QUARTZ_AXE("QuartzAxe", Constants.CATEGORY_TOOLS, false),
|
||||||
|
|
||||||
|
QUARTZ_KNIFE("QuartzKnife", Constants.CATEGORY_TOOLS, false),
|
||||||
|
|
||||||
|
QUARTZ_WRENCH("QuartzWrench", Constants.CATEGORY_TOOLS, false),
|
||||||
|
|
||||||
|
CHARGED_STAFF("ChargedStaff", Constants.CATEGORY_TOOLS, false),
|
||||||
|
|
||||||
|
ENTROPY_MANIPULATOR("EntropyManipulator", Constants.CATEGORY_TOOLS, false),
|
||||||
|
|
||||||
|
MATTER_CANNON("MatterCannon", Constants.CATEGORY_TOOLS, false),
|
||||||
|
|
||||||
|
WIRELESS_ACCESS_TERMINAL("WirelessAccessTerminal", Constants.CATEGORY_TOOLS, false),
|
||||||
|
|
||||||
|
COLOR_APPLICATOR("ColorApplicator", Constants.CATEGORY_TOOLS, false),
|
||||||
|
|
||||||
|
PAINT_BALLS("PaintBalls", Constants.CATEGORY_TOOLS, false),
|
||||||
|
|
||||||
|
METEORITE_COMPASS("MeteoriteCompass", Constants.CATEGORY_TOOLS, false),
|
||||||
|
|
||||||
|
LIGHT_DETECTOR("LightDetector", Constants.CATEGORY_MISC, false),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Network
|
||||||
|
*/
|
||||||
|
SECURITY("Security", Constants.CATEGORY_NETWORK_FEATURES, false),
|
||||||
|
|
||||||
|
SPATIAL_IO("SpatialIO", Constants.CATEGORY_NETWORK_FEATURES, false),
|
||||||
|
|
||||||
|
QUANTUM_NETWORK_BRIDGE("QuantumNetworkBridge", Constants.CATEGORY_NETWORK_FEATURES, false),
|
||||||
|
|
||||||
|
CHANNELS("Channels", Constants.CATEGORY_NETWORK_FEATURES, false),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Buses and parts
|
||||||
|
*/
|
||||||
|
INTERFACE("Interface", Constants.CATEGORY_NETWORK_BUSES, false),
|
||||||
|
|
||||||
|
FLUID_INTERFACE("FluidInterface", Constants.CATEGORY_NETWORK_BUSES, false),
|
||||||
|
|
||||||
|
LEVEL_EMITTER("LevelEmitter", Constants.CATEGORY_NETWORK_BUSES, false),
|
||||||
|
|
||||||
|
FLUID_LEVEL_EMITTER("FluidLevelEmitter", Constants.CATEGORY_NETWORK_BUSES, false),
|
||||||
|
|
||||||
|
FLUID_TERMINAL("FluidTerminal", Constants.CATEGORY_NETWORK_BUSES, false),
|
||||||
|
|
||||||
|
CRAFTING_TERMINAL("CraftingTerminal", Constants.CATEGORY_NETWORK_BUSES, false),
|
||||||
|
|
||||||
|
TERMINAL("Terminal", Constants.CATEGORY_NETWORK_BUSES, false),
|
||||||
|
|
||||||
|
STORAGE_MONITOR("StorageMonitor", Constants.CATEGORY_NETWORK_BUSES, false),
|
||||||
|
|
||||||
|
P2P_TUNNEL("P2PTunnel", Constants.CATEGORY_NETWORK_BUSES, false),
|
||||||
|
|
||||||
|
FORMATION_PLANE("FormationPlane", Constants.CATEGORY_NETWORK_BUSES, false),
|
||||||
|
|
||||||
|
FLUID_FORMATION_PLANE("FluidFormationPlane", Constants.CATEGORY_NETWORK_BUSES, false),
|
||||||
|
|
||||||
|
ANNIHILATION_PLANE("AnnihilationPlane", Constants.CATEGORY_NETWORK_BUSES, false),
|
||||||
|
|
||||||
|
IDENTITY_ANNIHILATION_PLANE("IdentityAnnihilationPlane", Constants.CATEGORY_NETWORK_BUSES, false),
|
||||||
|
|
||||||
|
FLUID_ANNIHILATION_PLANE("FluidAnnihilationPlane", Constants.CATEGORY_NETWORK_BUSES, false),
|
||||||
|
|
||||||
|
IMPORT_BUS("ImportBus", Constants.CATEGORY_NETWORK_BUSES, false),
|
||||||
|
|
||||||
|
FLUID_IMPORT_BUS("FluidImportBus", Constants.CATEGORY_NETWORK_BUSES, false),
|
||||||
|
|
||||||
|
EXPORT_BUS("ExportBus", Constants.CATEGORY_NETWORK_BUSES, false),
|
||||||
|
|
||||||
|
FLUID_EXPORT_BUS("FluidExportBus", Constants.CATEGORY_NETWORK_BUSES, false),
|
||||||
|
|
||||||
|
STORAGE_BUS("StorageBus", Constants.CATEGORY_NETWORK_BUSES, false),
|
||||||
|
|
||||||
|
FLUID_STORAGE_BUS("FluidStorageBus", Constants.CATEGORY_NETWORK_BUSES, false),
|
||||||
|
|
||||||
|
PART_CONVERSION_MONITOR("PartConversionMonitor", Constants.CATEGORY_NETWORK_BUSES, false),
|
||||||
|
|
||||||
|
TOGGLE_BUS("ToggleBus", Constants.CATEGORY_NETWORK_BUSES, false),
|
||||||
|
|
||||||
|
PANELS("Panels", Constants.CATEGORY_NETWORK_BUSES, false),
|
||||||
|
|
||||||
|
QUARTZ_FIBER("QuartzFiber", Constants.CATEGORY_NETWORK_BUSES, false),
|
||||||
|
|
||||||
|
CABLE_ANCHOR("CableAnchor", Constants.CATEGORY_NETWORK_BUSES, false),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Portable cells
|
||||||
|
*/
|
||||||
|
PORTABLE_CELL("PortableCell", Constants.CATEGORY_PORTABLE_CELL, false),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Storage
|
||||||
|
*/
|
||||||
|
STORAGE_CELLS("StorageCells", Constants.CATEGORY_STORAGE, false),
|
||||||
|
|
||||||
|
ME_CHEST("MEChest", Constants.CATEGORY_STORAGE, false),
|
||||||
|
|
||||||
|
ME_DRIVE("MEDrive", Constants.CATEGORY_STORAGE, false),
|
||||||
|
|
||||||
|
IO_PORT("IOPort", Constants.CATEGORY_STORAGE, false),
|
||||||
|
|
||||||
|
CONDENSER("Condenser", Constants.CATEGORY_STORAGE, false),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Network tools
|
||||||
|
*/
|
||||||
|
NETWORK_TOOL("NetworkTool", Constants.CATEGORY_NETWORK_TOOL, false),
|
||||||
|
|
||||||
|
MEMORY_CARD("MemoryCard", Constants.CATEGORY_NETWORK_TOOL, false),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Cables
|
||||||
|
*/
|
||||||
|
GLASS_CABLES("GlassCables", Constants.CATEGORY_CABLES, false),
|
||||||
|
|
||||||
|
COVERED_CABLES("CoveredCables", Constants.CATEGORY_CABLES, false),
|
||||||
|
|
||||||
|
SMART_CABLES("SmartCables", Constants.CATEGORY_CABLES, false),
|
||||||
|
|
||||||
|
DENSE_CABLES("DenseCables", Constants.CATEGORY_CABLES, false),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Energy cells
|
||||||
|
*/
|
||||||
|
ENERGY_CELLS("EnergyCells", Constants.CATEGORY_ENERGY, false),
|
||||||
|
|
||||||
|
ENERGY_ACCEPTOR("EnergyAcceptor", Constants.CATEGORY_ENERGY, false),
|
||||||
|
|
||||||
|
DENSE_ENERGY_CELLS("DenseEnergyCells", Constants.CATEGORY_ENERGY, false),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* P2P Tunnels
|
||||||
|
*/
|
||||||
|
P2P_TUNNEL_ME("P2PTunnelME", Constants.CATEGORY_P2P_TUNNELS, false),
|
||||||
|
|
||||||
|
P2P_TUNNEL_ITEMS("P2PTunnelItems", Constants.CATEGORY_P2P_TUNNELS, false),
|
||||||
|
|
||||||
|
P2P_TUNNEL_REDSTONE("P2PTunnelRedstone", Constants.CATEGORY_P2P_TUNNELS, false),
|
||||||
|
|
||||||
|
P2P_TUNNEL_EU("P2PTunnelEU", Constants.CATEGORY_P2P_TUNNELS, false),
|
||||||
|
|
||||||
|
P2P_TUNNEL_FE("P2PTunnelFE", Constants.CATEGORY_P2P_TUNNELS, false),
|
||||||
|
|
||||||
|
P2P_TUNNEL_FLUIDS("P2PTunnelFluids", Constants.CATEGORY_P2P_TUNNELS, false),
|
||||||
|
|
||||||
|
P2P_TUNNEL_LIGHT("P2PTunnelLight", Constants.CATEGORY_P2P_TUNNELS, false),
|
||||||
|
|
||||||
|
P2P_TUNNEL_OPEN_COMPUTERS("P2PTunnelOpenComputers", Constants.CATEGORY_P2P_TUNNELS, false),
|
||||||
|
|
||||||
|
P2P_TUNNEL_PRESSURE("P2PTunnelPressure", Constants.CATEGORY_P2P_TUNNELS, false),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Block damage by items or blocks
|
||||||
|
*/
|
||||||
|
MASS_CANNON_BLOCK_DAMAGE("MassCannonBlockDamage", Constants.CATEGORY_BLOCK_FEATURES, false),
|
||||||
|
|
||||||
|
TINY_TNT_BLOCK_DAMAGE("TinyTNTBlockDamage", Constants.CATEGORY_BLOCK_FEATURES, false),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Facades
|
||||||
|
*/
|
||||||
|
FACADES("Facades", Constants.CATEGORY_FACADES, false),
|
||||||
|
TILE_ENTITY_FACADES("TileEntityFacades", Constants.CATEGORY_FACADES, false, true,
|
||||||
|
"Unsupported: Allows whitelisting TileEntity as facades. Could work, have render issues, or corrupt your world. USE AT YOUR OWN RISK."),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Debug
|
||||||
|
*/
|
||||||
|
UNSUPPORTED_DEVELOPER_TOOLS("UnsupportedDeveloperTools", Constants.CATEGORY_MISC, false, true),
|
||||||
|
|
||||||
|
CREATIVE("Creative", Constants.CATEGORY_MISC, false),
|
||||||
|
|
||||||
|
GRINDER_LOGGING("GrinderLogging", Constants.CATEGORY_MISC, false, false),
|
||||||
|
|
||||||
|
LOGGING("Logging", Constants.CATEGORY_MISC, false),
|
||||||
|
|
||||||
|
INTEGRATION_LOGGING("IntegrationLogging", Constants.CATEGORY_MISC, false, true),
|
||||||
|
|
||||||
|
WEBSITE_RECIPES("WebsiteRecipes", Constants.CATEGORY_MISC, false, true),
|
||||||
|
|
||||||
|
LOG_SECURITY_AUDITS("LogSecurityAudits", Constants.CATEGORY_MISC, false, true),
|
||||||
|
|
||||||
|
ACHIEVEMENTS("Achievements", Constants.CATEGORY_MISC, false),
|
||||||
|
|
||||||
|
UPDATE_LOGGING("UpdateLogging", Constants.CATEGORY_MISC, false, true),
|
||||||
|
|
||||||
|
PACKET_LOGGING("PacketLogging", Constants.CATEGORY_MISC, false, true),
|
||||||
|
|
||||||
|
CRAFTING_LOG("CraftingLog", Constants.CATEGORY_MISC, false, true),
|
||||||
|
|
||||||
|
DEBUG_LOGGING("DebugLogging", Constants.CATEGORY_MISC, false, true),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Crafting
|
||||||
|
*/
|
||||||
|
ENABLE_FACADE_CRAFTING("EnableFacadeCrafting", Constants.CATEGORY_CRAFTING, true),
|
||||||
|
|
||||||
|
IN_WORLD_SINGULARITY("InWorldSingularity", Constants.CATEGORY_CRAFTING, true),
|
||||||
|
|
||||||
|
IN_WORLD_FLUIX("InWorldFluix", Constants.CATEGORY_CRAFTING, true),
|
||||||
|
|
||||||
|
IN_WORLD_PURIFICATION("InWorldPurification", Constants.CATEGORY_CRAFTING, true),
|
||||||
|
|
||||||
|
INTERFACE_TERMINAL("InterfaceTerminal", Constants.CATEGORY_CRAFTING, false),
|
||||||
|
|
||||||
|
ENABLE_DISASSEMBLY_CRAFTING("EnableDisassemblyCrafting", Constants.CATEGORY_CRAFTING, true),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rendering
|
||||||
|
*/
|
||||||
|
ALPHA_PASS("AlphaPass", Constants.CATEGORY_RENDERING, true),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Crafting machines
|
||||||
|
*/
|
||||||
|
MOLECULAR_ASSEMBLER("MolecularAssembler", Constants.CATEGORY_CRAFTING_FEATURES, false),
|
||||||
|
|
||||||
|
PATTERNS("Patterns", Constants.CATEGORY_CRAFTING_FEATURES, false),
|
||||||
|
|
||||||
|
CRAFTING_CPU("CraftingCPU", Constants.CATEGORY_CRAFTING_FEATURES, false),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Upgrades
|
||||||
|
*/
|
||||||
|
BASIC_CARDS("BasicCards", Constants.CATEGORY_UPGRADES, false),
|
||||||
|
|
||||||
|
ADVANCED_CARDS("AdvancedCards", Constants.CATEGORY_UPGRADES, false),
|
||||||
|
|
||||||
|
VIEW_CELL("ViewCell", Constants.CATEGORY_UPGRADES, false),
|
||||||
|
|
||||||
|
CRYSTAL_SEEDS("CrystalSeeds", Constants.CATEGORY_MATERIALS, false),
|
||||||
|
|
||||||
|
PURE_CRYSTALS("PureCrystals", Constants.CATEGORY_MATERIALS, false),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Materials. Items mostly for crafting
|
||||||
|
*/
|
||||||
|
CERTUS("Certus", Constants.CATEGORY_MATERIALS, false),
|
||||||
|
|
||||||
|
FLUIX("Fluix", Constants.CATEGORY_MATERIALS, false),
|
||||||
|
|
||||||
|
SILICON("Silicon", Constants.CATEGORY_MATERIALS, false),
|
||||||
|
|
||||||
|
DUSTS("Dusts", Constants.CATEGORY_MATERIALS, false),
|
||||||
|
|
||||||
|
NUGGETS("Nuggets", Constants.CATEGORY_MATERIALS, false),
|
||||||
|
|
||||||
|
QUARTZ_GLASS("QuartzGlass", Constants.CATEGORY_MATERIALS, false),
|
||||||
|
|
||||||
|
SKY_STONE("SkyStone", Constants.CATEGORY_MATERIALS, false),
|
||||||
|
|
||||||
|
PROCESSORS("Processors", Constants.CATEGORY_COMPONENTS, false),
|
||||||
|
|
||||||
|
PRINTED_CIRCUITS("PrintedCircuits", Constants.CATEGORY_COMPONENTS, false),
|
||||||
|
|
||||||
|
PRESSES("Presses", Constants.CATEGORY_COMPONENTS, false),
|
||||||
|
|
||||||
|
MATTER_BALL("MatterBall", Constants.CATEGORY_COMPONENTS, false),
|
||||||
|
|
||||||
|
CORES("Cores", Constants.CATEGORY_COMPONENTS, false),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Server commands
|
||||||
|
*/
|
||||||
|
CHUNK_LOGGER_TRACE("ChunkLoggerTrace", Constants.CATEGORY_COMMANDS, false, true);
|
||||||
|
|
||||||
|
private final String key;
|
||||||
|
private final String category;
|
||||||
|
private final boolean enabled;
|
||||||
|
private final String comment;
|
||||||
|
private final boolean config;
|
||||||
|
|
||||||
|
AEFeature(final String key, final String cat, boolean config) {
|
||||||
|
this(key, cat, true, config);
|
||||||
|
}
|
||||||
|
|
||||||
|
AEFeature(final String key, final String cat, boolean config, final String comment) {
|
||||||
|
this(key, cat, true, config, comment);
|
||||||
|
}
|
||||||
|
|
||||||
|
AEFeature(final String key, final String cat, final boolean enabled, boolean config) {
|
||||||
|
this(key, cat, enabled, config, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
AEFeature(final String key, final String cat, final boolean enabled, boolean config, final String comment) {
|
||||||
|
this.key = key;
|
||||||
|
this.category = cat;
|
||||||
|
this.enabled = enabled;
|
||||||
|
this.comment = comment;
|
||||||
|
this.config = config;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* override to set visibility
|
||||||
|
*
|
||||||
|
* @return default true
|
||||||
|
*/
|
||||||
|
public boolean isVisible() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String key() {
|
||||||
|
return this.key;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String category() {
|
||||||
|
return this.category;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isEnabled() {
|
||||||
|
return this.enabled;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* If exposed as config option.
|
||||||
|
*/
|
||||||
|
public boolean isConfig() {
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String comment() {
|
||||||
|
return this.comment;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum Constants {
|
||||||
|
;
|
||||||
|
|
||||||
|
private static final String CATEGORY_MISC = "Misc";
|
||||||
|
private static final String CATEGORY_CRAFTING = "Crafting";
|
||||||
|
private static final String CATEGORY_WORLD = "World";
|
||||||
|
private static final String CATEGORY_MACHINES = "Machines";
|
||||||
|
private static final String CATEGORY_TOOLS = "Tools";
|
||||||
|
private static final String CATEGORY_TOOLS_CLASSIFICATIONS = "ToolsClassifications";
|
||||||
|
private static final String CATEGORY_NETWORK_BUSES = "NetworkBuses";
|
||||||
|
private static final String CATEGORY_P2P_TUNNELS = "P2PTunnels";
|
||||||
|
private static final String CATEGORY_BLOCK_FEATURES = "BlockFeatures";
|
||||||
|
private static final String CATEGORY_CRAFTING_FEATURES = "CraftingFeatures";
|
||||||
|
private static final String CATEGORY_STORAGE = "Storage";
|
||||||
|
private static final String CATEGORY_CABLES = "Cables";
|
||||||
|
private static final String CATEGORY_NETWORK_FEATURES = "NetworkFeatures";
|
||||||
|
private static final String CATEGORY_COMMANDS = "Commands";
|
||||||
|
private static final String CATEGORY_RENDERING = "Rendering";
|
||||||
|
private static final String CATEGORY_FACADES = "Facades";
|
||||||
|
private static final String CATEGORY_NETWORK_TOOL = "NetworkTool";
|
||||||
|
private static final String CATEGORY_PORTABLE_CELL = "PortableCell";
|
||||||
|
private static final String CATEGORY_ENERGY = "Energy";
|
||||||
|
private static final String CATEGORY_UPGRADES = "Upgrades";
|
||||||
|
private static final String CATEGORY_MATERIALS = "Materials";
|
||||||
|
private static final String CATEGORY_COMPONENTS = "CraftingComponents";
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,86 @@
|
|||||||
|
/*
|
||||||
|
* The MIT License (MIT)
|
||||||
|
*
|
||||||
|
* Copyright (c) 2017 AlgorithmX2
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
* subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package appeng.api.features;
|
||||||
|
|
||||||
|
import javax.annotation.Nonnegative;
|
||||||
|
import javax.annotation.Nonnull;
|
||||||
|
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
|
||||||
|
import appeng.api.implementations.items.IAEItemPowerStorage;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A registry to allow mapping {@link Item}s to a specific charge rate when
|
||||||
|
* being placed inside a charger.
|
||||||
|
*
|
||||||
|
* The registry is used in favor of an additional method for
|
||||||
|
* {@link IAEItemPowerStorage} with a fixed value per item. This allows more
|
||||||
|
* flexibility for other charger like machines to choose their own values when
|
||||||
|
* needed.
|
||||||
|
*
|
||||||
|
* There is no guarantee that this is charged per tick, it only represents the
|
||||||
|
* value per operation. By default this is one charging operation every 10 ticks
|
||||||
|
* in case of an AE2 charger.
|
||||||
|
*
|
||||||
|
* @author yueh
|
||||||
|
* @version rv5
|
||||||
|
* @since rv5
|
||||||
|
*/
|
||||||
|
public interface IChargerRegistry {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Fetch a charge rate for a specific item.
|
||||||
|
*
|
||||||
|
* The specific item does not need to have a mapping registered at all. In this
|
||||||
|
* case it will use a default value of 160 AE.
|
||||||
|
*
|
||||||
|
* @param item A {@link Item} implementing {@link IAEItemPowerStorage}.
|
||||||
|
* @return custom rate or default of 160
|
||||||
|
*/
|
||||||
|
@Nonnegative
|
||||||
|
double getChargeRate(@Nonnull Item item);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Register a custom charge rate for a specific item.
|
||||||
|
*
|
||||||
|
* Capped at 16000 to avoid extracting too much energy from a network for each
|
||||||
|
* operation. This is done silently without any feedback or exception. Further
|
||||||
|
* the cap is not fixed, it can change at any time in the future should power
|
||||||
|
* issues arise.
|
||||||
|
*
|
||||||
|
* @param item A {@link Item} implementing {@link IAEItemPowerStorage}.
|
||||||
|
* @param chargeRate the custom rate, must be > 0, capped to 16000d
|
||||||
|
*/
|
||||||
|
void addChargeRate(@Nonnull Item item, @Nonnegative double chargeRate);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove the custom rate for a specific item.
|
||||||
|
*
|
||||||
|
* It will revert to the default value afterwards.
|
||||||
|
*
|
||||||
|
* @param item A {@link Item} implementing {@link IAEItemPowerStorage}.
|
||||||
|
*/
|
||||||
|
void removeChargeRate(@Nonnull Item item);
|
||||||
|
|
||||||
|
}
|
||||||
@@ -1,119 +0,0 @@
|
|||||||
/*
|
|
||||||
* The MIT License (MIT)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
|
||||||
*
|
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
|
||||||
* the Software without restriction, including without limitation the rights to
|
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
|
||||||
* subject to the following conditions:
|
|
||||||
*
|
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
|
||||||
* copies or substantial portions of the Software.
|
|
||||||
*
|
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
||||||
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
||||||
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
||||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
*/
|
|
||||||
|
|
||||||
package appeng.api.features;
|
|
||||||
|
|
||||||
import net.minecraft.item.ItemStack;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Registration Records for {@link IGrinderRegistry}
|
|
||||||
*/
|
|
||||||
public interface IGrinderEntry
|
|
||||||
{
|
|
||||||
|
|
||||||
/**
|
|
||||||
* the current input
|
|
||||||
*
|
|
||||||
* @return input that the grinder will accept.
|
|
||||||
*/
|
|
||||||
public ItemStack getInput();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* lets you change the grinder recipe by changing its input.
|
|
||||||
*
|
|
||||||
* @param input input item
|
|
||||||
*/
|
|
||||||
public void setInput(ItemStack input);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* gets the current output
|
|
||||||
*
|
|
||||||
* @return output that the grinder will produce
|
|
||||||
*/
|
|
||||||
public ItemStack getOutput();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* gets the current output
|
|
||||||
*
|
|
||||||
* @return output that the grinder will produce
|
|
||||||
*/
|
|
||||||
public ItemStack getOptionalOutput();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* gets the current output
|
|
||||||
*
|
|
||||||
* @return output that the grinder will produce
|
|
||||||
*/
|
|
||||||
public ItemStack getSecondOptionalOutput();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* allows you to change the output.
|
|
||||||
*
|
|
||||||
* @param output output item
|
|
||||||
*/
|
|
||||||
public void setOutput(ItemStack output);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* stack, and 0.0-1.0 chance that it will be generated.
|
|
||||||
*
|
|
||||||
* @param output output item
|
|
||||||
* @param chance generation chance
|
|
||||||
*/
|
|
||||||
public void setOptionalOutput(ItemStack output, float chance);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 0.0 - 1.0 the chance that the optional output will be generated.
|
|
||||||
*
|
|
||||||
* @return chance of optional output
|
|
||||||
*/
|
|
||||||
public float getOptionalChance();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* stack, and 0.0-1.0 chance that it will be generated.
|
|
||||||
*
|
|
||||||
* @param output second optional output item
|
|
||||||
* @param chance second optional output chance
|
|
||||||
*/
|
|
||||||
public void setSecondOptionalOutput(ItemStack output, float chance);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 0.0 - 1.0 the chance that the optional output will be generated.
|
|
||||||
*
|
|
||||||
* @return second optional output chance
|
|
||||||
*/
|
|
||||||
public float getSecondOptionalChance();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Energy cost, in turns.
|
|
||||||
*
|
|
||||||
* @return number of turns it takes to produce the output from the input.
|
|
||||||
*/
|
|
||||||
public int getEnergyCost();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Allows you to adjust the number of turns
|
|
||||||
*
|
|
||||||
* @param c number of turns to produce output.
|
|
||||||
*/
|
|
||||||
public void setEnergyCost(int c);
|
|
||||||
}
|
|
||||||
@@ -1,84 +0,0 @@
|
|||||||
/*
|
|
||||||
* The MIT License (MIT)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
|
||||||
*
|
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
|
||||||
* the Software without restriction, including without limitation the rights to
|
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
|
||||||
* subject to the following conditions:
|
|
||||||
*
|
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
|
||||||
* copies or substantial portions of the Software.
|
|
||||||
*
|
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
||||||
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
||||||
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
||||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
*/
|
|
||||||
|
|
||||||
package appeng.api.features;
|
|
||||||
|
|
||||||
import net.minecraft.item.ItemStack;
|
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Lets you manipulate Grinder Recipes, by adding or editing existing ones.
|
|
||||||
*/
|
|
||||||
public interface IGrinderRegistry
|
|
||||||
{
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Current list of registered recipes, you can modify this if you want too.
|
|
||||||
*
|
|
||||||
* @return currentlyRegisteredRecipes
|
|
||||||
*/
|
|
||||||
public List<IGrinderEntry> getRecipes();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* add a new recipe the easy way, in → out, how many turns., duplicates will not be added.
|
|
||||||
*
|
|
||||||
* @param in input
|
|
||||||
* @param out output
|
|
||||||
* @param turns amount of turns to turn the input into the output
|
|
||||||
*/
|
|
||||||
public void addRecipe(ItemStack in, ItemStack out, int turns);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* add a new recipe with optional outputs, duplicates will not be added.
|
|
||||||
*
|
|
||||||
* @param in input
|
|
||||||
* @param out output
|
|
||||||
* @param optional optional output
|
|
||||||
* @param chance chance to get the optional output within 0.0 - 1.0
|
|
||||||
* @param turns amount of turns to turn the input into the outputs
|
|
||||||
*/
|
|
||||||
void addRecipe(ItemStack in, ItemStack out, ItemStack optional, float chance, int turns);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* add a new recipe with optional outputs, duplicates will not be added.
|
|
||||||
*
|
|
||||||
* @param in input
|
|
||||||
* @param out output
|
|
||||||
* @param optional optional output
|
|
||||||
* @param chance chance to get the optional output within 0.0 - 1.0
|
|
||||||
* @param optional2 second optional output
|
|
||||||
* @param chance2 chance to get the second optional output within 0.0 - 1.0
|
|
||||||
* @param turns amount of turns to turn the input into the outputs
|
|
||||||
*/
|
|
||||||
void addRecipe(ItemStack in, ItemStack out, ItemStack optional, float chance, ItemStack optional2, float chance2, int turns);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Searches for a recipe for a given input, and returns it.
|
|
||||||
*
|
|
||||||
* @param input input
|
|
||||||
* @return identified recipe or null
|
|
||||||
*/
|
|
||||||
public IGrinderEntry getRecipeForInput(ItemStack input);
|
|
||||||
|
|
||||||
}
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user