Commit Graph

45 Commits

Author SHA1 Message Date
Kieran Wallbanks
03f092fa54 Rename Sound enum to SoundEvent 2021-03-26 17:34:38 +00:00
Kieran Wallbanks
8ee624f02d make Sound enum implement Adventure's Sound.Type 2021-03-26 17:34:38 +00:00
Kieran Wallbanks
5ac5b0ba99 Finalise key in generated enums 2021-03-26 17:34:38 +00:00
Kieran Wallbanks
4179e5b91e allow obtaining enum values from registries using adventure key 2021-03-26 17:34:38 +00:00
Kieran Wallbanks
b6dd2fa8f1 implement Keyed in generated enums 2021-03-26 17:34:38 +00:00
Konstantin Shandurenko
6386705fc5 Properly generating EntitySpawnType 2021-02-25 09:51:30 +03:00
Konstantin Shandurenko
c8d0b783d8 Made autogenerated fields final 2021-02-25 09:01:13 +03:00
Konstantin Shandurenko
7db7dab4b9 EntitySpawnType initial commit 2021-02-25 08:59:55 +03:00
Konstantin Shandurenko
c9f7ee5546 Renamed ParticleType back to Particle 2021-02-23 19:29:21 +03:00
Konstantin Shandurenko
54e1f59b2e Returning null as not existing entity type, optimized EntityType#fromId 2021-02-23 18:57:55 +03:00
Konstantin Shandurenko
bbe143520e A bit more changes to EntityMeta 2021-02-23 18:37:00 +03:00
Konstantin Shandurenko
eb274ce95e Added default meta constructor to EntityTypes 2021-02-23 18:07:57 +03:00
Konstantin Shandurenko
bc591b0a7e New generator for EntityType (including width and height) 2021-02-23 15:38:14 +03:00
Konstantin Shandurenko
0915858df3 Meta wrappers for all the entities 2021-02-23 15:11:10 +03:00
LeoDog896
3b3a86a402 Prefer nullable over optional 2021-01-15 13:39:12 -05:00
Felix Cravic
38bcb755c2 Fixed PotionEffect ids 2020-11-23 10:08:23 +01:00
themode
3db53a798f Removed lombok dependency 2020-11-16 03:10:51 +01:00
themode
872dccd7ce Small cleanup 2020-10-29 22:52:07 +01:00
jglrxavpok
48670e8c37 ItemEnumGenerator converted to Javapoet and re-generation of everything 2020-10-26 22:51:12 +01:00
jglrxavpok
6577c6070c BlockEnumGenerator converted to Javapoet 2020-10-26 21:50:10 +01:00
jglrxavpok
2133e09527 Convert basic enum generators to JavaPoet, Block.java generation ported, but not block alternative classes yet 2020-10-26 15:50:52 +01:00
jglrxavpok
31114415cf Start port codegen over to Javapoet 2020-10-25 17:54:10 +01:00
themode
5b0b55b682 Added chorus fruit as food 2020-10-16 11:44:31 +02:00
themode
50326b676c Added PotionEffect 2020-10-15 05:29:48 +02:00
Articdive
e65fa060ba
Get the server JAR for assets directly from Mojang.
No longer require installed MC to get the server JAR.
2020-09-25 18:39:43 +02:00
themode
5620e9a8cf Cleanup 2020-09-24 01:50:25 +02:00
jglrxavpok
3f1b2fb84d Prismarine paths are exposed via public getters 2020-09-23 21:50:37 +02:00
jglrxavpok
99c48c8ee1 Cave air and void air must be classified as air 2020-09-20 14:54:03 +02:00
themode
3473ccfb41 Use an array instead of a map for block state id -> block conversion 2020-09-08 17:02:07 +02:00
Eoghanmc22
414fb06407 1.16.2 enums 2020-08-15 20:59:09 -04:00
Eoghanmc22
542d603d60 1.16.2 support 2020-08-12 21:08:03 -04:00
Eoghanmc22
6259f624f3 starting of 1.16.2 support 2020-08-12 13:08:04 -04:00
jglrxavpok
7b53ec0999 Support for non-linear protocol IDs in codegen 2020-07-13 17:57:38 +02:00
jglrxavpok
69654d05de Add methods for BlockAlternative and reran generators 2020-07-07 13:17:41 +02:00
jglrxavpok
288a835a82 Add getName to get id of block 2020-07-01 21:52:47 +02:00
jglrxavpok
2303b98024 Send tags to player on connection 2020-06-30 20:38:42 +02:00
jglrxavpok
4ffde8feed Added isLiquid utility method in Block 2020-06-30 14:49:53 +02:00
jglrxavpok
bf6313659e NamespaceID->Resource in Registries.java 2020-06-30 12:53:15 +02:00
jglrxavpok
8fd7c35a32 Removed useless import 2020-06-29 21:11:22 +02:00
jglrxavpok
8483752046 1.16.1 enums 2020-06-29 21:07:03 +02:00
jglrxavpok
a8e607626e Autogeneration of Biome enum 2020-06-29 20:37:48 +02:00
jglrxavpok
7c3d3f6f07 Completely removed RegistryMain 2020-06-29 20:29:50 +02:00
jglrxavpok
4902ed4c6e Autogenerated Material ready to use 2020-06-29 19:21:41 +02:00
jglrxavpok
c66742e3d3 Hardcoded useful methods for Material (missing isFood impl) 2020-06-29 19:15:27 +02:00
jglrxavpok
4414d7c298 Start of Material.java generation + refactor 2020-06-29 19:02:32 +02:00