Commit Graph

119 Commits

Author SHA1 Message Date
TheMode
792dd9787f Remove ItemStore API until a stable solution is found 2021-04-11 17:01:05 +02:00
TheMode
e0c2c4b655 Support for canPlace & canDestroy meta 2021-04-11 00:42:09 +02:00
TheMode
d6e7c9a635 Handle nbt directly inside builders instead of lazily 2021-04-09 23:57:05 +02:00
TheMode
e4a26df2b6 Rename ItemMeta#nbt, remove unnecessary cache 2021-04-09 23:16:57 +02:00
thiccaxe
02538f0d31 Update Demo
reflect changes new deprecations in demo.
2021-04-04 18:58:05 -07:00
thiccaxe
cf4a8756ef StatusRequestEvent
Added basic event

notes:
 - minestom will only accept the 1.16.5 protocol version, as of now there is no way to get the protocol version from the event. Assume 1.16.5

- there is also no way to currently get the address the client used to ping the server, as that is sent in another packet and minestom does not currently pass that data through.

 - favicon appears to not be working
2021-04-04 15:43:19 -07:00
themode
5a5531723c Fix original nbt overwriting modified meta 2021-04-04 21:34:48 +02:00
themode
d6b6d41f41 Fix Inventory not using a Component as title 2021-04-04 15:33:53 +02:00
themode
ca41365453 Added some useful store methods 2021-04-03 19:35:03 +02:00
themode
dfa7d712c2 Initial ItemStore support 2021-04-03 19:08:07 +02:00
themode
4741c932a0 Add ItemTag 2021-04-03 15:45:46 +02:00
themode
f52e10c2b2 Added InventoryModifier#replaceItemStack 2021-04-03 15:01:36 +02:00
themode
785e002a50 Improve documentation 2021-04-03 00:21:23 +02:00
themode
4a075da3e0 Ensure that the meta is new when instantiating from NBT 2021-04-02 22:40:24 +02:00
themode
a128d30b6b WIP Item rework implementation 2021-04-02 18:13:02 +02:00
themode
a70870d261 Added ItemMetaBuilder.Provider 2021-04-02 15:42:58 +02:00
themode
042c7c864b Added covariant return type + enchantment 2021-04-01 22:52:28 +02:00
themode
066b041bba Allow to directly pass an ItemMeta 2021-04-01 20:06:10 +02:00
themode
cbfeb4e15b WIP meta support 2021-04-01 20:02:03 +02:00
themode
0ab66113c8 WIP item meta API 2021-04-01 19:08:21 +02:00
themode
5807da47a6 Update annotations + add example 2021-04-01 00:20:59 +02:00
Kieran Wallbanks
b9e35d1cc7 Make Audiences static 2021-03-26 19:28:07 +00:00
themode
6b644d6130 Fix BenchmarkManager not returning a Component 2021-03-26 20:10:42 +01:00
Kieran Wallbanks
aea8a5f794 fix compilation issues 2021-03-26 17:34:38 +00:00
Kieran Wallbanks
8b82d61c0c fix demo build 2021-03-26 17:34:38 +00:00
themode
d6683932c8 Added PickupItemEvent#getItemEntity 2021-03-12 20:59:47 +01:00
themode
8871cf16c0 Don't default the permission level 2021-01-09 02:38:26 +01:00
themode
d0e94f0ee5 Small demo update 2021-01-07 20:28:07 +01:00
themode
6b39cb1e32 Execute the async login event before sending the login success packet 2021-01-06 19:02:35 +01:00
themode
7019b7da85 Fix onGround field and gravityTickCount 2021-01-04 03:04:45 +01:00
ThatCreeper
30868df243 Remove unused imports 2021-01-02 17:08:59 -06:00
ThatCreeper
30be7b5b81 Add Potion Add and Remove events 2021-01-02 16:59:17 -06:00
ThatCreeper
50b44e46e0 Add PotionEffectManager 2020-12-30 17:12:03 -06:00
themode
6e0ad54d5e Added EntityEndCrystal 2020-12-22 05:36:15 +01:00
themode
b5feb35619 Added PlayerDeathEvent to change the death message/text 2020-12-22 05:26:37 +01:00
themode
5224eecdd1 Event unification (type-specific event, CancellableEvent is now an interface) 2020-12-16 03:21:59 +01:00
themode
1742aa6f8a Updated the custom stone block in demo 2020-12-14 05:43:10 +01:00
Felix Cravic
ac8ba3ab10 Fixed ItemDropEvent and PickupItemEvent constructor + changed PlayerInit event registration to use the global event handler 2020-12-11 04:34:08 +01:00
Felix Cravic
f7c05a445e Remove #copy 2020-12-09 21:34:53 +01:00
Felix Cravic
40787902e3 Small demo code update 2020-12-06 20:20:05 +01:00
Eoghanmc22
d056fceb8a slightly improve performance and fix memory leak 2020-11-22 12:44:08 -05:00
Eoghanmc22
f2f0625666 Merge branch 'master' of https://github.com/Minestom/Minestom
 Conflicts:
	src/test/java/demo/PlayerInit.java
2020-11-21 13:23:16 -05:00
Eoghanmc22
926c02b7f5 Small optimizations to netty. 2020-11-21 13:09:03 -05:00
themode
234ac6daf4 Fixed build error 2020-11-21 06:43:12 +01:00
Eoghanmc22
4e11b16ee1 improve performance by 5-10% 2020-11-20 21:58:00 -05:00
Eoghanmc22
cb013f8291 player init 2020-11-20 15:19:20 -05:00
themode
8d0a24fd55 PlayerInit packet optimization 2020-11-20 18:23:46 +01:00
themode
392e702108 Improving chunk generation performance 2020-11-16 17:02:40 +01:00
themode
798b5d4853 Only flush during player update 2020-11-16 12:03:22 +01:00
themode
310733b747 Fixed stacking not working with NbtDataImpl 2020-11-16 07:40:45 +01:00
themode
3db53a798f Removed lombok dependency 2020-11-16 03:10:51 +01:00
themode
beebf18af2 Fixed the chunk generator not being executed when no populator is defined 2020-11-15 10:44:11 +01:00
themode
2d009e19a7 Added KQueue support on OSX + netty version update 2020-11-13 08:39:05 +01:00
themode
c60f625c55 Revamp of the packet sending code, added possibility to have listeners for outgoing packets 2020-11-13 07:43:35 +01:00
themode
1d7db5e211 Added dynamic palette resizing 2020-11-11 21:35:20 +01:00
themode
babc6e35ba Fixed palette 2020-11-11 17:30:18 +01:00
themode
55cddf6b78 Added palette 2020-11-11 17:13:36 +01:00
themode
4dfe01ea2f WIP PaletteStorage (only works with Bits per entry of 15) 2020-11-11 06:06:28 +01:00
themode
6cbe656b15 Added "semi-relative" location argument support 2020-11-11 02:11:28 +01:00
themode
bbf9f92b52 Added bungee forwarding support 2020-11-10 21:38:08 +01:00
themode
7db94f3a65 Support for velocity modern forwarding 2020-11-09 23:48:34 +01:00
themode
f85b2c4aad Allow dynamic entity view distance change 2020-11-04 19:14:04 +01:00
themode
9781e380b9 Command syntaxes can now contain a CommandCondition 2020-11-04 04:45:46 +01:00
themode
0184ada9a0 Renamed #clone to #copy 2020-10-31 18:03:15 +01:00
themode
06f2ed6065 Use the Contract annotation to prevent useless NPE warnings 2020-10-26 13:57:02 +01:00
themode
b2e3d3e78d Use negative entity id for the custom breaking system 2020-10-19 11:56:26 +02:00
themode
512b30e9df Added ArgumentItemStack 2020-10-16 14:31:15 +02:00
themode
fbe4126021 Added Player#chat to simulate chat message 2020-10-16 11:37:00 +02:00
themode
551bd42b48 Moved the demo server to the test directory 2020-10-11 16:02:26 +02:00