Bloepiloepi
|
497816df5a
|
Allow playerSkin to be null
|
2021-09-20 20:56:12 +02:00 |
|
TheMode
|
344003f36a
|
VanillaStackingRule style
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-09 23:14:59 +02:00 |
|
TheMode
|
02d927cc4d
|
Rename internal registry constant holder interfaces
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-06 13:32:52 +02:00 |
|
TheMode
|
2a8719e1e4
|
Make collections mutable in the meta builder
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-05 18:48:10 +02:00 |
|
TheMode
|
8cbd6460f4
|
Cleanup...
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-05 03:40:30 +02:00 |
|
Matt Worzala
|
220a4db768
|
mark BundleMeta experimental, shorten material nsid access
|
2021-08-30 18:09:08 -04:00 |
|
Matt Worzala
|
868c5ba044
|
add array copy
|
2021-08-30 18:04:46 -04:00 |
|
Matt Worzala
|
5b8051e2e8
|
experimental tags, docs, shorten item creation
|
2021-08-30 18:00:57 -04:00 |
|
Matt Worzala
|
8291639749
|
add BundleMeta and full item to/from nbt
|
2021-08-30 17:51:19 -04:00 |
|
TheMode
|
6541951aaa
|
Add experimental ItemStack#withMeta with direct reference
|
2021-08-21 04:45:19 +02:00 |
|
TheMode
|
22b722a530
|
Add LEATHER_HORSE_ARMOR meta
|
2021-08-20 20:50:51 +02:00 |
|
TheMode
|
8075cab011
|
Add ItemHideFlag#HIDE_DYE
|
2021-08-20 06:49:13 +02:00 |
|
TheMode
|
3ff5a7f414
|
Implement toString for registry objects
|
2021-08-13 21:15:43 +02:00 |
|
TheMode
|
3917d3cb1d
|
Merge branch 'master' into new-block-api
|
2021-08-13 09:47:09 +02:00 |
|
TheMode
|
0db44545cd
|
Do not copy collections unless necessary
|
2021-08-13 03:25:11 +02:00 |
|
Bloepiloepi
|
aaad91ff47
|
Initialize every projectile in CrossbowMeta
|
2021-08-09 16:41:01 +02:00 |
|
TheMode
|
6db55ce91f
|
Always flip
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-08-03 20:02:27 +02:00 |
|
TheMode
|
fbf6479135
|
Fix item meta writing
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-08-03 19:44:10 +02:00 |
|
TheMode
|
1c3bb5b0ff
|
First NIO attempt
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-08-03 12:57:13 +02:00 |
|
TheMode
|
f865a7b9dd
|
Reduce registry boilerplate
|
2021-07-30 15:29:05 +02:00 |
|
TheMode
|
c9f234cb1d
|
Use #getSafe
|
2021-07-30 15:09:18 +02:00 |
|
TheMode
|
3dd35c1605
|
Use a single registry-impl class per type
|
2021-07-30 15:08:06 +02:00 |
|
TheMode
|
13b7039721
|
Replace most enums
|
2021-07-28 14:29:28 +02:00 |
|
TheMode
|
a6a657b9b8
|
Make Enchantment an interface
|
2021-07-28 13:27:49 +02:00 |
|
TheMode
|
8dff4227eb
|
Rename registry resource enum
|
2021-07-28 13:02:12 +02:00 |
|
TheMode
|
274a40ea27
|
Make EntityType an interface
|
2021-07-27 11:56:20 +02:00 |
|
TheMode
|
82e5873b4f
|
Protocol interfaces to become sealed in the future
|
2021-07-27 10:28:06 +02:00 |
|
TheMode
|
c549ec1663
|
Remove legacy registry methods
|
2021-07-27 09:55:01 +02:00 |
|
TheMode
|
d685a7b136
|
Make Material an interface
|
2021-07-27 09:40:57 +02:00 |
|
TheMode
|
5285665939
|
Remove longly deprecated chat package
|
2021-07-27 06:55:08 +02:00 |
|
TheMode
|
7fae70ebc1
|
Add experimental ItemStack#consume
|
2021-07-23 01:47:43 +02:00 |
|
TheMode
|
cb21b0baf5
|
Merge branch 'master' into new-block-api
|
2021-07-20 22:18:43 +02:00 |
|
TheMode
|
40ae462d89
|
Fix NPE
|
2021-07-20 22:18:24 +02:00 |
|
TheMode
|
6079f87b38
|
Merge branch 'master' into new-block-api
|
2021-07-20 22:16:00 +02:00 |
|
LeoDog896
|
8a7d13c8ad
|
Make the constant static?
|
2021-07-20 14:07:16 -04:00 |
|
LeoDog896
|
8e849ad947
|
Add constant in ItemStack for VanillaStackingRule
|
2021-07-20 14:03:55 -04:00 |
|
LeoDog896
|
7d55d6db87
|
Add #equals method
|
2021-07-20 13:58:40 -04:00 |
|
TheMode
|
111d5b9b66
|
Reduce ItemMeta allocation
|
2021-07-19 04:34:42 +02:00 |
|
TheMode
|
a61ff53189
|
Remove deprecated ItemTag
|
2021-07-19 04:27:44 +02:00 |
|
TheMode
|
45d7420397
|
Remove most Position/BlockPosition usage
|
2021-07-08 18:56:40 +02:00 |
|
TheMode
|
0d031d4c15
|
Merge branch 'master' into new-block-api
# Conflicts:
# src/main/java/net/minestom/server/instance/DynamicChunk.java
# src/main/java/net/minestom/server/instance/Instance.java
# src/main/java/net/minestom/server/instance/InstanceContainer.java
# src/main/java/net/minestom/server/instance/SharedInstance.java
# src/main/java/net/minestom/server/instance/block/CustomBlock.java
# src/test/java/demo/Main.java
# src/test/java/demo/blocks/CustomBlockSample.java
# src/test/java/demo/blocks/UpdatableBlockDemo.java
|
2021-07-05 08:21:47 +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 |
|
TheMode
|
5969ec1709
|
Merge branch 'master' into new-block-api
# Conflicts:
# src/main/java/net/minestom/server/item/ItemMetaBuilder.java
|
2021-07-01 02:22:20 +02:00 |
|
Németh Noel
|
c683acaf6e
|
Fix PotionMeta.java
|
2021-06-30 13:26:45 +02:00 |
|
TheMode
|
5dfecce5d5
|
Cleanup
|
2021-06-28 23:31:01 +02:00 |
|
TheMode
|
790e99bce3
|
Simplify synchronization
|
2021-06-28 23:27:12 +02:00 |
|
TheMode
|
018a9263ee
|
Remove all direct volatile reads
|
2021-06-27 17:41:07 +02:00 |
|
TheMode
|
e772aace71
|
Initial reusable meta builder
|
2021-06-27 17:36:37 +02:00 |
|
TheMode
|
4f4afbbe6d
|
Merge branch 'master' into new-block-api
# Conflicts:
# src/main/java/net/minestom/server/instance/Chunk.java
# src/main/java/net/minestom/server/instance/Instance.java
|
2021-06-26 20:09:47 +02:00 |
|
TheMode
|
bf44625730
|
Add experimental tags
|
2021-06-26 05:08:33 +02:00 |
|
TheMode
|
2b817e5590
|
Merge branch 'master' into new-block-api
# Conflicts:
# src/main/java/net/minestom/server/tag/Tag.java
|
2021-06-22 03:09:02 +02:00 |
|
TheMode
|
a9086e83f2
|
Improve tag API
|
2021-06-22 02:51:04 +02:00 |
|
TheMode
|
c2270f8922
|
Merge branch 'master' into new-block-api
|
2021-06-20 23:52:08 +02:00 |
|
TheMode
|
4db3b9317d
|
Replace google Beta annotation to jetbrains ApiStatus.Experimental
|
2021-06-20 21:48:07 +02:00 |
|
TheMode
|
106125319a
|
Remove get prefixes for protocol objects to be more record-friendly
|
2021-06-19 21:01:54 +02:00 |
|
Kieran Wallbanks
|
58e108bd37
|
Fix deprecated API usages
|
2021-06-15 13:19:49 +01:00 |
|
Articdive
|
105f2fdc7e
|
Use minestom-data to generate our enums.
|
2021-06-03 12:11:42 +02:00 |
|
TheMode
|
ffca5eea00
|
Added ItemStack#withTag
|
2021-05-28 17:05:14 +02:00 |
|
TheMode
|
d4fc6a094a
|
Make ItemStack TagReadable
|
2021-05-28 17:00:48 +02:00 |
|
TheMode
|
7e5940d1a5
|
Rename TagReadable & TagWritable
|
2021-05-17 18:26:38 +02:00 |
|
TheMode
|
418fc8b4be
|
Deprecate old tag getters in ItemMeta
|
2021-05-17 17:50:05 +02:00 |
|
TheMode
|
354b4e3bc3
|
Replace ItemTag
|
2021-05-17 17:46:56 +02:00 |
|
TheMode
|
6a712b33a0
|
Revert "Added CachedObject to access a single-object cache"
This reverts commit 1c39e06d
|
2021-05-13 08:32:26 +02:00 |
|
TheMode
|
1c39e06d55
|
Added CachedObject to access a single-object cache
|
2021-05-13 08:06:42 +02:00 |
|
LeoDog896
|
bf41513d82
|
Avoid NPE when getting NBT
|
2021-05-04 11:52:36 -04:00 |
|
TheMode
|
2773a2d46c
|
Make StackingRule an interface, support per item max size, fix double click stacking
|
2021-04-23 15:02:39 +02:00 |
|
TheMode
|
844671daab
|
Merge pull request #244 from Project-Cepi/nbt-hep
Compound and list ItemTags
|
2021-04-22 16:01:48 +02:00 |
|
LeoDog896
|
19e55f985e
|
Add generic NBT
|
2021-04-22 09:52:51 -04:00 |
|
TheMode
|
6b5f755bfd
|
Allow null nbt, remove NBTUtils.loadItem
|
2021-04-18 04:44:16 +02:00 |
|
LeoDog896
|
c41c202589
|
Deepclone and cast
|
2021-04-14 18:19:07 -04:00 |
|
LeoDog896
|
7eb13de433
|
Compound and list tags
|
2021-04-14 18:12:41 -04:00 |
|
TheMode
|
b68c30423c
|
Add BinaryWriter#write(ByteBuf)
|
2021-04-14 01:40:21 +02:00 |
|
TheMode
|
a3f1235df4
|
Stacking rule should be defaulted to vanilla if null
|
2021-04-13 23:15:51 +02:00 |
|
TheMode
|
49944fb651
|
Keep StackingRule across builders
|
2021-04-13 09:24:37 +02:00 |
|
TheMode
|
58a532ac03
|
Annotate ItemStackBuilder#stackingRule with Beta
|
2021-04-13 09:19:39 +02:00 |
|
TheMode
|
70b97951e4
|
Added setter for StackingRule
|
2021-04-13 05:50:11 +02:00 |
|
TheMode
|
fed4e6897a
|
Fix FireworkEffect byte reading
|
2021-04-13 04:14:32 +02:00 |
|
TheMode
|
61d2ef2f06
|
Fix ItemStack#fromNBT
|
2021-04-13 03:45:01 +02:00 |
|
TheMode
|
508659fd30
|
Fix potential race condition
|
2021-04-13 03:29:55 +02:00 |
|
TheMode
|
2b74d7697c
|
Added ItemStack#fromNBT
|
2021-04-13 03:27:51 +02:00 |
|
TheMode
|
32430882a5
|
ItemStack is final
|
2021-04-13 03:10:04 +02:00 |
|
TheMode
|
2755add8df
|
Fix item tags not being saved when going through a builder
|
2021-04-12 17:11:28 +02:00 |
|
TheMode
|
6b165c7692
|
Fix MapMeta not being a provider
|
2021-04-12 16:29:15 +02:00 |
|
TheMode
|
0fea9b39a2
|
Return AIR if the amount is 0 or below
|
2021-04-12 09:11:08 +02:00 |
|
TheMode
|
8f6a651bda
|
Added StackingRule#apply with unary operator for amount
|
2021-04-12 01:27:33 +02:00 |
|
TheMode
|
c7cd8c332a
|
Rename meta package to metadata to limit breaking changes
|
2021-04-11 19:13:50 +02:00 |
|
TheMode
|
df20670ce8
|
Use AIR as default in CrossbowMeta instead of null
|
2021-04-11 17:12:28 +02:00 |
|
TheMode
|
ea3aedd76f
|
ItemMeta#getOrDefault annotation
|
2021-04-11 17:05:32 +02:00 |
|
TheMode
|
792dd9787f
|
Remove ItemStore API until a stable solution is found
|
2021-04-11 17:01:05 +02:00 |
|
TheMode
|
2fadf1da94
|
Added varargs equivalent for canPlace/Destroy
|
2021-04-11 15:01:43 +02:00 |
|
TheMode
|
e0c2c4b655
|
Support for canPlace & canDestroy meta
|
2021-04-11 00:42:09 +02:00 |
|
TheMode
|
0be4c6d8c7
|
More meta utils method, fix openBook
|
2021-04-10 18:55:26 +02:00 |
|
TheMode
|
0619b1b14b
|
Fix immutability inside ItemMeta
|
2021-04-10 18:36:20 +02:00 |
|
TheMode
|
bd3c678bde
|
Add HoverEventSource to ItemStack
|
2021-04-10 17:01:50 +02:00 |
|
TheMode
|
d2efb43625
|
Improve immutability & prevent NPE
|
2021-04-10 06:08:08 +02:00 |
|
TheMode
|
50ceeb33e4
|
Use proper meta based on material
|
2021-04-10 06:03:48 +02:00 |
|
TheMode
|
1d12a5de95
|
Implement all meta
|
2021-04-10 05:53:40 +02:00 |
|
TheMode
|
d1f8e60a7e
|
Cache meta binary
|
2021-04-10 00:55:18 +02:00 |
|
TheMode
|
f5b8f267d6
|
Clone instead of caching
|
2021-04-10 00:25:50 +02:00 |
|