TheMode
bd3c678bde
Add HoverEventSource to ItemStack
2021-04-10 17:01:50 +02:00
TheMode
5e8e7cbaf4
Rename nbt method to remove confusion about the object being mutable or not
2021-04-10 00:24:29 +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
e4a26df2b6
Rename ItemMeta#nbt, remove unnecessary cache
2021-04-09 23:16:57 +02:00
TheMode
4c495f401d
Code cleanup
2021-04-07 18:35:19 +02:00
Felix Cravic
e3867c659b
Merge branch 'master' into item-api
...
# Conflicts:
# src/main/java/net/minestom/server/item/ItemStack.java
2021-04-06 05:10:58 +02:00
Kieran Wallbanks
4ee9d8ee91
Fix Javadoc build error
2021-04-04 14:51:04 +01:00
Kieran Wallbanks
9182ab7e84
Improve deprecation messages, allow ChatColor to be used in Adventure component styling
2021-04-04 14:40:29 +01:00
themode
a128d30b6b
WIP Item rework implementation
2021-04-02 18:13:02 +02:00
Kieran Wallbanks
9f87912d02
Remove TeamColor
2021-03-26 17:34:38 +00:00
Kieran Wallbanks
4ef62a1017
bump adventure to 4.7.0
2021-03-26 17:34:38 +00:00
Kieran Wallbanks
426b93db8f
delegate hover event for items/entities to adventure, fixes #161
2021-03-26 17:34:38 +00:00
Kieran Wallbanks
d419bf9401
fix TeamColor allowing unsupported formats
2021-03-26 17:34:38 +00:00
Kieran Wallbanks
3b0aa2d63b
Deprecate legacy chat functions
2021-03-26 17:34:38 +00:00
Kieran Wallbanks
edbd244a07
Optimise JsonMessage <-> Component
2021-03-26 17:34:38 +00:00
Kieran Wallbanks
522367dd78
Begin removing deprecated usages
2021-03-26 17:34:38 +00:00
Kieran Wallbanks
52831e7091
Add converter from Component to JsonMessage
2021-03-26 17:34:38 +00:00
Kieran Wallbanks
9fca53a8d3
Make JsonMessage a ComponentLike
2021-03-26 17:34:38 +00:00
Kieran Wallbanks
4f0944ba9f
Initial adventure implementation
...
- deprecate old text classes
- make CommandSender and Audience
- implement in ConsoleSender
- partially implement in Player
2021-03-26 17:34:38 +00:00
themode
c253a27260
Added copy to clipboard message click event
2021-03-05 14:30:50 +01:00
themode
882720c822
Added RawJsonMessage constructor taking a json object as a string to reduce boilerplate code
2021-02-25 19:01:29 +01:00
themode
200b244224
Fix JSON string not being displayable using ColoredText, remove unnecessary fields in PlayerListHeaderAndFooterPacket
2021-02-21 16:49:25 +01:00
themode
b6cce091e8
Remove magic values from ColoredText
2021-02-02 07:04:16 +01:00
themode
f17a518e92
Fix color not being displayed after a forward slash
2021-02-02 06:56:45 +01:00
themode
1707cc73f5
rename to #legacyToFormat
2021-01-31 00:42:21 +01:00
themode
2f326aeaae
Rename #toLegacy to #toFormat since it didn't make sense
2021-01-31 00:25:49 +01:00
LeoDog896
5419530125
Enchanted book and Colored StringBuilder
2021-01-15 22:03:44 -05:00
LeoDog896
3514547610
Fix isEmpty check in ColoredText
2021-01-15 13:26:12 -05:00
LeoDog896
8633797420
Use a StringBuilder for ColoredText
2021-01-15 13:16:09 -05:00
LeoDog896
3536bdc856
Microoptimization cleanup
...
Just some small microoptimizations including preferring fastutils, Removing unnecessary checks already dealt with using @NotNull, all since I had extra unplanned free time.
2021-01-15 11:08:11 -05:00
themode
fc694f4b49
Override JsonMessage#toString
2021-01-11 04:42:50 +01:00
Matt Worzala
46ac38d5b3
Change ColoredText usages to JsonMessage
2020-12-31 13:53:21 -05:00
Archy-X
05f3760044
Added ChatColor values method
2020-12-28 00:00:47 -07:00
themode
8b515e8686
Fix DARK_CYAN color
2020-12-17 00:47:52 +01:00
themode
b062315efb
Consolidate ChatColor immutable state
2020-12-14 01:03:12 +01:00
R0bbyYT
f386815458
Changes the accessibility of ChatColor#getCodeName from protected to public
2020-12-13 14:13:04 +01:00
themode
373a1cf3a7
Removed TODO
2020-11-13 00:31:04 +01:00
themode
13932a6ca3
Removed RichMessage format retention, should be done manually. + cleanup
2020-11-13 00:28:22 +01:00
themode
3ddca82aaa
Cleanup 2
2020-11-10 08:01:27 +01:00
themode
7bdfc93334
Added some comments about exceptions
2020-11-07 04:42:48 +01:00
KrystilizeNevaDies
16051e09de
Minor typo fix
...
Forgot to remove reduntant hashtag
2020-11-06 01:15:06 +10:00
KrystilizeNevaDies
b50530b4e7
Fix rgb byte overflow
...
Fix rgb byte overflow:
Changed from concatenation and logic to bitwise ops
2020-11-06 00:36:45 +10:00
themode
b890c8152a
Fixed PURPLE and PINK colors
2020-10-27 01:43:31 +01:00
themode
bd620a2241
Remove unnecessary packet copy + more annotations
2020-10-26 16:08:59 +01:00
themode
113f4fcdb3
Annotations for all chat components to prevent client json exception
2020-10-26 15:42:45 +01:00
themode
e621069cc5
More comments for the data API
2020-10-26 01:30:32 +01:00
themode
ea80d56bd0
Small packet cleanup, removed LevelType, new RawJsonMessage
2020-10-25 22:19:27 +01:00
themode
df28d25685
Allow for JsonMessage in packets
2020-10-24 23:28:43 +02:00
themode
3cb880cf80
General cleanup
2020-10-22 12:55:53 +02:00
themode
c7f8ae7536
Added constructor comments in ColoredText and RichMessage
2020-10-22 09:10:14 +02:00