themode
f2e52ff463
Send an EntityMovementPacket every tick if the player did not move since the last one
2020-11-10 18:13:24 +01:00
themode
3ddca82aaa
Cleanup 2
2020-11-10 08:01:27 +01:00
themode
68bb479f4a
Cleanup
2020-11-10 07:42:11 +01:00
themode
c6c8f6b9d6
Usage comments for VelocityProxy
2020-11-10 00:13:57 +01:00
themode
7db94f3a65
Support for velocity modern forwarding
2020-11-09 23:48:34 +01:00
themode
247a328a09
Annotations for the advancement API
2020-11-09 18:29:30 +01:00
TheMode
826533e5ee
Added some dots
...
Signed-off-by: TheMode <themode@outlook.fr>
2020-11-09 18:08:26 +01:00
themode
e583f21b74
Fixed client crashing when pinging with an older client
2020-11-09 03:21:18 +01:00
themode
f9035bf949
Param comments for NBTUtils#toNBT
2020-11-08 22:40:50 +01:00
themode
4412bea7b8
NBTUtils comments and contributors link in README.md
2020-11-08 20:13:24 +01:00
themode
11fc1e39bc
Cleanup InstanceContainer#copy
2020-11-08 17:39:03 +01:00
themode
682c660857
Fixed javadoc
2020-11-08 15:57:00 +01:00
themode
a574c1fe2a
Close the command scanner once stopped
2020-11-07 22:58:19 +01:00
themode
224626bdbd
Added NbtDataImpl to support writing custom item NBT data to the client
2020-11-07 19:39:22 +01:00
themode
7bdfc93334
Added some comments about exceptions
2020-11-07 04:42:48 +01:00
themode
1d30e6e953
Use the Validator interface when possible for readability
2020-11-07 04:28:50 +01:00
themode
b2097a338d
Added comments for Argument constructors
2020-11-07 03:45:25 +01:00
themode
66fc6779b6
Dynamic arguments now also have an optional dynamic restriction
2020-11-07 03:40:37 +01:00
themode
cf6fbd3d34
Cleanup
2020-11-06 22:58:38 +01:00
themode
fc4501501b
Fix tasks not being canceled properly + annotations
2020-11-06 22:13:52 +01:00
themode
7ba1b9e174
Added additional information in InstanceContainer#cacheChunk about signaling
2020-11-05 22:53:46 +01:00
themode
73d99bf462
Made InstanceContainer#cacheChunk public
2020-11-05 22:42:03 +01:00
themode
0ee8eb7d45
Removed the instance from Chunk constructor
2020-11-05 22:37:04 +01:00
themode
46d008b595
Added annotations in PacketUtils
2020-11-05 22:20:51 +01:00
themode
dfa725800a
Merge remote-tracking branch 'origin/master'
2020-11-05 16:37:32 +01:00
themode
428cea625e
Removed Block empty duplicate
2020-11-05 16:37:16 +01:00
KrystilizeNevaDies
16051e09de
Minor typo fix
...
Forgot to remove reduntant hashtag
2020-11-06 01:15:06 +10:00
TheMode
d31c6e8c5f
Merge pull request #64 from Geolykt/patch-1
...
Added distanceSquared where applicable and changed BlockPosition distance calculation
2020-11-05 15:44:35 +01: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
Geolykt
3be5605126
Added distanceSquared where applicable
...
Warning: Also breaks current API-Implementation (API-specification remains the same) in a way that BlockPosition#getDistance(BlockPosition) no longer returns the manhattan distance, but the distance according to pythagoras.
2020-11-04 20:31:29 +01:00
themode
2c0f0a8f9e
Remove warning about MinecraftServer#setEntityViewDistance
2020-11-04 19:20:45 +01:00
themode
7b6f4b365b
Do not add the entity as viewer multiple time
2020-11-04 19:16:47 +01:00
themode
f85b2c4aad
Allow dynamic entity view distance change
2020-11-04 19:14:04 +01:00
themode
ae1d089603
Rounded extensions loading time for readability purpose
2020-11-04 18:27:18 +01:00
themode
8612245ff9
Added precison to the InventoryModifier comments
2020-11-04 18:22:42 +01:00
themode
c03a2992ef
Stop the whole click process if the event is canceled
2020-11-04 15:41:56 +01:00
themode
097dcf0f6c
Log the proper warning message instead of a NPE
2020-11-04 14:18:02 +01:00
themode
b296b103c1
CommandCondition command string can be null if a new command packet is built
2020-11-04 05:19:30 +01:00
themode
9781e380b9
Command syntaxes can now contain a CommandCondition
2020-11-04 04:45:46 +01:00
themode
b84bcde84d
Fixed Argument#useRemaining creating an empty array
2020-11-03 23:31:26 +01:00
themode
b575d6df57
Changed the wiki link in README.md
2020-11-03 18:22:36 +01:00
jglrxavpok
d09c2756aa
Fix ChunkDataPacket using doubles for block entity data instead of ints
2020-11-03 09:03:54 +01:00
jglrxavpok
547e7cf6e6
Cleanup TODOs
2020-11-03 08:59:23 +01:00
themode
96dcd0e27f
Incredibly hard update to 1.16.4
2020-11-03 02:16:32 +01:00
themode
1c6070a1b2
Added an unknown command callback
2020-11-02 04:13:43 +01:00
themode
2e0c5a72b7
Added optional additional data in Permission#isValidFor
2020-11-02 02:53:12 +01:00
themode
e65ab88a3b
WIP palette
2020-11-01 22:53:36 +01:00
themode
463e1f047f
Cleanup + added PlayerSettingsChangeEvent
2020-11-01 00:07:15 +01:00
themode
30b9ae2ac8
Added FakePlayer comments
2020-10-31 20:12:20 +01:00
themode
487e7a097c
Renamed scheduledCallback to spawnCallback
2020-10-31 20:01:02 +01:00
themode
fbff3a6b0b
Fixed the FakePlayer scheduled callback being called in an external thread
2020-10-31 19:59:02 +01:00
themode
9a7a1e6ff4
The scheduled callback for FakePlayer is not mandatory, send
2020-10-31 19:54:10 +01:00
themode
b74d85eca8
The chunk view distance can now be dynamically modified both by the client or with the server using MinecraftServer#setChunkViewDistance, also added UpdateViewDistancePacket
2020-10-31 19:44:22 +01:00
themode
6e36f3242d
Added InstanceContainer#copy and Chunk#copy
2020-10-31 19:22:23 +01:00
themode
0184ada9a0
Renamed #clone to #copy
2020-10-31 18:03:15 +01:00
themode
af3d742b13
Comments for UuidProvider and PlayerProvider
2020-10-31 13:30:11 +01:00
themode
c4f36a9cea
Cleanup + comments
2020-10-31 05:09:30 +01:00
themode
2e4a2f57cf
Cleanup and catch some NPE
2020-10-31 04:38:53 +01:00
themode
00ce2be258
Fixed shared instances tick being called 2 times
2020-10-31 02:55:55 +01:00
themode
4375a8734d
Add comment to signal how to make a "null" ItemStack
2020-10-31 01:41:46 +01:00
themode
f328a9cb2b
Added a few constructors to specify the instance directly
2020-10-31 01:38:57 +01:00
themode
f91f7abb26
Unsafe methods should be called unsafe.
2020-10-31 01:02:54 +01:00
themode
a6939b3695
Only send chunks if required
2020-10-31 00:23:52 +01:00
themode
f334df0028
Chunk#UNSAFE_setBlock can have a custom block id sets to 0
2020-10-30 22:49:57 +01:00
themode
6d29f955e4
More comments for the command API, Arguments methods are NotNull since id should not be decided at runtime
2020-10-30 18:43:14 +01:00
Nathan M
10eba951fd
Fix Armor Stand Metadata
2020-10-30 03:30:33 -04:00
themode
872dccd7ce
Small cleanup
2020-10-29 22:52:07 +01:00
themode
c887392a91
CommandDispatcher comments for maintenance purpose and fixed all code warnings
2020-10-29 19:51:10 +01:00
themode
384df073a8
Fixed synchronization issue when adding/removing scheduled tasks
2020-10-29 19:20:25 +01:00
themode
c8d1a30486
Improved Argument comments
2020-10-29 17:27:40 +01:00
LeoDog896
75f8396d32
Expose ArgumentWord restrictions as protected
2020-10-28 11:09:40 -04:00
themode
617d3cc89f
Removed check for manager getters
2020-10-28 13:19:34 +01:00
themode
fb098fe4f9
Command arguments can be null
2020-10-28 02:42:40 +01:00
themode
907b10604b
Fixed arguments values not being forwarded
2020-10-28 01:55:44 +01:00
themode
c3cfad22fc
dispatcher will find the correct syntax with the most arguments count
2020-10-28 01:29:05 +01:00
themode
5092aa637f
Fix command with less than 2 arguments
2020-10-28 01:24:50 +01:00
themode
57e33c63a0
Allowing shared arguments being instanced multiple times
2020-10-28 01:14:05 +01:00
themode
d49ddc52b6
Nodes in command can now be shared with each other
2020-10-28 01:02:12 +01:00
themode
758c132645
Make the player display name nullable
2020-10-27 12:45:37 +01:00
themode
972da0e5ae
Added warning for ConnectionManager#addPlayerInitialization to prevent calling too early code
2020-10-27 01:53:56 +01:00
themode
b890c8152a
Fixed PURPLE and PINK colors
2020-10-27 01:43:31 +01:00
themode
a7d23bfa50
Added more click types + fix inventory click cancel
2020-10-26 20:46:22 +01:00
themode
0337fff50f
Fixed shift click ignoring canceled events
2020-10-26 19:31:25 +01:00
themode
3fe58b6b20
Inventories are now DataContainer
2020-10-26 19:14:50 +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
44c912d7ec
Prevent retrieving null managers before their initialization and added annotations in ConnectionManager
2020-10-26 15:15:56 +01:00
themode
06f2ed6065
Use the Contract annotation to prevent useless NPE warnings
2020-10-26 13:57:02 +01:00
themode
8b99fb6f09
Added Player#playSound for custom sounds identifier (from resourcepack)
2020-10-26 11:18:44 +01:00
themode
322acca51e
Assigning a data key to null will remove the key
2020-10-26 01:47:41 +01:00
themode
91301102d3
Added proper exception in SerializableDataImpl if an issue happens with the type
2020-10-26 01:38:22 +01:00
themode
e621069cc5
More comments for the data API
2020-10-26 01:30:32 +01:00
TheMode
6a6e359529
Merge pull request #61 from DigitalJokerMan/change-default-stacking-rule
...
Changed DEFAULT_STACKING_RULE's maxSize from 127 to 64
2020-10-25 22:21:26 +01:00
themode
ea80d56bd0
Small packet cleanup, removed LevelType, new RawJsonMessage
2020-10-25 22:19:27 +01:00
Alex K
6070d002d9
Changed DEFAULT_STACKING_RULE's maxSize from 127 to 64
2020-10-25 14:44:40 -06:00
themode
8346bb85ed
@NotNull for ClientPacket#read
2020-10-25 17:02:07 +01:00
themode
1b7613d977
Allow for custom chunk/entity view distance and compression threshold without recompiling the server.
2020-10-25 16:48:14 +01:00
themode
424e99e2d8
Use the server brand name as the motd in case of a legacy ping
2020-10-25 15:32:19 +01:00
themode
a8796382b7
Clear cache of viewed boss bars and advancement tabs once the player disconnect
2020-10-25 12:28:06 +01:00
themode
0c96de75ef
Fix namespace regex for path
2020-10-25 00:00:32 +02:00