Commit Graph

36 Commits

Author SHA1 Message Date
iam 7320437640
Optionally load vanilla biomes (#1988)
* Add biomes from vanilla

* cleanup

* rework biomes

* nullability

* getByName string

* expose vanilla biomes

* not null

* before rename

* rename

* nbt cache

* fix

* fix

* fix

* final on vanilla biome
2024-02-12 15:25:46 -05:00
Bloepiloepi ff7098a083
Item metadata fixes (#935) 2022-04-17 20:52:29 +02:00
TheMode c9c2cc9ec8 Fix standalone view meta building
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-13 21:22:13 +02:00
TheMode 63b40deb34
Item API refactoring (#904) 2022-04-13 17:57:15 +02:00
themode 9927665d91 Add direct access to nbt for meta subclasses 2022-01-10 16:51:21 +01:00
themode c45f7b2067 Offer default impl to create empty meta 2022-01-10 16:51:21 +01:00
themode b997b87dc1 Improve item meta creation performance 2022-01-10 16:51:21 +01:00
themode bf77918c96 Use optimized copies 2022-01-10 16:51:21 +01:00
themode 81aa3dde27 Make FireworkEffect record 2022-01-10 16:51:21 +01:00
themode f1112fc865 Item impl cleanup 2022-01-10 16:51:21 +01:00
Xavier Niochaut 9ab4277502 Port to Hephaistos v2 (#424) 2022-01-10 16:51:21 +01:00
TheMode 13b7039721 Replace most enums 2021-07-28 14:29:28 +02:00
Németh Noel cda5860440 Use a more logical way to convert to milliseconds 2021-07-02 19:47:15 +02:00
Németh Noel 075dab79c9 Use ChronoUnit instead of TimeUnit 2021-07-02 19:35:19 +02:00
Németh Noel c683acaf6e Fix PotionMeta.java 2021-06-30 13:26:45 +02:00
TheMode e772aace71 Initial reusable meta builder 2021-06-27 17:36:37 +02:00
Articdive 105f2fdc7e
Use minestom-data to generate our enums. 2021-06-03 12:11:42 +02:00
TheMode c7cd8c332a Rename meta package to metadata to limit breaking changes 2021-04-11 19:13:50 +02:00
TheMode 1d12a5de95 Implement all meta 2021-04-10 05:53:40 +02:00
TheMode e19af0377c Merge branch 'master' into item-api
# Conflicts:
#	src/main/java/net/minestom/server/item/ItemDisplay.java
#	src/main/java/net/minestom/server/utils/binary/BinaryReader.java
2021-04-09 23:19:38 +02:00
TheMode 4c495f401d Code cleanup 2021-04-07 18:35:19 +02:00
themode a128d30b6b WIP Item rework implementation 2021-04-02 18:13:02 +02:00
Kieran Wallbanks 522367dd78 Begin removing deprecated usages 2021-03-26 17:34:38 +00:00
ALS ac7ca6f8e4 Fixed somme read for NBT Tag to ItemStack 2021-02-20 17:35:02 +01:00
themode 69d4792191 WIP collection deep cloning. Starting with PotionMeta 2020-12-15 03:29:47 +01:00
Felix Cravic f39f6444d7 PublicCloneable and support for ItemMeta#clone 2020-12-09 21:15:02 +01:00
themode 0184ada9a0 Renamed #clone to #copy 2020-10-31 18:03:15 +01:00
themode 3d96b7a4b4 A lot of annotations a bit everywhere. 2020-10-24 10:46:23 +02:00
themode 3cb880cf80 General cleanup 2020-10-22 12:55:53 +02:00
themode e1093769e5 Added potion color + fix clone/similar 2020-10-16 16:47:03 +02:00
themode 0b6a063311 Added support for CustomPotionEffect in PotionMeta 2020-10-16 16:32:57 +02:00
themode 660a67e53e English fix 2020-10-15 21:16:31 +02:00
Felix Cravic 676a7174fa Fixed CrossbowMeta & PotionMeta 2020-08-01 09:20:26 +02:00
Felix Cravic 5c1e6e7572 Cleanup 2020-07-23 07:36:49 +02:00
Felix Cravic 01cb95c9b2 item meta cleanup 2020-07-23 05:48:47 +02:00
Felix Cravic f8453b4906 Added ItemMeta + MapDataPacket 2020-07-23 05:36:15 +02:00