Compare commits
1007 Commits
rv3.beta.4
...
om
| Author | SHA1 | Date | |
|---|---|---|---|
| d58a5f0307 | |||
| 4c4214754a | |||
| 011b3a4b94 | |||
| ca7ce33f34 | |||
| c3b1dea7c5 | |||
| 40ec517480 | |||
| 2fdc16d3a8 | |||
| 053485a95a | |||
| e910af7734 | |||
| 59d7bd6c16 | |||
| 1a11462ddd | |||
| 77d615559f | |||
| 6878bfa4b0 | |||
| f1d50eca1a | |||
| 4ee32dd0b0 | |||
| 66e589324a | |||
| 362b001cb4 | |||
| b6fd4b3c0f | |||
| e364603a5a | |||
| c58bebc346 | |||
| 97f11f0c61 | |||
| 5c2fa72f95 | |||
| ebd8501301 | |||
| fa07247bd7 | |||
| 95d25ddf47 | |||
| 7a45e1faf4 | |||
| 1f88494832 | |||
| c629b4e0cf | |||
| 65ca607134 | |||
| 898c07ca01 | |||
| 883c267aa8 | |||
| 22cf913708 | |||
| b4ba1af1ec | |||
| 892c919ee2 | |||
| a65b3d2ceb | |||
| c826a3e24f | |||
| fc98505f22 | |||
| ea54ccbcf5 | |||
| 7796c6d4b6 | |||
| e2e6f6e83f | |||
| a7a1a87cd8 | |||
| e50eb7965f | |||
| d25a8a53a2 | |||
| 92b48f01a2 | |||
| 42f0d37c44 | |||
| 088a1827be | |||
| 6a21968dab | |||
| 7c5ff5322a | |||
| 7834028459 | |||
| c43cbbef43 | |||
| ead6274ca4 | |||
| f1c41bab3f | |||
| 12e74dc0de | |||
| c10088d907 | |||
| a12d29c4a0 | |||
| 2227510acf | |||
| 97ae7e1f14 | |||
| fc119070b2 | |||
| 82e3a95f11 | |||
| e6998913e1 | |||
| a3e69ce608 | |||
| ceef176a2a | |||
| c2e2696707 | |||
| 4d6c61dfcb | |||
| 932141cc9e | |||
| adf59774d4 | |||
| 9c6668b0f7 | |||
| 1b7f11a12e | |||
| 3cf4f9122c | |||
| d97996070a | |||
| 8a165bea09 | |||
| f707f95373 | |||
| b2a660ec9b | |||
| d6499c16b0 | |||
| de3e0178a4 | |||
| 203522316c | |||
| 719ea5090b | |||
| 00e19d67a2 | |||
| 169f6393d1 | |||
| 12bf337238 | |||
| 3b544c2486 | |||
| 660e17d167 | |||
| b10246a67b | |||
| 74362bb543 | |||
| 81df58afa5 | |||
| 535289e694 | |||
| d730503378 | |||
| f3349b0a2d | |||
| f667e9a5f0 | |||
| 2c0a2975de | |||
| 2e3d6b721a | |||
| 94e294f4e9 | |||
| 91620a0042 | |||
| ffc79b5494 | |||
| ce7c29d0ac | |||
| 5ac8db41e7 | |||
| 6ece190ac4 | |||
| 00a596ea8f | |||
| 1fc1d5517d | |||
| d5fc7a5b21 | |||
| 1f85d0f607 | |||
| dfe5b82bda | |||
| c7f8f4249e | |||
| 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 |
@@ -11,19 +11,36 @@ top of things.
|
|||||||
|
|
||||||
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. Enter your a title of your issue (something that summarizes your issue), and then create a detailed description of the issue.
|
||||||
* The problem that is happening?
|
* Do not tag it with something like `[Feature]`, `[Bug]`, or a version.
|
||||||
* What was expected?
|
* Restrict it to a single bug or feature, it makes managing them way easier for us.
|
||||||
* How to reproduce the problem?
|
* The following details are required. Also refer to the issue template when creating one.
|
||||||
* Server or Single Player?
|
* Forge version
|
||||||
* Mod Pack using and version?
|
* AE2 version
|
||||||
* Crash log (Please make sure to use [pastebin](http://pastebin.com/) for the log file)
|
* Crash log, when reporting a crash (Please make sure to use [pastebin](http://pastebin.com/))
|
||||||
* Screen shots or Pictures of the problem
|
* Never post an excerpt of what you consider important
|
||||||
5. Click `Submit New Issue`, and wait for feedback!
|
* Always post the full log
|
||||||
|
* Other mods and their version, when reporting an issue between AE and another mod
|
||||||
|
* Also consider updating these before submitting a new issue, it might be already fixed
|
||||||
|
* A detailed description of the bug or feature
|
||||||
|
* To further help in resolving your issues please try to include the follow if applicable:
|
||||||
|
* What was expected?
|
||||||
|
* How to reproduce the problem?
|
||||||
|
* This is usually a great detail and allows us to fix it way faster
|
||||||
|
* Server or Single Player?
|
||||||
|
* Screen shots or Pictures of the problem
|
||||||
|
* Mod Pack using and version?
|
||||||
|
* Keep in mind that some mods might use an outdated version of AE2
|
||||||
|
* If so you should report it to your modpack
|
||||||
|
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
|
### Submitting Changes
|
||||||
|
|
||||||
@@ -55,10 +72,8 @@ Applied Energistics 2 crashing, have a suggestion, found a bug? Create an issue
|
|||||||
from our issue tracker. The body describes the behavior without the patch,
|
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.
|
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
|
* Always fully test your changes. If they are large engouh in scope, then fully test AE2.
|
||||||
test AE2.
|
* Describing the process you used to test your changes in detail will help speed up this process.
|
||||||
* Describing the process you used to test your changes in detail will help speed
|
|
||||||
up this process.
|
|
||||||
|
|
||||||
## Making Trivial Changes
|
## Making Trivial Changes
|
||||||
|
|
||||||
@@ -97,6 +112,9 @@ the styling guidelines used by AE.
|
|||||||
|
|
||||||
PRs that do not conform to these standards will be rejected.
|
PRs that do not conform to these standards will be rejected.
|
||||||
|
|
||||||
|
You can find presets for Eclipse and IntelliJ IDEA in the `codeformat` folder.
|
||||||
|
We try to keep them up to date. Please report any case of maintaining the correct formatting.
|
||||||
|
|
||||||
### Whitespace
|
### Whitespace
|
||||||
|
|
||||||
#### Tabs or spaces
|
#### Tabs or spaces
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
<!-- Provide a summary of the issue in the Title above, please do not "[Tag]" it -->
|
||||||
|
|
||||||
|
#### Description
|
||||||
|
<!-- 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 -->
|
||||||
|
<!-- Like the used version, SP/MP, other mods and their version, crashlogs etc -->
|
||||||
|
<!-- Please use pastebin or gist for posting the complete crashlog, no excerpt -->
|
||||||
|
<!-- The following ones are required, please note "latest" is not a version -->
|
||||||
|
|
||||||
|
- Minecraft Version:
|
||||||
|
- AE2 Version:
|
||||||
|
- Forge Version:
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
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 -->
|
||||||
|
<!-- Like the used version, SP/MP, other mods and their version -->
|
||||||
|
<!-- The following ones are required, please note "latest" is not a version -->
|
||||||
|
|
||||||
|
- Minecraft Version:
|
||||||
|
- AE2 Version:
|
||||||
|
- Forge Version:
|
||||||
@@ -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,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'
|
||||||
+8
-2
@@ -8,11 +8,11 @@
|
|||||||
!gradlew.bat
|
!gradlew.bat
|
||||||
!build.gradle
|
!build.gradle
|
||||||
!gradle.properties
|
!gradle.properties
|
||||||
|
!.travis.yml
|
||||||
|
|
||||||
# include markdowns
|
# include markdowns
|
||||||
!README.md
|
!README.md
|
||||||
!LICENSE
|
!LICENSE
|
||||||
!CONTRIBUTING.md
|
|
||||||
|
|
||||||
# include sourcecode
|
# include sourcecode
|
||||||
!src/
|
!src/
|
||||||
@@ -22,4 +22,10 @@
|
|||||||
!.gitignore
|
!.gitignore
|
||||||
|
|
||||||
# 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
|
||||||
+33
@@ -0,0 +1,33 @@
|
|||||||
|
sudo: required
|
||||||
|
dist: trusty
|
||||||
|
|
||||||
|
language: java
|
||||||
|
jdk:
|
||||||
|
- oraclejdk8
|
||||||
|
- openjdk8
|
||||||
|
|
||||||
|
before_cache:
|
||||||
|
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
|
||||||
|
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
|
||||||
|
- rm -f $HOME/.gradle/caches/minecraft/ForgeVersion.json
|
||||||
|
- rm -f $HOME/.gradle/caches/minecraft/ForgeVersion.json.etag
|
||||||
|
- rm -fr $HOME/.gradle/caches/minecraft/deobfedDeps
|
||||||
|
- rm -f $HOME/.gradle/caches/*/fileHashes/fileHashes.bin
|
||||||
|
- rm -f $HOME/.gradle/caches/*/fileHashes/fileHashes.lock
|
||||||
|
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- '$HOME/.m2/repository'
|
||||||
|
- '$HOME/.sonar/cache'
|
||||||
|
- '$HOME/.gradle/wrapper'
|
||||||
|
- '$HOME/.gradle/caches'
|
||||||
|
|
||||||
|
addons:
|
||||||
|
sonarcloud:
|
||||||
|
organization: "appliedenergistics"
|
||||||
|
|
||||||
|
install: "./gradlew setupCIWorkspace"
|
||||||
|
script:
|
||||||
|
- "./gradlew build"
|
||||||
|
- "./gradlew test"
|
||||||
|
- "./gradlew sonarqube"
|
||||||
@@ -1,160 +1,28 @@
|
|||||||
[](http://ci.tsr.me/viewType.html?buildTypeId=AppliedEnergistics_AutoHeadBuild&tab=buildTypeStatusDiv)
|
This is a fork of AE2 i made for trying to solve issues for the [Omnifactory](https://www.curseforge.com/minecraft/modpacks/omnifactory) modpack.
|
||||||
[](https://github.com/AppliedEnergistics/Applied-Energistics-2/tags)
|
|
||||||
[](https://github.com/AppliedEnergistics/Applied-Energistics-2/releases)
|
|
||||||
|
|
||||||
# Applied Energistics 2
|
See https://github.com/PrototypeTrousers/Applied-Energistics-2/tree/AE2-Omnifactory branch for commits
|
||||||
|
and
|
||||||
|
https://github.com/PrototypeTrousers/Applied-Energistics-2/releases for the compiled jars.
|
||||||
|
|
||||||
## Table of Contents
|
# Applied Energistics 2 (PrototypeTrousers fork for Omnifactory)
|
||||||
|
|
||||||
* [About](#about)
|
|
||||||
* [Contacts](#contacts)
|
|
||||||
* [License](#license)
|
|
||||||
* [Downloads](#downloads)
|
|
||||||
* [Installation](#installation)
|
|
||||||
* [Issues](#issues)
|
|
||||||
* [Building](#building)
|
|
||||||
* [Contribution](#contribution)
|
|
||||||
* [API](#applied-energistics-2-api)
|
|
||||||
* [Localization](#applied-energistics-2-localization)
|
|
||||||
* [Credits](#credits)
|
|
||||||
|
|
||||||
## About
|
## About
|
||||||
|
|
||||||
A Mod about Matter, Energy and using them to conquer the world..
|
A Mod about Matter, Energy and using them to conquer the world..
|
||||||
|
|
||||||
## Contacts
|
|
||||||
|
|
||||||
* [Website](http://ae-mod.info/)
|
|
||||||
* [IRC #appliedenergistics on esper.net](http://webchat.esper.net/?channels=appliedenergistics&prompt=1)
|
|
||||||
* [GitHub](https://github.com/AppliedEnergistics/Applied-Energistics-2)
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
* Applied Energistics 2 API
|
* Applied Energistics 2 API
|
||||||
- (c) 2013 - 2015 AlgorithmX2 et al
|
- (c) 2013 - 2018 AlgorithmX2 et al
|
||||||
- [](http://opensource.org/licenses/MIT)
|
- [](http://opensource.org/licenses/MIT)
|
||||||
* Applied Energistics 2
|
* Applied Energistics 2
|
||||||
- (c) 2013 - 2015 AlgorithmX2 et al
|
- (c) 2013 - 2018 AlgorithmX2 et al
|
||||||
- [](https://raw.githubusercontent.com/AppliedEnergistics/Applied-Energistics-2/rv2/LICENSE)
|
- [](https://raw.githubusercontent.com/AppliedEnergistics/Applied-Energistics-2/rv2/LICENSE)
|
||||||
* Textures and Models
|
* Textures and Models
|
||||||
- (c) 2013 - 2015 AlgorithmX2 et al
|
- (c) 2013 - 2018 AlgorithmX2 et al
|
||||||
- [](https://creativecommons.org/licenses/by-nc-sa/3.0/)
|
- [](https://creativecommons.org/licenses/by-nc-sa/3.0/)
|
||||||
* Text and Translations
|
* Text and Translations
|
||||||
- [](https://creativecommons.org/publicdomain/zero/1.0/)
|
- [](https://creativecommons.org/publicdomain/zero/1.0/)
|
||||||
|
|
||||||
## Downloads
|
|
||||||
|
|
||||||
Downloads can be found on [CurseForge](http://www.curse.com/mc-mods/minecraft/223794-applied-energistics-2) or on the [official website](http://ae-mod.info/Downloads/).
|
|
||||||
|
|
||||||
## Installation
|
|
||||||
|
|
||||||
You install this mod by putting it into the `minecraft/mods/` folder. It has no additional hard dependencies.
|
|
||||||
|
|
||||||
## Issues
|
|
||||||
|
|
||||||
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!
|
|
||||||
|
|
||||||
## Building
|
|
||||||
|
|
||||||
1. Clone this repository via
|
|
||||||
- SSH `git clone git@github.com:AppliedEnergistics/Applied-Energistics-2.git` or
|
|
||||||
- HTTPS `git clone https://github.com/AppliedEnergistics/Applied-Energistics-2.git`
|
|
||||||
2. Setup workspace
|
|
||||||
- Decompiled source `gradlew setupDecompWorkspace`
|
|
||||||
- Obfuscated source `gradlew setupDevWorkspace`
|
|
||||||
- CI server `gradlew setupCIWorkspace`
|
|
||||||
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
|
|
||||||
|
|
||||||
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).
|
|
||||||
|
|
||||||
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.
|
|
||||||
* Use the file you are editing as a style guide.
|
|
||||||
* Consider your feature. [Suggestion Guidelines](http://ae-mod.info/Suggestion-Guidelines/)
|
|
||||||
- Is your suggestion already possible using Vanilla + AE2?
|
|
||||||
- Make sure your feature isn't already in the works, or hasn't been rejected previously.
|
|
||||||
- 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.
|
|
||||||
|
|
||||||
Getting Started
|
|
||||||
|
|
||||||
1. Fork this repository
|
|
||||||
2. Clone the fork via
|
|
||||||
* SSH `git clone git@github.com:<your username>/Applied-Energistics-2.git` or
|
|
||||||
* HTTPS `git clone https://github.com/<your username>/Applied-Energistics-2.git`
|
|
||||||
3. Change code base
|
|
||||||
4. Add changes to git `git add -A`
|
|
||||||
5. Commit changes to your clone `git commit -m "<summery of made changes>"`
|
|
||||||
6. Push to your fork `git push`
|
|
||||||
7. Create a Pull-Request on GitHub
|
|
||||||
8. Wait for review
|
|
||||||
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.
|
|
||||||
|
|
||||||
## Applied Energistics 2 API
|
|
||||||
|
|
||||||
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/).
|
|
||||||
|
|
||||||
### Maven
|
|
||||||
|
|
||||||
When compiling against the AE2 API you can use gradle dependencies, just add
|
|
||||||
|
|
||||||
dependencies {
|
|
||||||
compile "appeng:appliedenergistics2:rv_-_____-__:dev"
|
|
||||||
}
|
|
||||||
|
|
||||||
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.
|
|
||||||
|
|
||||||
An example string would be `appeng:appliedenergistics2:rv2-alpha-30:dev`
|
|
||||||
|
|
||||||
## Applied Energistics 2 Localization
|
|
||||||
|
|
||||||
### English Text
|
|
||||||
|
|
||||||
`en_US` is included in this repository, fixes to typos are welcome.
|
|
||||||
|
|
||||||
### Encoding
|
|
||||||
|
|
||||||
Files must be encoded as UTF-8.
|
|
||||||
|
|
||||||
### New Translations
|
|
||||||
|
|
||||||
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).
|
|
||||||
|
|
||||||
### Final Note
|
|
||||||
|
|
||||||
If you have have issues localizing something feel free to contact us on IRC, at #AppliedEnergistics on Esper.net
|
|
||||||
|
|
||||||
Thanks to everyone helping out to improve localization of AE2.
|
|
||||||
|
|
||||||
## Credits
|
## Credits
|
||||||
|
|
||||||
|
|||||||
+55
-55
@@ -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,106 +16,106 @@
|
|||||||
* 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/dependencies.gradle'
|
|
||||||
apply from: 'gradle/scripts/artifacts.gradle'
|
|
||||||
apply from: 'gradle/scripts/autoinstallruntime.gradle'
|
|
||||||
apply from: 'gradle/scripts/integration.gradle'
|
|
||||||
apply from: 'gradle/scripts/optional.gradle'
|
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
mavenLocal()
|
mavenLocal()
|
||||||
|
jcenter()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
|
||||||
maven {
|
maven {
|
||||||
name = "forge"
|
name = "forge"
|
||||||
url = "http://files.minecraftforge.net/maven"
|
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 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
configurations.all {
|
plugins {
|
||||||
resolutionStrategy.cacheDynamicVersionsFor 7200, 'hours'
|
id "org.sonarqube" version "2.6"
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceCompatibility = JavaVersion.VERSION_1_6
|
apply plugin: 'net.minecraftforge.gradle.forge'
|
||||||
targetCompatibility = JavaVersion.VERSION_1_6
|
apply plugin: 'jacoco'
|
||||||
|
|
||||||
version = aeversion + "-" + aechannel + "-" + aebuild
|
repositories {
|
||||||
|
mavenLocal()
|
||||||
|
jcenter()
|
||||||
|
mavenCentral()
|
||||||
|
}
|
||||||
|
|
||||||
|
apply from: 'gradle/scripts/dependencies.gradle'
|
||||||
|
apply from: 'gradle/scripts/artifacts.gradle'
|
||||||
|
apply from: 'gradle/scripts/optional.gradle'
|
||||||
|
|
||||||
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
targetCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
|
||||||
|
// ensure everything uses UTF-8 and not some random codepage chosen by gradle
|
||||||
|
compileJava.options.encoding = 'UTF-8'
|
||||||
|
tasks.withType(JavaCompile) {
|
||||||
|
options.encoding = 'UTF-8'
|
||||||
|
}
|
||||||
|
|
||||||
|
version = aeversion + "-" + aechannel + "-" + aebuild + " " + trousers
|
||||||
group = aegroup
|
group = aegroup
|
||||||
archivesBaseName = aebasename
|
archivesBaseName = aebasename
|
||||||
|
|
||||||
// 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
|
// Add Coremod Manifest
|
||||||
jar {
|
jar {
|
||||||
manifest {
|
manifest {
|
||||||
attributes 'FMLCorePlugin': 'appeng.transformer.AppEngCore'
|
attributes 'FMLAT': 'appeng_at.cfg'
|
||||||
attributes 'FMLCorePluginContainsFMLMod': 'true'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
from sourceSets.api.output
|
||||||
|
dependsOn apiClasses
|
||||||
|
|
||||||
// specify which files are really included, can control which APIs should be in
|
// specify which files are really included, can control which APIs should be in
|
||||||
include "appeng/**"
|
include "appeng/**"
|
||||||
include "assets/**"
|
include "assets/**"
|
||||||
include "mcmod.info"
|
include "mcmod.info"
|
||||||
include "pack.mcmeta"
|
include "pack.mcmeta"
|
||||||
|
include "META-INF/appeng_at.cfg"
|
||||||
}
|
}
|
||||||
|
|
||||||
minecraft {
|
minecraft {
|
||||||
version = minecraft_version + "-" + forge_version
|
version = minecraft_version + "-" + forge_version
|
||||||
|
|
||||||
replaceIn "AEConfig.java"
|
replaceIn "AEConfig.java"
|
||||||
|
replaceIn "package-info.java"
|
||||||
|
|
||||||
replace "@version@", project.version
|
replace "@version@", project.version
|
||||||
|
replace "@aeversion@", aeversion
|
||||||
replace "@aechannel@", aechannel
|
replace "@aechannel@", aechannel
|
||||||
|
replace "@aebuild@", aebuild
|
||||||
|
|
||||||
// used when launching minecraft in dev env
|
// used when launching minecraft in dev env
|
||||||
runDir = "run"
|
runDir = "run"
|
||||||
|
mappings = mcp_mappings
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
main {
|
api
|
||||||
java {
|
main
|
||||||
srcDirs += 'src/api/java'
|
|
||||||
srcDirs += 'src/main/java/'
|
|
||||||
}
|
|
||||||
|
|
||||||
resources {
|
|
||||||
srcDir "src/main/resources/"
|
|
||||||
include "assets/appliedenergistics2/recipes/*.recipe",
|
|
||||||
"assets/appliedenergistics2/recipes/README.html",
|
|
||||||
"assets/appliedenergistics2/lang/*.lang",
|
|
||||||
"assets/appliedenergistics2/textures/blocks/*",
|
|
||||||
"assets/appliedenergistics2/textures/guis/*",
|
|
||||||
"assets/appliedenergistics2/textures/models/*",
|
|
||||||
"assets/appliedenergistics2/textures/items/*",
|
|
||||||
"assets/appliedenergistics2/meta/*",
|
|
||||||
"mcmod.info",
|
|
||||||
"pack.mcmeta"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
processResources {
|
processResources
|
||||||
|
{
|
||||||
|
// this will ensure that this task is redone when the versions change.
|
||||||
|
inputs.property "version", project.version
|
||||||
|
inputs.property "mcversion", project.minecraft.version
|
||||||
|
|
||||||
// replace stuff in mcmod.info, nothing else
|
// replace stuff in mcmod.info, nothing else
|
||||||
from(sourceSets.main.resources.srcDirs) {
|
from(sourceSets.main.resources.srcDirs) {
|
||||||
include 'mcmod.info'
|
include 'mcmod.info'
|
||||||
expand 'version': project.version, 'mcversion': minecraft_version
|
expand 'version': project.version, 'mcversion': project.minecraft.version
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
// copy everything else, thats not the mcmod.info
|
||||||
|
from(sourceSets.main.resources.srcDirs) {
|
||||||
|
exclude 'mcmod.info'
|
||||||
|
}
|
||||||
|
|
||||||
|
// move access transformer to META-INF
|
||||||
|
rename '(.+_at.cfg)', 'META-INF/$1'
|
||||||
|
}
|
||||||
|
|||||||
Binary file not shown.
@@ -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,49 +1,55 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
<profiles version="12">
|
<profiles version="13">
|
||||||
<profile kind="CodeFormatterProfile" name="Algo" version="12">
|
<profile kind="CodeFormatterProfile" name="AE2" version="13">
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_ellipsis" value="insert"/>
|
<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_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_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_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.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.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.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.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_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.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.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.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.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_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.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.comment.format_javadoc_comments" value="true"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indentation.size" value="4"/>
|
<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_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_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_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_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_new_line_in_empty_anonymous_type_declaration" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for" value="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.disabling_tag" value="@formatter:off"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.continuation_indentation" value="2"/>
|
<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.alignment_for_enum_constants" value="80"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_imports" value="1"/>
|
<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.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_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.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="0"/>
|
<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.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.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.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.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_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.comment.count_line_length_from_starting_position" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration" value="0"/>
|
<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.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.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_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_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_new_line_in_empty_block" 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.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.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_brace_in_array_initializer" value="insert"/>
|
||||||
@@ -52,14 +58,16 @@
|
|||||||
<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_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_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_after_opening_paren_in_switch" value="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="do not 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.insert_space_before_closing_paren_in_parenthesized_expression" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_enum_constant" 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.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.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_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.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.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.brace_position_for_anonymous_type_declaration" value="next_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_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_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_comma_in_method_invocation_arguments" value="do not insert"/>
|
||||||
@@ -72,16 +80,17 @@
|
|||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator" value="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_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.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.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.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.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.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.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.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.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.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.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.alignment_for_binary_expression" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_catch_clause" value="common_lines"/>
|
||||||
<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_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_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_after_comma_in_multiple_field_declarations" value="insert"/>
|
||||||
@@ -93,28 +102,30 @@
|
|||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional" value="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_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_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.brace_position_for_lambda_body" value="next_line"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.compact_else_if" value="true"/>
|
<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_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_catch" value="do not 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_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.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.alignment_for_parameters_in_constructor_declaration" value="0"/>
|
||||||
|
<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.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_arguments_in_method_invocation" value="16"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration" 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.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.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_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_space_before_opening_paren_in_try" value="do not 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.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.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_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_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.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.alignment_for_expressions_in_array_initializer" value="16"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column" value="true"/>
|
<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.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_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_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_before_semicolon_in_try_resources" value="do not insert"/>
|
||||||
@@ -122,13 +133,13 @@
|
|||||||
<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_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_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_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_new_line_in_empty_type_declaration" value="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.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.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.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.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_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.insert_new_line_in_empty_method_body" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header" value="true"/>
|
<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_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.insert_space_after_opening_paren_in_enum_constant" value="insert"/>
|
||||||
@@ -138,7 +149,7 @@
|
|||||||
<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_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.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.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_space_before_opening_paren_in_if" value="do not 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_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.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_enum_declaration" value="next_line"/>
|
||||||
@@ -147,21 +158,24 @@
|
|||||||
<setting id="org.eclipse.jdt.core.formatter.comment.format_header" value="false"/>
|
<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.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_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.formatter.insert_space_before_opening_paren_in_while" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode" value="enabled"/>
|
<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.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.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.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.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.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_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.insert_space_before_closing_paren_in_synchronized" value="insert"/>
|
||||||
|
<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.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.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.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.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.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.parentheses_positions_in_try_clause" value="common_lines"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation" value="80"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column" value="false"/>
|
<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.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_opening_paren_in_synchronized" value="insert"/>
|
||||||
@@ -182,7 +196,8 @@
|
|||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_method" value="1"/>
|
<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_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.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_parenthesized_expression_in_throw" value="do not 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_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.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.brace_position_for_switch" value="next_line"/>
|
||||||
@@ -194,8 +209,10 @@
|
|||||||
<setting id="org.eclipse.jdt.core.formatter.comment.format_html" value="true"/>
|
<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_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.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="0"/>
|
<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.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_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_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.insert_space_before_opening_paren_in_enum_constant" value="do not insert"/>
|
||||||
@@ -215,7 +232,7 @@
|
|||||||
<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_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_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_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_closing_paren_in_cast" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert" 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.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_new_line_before_while_in_do_statement" value="insert"/>
|
||||||
@@ -231,7 +248,7 @@
|
|||||||
<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_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_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_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.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.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_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.insert_space_after_opening_paren_in_method_declaration" value="insert"/>
|
||||||
@@ -256,6 +273,7 @@
|
|||||||
<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_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_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_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_between_empty_braces_in_array_initializer" 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_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_comma_in_multiple_local_declarations" value="do not insert"/>
|
||||||
@@ -267,10 +285,11 @@
|
|||||||
<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_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.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.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_for" value="do not 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_opening_paren_in_synchronized" value="do not 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_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_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.insert_space_after_opening_paren_in_while" value="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_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_comma_in_explicitconstructorcall_arguments" value="do not insert"/>
|
||||||
@@ -283,13 +302,13 @@
|
|||||||
<setting id="org.eclipse.jdt.core.formatter.join_lines_in_comments" value="false"/>
|
<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_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.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.comment.indent_parameter_description" value="false"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement" value="insert"/>
|
<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.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.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.blank_lines_between_import_groups" value="1"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.lineSplit" value="160"/>
|
<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_after_opening_paren_in_annotation" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch" value="do not insert"/>
|
||||||
</profile>
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
@@ -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
|
||||||
+18
-39
@@ -1,57 +1,36 @@
|
|||||||
aeversion=rv2
|
aeversion=rv6
|
||||||
aechannel=stable
|
aechannel=stable
|
||||||
aebuild=0
|
aebuild=7
|
||||||
aegroup=appeng
|
aegroup=appeng
|
||||||
aebasename=appliedenergistics2
|
aebasename=appliedenergistics2
|
||||||
|
trousers=omni-fixes-v21b
|
||||||
|
|
||||||
#########################################################
|
#########################################################
|
||||||
# Versions #
|
# Versions #
|
||||||
#########################################################
|
#########################################################
|
||||||
minecraft_version=1.7.10
|
minecraft_version=1.12.2
|
||||||
forge_version=10.13.2.1291
|
mcp_mappings=snapshot_20171003
|
||||||
|
forge_version=14.23.5.2847
|
||||||
|
|
||||||
#########################################################
|
#########################################################
|
||||||
# Installable #
|
# Installable #
|
||||||
#########################################################
|
#########################################################
|
||||||
waila_version=1.5.10
|
hwyla_version=1.8.26-B41_1.12.2
|
||||||
jabba_version=1.2.1a
|
|
||||||
enderstorage_version=1.4.7.33
|
|
||||||
translocator_version=1.1.1.14
|
|
||||||
ic2_version=2.2.717
|
|
||||||
enderio_version=2.3.0.375_beta
|
|
||||||
#cofhlib_version=1.0.1-157
|
|
||||||
#cofhcore_version=3.0.2-270
|
|
||||||
#texpansion_version=4.0.0-176
|
|
||||||
#tfoundation_version=1.0.0-82
|
|
||||||
betterstorage_version=0.11.3.123.20
|
|
||||||
invtweaks_version=1.58
|
|
||||||
|
|
||||||
#########################################################
|
#########################################################
|
||||||
# Provided APIs #
|
# Provided APIs #
|
||||||
#########################################################
|
#########################################################
|
||||||
fmp_version=1.1.1.324
|
jei_version=4.16.1.302
|
||||||
code_chicken_lib_version=1.1.3.127
|
tesla_version=1.0.63
|
||||||
code_chicken_core_version=1.0.4.35
|
ic2_version=2.8.73-ex112
|
||||||
nei_version=1.0.4.90
|
top_version=1.12-1.4.23-16
|
||||||
bc_version=6.4.6
|
cofhcore_version=1.12.2-4.5.2.19
|
||||||
opencomputers_version=1.5.9.21
|
crafttweaker_version=4.1.8.9
|
||||||
|
inventorytweaks_version=1.63
|
||||||
|
ctm_version=MC1.12.2-0.3.1.16
|
||||||
|
|
||||||
#########################################################
|
#########################################################
|
||||||
# Self Compiled APIs #
|
# Deployment #
|
||||||
#########################################################
|
#########################################################
|
||||||
mekansim_version=8.0.1.198
|
website_version=1.12.2
|
||||||
rotarycraft_version=V6e
|
curse_versions=1.12.2
|
||||||
|
|
||||||
|
|
||||||
#########################################################
|
|
||||||
# Self Compiled 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_coloredlightscore_version=1
|
|
||||||
api_craftguide_version=1
|
|
||||||
api_immibis_version=1
|
|
||||||
api_mfr_version=1
|
|
||||||
api_railcraft_version=1
|
|
||||||
api_rf_version=2
|
|
||||||
|
|||||||
@@ -1,49 +1,67 @@
|
|||||||
task myJavadocs(type: Javadoc) {
|
/*
|
||||||
source = sourceSets.api.java
|
* This file is part of Applied Energistics 2.
|
||||||
include "appeng/api/**"
|
* Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved.
|
||||||
|
*
|
||||||
classpath = configurations.compile
|
* 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>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Suppresses warnings/errors when building javadocs
|
||||||
|
allprojects {
|
||||||
|
tasks.withType(Javadoc) {
|
||||||
|
options.addStringOption('Xdoclint:none', '-quiet')
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
task javadocJar(type: Jar, dependsOn: myJavadocs) {
|
javadoc {
|
||||||
classifier = 'javadoc'
|
options.encoding = 'UTF-8'
|
||||||
from 'build/docs/javadoc/'
|
options.charSet = 'UTF-8'
|
||||||
}
|
}
|
||||||
|
|
||||||
task sourceJar(type: Jar, dependsOn: classes) {
|
task javadocs(type: Javadoc) {
|
||||||
classifier = 'sources'
|
source = sourceSets.api.java
|
||||||
from sourceSets.main.allSource
|
include "appeng/api/**"
|
||||||
|
|
||||||
|
// Due to ForgeGradle having to be a special snowflake,
|
||||||
|
// we have to add some custom configurations to the normal compile configuration and hope it does not break.
|
||||||
|
classpath = configurations.compile + configurations.forgeGradleMc + configurations.forgeGradleMcDeps
|
||||||
}
|
}
|
||||||
|
|
||||||
task devJar(type: Jar) {
|
task javadocJar(type: Jar, dependsOn: javadocs) {
|
||||||
|
from javadoc.destinationDir
|
||||||
|
|
||||||
manifest {
|
classifier = 'javadoc'
|
||||||
attributes 'FMLCorePlugin': 'appeng.transformer.AppEngCore'
|
|
||||||
attributes 'FMLCorePluginContainsFMLMod': 'true'
|
|
||||||
}
|
|
||||||
|
|
||||||
from(sourceSets.main.output) {
|
|
||||||
include "appeng/**"
|
|
||||||
include "assets/**"
|
|
||||||
include 'mcmod.info'
|
|
||||||
}
|
|
||||||
|
|
||||||
classifier = 'dev'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
task apiJar(type: Jar) {
|
task apiJar(type: Jar) {
|
||||||
from sourceSets.api.java
|
from sourceSets.api.java
|
||||||
include "appeng/api/**"
|
include "appeng/api/**"
|
||||||
|
|
||||||
from sourceSets.main.output
|
from sourceSets.api.output
|
||||||
include "appeng/api/**"
|
include "appeng/api/**"
|
||||||
|
|
||||||
classifier = 'api'
|
classifier = 'api'
|
||||||
|
}
|
||||||
|
|
||||||
|
task sourceJar(type: Jar, overwrite: true) {
|
||||||
|
from sourceSets.api.allSource
|
||||||
|
from sourceSets.main.allSource
|
||||||
|
|
||||||
|
classifier = 'sources'
|
||||||
}
|
}
|
||||||
|
|
||||||
artifacts {
|
artifacts {
|
||||||
archives devJar
|
archives apiJar
|
||||||
archives apiJar
|
archives javadocJar
|
||||||
archives javadocJar
|
archives sourceJar
|
||||||
archives sourceJar
|
|
||||||
}
|
}
|
||||||
@@ -1,12 +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
|
|
||||||
@@ -16,13 +16,12 @@
|
|||||||
* 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()
|
mavenLocal()
|
||||||
|
|
||||||
maven {
|
maven {
|
||||||
name "ChickenBones"
|
name = "storagedrawers"
|
||||||
url "http://chickenbones.net/maven/"
|
url = "https://dl.bintray.com/jaquadro/dev/"
|
||||||
}
|
}
|
||||||
|
|
||||||
maven {
|
maven {
|
||||||
@@ -31,50 +30,54 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
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 {
|
maven {
|
||||||
name = "Player"
|
name = "Tesla repo"
|
||||||
url = "http://maven.ic2.player.to/"
|
url "http://maven.mcmoddev.com"
|
||||||
}
|
}
|
||||||
|
|
||||||
maven {
|
maven {
|
||||||
name = "Tterrag"
|
name = "IC2 repo"
|
||||||
url = "http://maven.tterrag.com/"
|
url = "http://maven.ic2.player.to"
|
||||||
}
|
|
||||||
|
|
||||||
maven {
|
|
||||||
name = "RX14 Proxy"
|
|
||||||
url = "http://mvn.rx14.co.uk/repo/"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
maven {
|
maven {
|
||||||
name "OpenComputers Repo"
|
name = "CoFH Maven"
|
||||||
url = "http://maven.cil.li/"
|
url = "http://maven.covers1624.net"
|
||||||
}
|
}
|
||||||
|
|
||||||
// CurseForge DNS for TE is not available or I am just being unlucky, code part can stay since this is applicable to any other curseforge mod though
|
maven { // TheOneProbe
|
||||||
// ivy {
|
name 'tterrag maven'
|
||||||
// name = "CoFHLib"
|
url "http://maven.tterrag.com/"
|
||||||
// artifactPattern "http://addons.cursecdn.com/files/2212/893/[module]-[revision].[ext]"
|
}
|
||||||
// }
|
|
||||||
//
|
|
||||||
// ivy {
|
|
||||||
// name = "CoFHCore"
|
|
||||||
// artifactPattern "http://addons.cursecdn.com/files/2212/895/[module]-[revision].[ext]"
|
|
||||||
// }
|
|
||||||
|
|
||||||
// ivy {
|
maven { // McJtyLib
|
||||||
// name = "ThermalExpansion"
|
name 'mcjty'
|
||||||
// artifactPattern "http://addons.curse.cursecdn.com/files/2212/446/[module]-[revision].[ext]"
|
url "http://maven.k-4u.nl/"
|
||||||
// }
|
}
|
||||||
|
|
||||||
// ivy {
|
maven { // Hwyla
|
||||||
// name = "ThermalFoundation"
|
name 'tehnut'
|
||||||
// artifactPattern "http://addons.curse.cursecdn.com/files/2212/444/[module]-[revision].[ext]"
|
url "http://tehnut.info/maven"
|
||||||
// }
|
}
|
||||||
|
|
||||||
|
maven { // CraftTweaker
|
||||||
|
name 'jared maven'
|
||||||
|
url "http://maven.blamejared.com/"
|
||||||
|
}
|
||||||
|
|
||||||
|
//maven { // modmaven, maven proxy
|
||||||
|
// name 'modmaven'
|
||||||
|
// url "https://modmaven.k-4u.nl/"
|
||||||
|
//}
|
||||||
|
|
||||||
|
maven {
|
||||||
|
name = "CurseForge"
|
||||||
|
url = "https://minecraft.curseforge.com/api/maven/"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
configurations {
|
configurations {
|
||||||
@@ -82,46 +85,30 @@ configurations {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
// installable
|
compileOnly "com.jaquadro.minecraft.storagedrawers:StorageDrawers:1.12.2-5.4.2:api"
|
||||||
mods "mcp.mobius.waila:Waila:${waila_version}_${minecraft_version}:dev"
|
compileOnly "gregtechce:gregtech:1.12.2:1.12.0.662"
|
||||||
mods "mcp.mobius.jabba:Jabba:${jabba_version}_${minecraft_version}:dev"
|
|
||||||
mods "codechicken:EnderStorage:${minecraft_version}-${enderstorage_version}:dev"
|
|
||||||
mods "codechicken:Translocator:${minecraft_version}-${translocator_version}:dev"
|
|
||||||
mods "net.industrial-craft:industrialcraft-2:${ic2_version}-experimental:dev"
|
|
||||||
mods "com.enderio:EnderIO:${minecraft_version}-${enderio_version}:dev"
|
|
||||||
mods "net.mcft.copy.betterstorage:BetterStorage:${minecraft_version}-${betterstorage_version}:deobf"
|
|
||||||
mods "inventorytweaks:InventoryTweaks:${invtweaks_version}:deobf"
|
|
||||||
mods "li.cil.oc:OpenComputers:MC${minecraft_version}-${opencomputers_version}:dev"
|
|
||||||
|
|
||||||
// mods name: 'CoFHLib', version: "[${minecraft_version}]${cofhlib_version}-dev", ext: 'jar'
|
// installable runtime dependencies
|
||||||
// mods name: 'CoFHCore', version: "[${minecraft_version}]${cofhcore_version}-dev", ext: 'jar'
|
mods "mcp.mobius.waila:Hwyla:${hwyla_version}"
|
||||||
// mods name: 'ThermalExpansion', version: "[${minecraft_version}]${texpansion_version}-dev", ext: 'jar'
|
mods "net.industrial-craft:industrialcraft-2:${ic2_version}:dev"
|
||||||
// mods name: 'ThermalFoundation', version: "[${minecraft_version}]${tfoundation_version}-dev", ext: 'jar'
|
mods "mcjty.theoneprobe:TheOneProbe-${minecraft_version}:${top_version}"
|
||||||
|
|
||||||
compile "codechicken:ForgeMultipart:${minecraft_version}-${fmp_version}:dev"
|
// compile against provided APIs
|
||||||
compile "codechicken:CodeChickenLib:${minecraft_version}-${code_chicken_lib_version}:dev"
|
compileOnly "mezz.jei:jei_${minecraft_version}:${jei_version}:api"
|
||||||
compile "codechicken:CodeChickenCore:${minecraft_version}-${code_chicken_core_version}:dev"
|
compileOnly "mcp.mobius.waila:Hwyla:${hwyla_version}"
|
||||||
compile "codechicken:NotEnoughItems:${minecraft_version}-${nei_version}:dev"
|
compileOnly "net.darkhax.tesla:Tesla-1.12.2:${tesla_version}"
|
||||||
compile "com.mod-buildcraft:buildcraft:${bc_version}:dev"
|
compileOnly "net.industrial-craft:industrialcraft-2:${ic2_version}:api"
|
||||||
|
compileOnly "mcjty.theoneprobe:TheOneProbe-1.12:${top_version}:api"
|
||||||
|
compileOnly "cofh:CoFHCore:${cofhcore_version}:deobf"
|
||||||
|
compileOnly "CraftTweaker2:CraftTweaker2-API:${crafttweaker_version}"
|
||||||
|
compileOnly "inventory-tweaks:InventoryTweaks:${inventorytweaks_version}:api"
|
||||||
|
compileOnly "team.chisel.ctm:CTM:${ctm_version}"
|
||||||
|
|
||||||
// provided APIs
|
// at runtime, use the full JEI jar
|
||||||
compile "li.cil.oc:OpenComputers:MC${minecraft_version}-${opencomputers_version}:api"
|
runtime "mezz.jei:jei_${minecraft_version}:${jei_version}"
|
||||||
compile "net.industrial-craft:industrialcraft-2:${ic2_version}-experimental:api"
|
runtime "com.jaquadro.minecraft.storagedrawers:StorageDrawers:1.12.2-5.4.2"
|
||||||
compile "net.mcft.copy.betterstorage:BetterStorage:${minecraft_version}-${betterstorage_version}:api"
|
runtime "com.jaquadro.minecraft.chameleon:Chameleon:1.12-4.1.3"
|
||||||
|
|
||||||
// self compiled APIs
|
// unit test dependencies
|
||||||
compile "appeng:Waila:${waila_version}_${minecraft_version}:api"
|
testCompile "junit:junit:4.12"
|
||||||
compile "appeng:RotaryCraft:${rotarycraft_version}:api"
|
|
||||||
compile "appeng:mekanism:${minecraft_version}-${mekansim_version}:api"
|
|
||||||
compile "appeng:InventoryTweaks:${invtweaks_version}:api"
|
|
||||||
|
|
||||||
// self compiled stubs
|
|
||||||
compile(group: 'api', name: 'coloredlightscore', version: "${api_coloredlightscore_version}")
|
|
||||||
compile(group: 'api', name: 'craftguide', version: "${api_craftguide_version}")
|
|
||||||
compile(group: 'api', name: 'immibis', version: "${api_immibis_version}")
|
|
||||||
compile(group: 'api', name: 'mfr', version: "${api_mfr_version}")
|
|
||||||
compile(group: 'api', name: 'railcraft', version: "${api_railcraft_version}")
|
|
||||||
compile(group: 'api', name: 'rf', version: "${api_rf_version}")
|
|
||||||
|
|
||||||
testCompile "junit:junit:4.11"
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
apply plugin: 'idea'
|
|
||||||
|
|
||||||
idea {
|
|
||||||
module {
|
|
||||||
inheritOutputDirs = true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,116 +1,55 @@
|
|||||||
|
/*
|
||||||
|
* 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>.
|
||||||
|
*/
|
||||||
|
|
||||||
task wrapper(type: Wrapper) {
|
task wrapper(type: Wrapper) {
|
||||||
gradleVersion = "2.4"
|
gradleVersion = "2.14"
|
||||||
}
|
}
|
||||||
|
|
||||||
// WAILA
|
// HWYLA
|
||||||
task installWaila(type: Copy, dependsOn: "deinstallWaila") {
|
task installHwyla(type: Copy, dependsOn: "deinstallHwyla") {
|
||||||
from { configurations.mods }
|
from { configurations.mods }
|
||||||
include "**/*Waila*dev.jar"
|
include "**/*Hwyla*.jar"
|
||||||
into file(minecraft.runDir + "/mods")
|
into file(minecraft.runDir + "/mods")
|
||||||
}
|
}
|
||||||
|
|
||||||
task deinstallWaila(type: Delete) {
|
task deinstallHwyla(type: Delete) {
|
||||||
delete fileTree(dir: minecraft.runDir + "/mods", include: "*Waila*.jar")
|
delete fileTree(dir: minecraft.runDir + "/mods", include: "*Hwyla*.jar")
|
||||||
}
|
}
|
||||||
|
|
||||||
// JABBA
|
// IC2
|
||||||
task installJabba(type: Copy, dependsOn: "deinstallJabba") {
|
|
||||||
from { configurations.mods }
|
|
||||||
include "**/*Jabba*dev.jar"
|
|
||||||
into file(minecraft.runDir + "/mods")
|
|
||||||
}
|
|
||||||
|
|
||||||
task deinstallJabba(type: Delete) {
|
|
||||||
delete fileTree(dir: minecraft.runDir + "/mods", include: "*Jabba*.jar")
|
|
||||||
}
|
|
||||||
|
|
||||||
// ENDER STORAGE
|
|
||||||
task installEnderStorage(type: Copy, dependsOn: "deinstallEnderStorage") {
|
|
||||||
from { configurations.mods }
|
|
||||||
include "**/*EnderStorage*dev.jar"
|
|
||||||
into file(minecraft.runDir + "/mods")
|
|
||||||
}
|
|
||||||
|
|
||||||
task deinstallEnderStorage(type: Delete) {
|
|
||||||
delete fileTree(dir: minecraft.runDir + "/mods", include: "*EnderStorage*.jar")
|
|
||||||
}
|
|
||||||
|
|
||||||
// TRANSLOCATOR
|
|
||||||
task installTranslocator(type: Copy, dependsOn: "deinstallTranslocator") {
|
|
||||||
from { configurations.mods }
|
|
||||||
include "**/*Translocator*dev.jar"
|
|
||||||
into file(minecraft.runDir + "/mods")
|
|
||||||
}
|
|
||||||
|
|
||||||
task deinstallTranslocator(type: Delete) {
|
|
||||||
delete fileTree(dir: minecraft.runDir + "/mods", include: "*Translocator*.jar")
|
|
||||||
}
|
|
||||||
|
|
||||||
// INDUSTRIALCRAFT
|
|
||||||
task installIC2(type: Copy, dependsOn: "deinstallIC2") {
|
task installIC2(type: Copy, dependsOn: "deinstallIC2") {
|
||||||
from { configurations.mods }
|
from { configurations.mods }
|
||||||
include "**/*industrialcraft*dev.jar"
|
include "**/*industrialcraft-2*.jar"
|
||||||
into file(minecraft.runDir + "/mods")
|
into file(minecraft.runDir + "/mods")
|
||||||
}
|
}
|
||||||
|
|
||||||
task deinstallIC2(type: Delete) {
|
task deinstallIC2(type: Delete) {
|
||||||
delete fileTree(dir: minecraft.runDir + "/mods", include: "*industrialcraft*.jar")
|
delete fileTree(dir: minecraft.runDir + "/mods", include: "*industrialcraft-2*.jar")
|
||||||
}
|
}
|
||||||
|
|
||||||
// ENDER IO
|
// TOP
|
||||||
task installEnderIO(type: Copy, dependsOn: "deinstallEnderIO") {
|
task installTop(type: Copy, dependsOn: ["deinstallTop"]) {
|
||||||
from { configurations.mods }
|
from { configurations.mods }
|
||||||
include "**/*EnderIO*dev.jar"
|
include "**/*TheOneProbe*.jar"
|
||||||
into file(minecraft.runDir + "/mods")
|
into file(minecraft.runDir + "/mods")
|
||||||
}
|
}
|
||||||
|
|
||||||
task deinstallEnderIO(type: Delete) {
|
task deinstallTop(type: Delete) {
|
||||||
delete fileTree(dir: minecraft.runDir + "/mods", include: "*EnderIO*.jar")
|
delete fileTree(dir: minecraft.runDir + "/mods", include: "*TheOneProbe*.jar")
|
||||||
}
|
}
|
||||||
|
|
||||||
// TE
|
|
||||||
//task installTE(type: Copy, dependsOn: "deinstallTE") {
|
|
||||||
// from { configurations.mods }
|
|
||||||
// include "**/*CoFHLib*.jar"
|
|
||||||
// include "**/*CoFHCore*.jar"
|
|
||||||
// include "**/*ThermalFoundation*.jar"
|
|
||||||
// include "**/*ThermalExpansion*.jar"
|
|
||||||
//
|
|
||||||
// into file(minecraft.runDir + "/mods")
|
|
||||||
//}
|
|
||||||
//
|
|
||||||
//task deinstallTE(type: Delete) {
|
|
||||||
// delete fileTree(dir: minecraft.runDir + "/mods", includes: ["*CoFHLib*.jar", "*CoFHCore*.jar", "*ThermalFoundation*.jar", "*ThermalExpansion*.jar"])
|
|
||||||
//}
|
|
||||||
|
|
||||||
// INV TWEAKS
|
|
||||||
task installInvTweaks(type: Copy, dependsOn: "deinstallInvTweaks") {
|
|
||||||
from { configurations.mods }
|
|
||||||
include "**/*InventoryTweaks*dev*.jar"
|
|
||||||
into file(minecraft.runDir + "/mods")
|
|
||||||
}
|
|
||||||
|
|
||||||
task deinstallInvTweaks(type: Delete) {
|
|
||||||
delete fileTree(dir: minecraft.runDir + "/mods", include: "*InventoryTweaks*.jar")
|
|
||||||
}
|
|
||||||
|
|
||||||
// BETTER STORAGE
|
|
||||||
task installBetterStorage(type: Copy, dependsOn: "deinstallBetterStorage") {
|
|
||||||
from { configurations.mods }
|
|
||||||
include "**/*BetterStorage*deobf*.jar"
|
|
||||||
into file(minecraft.runDir + "/mods")
|
|
||||||
}
|
|
||||||
|
|
||||||
task deinstallBetterStorage(type: Delete) {
|
|
||||||
delete fileTree(dir: minecraft.runDir + "/mods", include: "*BetterStorage*.jar")
|
|
||||||
}
|
|
||||||
|
|
||||||
task installOpenComputers(type: Copy, dependsOn: "deinstallOpenComputers") {
|
|
||||||
from { configurations.mods }
|
|
||||||
include "**/*OpenComputer*dev*.jar"
|
|
||||||
into file(minecraft.runDir + "/mods")
|
|
||||||
}
|
|
||||||
|
|
||||||
task deinstallOpenComputers(type: Delete) {
|
|
||||||
delete fileTree(dir: minecraft.runDir + "/mods", include: "*OpenComputers*.jar")
|
|
||||||
}
|
|
||||||
|
|||||||
Vendored
BIN
Binary file not shown.
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
#Sat May 16 13:19:14 CEST 2015
|
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.4-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-4.8-bin.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
|
||||||
|
|||||||
@@ -51,15 +51,15 @@ public enum AEApi
|
|||||||
|
|
||||||
HELD_API = (IAppEngApi) apiField.get( apiClass );
|
HELD_API = (IAppEngApi) apiField.get( apiClass );
|
||||||
}
|
}
|
||||||
catch( ClassNotFoundException e )
|
catch( final ClassNotFoundException e )
|
||||||
{
|
{
|
||||||
throw new CoreInaccessibleException( "AE2 API tried to access the " + CORE_API_FQN + " class, without it being declared." );
|
throw new CoreInaccessibleException( "AE2 API tried to access the " + CORE_API_FQN + " class, without it being declared." );
|
||||||
}
|
}
|
||||||
catch( NoSuchFieldException e )
|
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." );
|
throw new CoreInaccessibleException( "AE2 API tried to access the " + CORE_API_FIELD + " field in " + CORE_API_FQN + " without it being declared." );
|
||||||
}
|
}
|
||||||
catch( IllegalAccessException e )
|
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." );
|
throw new CoreInaccessibleException( "AE2 API tried to access the " + CORE_API_FIELD + " field in " + CORE_API_FQN + " without enough access permissions." );
|
||||||
}
|
}
|
||||||
|
|||||||
+9
-8
@@ -16,18 +16,19 @@
|
|||||||
* 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>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package appeng.tile;
|
package appeng.api;
|
||||||
|
|
||||||
|
|
||||||
|
import java.lang.annotation.ElementType;
|
||||||
import java.lang.annotation.Retention;
|
import java.lang.annotation.Retention;
|
||||||
import java.lang.annotation.RetentionPolicy;
|
import java.lang.annotation.RetentionPolicy;
|
||||||
|
import java.lang.annotation.Target;
|
||||||
import appeng.tile.events.TileEventType;
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Marks interfaces that can be used as injectable constructor arguments for an {@link AEPlugin}.
|
||||||
|
*/
|
||||||
|
@Target( ElementType.TYPE )
|
||||||
@Retention( RetentionPolicy.RUNTIME )
|
@Retention( RetentionPolicy.RUNTIME )
|
||||||
public @interface TileEvent
|
public @interface AEInjectable
|
||||||
{
|
{}
|
||||||
|
|
||||||
TileEventType value();
|
|
||||||
}
|
|
||||||
+13
-28
@@ -16,39 +16,24 @@
|
|||||||
* 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>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package appeng.transformer.annotations;
|
package appeng.api;
|
||||||
|
|
||||||
|
|
||||||
|
import java.lang.annotation.Documented;
|
||||||
import java.lang.annotation.ElementType;
|
import java.lang.annotation.ElementType;
|
||||||
import java.lang.annotation.Retention;
|
import java.lang.annotation.Retention;
|
||||||
import java.lang.annotation.RetentionPolicy;
|
import java.lang.annotation.RetentionPolicy;
|
||||||
import java.lang.annotation.Target;
|
import java.lang.annotation.Target;
|
||||||
|
|
||||||
|
|
||||||
public @interface Integration
|
/**
|
||||||
{
|
* Use this annotation on a class in your Mod to have it instantiated during the initialization phase of Applied
|
||||||
@Retention( RetentionPolicy.RUNTIME )
|
* Energistics.
|
||||||
@Target( ElementType.TYPE )
|
* AE expects your class to have a single constructor and can supply certain arguments to your constructor using
|
||||||
@interface InterfaceList
|
* dependency injection.
|
||||||
{
|
*/
|
||||||
Interface[] value();
|
@Target( ElementType.TYPE )
|
||||||
}
|
@Retention( RetentionPolicy.RUNTIME )
|
||||||
|
@Documented
|
||||||
|
public @interface AEPlugin
|
||||||
@Retention( RetentionPolicy.RUNTIME )
|
{}
|
||||||
@Target( ElementType.TYPE )
|
|
||||||
@interface Interface
|
|
||||||
{
|
|
||||||
String iface();
|
|
||||||
|
|
||||||
String iname();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@Retention( RetentionPolicy.RUNTIME )
|
|
||||||
@Target( ElementType.METHOD )
|
|
||||||
@interface Method
|
|
||||||
{
|
|
||||||
String iname();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -24,91 +24,46 @@
|
|||||||
package appeng.api;
|
package appeng.api;
|
||||||
|
|
||||||
|
|
||||||
import appeng.api.definitions.Blocks;
|
|
||||||
import appeng.api.definitions.IDefinitions;
|
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.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;
|
||||||
|
|
||||||
|
|
||||||
|
@AEInjectable
|
||||||
public interface IAppEngApi
|
public interface IAppEngApi
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return Registry Container for the numerous registries in AE2.
|
* @return Registry Container for the numerous registries in AE2.
|
||||||
*/
|
*/
|
||||||
IRegistryContainer registries();
|
IRegistryContainer registries();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return helper for working with storage data types.
|
* @return A helper for working with storage data types.
|
||||||
*/
|
*/
|
||||||
IStorageHelper storage();
|
IStorageHelper storage();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return helper for working with grids, and buses.
|
* @return A helper to create {@link IGridNode} and other grid related objects.
|
||||||
|
*/
|
||||||
|
IGridHelper grid();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @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
|
||||||
*
|
|
||||||
* @deprecated use {@link appeng.api.definitions.IDefinitions#items()}
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
Items items();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return an accessible list of all of AE's materials; materials are items
|
|
||||||
*
|
|
||||||
* @deprecated use {@link appeng.api.definitions.IDefinitions#materials()}
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
Materials materials();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return an accessible list of all of AE's blocks
|
|
||||||
*
|
|
||||||
* @deprecated use {@link appeng.api.definitions.IDefinitions#blocks()}
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
Blocks blocks();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return an accessible list of all of AE's parts, parts are items
|
|
||||||
*
|
|
||||||
* @deprecated use {@link appeng.api.definitions.IDefinitions#parts()}
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
Parts parts();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return an accessible list of all AE definitions
|
|
||||||
*/
|
*/
|
||||||
IDefinitions definitions();
|
IDefinitions definitions();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* create a grid node for your {@link appeng.api.networking.IGridHost}
|
* @return Utility methods primarily useful for client side stuff
|
||||||
*
|
|
||||||
* @param block grid block
|
|
||||||
*
|
|
||||||
* @return grid node of block
|
|
||||||
*/
|
*/
|
||||||
IGridNode createGridNode( IGridBlock block );
|
IClientHelper client();
|
||||||
|
|
||||||
/**
|
|
||||||
* create a connection between two {@link appeng.api.networking.IGridNode}
|
|
||||||
*
|
|
||||||
* @param a to be connected gridnode
|
|
||||||
* @param b to be connected gridnode
|
|
||||||
*
|
|
||||||
* @throws appeng.api.exceptions.FailedConnection
|
|
||||||
*/
|
|
||||||
IGridConnection createGridConnection( IGridNode a, IGridNode b ) throws FailedConnection;
|
|
||||||
}
|
}
|
||||||
@@ -30,22 +30,22 @@ public enum AccessRestriction
|
|||||||
|
|
||||||
private final int permissionBit;
|
private final int permissionBit;
|
||||||
|
|
||||||
AccessRestriction( int v )
|
AccessRestriction( final int v )
|
||||||
{
|
{
|
||||||
this.permissionBit = v;
|
this.permissionBit = v;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean hasPermission( AccessRestriction ar )
|
public boolean hasPermission( final AccessRestriction ar )
|
||||||
{
|
{
|
||||||
return ( this.permissionBit & ar.permissionBit ) == ar.permissionBit;
|
return ( this.permissionBit & ar.permissionBit ) == ar.permissionBit;
|
||||||
}
|
}
|
||||||
|
|
||||||
public AccessRestriction restrictPermissions( AccessRestriction ar )
|
public AccessRestriction restrictPermissions( final AccessRestriction ar )
|
||||||
{
|
{
|
||||||
return this.getPermByBit( this.permissionBit & ar.permissionBit );
|
return this.getPermByBit( this.permissionBit & ar.permissionBit );
|
||||||
}
|
}
|
||||||
|
|
||||||
private AccessRestriction getPermByBit( int bit )
|
private AccessRestriction getPermByBit( final int bit )
|
||||||
{
|
{
|
||||||
switch( bit )
|
switch( bit )
|
||||||
{
|
{
|
||||||
@@ -61,12 +61,12 @@ public enum AccessRestriction
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public AccessRestriction addPermissions( AccessRestriction ar )
|
public AccessRestriction addPermissions( final AccessRestriction ar )
|
||||||
{
|
{
|
||||||
return this.getPermByBit( this.permissionBit | ar.permissionBit );
|
return this.getPermByBit( this.permissionBit | ar.permissionBit );
|
||||||
}
|
}
|
||||||
|
|
||||||
public AccessRestriction removePermissions( AccessRestriction ar )
|
public AccessRestriction removePermissions( final AccessRestriction ar )
|
||||||
{
|
{
|
||||||
return this.getPermByBit( this.permissionBit & ( ~ar.permissionBit ) );
|
return this.getPermByBit( this.permissionBit & ( ~ar.permissionBit ) );
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -26,5 +26,20 @@ package appeng.api.config;
|
|||||||
|
|
||||||
public enum ActionItems
|
public enum ActionItems
|
||||||
{
|
{
|
||||||
WRENCH, CLOSE, STASH, ENCODE, SUBSTITUTION
|
WRENCH,
|
||||||
|
CLOSE,
|
||||||
|
STASH,
|
||||||
|
ENCODE,
|
||||||
|
SUBSTITUTION,
|
||||||
|
MULTIPLY_BY_TWO,
|
||||||
|
MULTIPLY_BY_THREE,
|
||||||
|
INCREASE_BY_ONE,
|
||||||
|
DIVIDE_BY_TWO,
|
||||||
|
DIVIDE_BY_THREE,
|
||||||
|
DECREASE_BY_ONE,
|
||||||
|
MAX_COUNT,
|
||||||
|
FREE_MOLECULAR_SLOT_SHORTCUT,
|
||||||
|
TOGGLE_SHOW_FULL_INTERFACES_ON,
|
||||||
|
TOGGLE_SHOW_FULL_INTERFACES_OFF,
|
||||||
|
HIGHLIGHT_INTERFACE
|
||||||
}
|
}
|
||||||
@@ -23,22 +23,46 @@
|
|||||||
|
|
||||||
package appeng.api.config;
|
package appeng.api.config;
|
||||||
|
|
||||||
|
public enum FuzzyMode {
|
||||||
|
/**
|
||||||
|
* Matches any item from undamaged to including 0% durability, but not negative durability (where item damage
|
||||||
|
* exceeds maxdamage).
|
||||||
|
*/
|
||||||
|
IGNORE_ALL(-1),
|
||||||
|
/**
|
||||||
|
* Matches items that have less than 100% durability (that is, at least 1 damage point) if a damaged item is used as
|
||||||
|
* the filter, or undamaged items otherwise.
|
||||||
|
*/
|
||||||
|
PERCENT_99(0),
|
||||||
|
/**
|
||||||
|
* If an item with less than 75% durability is used as the filter, items with less than 75% durability are matched.
|
||||||
|
* Otherwise items with 75% durability or more are matched.
|
||||||
|
*/
|
||||||
|
PERCENT_75(25),
|
||||||
|
/**
|
||||||
|
* If an item with less than 50% durability is used as the filter, items with less than 50% durability are matched.
|
||||||
|
* Otherwise items with 50% durability or more are matched.
|
||||||
|
*/
|
||||||
|
PERCENT_50(50),
|
||||||
|
/**
|
||||||
|
* If an item with less than 25% durability is used as the filter, items with less than 50% durability are matched.
|
||||||
|
* Otherwise items with 25% durability or more are matched.
|
||||||
|
*/
|
||||||
|
PERCENT_25(75);
|
||||||
|
|
||||||
public enum FuzzyMode
|
public final float breakPoint;
|
||||||
{
|
/**
|
||||||
// Note that percentage damaged, is the inverse of percentage durability.
|
* Note this is percentage "damaged". It's the inverse of percentage durability.
|
||||||
IGNORE_ALL( -1 ), PERCENT_99( 0 ), PERCENT_75( 25 ), PERCENT_50( 50 ), PERCENT_25( 75 );
|
*/
|
||||||
|
public final float percentage;
|
||||||
|
|
||||||
public final float breakPoint;
|
FuzzyMode( final float p )
|
||||||
public final float percentage;
|
|
||||||
|
|
||||||
FuzzyMode( float p )
|
|
||||||
{
|
{
|
||||||
this.percentage = p;
|
this.percentage = p;
|
||||||
this.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) ( ( this.percentage * maxDamage ) / 100.0f );
|
||||||
}
|
}
|
||||||
|
|||||||
+4
-13
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2015 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
|
||||||
@@ -21,19 +21,10 @@
|
|||||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package appeng.api.networking.security;
|
package appeng.api.config;
|
||||||
|
|
||||||
|
|
||||||
public class BaseActionSource
|
public enum ItemSubstitution
|
||||||
{
|
{
|
||||||
|
ENABLED, DISABLED;
|
||||||
public boolean isPlayer()
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean isMachine()
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -33,12 +33,12 @@ public enum PowerMultiplier
|
|||||||
*/
|
*/
|
||||||
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 * this.multiplier;
|
||||||
}
|
}
|
||||||
|
|
||||||
public double divide( double in )
|
public double divide( final double in )
|
||||||
{
|
{
|
||||||
return in / this.multiplier;
|
return in / this.multiplier;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,9 +28,7 @@ public enum PowerUnits
|
|||||||
{
|
{
|
||||||
AE( "gui.appliedenergistics2.units.appliedenergstics" ), // Native Units - AE Energy
|
AE( "gui.appliedenergistics2.units.appliedenergstics" ), // Native Units - AE Energy
|
||||||
EU( "gui.appliedenergistics2.units.ic2" ), // IndustrialCraft 2 - Energy Units
|
EU( "gui.appliedenergistics2.units.ic2" ), // IndustrialCraft 2 - Energy Units
|
||||||
WA( "gui.appliedenergistics2.units.rotarycraft" ), // RotaryCraft - Watts
|
RF( "gui.appliedenergistics2.units.rf" ); // RF - Redstone Flux
|
||||||
RF( "gui.appliedenergistics2.units.thermalexpansion" ), // ThermalExpansion - Redstone Flux
|
|
||||||
MK( "gui.appliedenergistics2.units.mekanism" ); // Mekanism - Joules
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* unlocalized name for the power unit.
|
* unlocalized name for the power unit.
|
||||||
@@ -41,7 +39,7 @@ public enum PowerUnits
|
|||||||
*/
|
*/
|
||||||
public double conversionRatio = 1.0;
|
public double conversionRatio = 1.0;
|
||||||
|
|
||||||
PowerUnits( String un )
|
PowerUnits( final String un )
|
||||||
{
|
{
|
||||||
this.unlocalizedName = un;
|
this.unlocalizedName = un;
|
||||||
}
|
}
|
||||||
@@ -54,11 +52,11 @@ public enum PowerUnits
|
|||||||
* 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 target target power unit
|
||||||
* @param value value
|
* @param value value
|
||||||
*
|
*
|
||||||
* @return value converted to target units, from this units.
|
* @return value converted to target units, from this units.
|
||||||
*/
|
*/
|
||||||
public double convertTo( PowerUnits target, double value )
|
public double convertTo( final PowerUnits target, final double value )
|
||||||
{
|
{
|
||||||
return ( value * this.conversionRatio ) / target.conversionRatio;
|
return ( value * this.conversionRatio ) / target.conversionRatio;
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-3
@@ -21,10 +21,10 @@
|
|||||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package appeng.api.parts;
|
package appeng.api.config;
|
||||||
|
|
||||||
|
|
||||||
public interface ISimplifiedBundle
|
public enum SchedulingMode
|
||||||
{
|
{
|
||||||
|
DEFAULT, ROUNDROBIN, RANDOM
|
||||||
}
|
}
|
||||||
@@ -26,5 +26,5 @@ package appeng.api.config;
|
|||||||
|
|
||||||
public enum SearchBoxMode
|
public enum SearchBoxMode
|
||||||
{
|
{
|
||||||
AUTOSEARCH, MANUAL_SEARCH, NEI_AUTOSEARCH, NEI_MANUAL_SEARCH
|
AUTOSEARCH, AUTOSEARCH_KEEP, MANUAL_SEARCH, MANUAL_SEARCH_KEEP, JEI_AUTOSEARCH, JEI_AUTOSEARCH_KEEP, JEI_MANUAL_SEARCH, JEI_MANUAL_SEARCH_KEEP
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ package appeng.api.config;
|
|||||||
|
|
||||||
|
|
||||||
import java.util.EnumSet;
|
import java.util.EnumSet;
|
||||||
|
|
||||||
import javax.annotation.Nonnull;
|
import javax.annotation.Nonnull;
|
||||||
|
|
||||||
|
|
||||||
@@ -32,35 +33,61 @@ public enum Settings
|
|||||||
{
|
{
|
||||||
LEVEL_EMITTER_MODE( EnumSet.allOf( LevelEmitterMode.class ) ),
|
LEVEL_EMITTER_MODE( EnumSet.allOf( LevelEmitterMode.class ) ),
|
||||||
|
|
||||||
REDSTONE_EMITTER( EnumSet.of( RedstoneMode.HIGH_SIGNAL, RedstoneMode.LOW_SIGNAL ) ), REDSTONE_CONTROLLED( EnumSet.allOf( RedstoneMode.class ) ),
|
REDSTONE_EMITTER( EnumSet.of( RedstoneMode.HIGH_SIGNAL, RedstoneMode.LOW_SIGNAL ) ),
|
||||||
|
|
||||||
|
REDSTONE_CONTROLLED( EnumSet.allOf( RedstoneMode.class ) ),
|
||||||
|
|
||||||
CONDENSER_OUTPUT( EnumSet.allOf( CondenserOutput.class ) ),
|
CONDENSER_OUTPUT( EnumSet.allOf( CondenserOutput.class ) ),
|
||||||
|
|
||||||
POWER_UNITS( EnumSet.allOf( PowerUnits.class ) ), ACCESS( EnumSet.of( AccessRestriction.READ_WRITE, AccessRestriction.READ, AccessRestriction.WRITE ) ),
|
POWER_UNITS( EnumSet.allOf( PowerUnits.class ) ),
|
||||||
|
|
||||||
SORT_DIRECTION( EnumSet.allOf( SortDir.class ) ), SORT_BY( EnumSet.allOf( SortOrder.class ) ),
|
ACCESS( EnumSet.of( AccessRestriction.READ_WRITE, AccessRestriction.READ, AccessRestriction.WRITE ) ),
|
||||||
|
|
||||||
SEARCH_TOOLTIPS( EnumSet.of( YesNo.YES, YesNo.NO ) ), VIEW_MODE( EnumSet.allOf( ViewItems.class ) ), SEARCH_MODE( EnumSet.allOf( SearchBoxMode.class ) ),
|
SORT_DIRECTION( EnumSet.allOf( SortDir.class ) ),
|
||||||
|
|
||||||
ACTIONS( EnumSet.allOf( ActionItems.class ) ), IO_DIRECTION( EnumSet.of( RelativeDirection.LEFT, RelativeDirection.RIGHT ) ),
|
SORT_BY( EnumSet.allOf( SortOrder.class ) ),
|
||||||
|
|
||||||
BLOCK( EnumSet.of( YesNo.YES, YesNo.NO ) ), OPERATION_MODE( EnumSet.allOf( OperationMode.class ) ),
|
SEARCH_TOOLTIPS( EnumSet.of( YesNo.YES, YesNo.NO ) ),
|
||||||
|
|
||||||
FULLNESS_MODE( EnumSet.allOf( FullnessMode.class ) ), CRAFT_ONLY( EnumSet.of( YesNo.YES, YesNo.NO ) ),
|
VIEW_MODE( EnumSet.allOf( ViewItems.class ) ),
|
||||||
|
|
||||||
FUZZY_MODE( EnumSet.allOf( FuzzyMode.class ) ), LEVEL_TYPE( EnumSet.allOf( LevelType.class ) ),
|
SEARCH_MODE( EnumSet.allOf( SearchBoxMode.class ) ),
|
||||||
|
|
||||||
TERMINAL_STYLE( EnumSet.of( TerminalStyle.TALL, TerminalStyle.SMALL ) ), COPY_MODE( EnumSet.allOf( CopyMode.class ) ),
|
ACTIONS( EnumSet.allOf( ActionItems.class ) ),
|
||||||
|
|
||||||
INTERFACE_TERMINAL( EnumSet.of( YesNo.YES, YesNo.NO ) ), CRAFT_VIA_REDSTONE( EnumSet.of( YesNo.YES, YesNo.NO ) ),
|
IO_DIRECTION( EnumSet.of( RelativeDirection.LEFT, RelativeDirection.RIGHT ) ),
|
||||||
|
|
||||||
STORAGE_FILTER( EnumSet.allOf( StorageFilter.class ) ), PLACE_BLOCK( EnumSet.of( YesNo.YES, YesNo.NO ) );
|
BLOCK( EnumSet.of( YesNo.YES, YesNo.NO ) ),
|
||||||
|
|
||||||
|
OPERATION_MODE( EnumSet.allOf( OperationMode.class ) ),
|
||||||
|
|
||||||
|
FULLNESS_MODE( EnumSet.allOf( FullnessMode.class ) ),
|
||||||
|
|
||||||
|
CRAFT_ONLY( EnumSet.of( YesNo.YES, YesNo.NO ) ),
|
||||||
|
|
||||||
|
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;
|
private final EnumSet<? extends Enum<?>> values;
|
||||||
|
|
||||||
Settings( @Nonnull EnumSet<? extends Enum<?>> possibleOptions )
|
Settings( @Nonnull final EnumSet<? extends Enum<?>> possibleOptions )
|
||||||
{
|
{
|
||||||
if ( possibleOptions.isEmpty() )
|
if( possibleOptions.isEmpty() )
|
||||||
{
|
{
|
||||||
throw new IllegalArgumentException( "Tried to instantiate an empty setting." );
|
throw new IllegalArgumentException( "Tried to instantiate an empty setting." );
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ public enum TunnelType
|
|||||||
{
|
{
|
||||||
ME, // Network Tunnel
|
ME, // Network Tunnel
|
||||||
IC2_POWER, // EU Tunnel
|
IC2_POWER, // EU Tunnel
|
||||||
RF_POWER, // RF Tunnel
|
FE_POWER, // Forge Energy tunnel
|
||||||
REDSTONE, // Redstone Tunnel
|
REDSTONE, // Redstone Tunnel
|
||||||
FLUID, // Fluid Tunnel
|
FLUID, // Fluid Tunnel
|
||||||
ITEM, // Item Tunnel
|
ITEM, // Item Tunnel
|
||||||
|
|||||||
@@ -29,10 +29,7 @@ import java.util.Map;
|
|||||||
|
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
|
|
||||||
import com.google.common.base.Optional;
|
|
||||||
|
|
||||||
import appeng.api.definitions.IItemDefinition;
|
import appeng.api.definitions.IItemDefinition;
|
||||||
import appeng.api.util.AEItemDefinition;
|
|
||||||
|
|
||||||
|
|
||||||
public enum Upgrades
|
public enum Upgrades
|
||||||
@@ -40,26 +37,21 @@ public enum Upgrades
|
|||||||
/**
|
/**
|
||||||
* Gold Tier Upgrades.
|
* Gold Tier Upgrades.
|
||||||
*/
|
*/
|
||||||
CAPACITY( 0 ), REDSTONE( 0 ), CRAFTING( 0 ),
|
CAPACITY( 0 ),
|
||||||
|
REDSTONE( 0 ),
|
||||||
|
CRAFTING( 0 ),
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Diamond Tier Upgrades.
|
* Diamond Tier Upgrades.
|
||||||
*/
|
*/
|
||||||
FUZZY( 1 ), SPEED( 1 ), INVERTER( 1 );
|
FUZZY( 1 ),
|
||||||
|
SPEED( 1 ),
|
||||||
|
INVERTER( 1 );
|
||||||
|
|
||||||
/**
|
private final int tier;
|
||||||
* @deprecated use {@link Upgrades#getTier()}
|
private final Map<ItemStack, Integer> supportedMax = new HashMap<>();
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
public final int tier;
|
|
||||||
|
|
||||||
/**
|
Upgrades( final int tier )
|
||||||
* @deprecated use {@link Upgrades#getSupported()}
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
private final Map<ItemStack, Integer> supportedMax = new HashMap<ItemStack, Integer>();
|
|
||||||
|
|
||||||
Upgrades( int tier )
|
|
||||||
{
|
{
|
||||||
this.tier = tier;
|
this.tier = tier;
|
||||||
}
|
}
|
||||||
@@ -75,25 +67,21 @@ public enum Upgrades
|
|||||||
/**
|
/**
|
||||||
* Registers a specific amount of this upgrade into a specific machine
|
* Registers a specific amount of this upgrade into a specific machine
|
||||||
*
|
*
|
||||||
* @param item machine in which this upgrade can be installed
|
* @param item machine in which this upgrade can be installed
|
||||||
* @param maxSupported amount how many upgrades can be installed
|
* @param maxSupported amount how many upgrades can be installed
|
||||||
*/
|
*/
|
||||||
public void registerItem( IItemDefinition item, int maxSupported )
|
public void registerItem( final IItemDefinition item, final int maxSupported )
|
||||||
{
|
{
|
||||||
final Optional<ItemStack> maybeStack = item.maybeStack( 1 );
|
item.maybeStack( 1 ).ifPresent( is -> this.registerItem( is, maxSupported ) );
|
||||||
for( ItemStack stack : maybeStack.asSet() )
|
|
||||||
{
|
|
||||||
this.registerItem( stack, maxSupported );
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Registers a specific amount of this upgrade into a specific machine
|
* Registers a specific amount of this upgrade into a specific machine
|
||||||
*
|
*
|
||||||
* @param stack machine in which this upgrade can be installed
|
* @param stack machine in which this upgrade can be installed
|
||||||
* @param maxSupported amount how many upgrades can be installed
|
* @param maxSupported amount how many upgrades can be installed
|
||||||
*/
|
*/
|
||||||
public void registerItem( ItemStack stack, int maxSupported )
|
public void registerItem( final ItemStack stack, final int maxSupported )
|
||||||
{
|
{
|
||||||
if( stack != null )
|
if( stack != null )
|
||||||
{
|
{
|
||||||
@@ -101,28 +89,6 @@ public enum Upgrades
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Registers a specific amount of this upgrade into a specific machine
|
|
||||||
*
|
|
||||||
* @param item machine in which this upgrade can be installed
|
|
||||||
* @param maxSupported amount how many upgrades can be installed
|
|
||||||
*
|
|
||||||
* @deprecated use {@link Upgrades#registerItem(IItemDefinition, int)}
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
public void registerItem( AEItemDefinition item, int maxSupported )
|
|
||||||
{
|
|
||||||
if( item != null )
|
|
||||||
{
|
|
||||||
final ItemStack stack = item.stack( 1 );
|
|
||||||
|
|
||||||
if( stack != null )
|
|
||||||
{
|
|
||||||
this.registerItem( stack, maxSupported );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public int getTier()
|
public int getTier()
|
||||||
{
|
{
|
||||||
return this.tier;
|
return this.tier;
|
||||||
|
|||||||
@@ -1,131 +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;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated use {@link IBlocks} now
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
public class Blocks
|
|
||||||
{
|
|
||||||
public AEItemDefinition blockQuartzOre;
|
|
||||||
|
|
||||||
public AEItemDefinition blockQuartzOreCharged;
|
|
||||||
|
|
||||||
public AEItemDefinition blockMatrixFrame;
|
|
||||||
|
|
||||||
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;
|
|
||||||
|
|
||||||
public AEItemDefinition blockGrindStone;
|
|
||||||
|
|
||||||
public AEItemDefinition blockCrankHandle;
|
|
||||||
|
|
||||||
public AEItemDefinition blockInscriber;
|
|
||||||
|
|
||||||
public AEItemDefinition blockWireless;
|
|
||||||
|
|
||||||
public AEItemDefinition blockCharger;
|
|
||||||
|
|
||||||
public AEItemDefinition blockTinyTNT;
|
|
||||||
|
|
||||||
public AEItemDefinition blockSecurity;
|
|
||||||
|
|
||||||
public AEItemDefinition blockQuantumRing;
|
|
||||||
|
|
||||||
public AEItemDefinition blockQuantumLink;
|
|
||||||
|
|
||||||
public AEItemDefinition blockSpatialPylon;
|
|
||||||
|
|
||||||
public AEItemDefinition blockSpatialIOPort;
|
|
||||||
|
|
||||||
public AEItemDefinition blockMultiPart;
|
|
||||||
|
|
||||||
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;
|
|
||||||
|
|
||||||
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;
|
|
||||||
}
|
|
||||||
@@ -1,12 +1,31 @@
|
|||||||
|
/*
|
||||||
|
* 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;
|
package appeng.api.definitions;
|
||||||
|
|
||||||
|
|
||||||
|
import java.util.Optional;
|
||||||
|
|
||||||
import net.minecraft.block.Block;
|
import net.minecraft.block.Block;
|
||||||
import net.minecraft.item.ItemBlock;
|
import net.minecraft.item.ItemBlock;
|
||||||
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.world.IBlockAccess;
|
import net.minecraft.world.IBlockAccess;
|
||||||
|
|
||||||
import com.google.common.base.Optional;
|
|
||||||
|
|
||||||
|
|
||||||
public interface IBlockDefinition extends IItemDefinition
|
public interface IBlockDefinition extends IItemDefinition
|
||||||
{
|
{
|
||||||
@@ -24,11 +43,9 @@ public interface IBlockDefinition extends IItemDefinition
|
|||||||
* Compare Block with world.
|
* Compare Block with world.
|
||||||
*
|
*
|
||||||
* @param world world of block
|
* @param world world of block
|
||||||
* @param x x pos of block
|
* @param pos location
|
||||||
* @param y y pos of block
|
|
||||||
* @param z z pos of block
|
|
||||||
*
|
*
|
||||||
* @return if the block is placed in the world at the specific location.
|
* @return if the block is placed in the world at the specific location.
|
||||||
*/
|
*/
|
||||||
boolean isSameAs( IBlockAccess world, int x, int y, int z );
|
boolean isSameAs( IBlockAccess world, BlockPos pos );
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -41,45 +41,53 @@ public interface IBlocks
|
|||||||
/*
|
/*
|
||||||
* decorative
|
* decorative
|
||||||
*/
|
*/
|
||||||
IBlockDefinition quartz();
|
IBlockDefinition quartzBlock();
|
||||||
|
|
||||||
IBlockDefinition quartzPillar();
|
IBlockDefinition quartzPillar();
|
||||||
|
|
||||||
IBlockDefinition quartzChiseled();
|
IBlockDefinition chiseledQuartzBlock();
|
||||||
|
|
||||||
IBlockDefinition quartzGlass();
|
IBlockDefinition quartzGlass();
|
||||||
|
|
||||||
IBlockDefinition quartzVibrantGlass();
|
IBlockDefinition quartzVibrantGlass();
|
||||||
|
|
||||||
IBlockDefinition quartzTorch();
|
IBlockDefinition quartzFixture();
|
||||||
|
|
||||||
IBlockDefinition fluix();
|
IBlockDefinition fluixBlock();
|
||||||
|
|
||||||
IBlockDefinition skyStone();
|
IBlockDefinition skyStoneBlock();
|
||||||
|
|
||||||
IBlockDefinition skyChest();
|
IBlockDefinition smoothSkyStoneBlock();
|
||||||
|
|
||||||
|
IBlockDefinition skyStoneBrick();
|
||||||
|
|
||||||
|
IBlockDefinition skyStoneSmallBrick();
|
||||||
|
|
||||||
|
IBlockDefinition skyStoneChest();
|
||||||
|
|
||||||
|
IBlockDefinition smoothSkyStoneChest();
|
||||||
|
|
||||||
IBlockDefinition skyCompass();
|
IBlockDefinition skyCompass();
|
||||||
|
|
||||||
IBlockDefinition skyStoneStair();
|
IBlockDefinition skyStoneStairs();
|
||||||
|
|
||||||
IBlockDefinition skyStoneBlockStair();
|
IBlockDefinition smoothSkyStoneStairs();
|
||||||
|
|
||||||
IBlockDefinition skyStoneBrickStair();
|
IBlockDefinition skyStoneBrickStairs();
|
||||||
|
|
||||||
IBlockDefinition skyStoneSmallBrickStair();
|
IBlockDefinition skyStoneSmallBrickStairs();
|
||||||
|
|
||||||
IBlockDefinition fluixStair();
|
IBlockDefinition fluixStairs();
|
||||||
|
|
||||||
IBlockDefinition quartzStair();
|
IBlockDefinition quartzStairs();
|
||||||
|
|
||||||
IBlockDefinition chiseledQuartzStair();
|
IBlockDefinition chiseledQuartzStairs();
|
||||||
|
|
||||||
IBlockDefinition quartzPillarStair();
|
IBlockDefinition quartzPillarStairs();
|
||||||
|
|
||||||
IBlockDefinition skyStoneSlab();
|
IBlockDefinition skyStoneSlab();
|
||||||
|
|
||||||
IBlockDefinition skyStoneBlockSlab();
|
IBlockDefinition smoothSkyStoneSlab();
|
||||||
|
|
||||||
IBlockDefinition skyStoneBrickSlab();
|
IBlockDefinition skyStoneBrickSlab();
|
||||||
|
|
||||||
@@ -96,19 +104,19 @@ public interface IBlocks
|
|||||||
/*
|
/*
|
||||||
* misc
|
* misc
|
||||||
*/
|
*/
|
||||||
ITileDefinition grindStone();
|
ITileDefinition grindstone();
|
||||||
|
|
||||||
ITileDefinition crankHandle();
|
ITileDefinition crank();
|
||||||
|
|
||||||
ITileDefinition inscriber();
|
ITileDefinition inscriber();
|
||||||
|
|
||||||
ITileDefinition wireless();
|
ITileDefinition wirelessAccessPoint();
|
||||||
|
|
||||||
ITileDefinition charger();
|
ITileDefinition charger();
|
||||||
|
|
||||||
IBlockDefinition tinyTNT();
|
IBlockDefinition tinyTNT();
|
||||||
|
|
||||||
ITileDefinition security();
|
ITileDefinition securityStation();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* quantum Network Bridge
|
* quantum Network Bridge
|
||||||
@@ -140,6 +148,8 @@ public interface IBlocks
|
|||||||
|
|
||||||
ITileDefinition iface();
|
ITileDefinition iface();
|
||||||
|
|
||||||
|
ITileDefinition fluidIface();
|
||||||
|
|
||||||
ITileDefinition cellWorkbench();
|
ITileDefinition cellWorkbench();
|
||||||
|
|
||||||
ITileDefinition iOPort();
|
ITileDefinition iOPort();
|
||||||
|
|||||||
@@ -1,8 +1,25 @@
|
|||||||
|
/*
|
||||||
|
* 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;
|
package appeng.api.definitions;
|
||||||
|
|
||||||
|
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.world.IBlockAccess;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -22,19 +39,4 @@ public interface IComparableDefinition
|
|||||||
* @return true if the item stack is a matching item.
|
* @return true if the item stack is a matching item.
|
||||||
*/
|
*/
|
||||||
boolean isSameAs( ItemStack comparableStack );
|
boolean isSameAs( ItemStack comparableStack );
|
||||||
|
|
||||||
/**
|
|
||||||
* Compare Block with world.
|
|
||||||
*
|
|
||||||
* @param world world of block
|
|
||||||
* @param x x pos of block
|
|
||||||
* @param y y pos of block
|
|
||||||
* @param z z pos of block
|
|
||||||
*
|
|
||||||
* @return if the block is placed in the world at the specific location.
|
|
||||||
*
|
|
||||||
* @deprecated moved to {@link IBlockDefinition}. Is removed in the next major release rv3
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
boolean isSameAs( IBlockAccess world, int x, int y, int z );
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,14 +1,46 @@
|
|||||||
|
/*
|
||||||
|
* 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;
|
package appeng.api.definitions;
|
||||||
|
|
||||||
|
|
||||||
|
import java.util.Optional;
|
||||||
|
|
||||||
|
import javax.annotation.Nonnull;
|
||||||
|
|
||||||
import net.minecraft.item.Item;
|
import net.minecraft.item.Item;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
|
|
||||||
import com.google.common.base.Optional;
|
|
||||||
|
|
||||||
|
|
||||||
public interface IItemDefinition extends IComparableDefinition
|
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
|
* @return the {@link Item} Implementation if applicable
|
||||||
*/
|
*/
|
||||||
@@ -18,4 +50,9 @@ public interface IItemDefinition extends IComparableDefinition
|
|||||||
* @return an {@link ItemStack} with specified quantity of this item.
|
* @return an {@link ItemStack} with specified quantity of this item.
|
||||||
*/
|
*/
|
||||||
Optional<ItemStack> maybeStack( int stackSize );
|
Optional<ItemStack> maybeStack( int stackSize );
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return <tt>true</tt> if definition is enabled
|
||||||
|
*/
|
||||||
|
boolean isEnabled();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -88,6 +88,14 @@ public interface IItems
|
|||||||
|
|
||||||
IItemDefinition cell64k();
|
IItemDefinition cell64k();
|
||||||
|
|
||||||
|
IItemDefinition fluidCell1k();
|
||||||
|
|
||||||
|
IItemDefinition fluidCell4k();
|
||||||
|
|
||||||
|
IItemDefinition fluidCell16k();
|
||||||
|
|
||||||
|
IItemDefinition fluidCell64k();
|
||||||
|
|
||||||
IItemDefinition spatialCell2();
|
IItemDefinition spatialCell2();
|
||||||
|
|
||||||
IItemDefinition spatialCell16();
|
IItemDefinition spatialCell16();
|
||||||
|
|||||||
@@ -111,8 +111,6 @@ public interface IMaterials
|
|||||||
|
|
||||||
IItemDefinition matterBall();
|
IItemDefinition matterBall();
|
||||||
|
|
||||||
IItemDefinition ironNugget();
|
|
||||||
|
|
||||||
IItemDefinition certusQuartzCrystal();
|
IItemDefinition certusQuartzCrystal();
|
||||||
|
|
||||||
IItemDefinition certusQuartzCrystalCharged();
|
IItemDefinition certusQuartzCrystalCharged();
|
||||||
@@ -123,7 +121,7 @@ public interface IMaterials
|
|||||||
|
|
||||||
IItemDefinition woodenGear();
|
IItemDefinition woodenGear();
|
||||||
|
|
||||||
IItemDefinition wireless();
|
IItemDefinition wirelessReceiver();
|
||||||
|
|
||||||
IItemDefinition wirelessBooster();
|
IItemDefinition wirelessBooster();
|
||||||
|
|
||||||
@@ -136,4 +134,12 @@ public interface IMaterials
|
|||||||
IItemDefinition qESingularity();
|
IItemDefinition qESingularity();
|
||||||
|
|
||||||
IItemDefinition blankPattern();
|
IItemDefinition blankPattern();
|
||||||
|
|
||||||
|
IItemDefinition fluidCell1kPart();
|
||||||
|
|
||||||
|
IItemDefinition fluidCell4kPart();
|
||||||
|
|
||||||
|
IItemDefinition fluidCell16kPart();
|
||||||
|
|
||||||
|
IItemDefinition fluidCell64kPart();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -38,7 +38,9 @@ public interface IParts
|
|||||||
|
|
||||||
AEColoredItemDefinition cableGlass();
|
AEColoredItemDefinition cableGlass();
|
||||||
|
|
||||||
AEColoredItemDefinition cableDense();
|
AEColoredItemDefinition cableDenseCovered();
|
||||||
|
|
||||||
|
AEColoredItemDefinition cableDenseSmart();
|
||||||
|
|
||||||
AEColoredItemDefinition lumenCableSmart();
|
AEColoredItemDefinition lumenCableSmart();
|
||||||
|
|
||||||
@@ -46,7 +48,7 @@ public interface IParts
|
|||||||
|
|
||||||
AEColoredItemDefinition lumenCableGlass();
|
AEColoredItemDefinition lumenCableGlass();
|
||||||
|
|
||||||
AEColoredItemDefinition lumenCableDense();
|
AEColoredItemDefinition lumenDenseCableSmart();
|
||||||
|
|
||||||
IItemDefinition quartzFiber();
|
IItemDefinition quartzFiber();
|
||||||
|
|
||||||
@@ -62,6 +64,8 @@ public interface IParts
|
|||||||
|
|
||||||
IItemDefinition iface();
|
IItemDefinition iface();
|
||||||
|
|
||||||
|
IItemDefinition fluidIface();
|
||||||
|
|
||||||
IItemDefinition levelEmitter();
|
IItemDefinition levelEmitter();
|
||||||
|
|
||||||
IItemDefinition annihilationPlane();
|
IItemDefinition annihilationPlane();
|
||||||
@@ -76,15 +80,15 @@ public interface IParts
|
|||||||
|
|
||||||
IItemDefinition p2PTunnelItems();
|
IItemDefinition p2PTunnelItems();
|
||||||
|
|
||||||
IItemDefinition p2PTunnelLiquids();
|
IItemDefinition p2PTunnelFluids();
|
||||||
|
|
||||||
IItemDefinition p2PTunnelEU();
|
IItemDefinition p2PTunnelEU();
|
||||||
|
|
||||||
IItemDefinition p2PTunnelRF();
|
IItemDefinition p2PTunnelFE();
|
||||||
|
|
||||||
IItemDefinition p2PTunnelLight();
|
IItemDefinition p2PTunnelLight();
|
||||||
|
|
||||||
IItemDefinition p2PTunnelOpenComputers();
|
// IItemDefinition p2PTunnelOpenComputers();
|
||||||
|
|
||||||
IItemDefinition cableAnchor();
|
IItemDefinition cableAnchor();
|
||||||
|
|
||||||
@@ -105,4 +109,18 @@ public interface IParts
|
|||||||
IItemDefinition storageMonitor();
|
IItemDefinition storageMonitor();
|
||||||
|
|
||||||
IItemDefinition conversionMonitor();
|
IItemDefinition conversionMonitor();
|
||||||
|
|
||||||
|
IItemDefinition fluidTerminal();
|
||||||
|
|
||||||
|
IItemDefinition fluidImportBus();
|
||||||
|
|
||||||
|
IItemDefinition fluidExportBus();
|
||||||
|
|
||||||
|
IItemDefinition fluidStorageBus();
|
||||||
|
|
||||||
|
IItemDefinition fluidLevelEmitter();
|
||||||
|
|
||||||
|
IItemDefinition fluidAnnihilationPlane();
|
||||||
|
|
||||||
|
IItemDefinition fluidFormationnPlane();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +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.definitions;
|
package appeng.api.definitions;
|
||||||
|
|
||||||
|
|
||||||
import net.minecraft.tileentity.TileEntity;
|
import java.util.Optional;
|
||||||
|
|
||||||
import com.google.common.base.Optional;
|
import net.minecraft.tileentity.TileEntity;
|
||||||
|
|
||||||
|
|
||||||
public interface ITileDefinition extends IBlockDefinition
|
public interface ITileDefinition extends IBlockDefinition
|
||||||
|
|||||||
@@ -1,110 +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;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated use {@link IItems}
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
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;
|
|
||||||
|
|
||||||
public AEItemDefinition itemEncodedPattern;
|
|
||||||
|
|
||||||
public AEItemDefinition itemColorApplicator;
|
|
||||||
|
|
||||||
public AEColoredItemDefinition itemPaintBall;
|
|
||||||
|
|
||||||
public AEColoredItemDefinition itemLumenPaintBall;
|
|
||||||
}
|
|
||||||
@@ -1,143 +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;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated use {@link IMaterials}
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
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,106 +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;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated use {@link IParts}
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
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 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;
|
|
||||||
}
|
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
package appeng.api.events;
|
package appeng.api.events;
|
||||||
|
|
||||||
|
|
||||||
import cpw.mods.fml.common.eventhandler.Event;
|
import net.minecraftforge.fml.common.eventhandler.Event;
|
||||||
|
|
||||||
import appeng.api.features.ILocatable;
|
import appeng.api.features.ILocatable;
|
||||||
|
|
||||||
@@ -40,7 +40,7 @@ public class LocatableEventAnnounce extends Event
|
|||||||
public final ILocatable target;
|
public final ILocatable target;
|
||||||
public final LocatableEvent change;
|
public final LocatableEvent change;
|
||||||
|
|
||||||
public LocatableEventAnnounce( ILocatable o, LocatableEvent ev )
|
public LocatableEventAnnounce( final ILocatable o, final LocatableEvent ev )
|
||||||
{
|
{
|
||||||
this.target = o;
|
this.target = o;
|
||||||
this.change = ev;
|
this.change = ev;
|
||||||
@@ -48,7 +48,14 @@ public class LocatableEventAnnounce extends Event
|
|||||||
|
|
||||||
public enum LocatableEvent
|
public enum LocatableEvent
|
||||||
{
|
{
|
||||||
Register, // Adds the locatable to the registry
|
/**
|
||||||
Unregister // Removes the locatable from the registry
|
* Adds the locatable to the registry
|
||||||
|
*/
|
||||||
|
REGISTER,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Removes the locatable from the registry
|
||||||
|
*/
|
||||||
|
UNREGISTER
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ 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 );
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +1,29 @@
|
|||||||
|
/*
|
||||||
|
* 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;
|
package appeng.api.exceptions;
|
||||||
|
|
||||||
|
|
||||||
public class CoreInaccessibleException extends RuntimeException
|
public class CoreInaccessibleException extends RuntimeException
|
||||||
{
|
{
|
||||||
public CoreInaccessibleException( String message )
|
private static final long serialVersionUID = -7434641554655517242L;
|
||||||
|
|
||||||
|
public CoreInaccessibleException( final String message )
|
||||||
{
|
{
|
||||||
super( message );
|
super( message );
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,56 @@
|
|||||||
|
/*
|
||||||
|
* 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 );
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,56 @@
|
|||||||
|
/*
|
||||||
|
* 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 );
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
package appeng.api.exceptions;
|
|
||||||
|
|
||||||
|
|
||||||
public class MissingDefinition extends RuntimeException
|
|
||||||
{
|
|
||||||
public MissingDefinition( String message )
|
|
||||||
{
|
|
||||||
super( message );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -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.exceptions;
|
||||||
|
|
||||||
|
|
||||||
|
public class MissingDefinitionException extends RuntimeException
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = -6547396584255825761L;
|
||||||
|
|
||||||
|
public MissingDefinitionException( final String message )
|
||||||
|
{
|
||||||
|
super( message );
|
||||||
|
}
|
||||||
|
}
|
||||||
+2
-2
@@ -24,12 +24,12 @@
|
|||||||
package appeng.api.exceptions;
|
package appeng.api.exceptions;
|
||||||
|
|
||||||
|
|
||||||
public class MissingIngredientError extends Exception
|
public class MissingIngredientException extends Exception
|
||||||
{
|
{
|
||||||
|
|
||||||
private static final long serialVersionUID = -998858343831371697L;
|
private static final long serialVersionUID = -998858343831371697L;
|
||||||
|
|
||||||
public MissingIngredientError( String n )
|
public MissingIngredientException( final String n )
|
||||||
{
|
{
|
||||||
super( n );
|
super( n );
|
||||||
}
|
}
|
||||||
+2
-2
@@ -24,12 +24,12 @@
|
|||||||
package appeng.api.exceptions;
|
package appeng.api.exceptions;
|
||||||
|
|
||||||
|
|
||||||
public class ModNotInstalled extends Exception
|
public class ModNotInstalledException extends Exception
|
||||||
{
|
{
|
||||||
|
|
||||||
private static final long serialVersionUID = -9052435206368425494L;
|
private static final long serialVersionUID = -9052435206368425494L;
|
||||||
|
|
||||||
public ModNotInstalled( String t )
|
public ModNotInstalledException( final String t )
|
||||||
{
|
{
|
||||||
super( t );
|
super( t );
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,53 @@
|
|||||||
|
/*
|
||||||
|
* 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 );
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
+2
-2
@@ -24,12 +24,12 @@
|
|||||||
package appeng.api.exceptions;
|
package appeng.api.exceptions;
|
||||||
|
|
||||||
|
|
||||||
public class RecipeError extends Exception
|
public class RecipeException extends Exception
|
||||||
{
|
{
|
||||||
|
|
||||||
private static final long serialVersionUID = -6602870588617670262L;
|
private static final long serialVersionUID = -6602870588617670262L;
|
||||||
|
|
||||||
public RecipeError( String n )
|
public RecipeException( final String n )
|
||||||
{
|
{
|
||||||
super( n );
|
super( n );
|
||||||
}
|
}
|
||||||
+2
-2
@@ -24,12 +24,12 @@
|
|||||||
package appeng.api.exceptions;
|
package appeng.api.exceptions;
|
||||||
|
|
||||||
|
|
||||||
public class RegistrationError extends Exception
|
public class RegistrationException extends Exception
|
||||||
{
|
{
|
||||||
|
|
||||||
private static final long serialVersionUID = -6602870588617670263L;
|
private static final long serialVersionUID = -6602870588617670263L;
|
||||||
|
|
||||||
public RegistrationError( String n )
|
public RegistrationException( final String n )
|
||||||
{
|
{
|
||||||
super( n );
|
super( n );
|
||||||
}
|
}
|
||||||
@@ -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;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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,84 @@
|
|||||||
|
/*
|
||||||
|
* 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 );
|
||||||
|
|
||||||
|
}
|
||||||
+15
-43
@@ -24,13 +24,17 @@
|
|||||||
package appeng.api.features;
|
package appeng.api.features;
|
||||||
|
|
||||||
|
|
||||||
|
import java.util.Optional;
|
||||||
|
|
||||||
|
import javax.annotation.Nonnull;
|
||||||
|
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Registration Records for {@link IGrinderRegistry}
|
* Registration Records for {@link IGrinderRegistry}
|
||||||
*/
|
*/
|
||||||
public interface IGrinderEntry
|
public interface IGrinderRecipe
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -38,66 +42,40 @@ public interface IGrinderEntry
|
|||||||
*
|
*
|
||||||
* @return input that the grinder will accept.
|
* @return input that the grinder will accept.
|
||||||
*/
|
*/
|
||||||
|
@Nonnull
|
||||||
ItemStack getInput();
|
ItemStack getInput();
|
||||||
|
|
||||||
/**
|
|
||||||
* lets you change the grinder recipe by changing its input.
|
|
||||||
*
|
|
||||||
* @param input input item
|
|
||||||
*/
|
|
||||||
void setInput( ItemStack input );
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gets the current output
|
* gets the current output
|
||||||
*
|
*
|
||||||
* @return output that the grinder will produce
|
* @return output that the grinder will produce
|
||||||
*/
|
*/
|
||||||
|
@Nonnull
|
||||||
ItemStack getOutput();
|
ItemStack getOutput();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* allows you to change the output.
|
* gets the current output
|
||||||
*
|
*
|
||||||
* @param output output item
|
* @return output that the grinder will produce
|
||||||
*/
|
*/
|
||||||
void setOutput( ItemStack output );
|
@Nonnull
|
||||||
|
Optional<ItemStack> getOptionalOutput();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gets the current output
|
* gets the current output
|
||||||
*
|
*
|
||||||
* @return output that the grinder will produce
|
* @return output that the grinder will produce
|
||||||
*/
|
*/
|
||||||
ItemStack getOptionalOutput();
|
Optional<ItemStack> getSecondOptionalOutput();
|
||||||
|
|
||||||
/**
|
|
||||||
* gets the current output
|
|
||||||
*
|
|
||||||
* @return output that the grinder will produce
|
|
||||||
*/
|
|
||||||
ItemStack getSecondOptionalOutput();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* stack, and 0.0-1.0 chance that it will be generated.
|
|
||||||
*
|
|
||||||
* @param output output item
|
|
||||||
* @param chance generation chance
|
|
||||||
*/
|
|
||||||
void setOptionalOutput( ItemStack output, float chance );
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 0.0 - 1.0 the chance that the optional output will be generated.
|
* 0.0 - 1.0 the chance that the optional output will be generated.
|
||||||
*
|
*
|
||||||
* @return chance of optional output
|
* @return chance of optional output
|
||||||
*/
|
*/
|
||||||
|
@Nonnull
|
||||||
float getOptionalChance();
|
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
|
|
||||||
*/
|
|
||||||
void setSecondOptionalOutput( ItemStack output, float chance );
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 0.0 - 1.0 the chance that the optional output will be generated.
|
* 0.0 - 1.0 the chance that the optional output will be generated.
|
||||||
*
|
*
|
||||||
@@ -106,16 +84,10 @@ public interface IGrinderEntry
|
|||||||
float getSecondOptionalChance();
|
float getSecondOptionalChance();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Energy cost, in turns.
|
* Amount of turns required to process the item.
|
||||||
*
|
*
|
||||||
* @return number of turns it takes to produce the output from the input.
|
* @return number of turns it takes to produce the output from the input.
|
||||||
*/
|
*/
|
||||||
int getEnergyCost();
|
int getRequiredTurns();
|
||||||
|
|
||||||
/**
|
|
||||||
* Allows you to adjust the number of turns
|
|
||||||
*
|
|
||||||
* @param c number of turns to produce output.
|
|
||||||
*/
|
|
||||||
void setEnergyCost( int c );
|
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,115 @@
|
|||||||
|
/*
|
||||||
|
* 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 javax.annotation.Nonnegative;
|
||||||
|
import javax.annotation.Nonnull;
|
||||||
|
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Builder for a grinder recipe.
|
||||||
|
*
|
||||||
|
* The only default value provided are turns at a value of 8.
|
||||||
|
*
|
||||||
|
* @author yueh
|
||||||
|
* @version rv5
|
||||||
|
* @since rv5
|
||||||
|
*/
|
||||||
|
public interface IGrinderRecipeBuilder
|
||||||
|
{
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates an grinder recipe with inputs.
|
||||||
|
* Needs to be invoked.
|
||||||
|
*
|
||||||
|
* @param input new input for the recipe
|
||||||
|
*
|
||||||
|
* @return currently used builder
|
||||||
|
*/
|
||||||
|
@Nonnull
|
||||||
|
IGrinderRecipeBuilder withInput( @Nonnull ItemStack input );
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates an grinder recipe with output.
|
||||||
|
* Needs to be invoked.
|
||||||
|
*
|
||||||
|
* @param output new output for the recipe
|
||||||
|
*
|
||||||
|
* @return currently used builder
|
||||||
|
*/
|
||||||
|
@Nonnull
|
||||||
|
IGrinderRecipeBuilder withOutput( @Nonnull ItemStack output );
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates an grinder recipe with the first optional output and its chance.
|
||||||
|
*
|
||||||
|
* @param optional new first optional for the recipe
|
||||||
|
* @param chance chance for the first optional output, must be within 0.0 - 1.0
|
||||||
|
*
|
||||||
|
* @return currently used builder
|
||||||
|
*/
|
||||||
|
@Nonnull
|
||||||
|
IGrinderRecipeBuilder withFirstOptional( @Nonnull ItemStack optional, float chance );
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates an grinder recipe with the second optional output and its chance.
|
||||||
|
*
|
||||||
|
* @param optional new second optional for the recipe
|
||||||
|
* @param chance chance for the second optional output, must be within 0.0 - 1.0
|
||||||
|
*
|
||||||
|
* @return currently used builder
|
||||||
|
*/
|
||||||
|
@Nonnull
|
||||||
|
IGrinderRecipeBuilder withSecondOptional( @Nonnull ItemStack optional, float chance );
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates an grinder recipe with the amount of turns as cost.
|
||||||
|
*
|
||||||
|
* Defaults to 8 when not called.
|
||||||
|
*
|
||||||
|
* @param turns new turns for the recipe, must be > 0
|
||||||
|
*
|
||||||
|
* @return currently used builder
|
||||||
|
*/
|
||||||
|
@Nonnull
|
||||||
|
IGrinderRecipeBuilder withTurns( @Nonnegative int turns );
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Finalizes the process of making the recipe.
|
||||||
|
* Needs to be invoked to fetch grinder recipe.
|
||||||
|
*
|
||||||
|
* @return valid grinder recipe
|
||||||
|
*
|
||||||
|
* @throws IllegalStateException when input is not defined
|
||||||
|
* @throws IllegalStateException when input has no size
|
||||||
|
* @throws IllegalStateException when output is not defined
|
||||||
|
* @throws IllegalStateException when both optionals are not defined
|
||||||
|
* @throws IllegalStateException when process type is not defined
|
||||||
|
*/
|
||||||
|
@Nonnull
|
||||||
|
IGrinderRecipe build();
|
||||||
|
}
|
||||||
@@ -24,7 +24,10 @@
|
|||||||
package appeng.api.features;
|
package appeng.api.features;
|
||||||
|
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.Collection;
|
||||||
|
|
||||||
|
import javax.annotation.Nonnull;
|
||||||
|
import javax.annotation.Nullable;
|
||||||
|
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
|
|
||||||
@@ -36,51 +39,63 @@ public interface IGrinderRegistry
|
|||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Current list of registered recipes, you can modify this if you want too.
|
* Extensible way to create a grinder recipe.
|
||||||
|
*
|
||||||
|
* @return builder for grinder recipes
|
||||||
|
*/
|
||||||
|
@Nonnull
|
||||||
|
IGrinderRecipeBuilder builder();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An immutable list of the currently registered recipes.
|
||||||
*
|
*
|
||||||
* @return currentlyRegisteredRecipes
|
* @return currentlyRegisteredRecipes
|
||||||
*/
|
*/
|
||||||
List<IGrinderEntry> getRecipes();
|
@Nonnull
|
||||||
|
Collection<IGrinderRecipe> getRecipes();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* add a new recipe the easy way, in → out, how many turns., duplicates will not be added.
|
* Add a new recipe to the registry.
|
||||||
*
|
|
||||||
* @param in input
|
|
||||||
* @param out output
|
|
||||||
* @param turns amount of turns to turn the input into the output
|
|
||||||
*/
|
*/
|
||||||
void addRecipe( ItemStack in, ItemStack out, int turns );
|
boolean addRecipe( IGrinderRecipe recipe );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* add a new recipe with optional outputs, duplicates will not be added.
|
* Remove the specific from the recipe list.
|
||||||
*
|
*
|
||||||
* @param in input
|
* @param recipe The recipe to be removed.
|
||||||
* @param out output
|
* @return true, if it was removed
|
||||||
* @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 );
|
boolean removeRecipe( @Nonnull IGrinderRecipe recipe );
|
||||||
|
|
||||||
/**
|
|
||||||
* 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.
|
* Searches for a recipe for a given input, and returns it.
|
||||||
*
|
*
|
||||||
* @param input input
|
* @param input The {@link ItemStack} to be grinded.
|
||||||
*
|
*
|
||||||
* @return identified recipe or null
|
* @return identified recipe or null
|
||||||
*/
|
*/
|
||||||
IGrinderEntry getRecipeForInput( ItemStack input );
|
@Nullable
|
||||||
|
IGrinderRecipe getRecipeForInput( @Nonnull ItemStack input );
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Allows do add a custom ratio from an ore to dust when being grinded.
|
||||||
|
*
|
||||||
|
* The default ratio is 1 ore to 2 dusts.
|
||||||
|
*
|
||||||
|
* These have to be added before any recipe is registered. Otherwise it will use the default value.
|
||||||
|
*
|
||||||
|
* @param oredictName The name of the ore;
|
||||||
|
* @param ratio The amount, must be > 0;
|
||||||
|
*/
|
||||||
|
void addDustRatio( @Nonnull String oredictName, int ratio );
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove a custom ratio for a specific ore name.
|
||||||
|
*
|
||||||
|
* Will use the default of 2 value afterwards.
|
||||||
|
*
|
||||||
|
* @param oredictName The name of the ore;
|
||||||
|
*/
|
||||||
|
boolean removeDustRatio( @Nonnull String oredictName );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,13 +1,31 @@
|
|||||||
|
/*
|
||||||
|
* 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.features;
|
package appeng.api.features;
|
||||||
|
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
import java.util.Optional;
|
||||||
|
|
||||||
import javax.annotation.Nonnull;
|
import javax.annotation.Nonnull;
|
||||||
|
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
|
|
||||||
import com.google.common.base.Optional;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Registration Records for {@link IInscriberRegistry}
|
* Registration Records for {@link IInscriberRegistry}
|
||||||
|
|||||||
@@ -1,7 +1,26 @@
|
|||||||
|
/*
|
||||||
|
* 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.features;
|
package appeng.api.features;
|
||||||
|
|
||||||
|
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
|
|
||||||
import javax.annotation.Nonnull;
|
import javax.annotation.Nonnull;
|
||||||
|
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
|
|||||||
@@ -1,8 +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.features;
|
package appeng.api.features;
|
||||||
|
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.Collection;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import javax.annotation.Nonnull;
|
import javax.annotation.Nonnull;
|
||||||
|
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
@@ -12,58 +31,67 @@ import net.minecraft.item.ItemStack;
|
|||||||
* Lets you manipulate Inscriber Recipes, by adding or editing existing ones.
|
* Lets you manipulate Inscriber Recipes, by adding or editing existing ones.
|
||||||
*
|
*
|
||||||
* @author thatsIch
|
* @author thatsIch
|
||||||
* @version rv2
|
* @version rv5
|
||||||
* @since rv2
|
* @since rv2
|
||||||
*/
|
*/
|
||||||
public interface IInscriberRegistry
|
public interface IInscriberRegistry
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Current list of registered recipes, you can modify this if you want too.
|
* Extensible way to create an inscriber recipe.
|
||||||
* Will never contain a null recipe
|
|
||||||
*
|
|
||||||
* @return currentlyRegisteredRecipes
|
|
||||||
*/
|
|
||||||
@Nonnull
|
|
||||||
List<IInscriberRecipe> getRecipes();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Optional items which are used in the top or bottom slot
|
|
||||||
*
|
|
||||||
* @return set of all optional items
|
|
||||||
*/
|
|
||||||
@Nonnull
|
|
||||||
Set<ItemStack> getOptionals();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get all registered items which are valid inputs
|
|
||||||
*
|
|
||||||
* @return set of all input items
|
|
||||||
*/
|
|
||||||
@Nonnull
|
|
||||||
Set<ItemStack> getInputs();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Extensible way to create an inscriber recipe
|
|
||||||
*
|
*
|
||||||
* @return builder for inscriber recipes
|
* @return builder for inscriber recipes
|
||||||
*/
|
*/
|
||||||
@Nonnull
|
@Nonnull
|
||||||
IInscriberRecipeBuilder builder();
|
IInscriberRecipeBuilder builder();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An immutable copy of currently registered recipes.
|
||||||
|
*
|
||||||
|
* Use the provided methods to actually modify the inscriber recipes.
|
||||||
|
*
|
||||||
|
* @see IInscriberRegistry#addRecipe(IInscriberRecipe)
|
||||||
|
* @see IInscriberRegistry#removeRecipe(IInscriberRecipe)
|
||||||
|
*
|
||||||
|
* @return currentlyRegisteredRecipes
|
||||||
|
*/
|
||||||
|
@Nonnull
|
||||||
|
Collection<IInscriberRecipe> getRecipes();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Optional items which are used in the top or bottom slot.
|
||||||
|
*
|
||||||
|
* @return set of all optional items
|
||||||
|
*/
|
||||||
|
@Nonnull
|
||||||
|
Set<ItemStack> getOptionals();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get all registered items which are valid inputs.
|
||||||
|
*
|
||||||
|
* @return set of all input items
|
||||||
|
*/
|
||||||
|
@Nonnull
|
||||||
|
Set<ItemStack> getInputs();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* add a new recipe the easy way, duplicates will not be added.
|
* add a new recipe the easy way, duplicates will not be added.
|
||||||
* Added recipes will be automatically added to the optionals and inputs.
|
* Added recipes will be automatically added to the optionals and inputs.
|
||||||
*
|
*
|
||||||
* @param recipe new recipe
|
* @param recipe new recipe
|
||||||
|
*
|
||||||
|
* @return true, when successfully added
|
||||||
*
|
*
|
||||||
* @throws IllegalArgumentException if null is added
|
* @throws IllegalArgumentException if null is added
|
||||||
*/
|
*/
|
||||||
void addRecipe( IInscriberRecipe recipe );
|
boolean addRecipe( IInscriberRecipe recipe );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Removes a recipe from the registry
|
* Removes all equal recipes from the registry.
|
||||||
*
|
*
|
||||||
* @param toBeRemovedRecipe to be removed recipe, can be null, makes just no sense
|
* @param toBeRemovedRecipe to be removed recipe, can be null, makes just no sense.
|
||||||
|
*
|
||||||
|
* @return true, when successfully removed
|
||||||
*/
|
*/
|
||||||
void removeRecipe( IInscriberRecipe toBeRemovedRecipe );
|
boolean removeRecipe( IInscriberRecipe toBeRemovedRecipe );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,18 +29,6 @@ package appeng.api.features;
|
|||||||
*/
|
*/
|
||||||
public interface ILocatableRegistry
|
public interface ILocatableRegistry
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* Attempts to find the object with the serial specified, if it can it
|
|
||||||
* returns the object.
|
|
||||||
*
|
|
||||||
* @param serial serial
|
|
||||||
*
|
|
||||||
* @return requestedObject, or null
|
|
||||||
*
|
|
||||||
* @deprecated use {@link ILocatableRegistry#getLocatableBy(long)}
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
Object findLocatableBySerial( long serial );
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the {@link ILocatable} with the registered serial, if available
|
* Gets the {@link ILocatable} with the registered serial, if available
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ public interface IMatterCannonAmmoRegistry
|
|||||||
/**
|
/**
|
||||||
* register a new ammo, generally speaking this is based off of atomic weight to make it easier to guess at
|
* register a new ammo, generally speaking this is based off of atomic weight to make it easier to guess at
|
||||||
*
|
*
|
||||||
* @param ammo new ammo
|
* @param ammo new ammo
|
||||||
* @param weight atomic weight
|
* @param weight atomic weight
|
||||||
*/
|
*/
|
||||||
void registerAmmo( ItemStack ammo, double weight );
|
void registerAmmo( ItemStack ammo, double weight );
|
||||||
|
|||||||
@@ -42,9 +42,9 @@ public interface INetworkEncodable
|
|||||||
/**
|
/**
|
||||||
* Encode the wireless frequency via the Controller.
|
* Encode the wireless frequency via the Controller.
|
||||||
*
|
*
|
||||||
* @param item the wireless terminal.
|
* @param item the wireless terminal.
|
||||||
* @param encKey the wireless encryption key.
|
* @param encKey the wireless encryption key.
|
||||||
* @param name null for now.
|
* @param name null for now.
|
||||||
*/
|
*/
|
||||||
void setEncryptionKey( ItemStack item, String encKey, String name );
|
void setEncryptionKey( ItemStack item, String encKey, String name );
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,9 +24,11 @@
|
|||||||
package appeng.api.features;
|
package appeng.api.features;
|
||||||
|
|
||||||
|
|
||||||
|
import javax.annotation.Nonnull;
|
||||||
import javax.annotation.Nullable;
|
import javax.annotation.Nullable;
|
||||||
|
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraftforge.common.capabilities.Capability;
|
||||||
|
|
||||||
import appeng.api.config.TunnelType;
|
import appeng.api.config.TunnelType;
|
||||||
|
|
||||||
@@ -42,9 +44,13 @@ public interface IP2PTunnelRegistry
|
|||||||
* attunements for AE's P2P Tunnels
|
* attunements for AE's P2P Tunnels
|
||||||
*
|
*
|
||||||
* @param trigger - the item which triggers attunement. Nullable, but then ignored
|
* @param trigger - the item which triggers attunement. Nullable, but then ignored
|
||||||
* @param type - the type of tunnel. Nullable, but then ignored
|
* @param type - the type of tunnel. Nullable, but then ignored
|
||||||
*/
|
*/
|
||||||
void addNewAttunement( @Nullable ItemStack trigger, @Nullable TunnelType type );
|
void addNewAttunement( @Nonnull ItemStack trigger, @Nullable TunnelType type );
|
||||||
|
|
||||||
|
void addNewAttunement( @Nonnull String ModId, @Nullable TunnelType type );
|
||||||
|
|
||||||
|
void addNewAttunement( @Nonnull Capability<?> cap, @Nullable TunnelType type );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* returns null if no attunement can be found.
|
* returns null if no attunement can be found.
|
||||||
@@ -53,6 +59,6 @@ public interface IP2PTunnelRegistry
|
|||||||
*
|
*
|
||||||
* @return null if no attunement can be found or attunement
|
* @return null if no attunement can be found or attunement
|
||||||
*/
|
*/
|
||||||
@Nullable
|
@Nonnull
|
||||||
TunnelType getTunnelTypeByItem( ItemStack trigger );
|
TunnelType getTunnelTypeByItem( ItemStack trigger );
|
||||||
}
|
}
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 - 2015 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
|
||||||
@@ -24,10 +24,12 @@
|
|||||||
package appeng.api.features;
|
package appeng.api.features;
|
||||||
|
|
||||||
|
|
||||||
import net.minecraft.entity.player.EntityPlayer;
|
import javax.annotation.Nullable;
|
||||||
|
|
||||||
import com.mojang.authlib.GameProfile;
|
import com.mojang.authlib.GameProfile;
|
||||||
|
|
||||||
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Maintains a save specific list of userids and username combinations this greatly simplifies storage internally and
|
* Maintains a save specific list of userids and username combinations this greatly simplifies storage internally and
|
||||||
@@ -55,5 +57,6 @@ public interface IPlayerRegistry
|
|||||||
*
|
*
|
||||||
* @return PlayerEntity, or null if the player could not be found.
|
* @return PlayerEntity, or null if the player could not be found.
|
||||||
*/
|
*/
|
||||||
|
@Nullable
|
||||||
EntityPlayer findPlayer( int playerID );
|
EntityPlayer findPlayer( int playerID );
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* The MIT License (MIT)
|
* The MIT License (MIT)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2013 AlgorithmX2
|
* Copyright (c) 2013 - 2015 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
|
||||||
@@ -24,11 +24,19 @@
|
|||||||
package appeng.api.features;
|
package appeng.api.features;
|
||||||
|
|
||||||
|
|
||||||
|
import javax.annotation.Nullable;
|
||||||
|
|
||||||
import appeng.api.recipes.ICraftHandler;
|
import appeng.api.recipes.ICraftHandler;
|
||||||
import appeng.api.recipes.IRecipeHandler;
|
import appeng.api.recipes.IRecipeHandler;
|
||||||
import appeng.api.recipes.ISubItemResolver;
|
import appeng.api.recipes.ISubItemResolver;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author AlgorithmX2
|
||||||
|
* @author thatsIch
|
||||||
|
* @version rv3 - 10.08.2015
|
||||||
|
* @since rv0
|
||||||
|
*/
|
||||||
public interface IRecipeHandlerRegistry
|
public interface IRecipeHandlerRegistry
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -37,9 +45,10 @@ public interface IRecipeHandlerRegistry
|
|||||||
*
|
*
|
||||||
* MUST BE CALLED IN PRE-INIT
|
* MUST BE CALLED IN PRE-INIT
|
||||||
*
|
*
|
||||||
* @param name name of crafthandler
|
* @param name name of crafthandler
|
||||||
* @param handler class of crafthandler
|
* @param handler class of crafthandler
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
void addNewCraftHandler( String name, Class<? extends ICraftHandler> handler );
|
void addNewCraftHandler( String name, Class<? extends ICraftHandler> handler );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -56,20 +65,24 @@ public interface IRecipeHandlerRegistry
|
|||||||
*
|
*
|
||||||
* @return A recipe handler by name, returns null on failure.
|
* @return A recipe handler by name, returns null on failure.
|
||||||
*/
|
*/
|
||||||
|
@Nullable
|
||||||
|
@Deprecated
|
||||||
ICraftHandler getCraftHandlerFor( String name );
|
ICraftHandler getCraftHandlerFor( String name );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return a new recipe handler, which can be used to parse, and read recipe files.
|
* @return a new recipe handler, which can be used to parse, and read recipe files.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
IRecipeHandler createNewRecipehandler();
|
IRecipeHandler createNewRecipehandler();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* resolve sub items by name.
|
* resolve sub items by name.
|
||||||
*
|
*
|
||||||
* @param nameSpace namespace of item
|
* @param nameSpace namespace of item
|
||||||
* @param itemName full name of item
|
* @param itemName full name of item
|
||||||
*
|
*
|
||||||
* @return ResolverResult or ResolverResultSet
|
* @return ResolverResult or ResolverResultSet or null if could not resolve
|
||||||
*/
|
*/
|
||||||
|
@Nullable
|
||||||
Object resolveItem( String nameSpace, String itemName );
|
Object resolveItem( String nameSpace, String itemName );
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,18 +24,21 @@
|
|||||||
package appeng.api.features;
|
package appeng.api.features;
|
||||||
|
|
||||||
|
|
||||||
|
import appeng.api.AEInjectable;
|
||||||
import appeng.api.movable.IMovableRegistry;
|
import appeng.api.movable.IMovableRegistry;
|
||||||
import appeng.api.networking.IGridCacheRegistry;
|
import appeng.api.networking.IGridCacheRegistry;
|
||||||
|
import appeng.api.parts.IPartModels;
|
||||||
import appeng.api.storage.ICellRegistry;
|
import appeng.api.storage.ICellRegistry;
|
||||||
import appeng.api.storage.IExternalStorageRegistry;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author AlgorithmX2
|
* @author AlgorithmX2
|
||||||
* @author thatsIch
|
* @author thatsIch
|
||||||
* @version rv2
|
* @author yueh
|
||||||
|
* @version rv5
|
||||||
* @since rv0
|
* @since rv0
|
||||||
*/
|
*/
|
||||||
|
@AEInjectable
|
||||||
public interface IRegistryContainer
|
public interface IRegistryContainer
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -49,12 +52,6 @@ public interface IRegistryContainer
|
|||||||
*/
|
*/
|
||||||
IGridCacheRegistry gridCache();
|
IGridCacheRegistry gridCache();
|
||||||
|
|
||||||
/**
|
|
||||||
* Add additional storage bus handlers to improve interplay with mod blocks that contains special inventories that
|
|
||||||
* function unlike vanilla chests. AE uses this internally for barrels, DSU's, quantum chests, AE Networks and more.
|
|
||||||
*/
|
|
||||||
IExternalStorageRegistry externalStorage();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add additional special comparison functionality, AE Uses this internally for Bees.
|
* Add additional special comparison functionality, AE Uses this internally for Bees.
|
||||||
*/
|
*/
|
||||||
@@ -80,6 +77,11 @@ public interface IRegistryContainer
|
|||||||
*/
|
*/
|
||||||
IInscriberRegistry inscriber();
|
IInscriberRegistry inscriber();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Manage charger via API
|
||||||
|
*/
|
||||||
|
IChargerRegistry charger();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* get access to the locatable registry
|
* get access to the locatable registry
|
||||||
*/
|
*/
|
||||||
@@ -109,4 +111,9 @@ public interface IRegistryContainer
|
|||||||
* get access to the world-gen api.
|
* get access to the world-gen api.
|
||||||
*/
|
*/
|
||||||
IWorldGen worldgen();
|
IWorldGen worldgen();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Register your IPart models before using them.
|
||||||
|
*/
|
||||||
|
IPartModels partModels();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -47,8 +47,8 @@ public interface IWirelessTermHandler extends INetworkEncodable
|
|||||||
* use an amount of power, in AE units
|
* use an amount of power, in AE units
|
||||||
*
|
*
|
||||||
* @param amount is in AE units ( 5 per MJ ), if you return false, the item should be dead and return false for
|
* @param amount is in AE units ( 5 per MJ ), if you return false, the item should be dead and return false for
|
||||||
* hasPower
|
* hasPower
|
||||||
* @param is wireless terminal
|
* @param is wireless terminal
|
||||||
*
|
*
|
||||||
* @return true if wireless terminal uses power
|
* @return true if wireless terminal uses power
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -41,6 +41,6 @@ public interface IWorldGen
|
|||||||
|
|
||||||
enum WorldGenType
|
enum WorldGenType
|
||||||
{
|
{
|
||||||
CertusQuartz, ChargedCertusQuartz, Meteorites
|
CERTUS_QUARTZ, CHARGED_CERTUS_QUARTZ, METEORITES
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,21 @@
|
|||||||
|
/*
|
||||||
|
* 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.features;
|
package appeng.api.features;
|
||||||
|
|
||||||
|
|
||||||
@@ -6,10 +24,10 @@ public enum InscriberProcessType
|
|||||||
/**
|
/**
|
||||||
* uses the optionals as catalyst
|
* uses the optionals as catalyst
|
||||||
*/
|
*/
|
||||||
Inscribe,
|
INSCRIBE,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* spends the optionals
|
* spends the optionals
|
||||||
*/
|
*/
|
||||||
Press
|
PRESS
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ public interface ICraftingPatternItem
|
|||||||
* Access Details about a pattern
|
* Access Details about a pattern
|
||||||
*
|
*
|
||||||
* @param is pattern
|
* @param is pattern
|
||||||
* @param w crafting world
|
* @param w crafting world
|
||||||
*
|
*
|
||||||
* @return details of pattern
|
* @return details of pattern
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ public class TransitionResult
|
|||||||
public final boolean success;
|
public final boolean success;
|
||||||
public final double energyUsage;
|
public final double energyUsage;
|
||||||
|
|
||||||
public TransitionResult( boolean _success, double power )
|
public TransitionResult( final boolean _success, final double power )
|
||||||
{
|
{
|
||||||
this.success = _success;
|
this.success = _success;
|
||||||
this.energyUsage = power;
|
this.energyUsage = power;
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ package appeng.api.implementations.guiobjects;
|
|||||||
|
|
||||||
|
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
|
|
||||||
|
|
||||||
@@ -35,5 +36,5 @@ import net.minecraft.world.World;
|
|||||||
public interface IGuiItem
|
public interface IGuiItem
|
||||||
{
|
{
|
||||||
|
|
||||||
IGuiItemObject getGuiObject( ItemStack is, World world, int x, int y, int z );
|
IGuiItemObject getGuiObject( ItemStack is, World world, BlockPos pos );
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
package appeng.api.implementations.guiobjects;
|
package appeng.api.implementations.guiobjects;
|
||||||
|
|
||||||
|
|
||||||
import net.minecraft.inventory.IInventory;
|
import net.minecraftforge.items.IItemHandler;
|
||||||
|
|
||||||
import appeng.api.networking.IGridHost;
|
import appeng.api.networking.IGridHost;
|
||||||
|
|
||||||
@@ -32,8 +32,9 @@ import appeng.api.networking.IGridHost;
|
|||||||
/**
|
/**
|
||||||
* Obtained via {@link IGuiItem} getGuiObject
|
* Obtained via {@link IGuiItem} getGuiObject
|
||||||
*/
|
*/
|
||||||
public interface INetworkTool extends IInventory, IGuiItemObject
|
public interface INetworkTool extends IGuiItemObject
|
||||||
{
|
{
|
||||||
|
|
||||||
IGridHost getGridHost(); // null for most purposes.
|
IGridHost getGridHost(); // null for most purposes.
|
||||||
|
|
||||||
|
IItemHandler getInventory();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ package appeng.api.implementations.items;
|
|||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
|
|
||||||
import appeng.api.config.AccessRestriction;
|
import appeng.api.config.AccessRestriction;
|
||||||
|
import appeng.api.config.Actionable;
|
||||||
import appeng.api.networking.energy.IAEPowerStorage;
|
import appeng.api.networking.energy.IAEPowerStorage;
|
||||||
|
|
||||||
|
|
||||||
@@ -42,27 +43,27 @@ public interface IAEItemPowerStorage
|
|||||||
*
|
*
|
||||||
* @return amount unable to be stored
|
* @return amount unable to be stored
|
||||||
*/
|
*/
|
||||||
double injectAEPower( ItemStack is, double amt );
|
double injectAEPower( ItemStack stack, double amount, Actionable mode );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Attempt to extract power from the device, it will extract what it can and
|
* Attempt to extract power from the device, it will extract what it can and
|
||||||
* return it.
|
* return it.
|
||||||
*
|
*
|
||||||
* @param amt to be extracted power from device
|
* @param amount to be extracted power from device
|
||||||
*
|
*
|
||||||
* @return what it could extract
|
* @return what it could extract
|
||||||
*/
|
*/
|
||||||
double extractAEPower( ItemStack is, double amt );
|
double extractAEPower( ItemStack stack, double amount, Actionable mode );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return the current maximum power ( this can change :P )
|
* @return the current maximum power ( this can change :P )
|
||||||
*/
|
*/
|
||||||
double getAEMaxPower( ItemStack is );
|
double getAEMaxPower( ItemStack stack );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return the current AE Power Level, this may exceed getMEMaxPower()
|
* @return the current AE Power Level, this may exceed getMEMaxPower()
|
||||||
*/
|
*/
|
||||||
double getAECurrentPower( ItemStack is );
|
double getAECurrentPower( ItemStack stack );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Control the power flow by telling what the network can do, either add? or
|
* Control the power flow by telling what the network can do, either add? or
|
||||||
@@ -70,5 +71,5 @@ public interface IAEItemPowerStorage
|
|||||||
*
|
*
|
||||||
* @return access restriction of network
|
* @return access restriction of network
|
||||||
*/
|
*/
|
||||||
AccessRestriction getPowerFlow( ItemStack is );
|
AccessRestriction getPowerFlow( ItemStack stack );
|
||||||
}
|
}
|
||||||
@@ -26,6 +26,7 @@ package appeng.api.implementations.items;
|
|||||||
|
|
||||||
import net.minecraft.entity.player.EntityPlayer;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraft.util.math.BlockPos;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -39,11 +40,9 @@ public interface IAEWrench
|
|||||||
* Check if the wrench can be used.
|
* Check if the wrench can be used.
|
||||||
*
|
*
|
||||||
* @param player wrenching player
|
* @param player wrenching player
|
||||||
* @param x x pos of wrenched block
|
* @param pos of block.
|
||||||
* @param y y pos of wrenched block
|
|
||||||
* @param z z pos of wrenched block
|
|
||||||
*
|
*
|
||||||
* @return true if wrench can be used
|
* @return true if wrench can be used
|
||||||
*/
|
*/
|
||||||
boolean canWrench( ItemStack wrench, EntityPlayer player, int x, int y, int z );
|
boolean canWrench( ItemStack wrench, EntityPlayer player, BlockPos pos );
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -26,10 +26,10 @@ package appeng.api.implementations.items;
|
|||||||
|
|
||||||
import java.util.EnumSet;
|
import java.util.EnumSet;
|
||||||
|
|
||||||
import net.minecraft.item.ItemStack;
|
|
||||||
|
|
||||||
import com.mojang.authlib.GameProfile;
|
import com.mojang.authlib.GameProfile;
|
||||||
|
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
|
||||||
import appeng.api.config.SecurityPermissions;
|
import appeng.api.config.SecurityPermissions;
|
||||||
import appeng.api.features.IPlayerRegistry;
|
import appeng.api.features.IPlayerRegistry;
|
||||||
import appeng.api.networking.security.ISecurityRegistry;
|
import appeng.api.networking.security.ISecurityRegistry;
|
||||||
@@ -39,7 +39,7 @@ public interface IBiometricCard
|
|||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the {@link GameProfile} to null, to clear it.
|
* Set the {@link GameProfile} to null, to clear it.
|
||||||
*/
|
*/
|
||||||
void setProfile( ItemStack itemStack, GameProfile username );
|
void setProfile( ItemStack itemStack, GameProfile username );
|
||||||
|
|
||||||
@@ -67,7 +67,7 @@ public interface IBiometricCard
|
|||||||
/**
|
/**
|
||||||
* remove a permission from the item stack.
|
* remove a permission from the item stack.
|
||||||
*
|
*
|
||||||
* @param itemStack card
|
* @param itemStack card
|
||||||
* @param permission to be removed permission
|
* @param permission to be removed permission
|
||||||
*/
|
*/
|
||||||
void removePermission( ItemStack itemStack, SecurityPermissions permission );
|
void removePermission( ItemStack itemStack, SecurityPermissions permission );
|
||||||
@@ -75,7 +75,7 @@ public interface IBiometricCard
|
|||||||
/**
|
/**
|
||||||
* add a permission to the item stack.
|
* add a permission to the item stack.
|
||||||
*
|
*
|
||||||
* @param itemStack card
|
* @param itemStack card
|
||||||
* @param permission to be added permission
|
* @param permission to be added permission
|
||||||
*/
|
*/
|
||||||
void addPermission( ItemStack itemStack, SecurityPermissions permission );
|
void addPermission( ItemStack itemStack, SecurityPermissions permission );
|
||||||
@@ -84,8 +84,8 @@ public interface IBiometricCard
|
|||||||
* lets you handle submission of security values on the card for custom behavior.
|
* lets you handle submission of security values on the card for custom behavior.
|
||||||
*
|
*
|
||||||
* @param registry security registry
|
* @param registry security registry
|
||||||
* @param pr player registry
|
* @param pr player registry
|
||||||
* @param is card
|
* @param is card
|
||||||
*/
|
*/
|
||||||
void registerPermissions( ISecurityRegistry registry, IPlayerRegistry pr, ItemStack is );
|
void registerPermissions( ISecurityRegistry registry, IPlayerRegistry pr, ItemStack is );
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,6 +28,8 @@ import net.minecraft.entity.player.EntityPlayer;
|
|||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.nbt.NBTTagCompound;
|
import net.minecraft.nbt.NBTTagCompound;
|
||||||
|
|
||||||
|
import appeng.api.util.AEColor;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Memory Card API
|
* Memory Card API
|
||||||
@@ -41,13 +43,18 @@ public interface IMemoryCard
|
|||||||
* Configures the data stored on the memory card, the SettingsName, will be
|
* Configures the data stored on the memory card, the SettingsName, will be
|
||||||
* localized when displayed.
|
* localized when displayed.
|
||||||
*
|
*
|
||||||
* @param is item
|
* The data can contain an optional string with the key "tooltip", which will be used as
|
||||||
* @param SettingsName unlocalized string that represents the tile entity.
|
* unlocalized string to display it after the settings name.
|
||||||
* @param data may contain a String called "tooltip" which is is a
|
*
|
||||||
* unlocalized string displayed after the settings name, optional
|
* The data can contain an optional intArray using "colorCode" to be displayed on the model itself.
|
||||||
* but can be used to add details to the card for later.
|
* It needs to have exactly 8 elements representing the ordinal of the matching {@link AEColor}.
|
||||||
|
* The first 4 values represent the top row, left to right. The second 4 the bottom row.
|
||||||
|
*
|
||||||
|
* @param is item
|
||||||
|
* @param settingsName unlocalized string that represents the tile entity.
|
||||||
|
* @param data the NBT tag, refer to the normal comment for special keys.
|
||||||
*/
|
*/
|
||||||
void setMemoryCardContents( ItemStack is, String SettingsName, NBTTagCompound data );
|
void setMemoryCardContents( ItemStack is, String settingsName, NBTTagCompound data );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* returns the settings name provided by a previous call to
|
* returns the settings name provided by a previous call to
|
||||||
@@ -68,11 +75,22 @@ public interface IMemoryCard
|
|||||||
*/
|
*/
|
||||||
NBTTagCompound getData( ItemStack is );
|
NBTTagCompound getData( ItemStack is );
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This represent as 4x2 grid of {@link AEColor} without transparent/fluix color.
|
||||||
|
*
|
||||||
|
* First 4 colors are used for the top row, second for the bottom one.
|
||||||
|
*
|
||||||
|
* @param is item
|
||||||
|
*
|
||||||
|
* @return a hash representation of the memory card content
|
||||||
|
*/
|
||||||
|
AEColor[] getColorCode( ItemStack is );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* notify the user of a outcome related to the memory card.
|
* notify the user of a outcome related to the memory card.
|
||||||
*
|
*
|
||||||
* @param player that used the card.
|
* @param player that used the card.
|
||||||
* @param msg which message to send.
|
* @param msg which message to send.
|
||||||
*/
|
*/
|
||||||
void notifyUser( EntityPlayer player, MemoryCardMessages msg );
|
void notifyUser( EntityPlayer player, MemoryCardMessages msg );
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ import net.minecraft.item.ItemStack;
|
|||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
|
|
||||||
import appeng.api.implementations.TransitionResult;
|
import appeng.api.implementations.TransitionResult;
|
||||||
|
import appeng.api.storage.ISpatialDimension;
|
||||||
import appeng.api.util.WorldCoord;
|
import appeng.api.util.WorldCoord;
|
||||||
|
|
||||||
|
|
||||||
@@ -57,7 +58,7 @@ public interface ISpatialStorageCell
|
|||||||
*
|
*
|
||||||
* @return the world for this cell
|
* @return the world for this cell
|
||||||
*/
|
*/
|
||||||
World getWorld( ItemStack is );
|
ISpatialDimension getSpatialDimension();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* get the currently stored size.
|
* get the currently stored size.
|
||||||
@@ -69,33 +70,24 @@ public interface ISpatialStorageCell
|
|||||||
WorldCoord getStoredSize( ItemStack is );
|
WorldCoord getStoredSize( ItemStack is );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum coordinates in its world for the storage cell.
|
* get the currently stored Dimension id.
|
||||||
*
|
*
|
||||||
* @param is spatial storage cell
|
* @param is spatial storage cell
|
||||||
*
|
*
|
||||||
* @return minimum coordinate of dimension
|
* @return dimension id or -1
|
||||||
*/
|
*/
|
||||||
WorldCoord getMin( ItemStack is );
|
int getStoredDimensionID( ItemStack is );
|
||||||
|
|
||||||
/**
|
|
||||||
* Maximum coordinates in its world for the storage cell.
|
|
||||||
*
|
|
||||||
* @param is spatial storage cell
|
|
||||||
*
|
|
||||||
* @return maximum coordinate of dimension
|
|
||||||
*/
|
|
||||||
WorldCoord getMax( ItemStack is );
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Perform a spatial swap with the contents of the cell, and the world.
|
* Perform a spatial swap with the contents of the cell, and the world.
|
||||||
*
|
*
|
||||||
* @param is spatial storage cell
|
* @param is spatial storage cell
|
||||||
* @param w world of spatial
|
* @param w world of spatial
|
||||||
* @param min min coord
|
* @param min min coord
|
||||||
* @param max max coord
|
* @param max max coord
|
||||||
* @param doTransition transition
|
* @param playerId owner of current grid or -1
|
||||||
*
|
*
|
||||||
* @return result of transition
|
* @return result of transition
|
||||||
*/
|
*/
|
||||||
TransitionResult doSpatialTransition( ItemStack is, World w, WorldCoord min, WorldCoord max, boolean doTransition );
|
TransitionResult doSpatialTransition( ItemStack is, World w, WorldCoord min, WorldCoord max, int playerId );
|
||||||
}
|
}
|
||||||
@@ -24,10 +24,13 @@
|
|||||||
package appeng.api.implementations.items;
|
package appeng.api.implementations.items;
|
||||||
|
|
||||||
|
|
||||||
|
import javax.annotation.Nonnull;
|
||||||
|
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
|
|
||||||
import appeng.api.storage.ICellWorkbenchItem;
|
import appeng.api.storage.ICellWorkbenchItem;
|
||||||
import appeng.api.storage.data.IAEItemStack;
|
import appeng.api.storage.IStorageChannel;
|
||||||
|
import appeng.api.storage.data.IAEStack;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -40,7 +43,7 @@ import appeng.api.storage.data.IAEItemStack;
|
|||||||
*
|
*
|
||||||
* The standard AE implementation only provides 1-63 Types
|
* The standard AE implementation only provides 1-63 Types
|
||||||
*/
|
*/
|
||||||
public interface IStorageCell extends ICellWorkbenchItem
|
public interface IStorageCell<T extends IAEStack<T>> extends ICellWorkbenchItem
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -51,19 +54,7 @@ public interface IStorageCell extends ICellWorkbenchItem
|
|||||||
*
|
*
|
||||||
* @return number of bytes
|
* @return number of bytes
|
||||||
*/
|
*/
|
||||||
int getBytes( ItemStack cellItem );
|
int getBytes( @Nonnull ItemStack cellItem );
|
||||||
|
|
||||||
/**
|
|
||||||
* Determines the number of bytes used for any type included on the cell.
|
|
||||||
*
|
|
||||||
* @param cellItem item
|
|
||||||
*
|
|
||||||
* @return number of bytes
|
|
||||||
*
|
|
||||||
* @deprecated use {@link IStorageCell#getBytesPerType(ItemStack)}
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
int BytePerType( ItemStack cellItem );
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determines the number of bytes used for any type included on the cell.
|
* Determines the number of bytes used for any type included on the cell.
|
||||||
@@ -72,7 +63,7 @@ public interface IStorageCell extends ICellWorkbenchItem
|
|||||||
*
|
*
|
||||||
* @return number of bytes
|
* @return number of bytes
|
||||||
*/
|
*/
|
||||||
int getBytesPerType( ItemStack cellItem );
|
int getBytesPerType( @Nonnull ItemStack cellItem );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Must be between 1 and 63, indicates how many types you want to store on
|
* Must be between 1 and 63, indicates how many types you want to store on
|
||||||
@@ -82,19 +73,19 @@ public interface IStorageCell extends ICellWorkbenchItem
|
|||||||
*
|
*
|
||||||
* @return number of types
|
* @return number of types
|
||||||
*/
|
*/
|
||||||
int getTotalTypes( ItemStack cellItem );
|
int getTotalTypes( @Nonnull ItemStack cellItem );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Allows you to fine tune which items are allowed on a given cell, if you
|
* Allows you to fine tune which items are allowed on a given cell, if you
|
||||||
* don't care, just return false; As the handler for this type of cell is
|
* don't care, just return false; As the handler for this type of cell is
|
||||||
* still the default cells, the normal AE black list is also applied.
|
* still the default cells, the normal AE black list is also applied.
|
||||||
*
|
*
|
||||||
* @param cellItem item
|
* @param cellItem item
|
||||||
* @param requestedAddition requested addition
|
* @param requestedAddition requested addition
|
||||||
*
|
*
|
||||||
* @return true to preventAdditionOfItem
|
* @return true to preventAdditionOfItem
|
||||||
*/
|
*/
|
||||||
boolean isBlackListed( ItemStack cellItem, IAEItemStack requestedAddition );
|
boolean isBlackListed( @Nonnull ItemStack cellItem, @Nonnull T requestedAddition );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Allows you to specify if this storage cell can be stored inside other
|
* Allows you to specify if this storage cell can be stored inside other
|
||||||
@@ -115,10 +106,16 @@ public interface IStorageCell extends ICellWorkbenchItem
|
|||||||
*
|
*
|
||||||
* @return if the ItemStack should behavior as a storage cell.
|
* @return if the ItemStack should behavior as a storage cell.
|
||||||
*/
|
*/
|
||||||
boolean isStorageCell( ItemStack i );
|
boolean isStorageCell( @Nonnull ItemStack i );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return drain in ae/t this storage cell will use.
|
* @return drain in ae/t this storage cell will use.
|
||||||
*/
|
*/
|
||||||
double getIdleDrain();
|
double getIdleDrain();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return the type of channel your cell should be part of
|
||||||
|
*/
|
||||||
|
@Nonnull
|
||||||
|
IStorageChannel<T> getChannel();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,5 +29,5 @@ package appeng.api.implementations.items;
|
|||||||
*/
|
*/
|
||||||
public enum MemoryCardMessages
|
public enum MemoryCardMessages
|
||||||
{
|
{
|
||||||
INVALID_MACHINE, SETTINGS_LOADED, SETTINGS_SAVED, SETTINGS_CLEARED
|
INVALID_MACHINE, SETTINGS_LOADED, SETTINGS_SAVED, SETTINGS_RESET, SETTINGS_CLEARED
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ package appeng.api.implementations.parts;
|
|||||||
import java.util.EnumSet;
|
import java.util.EnumSet;
|
||||||
|
|
||||||
import net.minecraft.entity.player.EntityPlayer;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
import net.minecraftforge.common.util.ForgeDirection;
|
import net.minecraft.util.EnumFacing;
|
||||||
|
|
||||||
import appeng.api.networking.IGridHost;
|
import appeng.api.networking.IGridHost;
|
||||||
import appeng.api.parts.BusSupport;
|
import appeng.api.parts.BusSupport;
|
||||||
@@ -35,10 +35,11 @@ import appeng.api.parts.IPart;
|
|||||||
import appeng.api.parts.IPartHost;
|
import appeng.api.parts.IPartHost;
|
||||||
import appeng.api.util.AECableType;
|
import appeng.api.util.AECableType;
|
||||||
import appeng.api.util.AEColor;
|
import appeng.api.util.AEColor;
|
||||||
|
import appeng.api.util.AEPartLocation;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implemented on the {@link IPart}s cable objects that can be placed at {@link ForgeDirection}.UNKNOWN in
|
* Implemented on the {@link IPart}s cable objects that can be placed at {@link AEPartLocation}.UNKNOWN in
|
||||||
* {@link IPartHost}s
|
* {@link IPartHost}s
|
||||||
*/
|
*/
|
||||||
public interface IPartCable extends IPart, IGridHost
|
public interface IPartCable extends IPart, IGridHost
|
||||||
@@ -75,7 +76,7 @@ public interface IPartCable extends IPart, IGridHost
|
|||||||
*
|
*
|
||||||
* @param sides sides of cable
|
* @param sides sides of cable
|
||||||
*/
|
*/
|
||||||
void setValidSides( EnumSet<ForgeDirection> sides );
|
void setValidSides( EnumSet<EnumFacing> sides );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* used to tests if a cable connects to neighbors visually.
|
* used to tests if a cable connects to neighbors visually.
|
||||||
@@ -84,5 +85,6 @@ public interface IPartCable extends IPart, IGridHost
|
|||||||
*
|
*
|
||||||
* @return true if this side is currently connects to an external block.
|
* @return true if this side is currently connects to an external block.
|
||||||
*/
|
*/
|
||||||
boolean isConnected( ForgeDirection side );
|
boolean isConnected( EnumFacing side );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ package appeng.api.implementations.tiles;
|
|||||||
|
|
||||||
|
|
||||||
import net.minecraft.entity.player.EntityPlayer;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
import net.minecraftforge.common.util.ForgeDirection;
|
import net.minecraft.util.EnumFacing;
|
||||||
|
|
||||||
import appeng.api.util.AEColor;
|
import appeng.api.util.AEColor;
|
||||||
|
|
||||||
@@ -35,5 +35,5 @@ public interface IColorableTile
|
|||||||
|
|
||||||
AEColor getColor();
|
AEColor getColor();
|
||||||
|
|
||||||
boolean recolourBlock( ForgeDirection side, AEColor colour, EntityPlayer who );
|
boolean recolourBlock( EnumFacing side, AEColor colour, EntityPlayer who );
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ package appeng.api.implementations.tiles;
|
|||||||
|
|
||||||
|
|
||||||
import net.minecraft.inventory.InventoryCrafting;
|
import net.minecraft.inventory.InventoryCrafting;
|
||||||
import net.minecraftforge.common.util.ForgeDirection;
|
import net.minecraft.util.EnumFacing;
|
||||||
|
|
||||||
import appeng.api.networking.crafting.ICraftingPatternDetails;
|
import appeng.api.networking.crafting.ICraftingPatternDetails;
|
||||||
|
|
||||||
@@ -36,13 +36,13 @@ public interface ICraftingMachine
|
|||||||
/**
|
/**
|
||||||
* inserts a crafting plan, and the necessary items into the crafting machine.
|
* inserts a crafting plan, and the necessary items into the crafting machine.
|
||||||
*
|
*
|
||||||
* @param patternDetails details of pattern
|
* @param patternDetails details of pattern
|
||||||
* @param table crafting table
|
* @param table crafting table
|
||||||
* @param ejectionDirection ejection direction
|
* @param ejectionDirection ejection direction
|
||||||
*
|
*
|
||||||
* @return if it was accepted, all or nothing.
|
* @return if it was accepted, all or nothing.
|
||||||
*/
|
*/
|
||||||
boolean pushPattern( ICraftingPatternDetails patternDetails, InventoryCrafting table, ForgeDirection ejectionDirection );
|
boolean pushPattern( ICraftingPatternDetails patternDetails, InventoryCrafting table, EnumFacing ejectionDirection );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* check if the crafting machine is accepting pushes via pushPattern, if this is false, all calls to push will fail,
|
* check if the crafting machine is accepting pushes via pushPattern, if this is false, all calls to push will fail,
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
package appeng.api.implementations.tiles;
|
package appeng.api.implementations.tiles;
|
||||||
|
|
||||||
|
|
||||||
import net.minecraftforge.common.util.ForgeDirection;
|
import net.minecraft.util.EnumFacing;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -55,5 +55,5 @@ public interface ICrankable
|
|||||||
/**
|
/**
|
||||||
* @return true if the crank can attach on the given side.
|
* @return true if the crank can attach on the given side.
|
||||||
*/
|
*/
|
||||||
boolean canCrankAttach( ForgeDirection directionToCrank );
|
boolean canCrankAttach( EnumFacing directionToCrank );
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ package appeng.api.implementations.tiles;
|
|||||||
import appeng.api.networking.energy.IEnergySource;
|
import appeng.api.networking.energy.IEnergySource;
|
||||||
|
|
||||||
|
|
||||||
public interface IMEChest extends IChestOrDrive, ITileStorageMonitorable, IEnergySource
|
public interface IMEChest extends IChestOrDrive, IEnergySource
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
package appeng.api.implementations.tiles;
|
package appeng.api.implementations.tiles;
|
||||||
|
|
||||||
|
|
||||||
import net.minecraft.inventory.IInventory;
|
import net.minecraftforge.items.IItemHandler;
|
||||||
|
|
||||||
|
|
||||||
public interface ISegmentedInventory
|
public interface ISegmentedInventory
|
||||||
@@ -38,5 +38,5 @@ public interface ISegmentedInventory
|
|||||||
*
|
*
|
||||||
* @return inventory with inventory name
|
* @return inventory with inventory name
|
||||||
*/
|
*/
|
||||||
IInventory getInventoryByName( String name );
|
IItemHandler getInventoryByName( String name );
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,40 +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.implementations.tiles;
|
|
||||||
|
|
||||||
|
|
||||||
import net.minecraftforge.common.util.ForgeDirection;
|
|
||||||
|
|
||||||
import appeng.api.networking.security.BaseActionSource;
|
|
||||||
import appeng.api.storage.IStorageMonitorable;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Implemented on inventories that can share their inventories with other networks, best example, ME Interface.
|
|
||||||
*/
|
|
||||||
public interface ITileStorageMonitorable
|
|
||||||
{
|
|
||||||
|
|
||||||
IStorageMonitorable getMonitorable( ForgeDirection side, BaseActionSource src );
|
|
||||||
}
|
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
package appeng.api.implementations.tiles;
|
package appeng.api.implementations.tiles;
|
||||||
|
|
||||||
|
|
||||||
import net.minecraft.inventory.IInventory;
|
import net.minecraftforge.items.IItemHandler;
|
||||||
|
|
||||||
|
|
||||||
public interface IViewCellStorage
|
public interface IViewCellStorage
|
||||||
@@ -35,5 +35,5 @@ public interface IViewCellStorage
|
|||||||
*
|
*
|
||||||
* @return inventory with at least 5 slot
|
* @return inventory with at least 5 slot
|
||||||
*/
|
*/
|
||||||
IInventory getViewCellStorage();
|
IItemHandler getViewCellStorage();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,43 +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.integration;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* An interface to get access to the individual settings for AE's Internal Bee
|
|
||||||
* Comparison handler.
|
|
||||||
*
|
|
||||||
* Assessable via: ( IBeeComparison )
|
|
||||||
* IAEItemStack.getTagCompound().getSpecialComparison()
|
|
||||||
*
|
|
||||||
* If you don't have the forestry API, just delete this file when using the API.
|
|
||||||
*/
|
|
||||||
public interface IBeeComparison
|
|
||||||
{
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return the Forestry IIndividual for this comparison object - cast this to a IIndividual if you want to use it.
|
|
||||||
*/
|
|
||||||
Object getIndividual();
|
|
||||||
}
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user