Commit Graph

50 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
Konstantin Shandurenko
cfc5f860e9 Fishes 2021-02-23 08:47:09 +03:00
Konstantin Shandurenko
07be9d449b Much more entities 2021-02-23 08:25:35 +03:00
Konstantin Shandurenko
ca3d36ac0c Villagers and Ageable 2021-02-23 07:11:54 +03:00
Konstantin Shandurenko
d2c5d87582 EntityType improvements 2021-02-23 06:02:52 +03:00
themode
2c2a691af7 Registries#getEntityType should return null if invalid 2021-01-09 00:58:06 +01:00
Felix Cravic
38bcb755c2 Fixed PotionEffect ids 2020-11-23 10:08:23 +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
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
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
themode
84b74eb45f Cache pathfinder block data 2020-08-17 21:07:37 +02:00
Eoghanmc22
414fb06407 1.16.2 enums 2020-08-15 20:59:09 -04:00
Eoghanmc22
6259f624f3 starting of 1.16.2 support 2020-08-12 13:08:04 -04:00
Felix Cravic
67db1d6568 Replaced blockId by blockStateId 2020-08-09 09:55:30 +02: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
Eoghanmc22
7cbd13a560 Merge branches 'experimental' and 'master' of https://github.com/Minestom/Minestom
 Conflicts:
	src/main/java/net/minestom/server/inventory/Inventory.java
2020-07-01 15:55:13 -04:00
jglrxavpok
288a835a82 Add getName to get id of block 2020-07-01 21:52:47 +02:00
Eoghanmc22
68049b3eab Merge branches 'experimental' and 'master' of https://github.com/Minestom/Minestom 2020-06-30 17:15:32 -04: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
Eoghanmc22
a7c376a410 use new enum gen 2020-06-29 18:01:35 -04:00
jglrxavpok
e2a01c1a16 Back to 1.15.2 to prepare for merge 2020-06-29 21:19:59 +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
jglrxavpok
c9589ae526 1.16+ support and remove unused imports in generated Block enum 2020-06-29 16:41:29 +02:00
jglrxavpok
290d922e3a Replacing old Block enum with autogenerated Block enum 2020-06-23 18:35:23 +02:00