Commit Graph

189 Commits

Author SHA1 Message Date
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
2606f2b291 Added PlayerChatEvent#getDefaultChatFormat 2021-04-07 02:47:19 +02:00
themode
255ccf8ad5 Remove unused class 2021-04-02 23:34:40 +02:00
themode
a128d30b6b WIP Item rework implementation 2021-04-02 18:13:02 +02:00
jglrxavpok
07ab4ac090 Most client packets are writtable, same for server packets and readability 2021-03-30 19:46:20 +02:00
themode
adb9a449bf Cleanup default chat message 2021-03-29 17:33:52 +02:00
themode
ee18488f53 Fix chat message style + spacing 2021-03-29 17:00:58 +02:00
Callum Seabrook
1f961e0eab
Made chat messages use the vanilla format 2021-03-29 15:55:10 +01:00
Kieran Wallbanks
aea8a5f794 fix compilation issues 2021-03-26 17:34:38 +00:00
Kieran Wallbanks
35e057a638 prefer minestom enums over raw packet values 2021-03-26 17:34:38 +00:00
Kieran Wallbanks
3b0aa2d63b Deprecate legacy chat functions 2021-03-26 17:34:38 +00:00
themode
135ecf7b9c Fix block placement on item entity 2021-03-23 17:01:12 +01:00
themode
36d548ff35 Improve redirection match 2021-03-17 01:52:55 +01:00
themode
3c7a96dc4a Initial command redirection improvement 2021-03-15 09:01:29 +01:00
TheMode
e333eb3749
Merge pull request #165 from Minestom/command-suggestion
Command framework improvement
2021-03-13 00:59:54 +01:00
themode
158df922bc Fix suggestion chaining 2021-03-12 22:34:33 +01:00
themode
ee36853f41 Fix PlayerUseItemOnBlockEvent being called with the wrong block position 2021-03-12 04:23:27 +01:00
themode
1f7558c753 Deprecate CommandProcessor further, added SimpleCommand as a replacement 2021-03-11 03:02:13 +01:00
themode
f3335d25f6 Cleanup 2021-03-11 02:42:15 +01:00
themode
cbe57f9cac Retrieve context from suggestion 2021-03-10 19:47:08 +01:00
themode
eb56324e8b Added suggestion support for subcommands 2021-03-10 19:14:24 +01:00
themode
67b3b37813 Replace Arguments by CommandContext 2021-03-10 06:38:51 +01:00
themode
b03b35b881 Improve tab packet when dealing with trailing spaces 2021-03-10 04:21:42 +01:00
themode
bca2434cff Command parsing cleanup + preparation for suggestion & advanced caching 2021-03-10 01:21:33 +01:00
themode
94526b218f Merge branch 'master' into command-suggestion 2021-03-09 22:51:29 +01:00
themode
68ef3e31af Don't hardcode breakBlock digging status 2021-03-09 21:54:10 +01:00
themode
f98cfe1d54 Set default start & length for the tab complete packet 2021-03-09 04:04:21 +01:00
themode
441cb5a1db Initial command suggestion commit 2021-03-09 01:44:01 +01:00
themode
8ab29368a6 Fixed players being able to move during teleport 2021-03-08 16:49:16 +01:00
themode
5ffd44449d fix custom block state id being ignored in PlayerBlockPlaceEvent 2021-03-02 23:37:46 +01:00
Németh Noel
10ece83d75 Cleaned up imports and removed unnecessary .toString() calls 2021-02-28 20:35:10 +01:00
Németh Noel
7abf6ba9e7 Added CanPlaceOn and CanDestroy properties for ItemStacks and implemented checks for them 2021-02-28 19:37:31 +01:00
themode
d60118d5f6 Improve block breaking code, to fix issue when breaking a block should immediately place a new one 2021-02-24 12:18:27 +01:00
Kieran Wallbanks
a3f388a88b Add events for player sneaking and sprinting changes 2021-02-22 16:36:40 +00:00
Konstantin Shandurenko
e01a92c92c Fixing armor equip with right clicking 2021-02-22 05:17:14 +03:00
themode
c01736f863 Use doubles instead of floats to represent Position and Vector 2021-01-25 13:47:13 +01:00
themode
3e990bb716 Ignore INTERACT_AT packet, remove buggy console prefix 2021-01-24 15:44:18 +01:00
themode
4bb27c305f Cleanup & remove unnecessary calls in PlayerDiggingListener 2021-01-21 16:53:20 +01:00
themode
d83abcef85 Fix inventory click on size non-divisible by 9 2021-01-20 08:18:00 +01:00
themode
8e1ffdff7d Prevent double intersect check 2021-01-13 06:34:09 +01:00
themode
7d8ce32ba9 Fix block placement collision on chunk border 2021-01-13 06:32:42 +01:00
themode
1c65b36087 Rework of ArgumentCallback to be more robust, allowing to simplify all argument types in order to be used out of the command framework for general parsing.
Also removed magic space string, replaced with constant from commons apache library
2021-01-08 03:07:37 +01:00
themode
7c5bb7126a Added PlayerBlockPlaceEvent#setBlockData 2021-01-07 16:12:56 +01:00
themode
852391f210 Fix packet listeners not being called if there is no default listener 2021-01-05 18:10:25 +01:00
themode
3a7ae11c56 Add CommandSender as param in onDynamicWrite 2021-01-05 18:04:28 +01:00
themode
7019b7da85 Fix onGround field and gravityTickCount 2021-01-04 03:04:45 +01:00
themode
2ec727d5f8 Fix InventoryClickResult not using the proper items 2021-01-01 13:43:43 +01:00
ThatCreeper
50b44e46e0 Add PotionEffectManager 2020-12-30 17:12:03 -06:00
themode
78ed12887d Implement client spectate packet 2020-12-29 19:58:40 +01:00