Matt Worzala
|
c24df2f308
|
remove debug print
|
2020-12-28 13:34:48 -05:00 |
|
Matt Worzala
|
c89ffbfc44
|
Change rounding method of Instance#getChunkAt to fix negative chunk off-by-one
|
2020-12-28 13:28:10 -05:00 |
|
Archy-X
|
e911612ad6
|
Add onWrite method with CommandSender in CommandProcessor
|
2020-12-28 10:59:18 -07:00 |
|
themode
|
ca3667732f
|
Attempt to fix sync issue in window click
|
2020-12-28 17:27:40 +01:00 |
|
themode
|
87e8e550f1
|
Don't add players to the waiting list in the constructor, but in the registration method
|
2020-12-28 12:41:15 +01:00 |
|
themode
|
924fac562b
|
Print exceptions properly during server tick
|
2020-12-28 12:27:25 +01:00 |
|
themode
|
22aa9d01ed
|
Do not size the string in sendPluginMessage
|
2020-12-28 10:40:50 +01:00 |
|
TheMode
|
c478bd7af6
|
Merge pull request #83 from Archy-X/master
Add ChatColor values method
|
2020-12-28 08:06:13 +01:00 |
|
Archy-X
|
05f3760044
|
Added ChatColor values method
|
2020-12-28 00:00:47 -07:00 |
|
Nesaak
|
1a1c3339aa
|
Add #FindPlayer in ConnectionManager
|
2020-12-27 20:55:57 -05:00 |
|
themode
|
5975f8d838
|
Stop creating a thread for each auth request
|
2020-12-28 00:18:25 +01:00 |
|
themode
|
28c5e39f8b
|
Pre login event is now async
|
2020-12-27 22:16:19 +01:00 |
|
themode
|
a3ae2f39a5
|
More comments for NettyServer
|
2020-12-27 10:53:30 +01:00 |
|
themode
|
6a9461546c
|
No more memory allocation when using grouped packets
|
2020-12-26 21:10:27 +01:00 |
|
themode
|
feb4783988
|
Small optimization for entity velocity
|
2020-12-26 18:52:44 +01:00 |
|
themode
|
3137be35a4
|
Better exception message
|
2020-12-26 16:46:54 +01:00 |
|
themode
|
f4818d46fb
|
Cleanup extension code and added an option to disable extension loading on startup
|
2020-12-26 11:55:22 +01:00 |
|
R0bbyYT
|
f58dcbda46
|
FireworkMeta uses CopyOnWriteArrayList instead of ArrayList, removes #getOwningPlayer()
|
2020-12-25 10:40:02 +01:00 |
|
R0bbyYT
|
4818e29d81
|
Merge remote-tracking branch 'origin/master' into feature/item-meta
|
2020-12-24 15:29:59 +01:00 |
|
R0bbyYT
|
724f0b9c7a
|
Adds some documentation
|
2020-12-24 15:29:34 +01:00 |
|
themode
|
557ec7ca83
|
Fix auto viewable during viewers refresh
|
2020-12-23 10:51:59 +01:00 |
|
themode
|
18eab183a0
|
Auto entity viewing cleanup
|
2020-12-23 10:40:50 +01:00 |
|
themode
|
a6cb126d76
|
Fix #isAutoViewable
|
2020-12-23 10:21:48 +01:00 |
|
themode
|
978a1f5135
|
PlayerChatEvent function should return a JsonMessage and not necessarily a RichMessage
|
2020-12-23 08:24:29 +01:00 |
|
R0bbyYT
|
58c7ad9e02
|
Implements PlayerHeadMeta, FireworkMeta and FireworkEffectMeta
|
2020-12-23 02:24:41 +01: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
|
460813b6e0
|
Added dots
Signed-off-by: TheMode <themode@outlook.fr>
|
2020-12-21 13:44:58 +01:00 |
|
themode
|
2a78851ab4
|
Chunk#addViewer should always send the chunk & light packets
|
2020-12-20 09:50:47 +01:00 |
|
themode
|
3a7afa63d5
|
Security update preventing modified client from crashing the server by placing a block in an unloaded chunk
|
2020-12-20 03:38:36 +01:00 |
|
themode
|
ffbde089f8
|
BlockPlacementRule cleanup
|
2020-12-20 03:24:29 +01:00 |
|
R0bbyYT
|
81592d8b56
|
More documentation for the FakePlayer, Small improvement for the FakePlayerController
|
2020-12-19 16:32:42 +01:00 |
|
themode
|
c7876d648c
|
Fix NPE when clicking outside of the inventory to drop
|
2020-12-18 04:05:29 +01:00 |
|
themode
|
213599a649
|
Merge remote-tracking branch 'origin/master'
|
2020-12-18 01:46:00 +01:00 |
|
themode
|
c6d7dea2da
|
Prevent CME when unloading InstanceContainer chunks
|
2020-12-18 01:45:45 +01:00 |
|
TheMode
|
049975e239
|
Merge pull request #78 from MichaelPriebe/master
Fix and Cleanup Redstone Placement Rule
|
2020-12-18 01:30:58 +01:00 |
|
themode
|
943aae7397
|
Do not send gamemode related packets before the player spawn
|
2020-12-18 00:57:23 +01:00 |
|
themode
|
3e532b24a8
|
Prevent placing block in adventure mode
|
2020-12-18 00:28:06 +01:00 |
|
MichaelPriebe
|
881ed5deca
|
Update code style
|
2020-12-17 01:16:24 -05:00 |
|
MichaelPriebe
|
917c4ddfd6
|
Fix and Cleanup Redstone Placement Rule
|
2020-12-17 00:51:13 -05:00 |
|
themode
|
8b515e8686
|
Fix DARK_CYAN color
|
2020-12-17 00:47:52 +01:00 |
|
themode
|
ed46bd0dc2
|
Annotation in InventoryClickProcessor
|
2020-12-16 03:51:13 +01:00 |
|
themode
|
5224eecdd1
|
Event unification (type-specific event, CancellableEvent is now an interface)
|
2020-12-16 03:21:59 +01:00 |
|
themode
|
7750934a3f
|
Small cleanup
|
2020-12-16 00:13:40 +01:00 |
|
themode
|
7bcca8ff9f
|
Rename the walkingSpeed ability to fieldViewModifier, the movement speed attribute should be used instead for speed
|
2020-12-15 13:41:42 +01:00 |
|
themode
|
892c1d5806
|
Reduce chunk Map operation
|
2020-12-15 13:27:38 +01:00 |
|
themode
|
74b8674a15
|
Netty write cleanup and allocator options
|
2020-12-15 13:18:24 +01:00 |
|
themode
|
b808497c9b
|
GroupedPacketHandler cleanup
|
2020-12-15 09:55:53 +01:00 |
|
themode
|
b9a0a761c4
|
Fixed CommandManager#execute not throwing NPE
|
2020-12-15 09:30:09 +01:00 |
|
themode
|
26762bec17
|
Use pooled direct buffer in GroupedPacketHandler when preferred
|
2020-12-15 09:11:20 +01:00 |
|
themode
|
604d10a06c
|
Fix WritableBookMeta cloning
|
2020-12-15 08:55:29 +01:00 |
|
themode
|
69adb67394
|
Compute the tags packet only once to improve performance on high connection traffic
|
2020-12-15 06:21:59 +01:00 |
|
themode
|
5c9fd9294a
|
Fix PreClickEvent canceling being ignored when the inventory condition doesn't cancel
|
2020-12-15 06:04:58 +01:00 |
|
themode
|
9b9dab56eb
|
Fix ghost cursor item when canceling an inventory click
|
2020-12-15 05:52:35 +01:00 |
|
themode
|
bf10f0d3f7
|
Fixed thread crash when clicking in a non interactive inventory slot (-1)
|
2020-12-15 05:47:18 +01:00 |
|
themode
|
e1a886aa3a
|
Fix SetSlotPacket
|
2020-12-15 05:39:28 +01:00 |
|
themode
|
0658d1659c
|
Renamed ChunkSupplier#createChunk
|
2020-12-15 04:21:26 +01:00 |
|
themode
|
a3613bff89
|
Use CloneUtils for deep copy
|
2020-12-15 03:40:07 +01:00 |
|
themode
|
17fc4fc7e6
|
Merge remote-tracking branch 'origin/master'
|
2020-12-15 03:30:10 +01:00 |
|
themode
|
69d4792191
|
WIP collection deep cloning. Starting with PotionMeta
|
2020-12-15 03:29:47 +01:00 |
|
TheMode
|
a9013634ac
|
Fix dot
Signed-off-by: TheMode <themode@outlook.fr>
|
2020-12-14 07:40:21 +01:00 |
|
themode
|
f2c586177f
|
Cache the unmodifiable viewers set to mitigate object allocation
|
2020-12-14 06:27:39 +01:00 |
|
themode
|
0645c4c764
|
Removed Viewable#sendPacketToSelf
|
2020-12-14 06:10:11 +01:00 |
|
themode
|
962a5117e9
|
Condition simplification
|
2020-12-14 06:08:26 +01:00 |
|
themode
|
3a988ddba1
|
Fixed block break particles and sound being played two times for the breaker
|
2020-12-14 06:06:28 +01:00 |
|
themode
|
c1b584da1b
|
Removed more string concatenation
|
2020-12-14 05:55:48 +01:00 |
|
themode
|
1742aa6f8a
|
Updated the custom stone block in demo
|
2020-12-14 05:43:10 +01:00 |
|
themode
|
22cd7a28a7
|
Removed some string concatenation in logger
|
2020-12-14 05:42:22 +01:00 |
|
KrystilizeNevaDies
|
8a2e69f709
|
Change PlayerSpawnEvent too use player instead of entity
|
2020-12-14 12:52:51 +10:00 |
|
themode
|
bdedbf9462
|
Fix intellij auto annotation 2
|
2020-12-14 03:27:07 +01:00 |
|
themode
|
3cfa216274
|
Fix intellij auto annotation
|
2020-12-14 01:45:46 +01:00 |
|
themode
|
8cddf30b9e
|
Annotation for ChunkGenerator
|
2020-12-14 01:41:08 +01:00 |
|
themode
|
765dfee3f0
|
Send an EffectPacket instead of a particle one when breaking a block
|
2020-12-14 01:19:35 +01:00 |
|
themode
|
b062315efb
|
Consolidate ChatColor immutable state
|
2020-12-14 01:03:12 +01:00 |
|
R0bbyYT
|
a51e1a8484
|
See commit 4ae623cd , but without the Google code formatting
|
2020-12-13 23:31:37 +01:00 |
|
themode
|
2fa0f5a417
|
Revert "Fixes an issue when a player is in another team that this player is not showed in his team for other players"
This reverts commit 4ae623cd
|
2020-12-13 23:01:01 +01:00 |
|
R0bbyYT
|
4ae623cdab
|
Fixes an issue when a player is in another team that this player is not showed in his team for other players
|
2020-12-13 15:00:48 +01:00 |
|
R0bbyYT
|
f386815458
|
Changes the accessibility of ChatColor#getCodeName from protected to public
|
2020-12-13 14:13:04 +01:00 |
|
themode
|
f9666a8971
|
Comment indicating that #getChunks return the loaded chunks
|
2020-12-13 01:33:54 +01:00 |
|
themode
|
bdcb708195
|
Fix CompassMeta
|
2020-12-12 23:15:33 +01:00 |
|
themode
|
8dfc52dd15
|
Added indication on IOException with the resource gatherer
|
2020-12-12 10:29:38 +01:00 |
|
Felix Cravic
|
5e85c0117a
|
Cleanup
|
2020-12-12 06:13:50 +01:00 |
|
Felix Cravic
|
c8154b564f
|
Fixed EntitySoundEffectPacket name
|
2020-12-12 05:52:03 +01:00 |
|
Felix Cravic
|
7da5550858
|
Added EntityAI to facilitate AI integration with other entity types (eg FakePlayer)
|
2020-12-12 05:50:05 +01:00 |
|
Felix Cravic
|
137273f05f
|
Fix BlockPlacementRule block state id update
|
2020-12-12 04:27:43 +01:00 |
|
Felix Cravic
|
77b4fe7287
|
Throw an exception when an entity tries to move in an unloaded chunk
|
2020-12-12 00:10:42 +01:00 |
|
Felix Cravic
|
44096ff9cf
|
Prevent first chunks not loading with a high latency
|
2020-12-12 00:07:41 +01:00 |
|
Felix Cravic
|
d56bf94135
|
Specify where EntityManager#addWaitingPlayer is called
|
2020-12-11 23:35:36 +01:00 |
|
R0bbyYT
|
8542cebd1d
|
Documentation for the ResponseData and ResponseDataConsumer
|
2020-12-11 22:44:15 +01:00 |
|
Felix Cravic
|
e9dd1a1366
|
Merge remote-tracking branch 'origin/master'
|
2020-12-11 22:07:00 +01:00 |
|
R0bbyYT
|
7644d36165
|
More numeric range types
|
2020-12-11 21:56:07 +01:00 |
|
Felix Cravic
|
a1ee3a28a0
|
TestPermissions cleanup
|
2020-12-11 21:50:59 +01:00 |
|
Felix Cravic
|
f092e6ebfd
|
Added comment about permission serialization
|
2020-12-11 21:46:55 +01:00 |
|
Felix Cravic
|
90102e1562
|
Permission improvement
|
2020-12-11 21:42:32 +01:00 |
|
Felix Cravic
|
76c3ea52ac
|
Merge branch 'master' into nbt-permission
|
2020-12-11 21:37:00 +01:00 |
|
Felix Cravic
|
0a9ce664f3
|
Cleanup
|
2020-12-11 21:36:35 +01:00 |
|
Felix Cravic
|
38dc50bb1a
|
Optimise entity velocity (to do not send the packet every tick)
|
2020-12-11 20:17:33 +01:00 |
|
Felix Cravic
|
2f96a47270
|
Optimise GlobalEventHandler
|
2020-12-11 19:37:44 +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
|
c16a0234a3
|
Comment for PermissionHandler#getPermission
|
2020-12-11 03:24:30 +01:00 |
|
Felix Cravic
|
6017a902c3
|
fix typo
|
2020-12-11 03:22:07 +01:00 |
|
Felix Cravic
|
7700c718aa
|
Added PermissionHandler#getPermission
|
2020-12-11 03:19:25 +01:00 |
|
Felix Cravic
|
1b7f00f1b9
|
Merge branch 'master' into nbt-permission
|
2020-12-11 03:15:14 +01:00 |
|
Felix Cravic
|
62ab0a2007
|
Remove unnecessary shouldUpdate method in Entity
|
2020-12-10 18:12:05 +01:00 |
|
Felix Cravic
|
00c144b592
|
Rework of the permission API
|
2020-12-10 02:56:56 +01:00 |
|
Felix Cravic
|
30a7843018
|
Added #flush in comment
|
2020-12-10 00:08:35 +01:00 |
|
Felix Cravic
|
654a68092a
|
Simply MainDemo
|
2020-12-09 22:38:20 +01:00 |
|
Felix Cravic
|
54d3a6bace
|
fixed GlobalEventHandler getter name
|
2020-12-09 22:36:15 +01:00 |
|
Felix Cravic
|
6e3df970fa
|
Added GlobalEventHandler
|
2020-12-09 22:31:20 +01:00 |
|
Felix Cravic
|
30d257c847
|
Remove unnecessary #callEvent override in Entity
|
2020-12-09 22:18:11 +01:00 |
|
Felix Cravic
|
08f7b1c715
|
Event callback collections now use a set, and #add/removeCallback return a boolean to know if the action was successful
|
2020-12-09 22:05:11 +01:00 |
|
Felix Cravic
|
f7c05a445e
|
Remove #copy
|
2020-12-09 21:34:53 +01:00 |
|
Felix Cravic
|
f39f6444d7
|
PublicCloneable and support for ItemMeta#clone
|
2020-12-09 21:15:02 +01:00 |
|
Felix Cravic
|
cea3b8b593
|
WIP removal of #copy for #clone
|
2020-12-09 20:51:40 +01:00 |
|
KrystilizeNevaDies
|
f54dc4efe5
|
Style fixes + Imports
|
2020-12-10 01:10:46 +10:00 |
|
CmdrNorthpaw
|
df536f9aaf
|
Function in CommandSender to send ColoredText (#75)
* Send ColoredText messages to CommandSender
* Only send ColoredText if this is a player
* Documentation!
|
2020-12-10 01:09:29 +10:00 |
|
TheMode
|
ea3021ea69
|
Console command doesnt need to start with the command prefix
Signed-off-by: TheMode <themode@outlook.fr>
|
2020-12-09 06:30:15 +01:00 |
|
Felix Cravic
|
5576d11fce
|
Do not wait for worker thread shutdown
|
2020-12-08 18:14:10 +01:00 |
|
Felix Cravic
|
91a000ab31
|
heap buffers don't need to be released manually
|
2020-12-08 09:49:29 +01:00 |
|
Felix Cravic
|
b307a979c3
|
Added NotNull annotation for Sidebar
|
2020-12-08 09:39:51 +01:00 |
|
Felix Cravic
|
42cedf3fbf
|
Use Guava to initialize concurrent linked queues
|
2020-12-08 09:36:19 +01:00 |
|
Felix Cravic
|
fec23a9783
|
Improve grouped packet performance
|
2020-12-08 09:13:22 +01:00 |
|
Felix Cravic
|
91dc4eb675
|
Remove unnecessary synchronized blocks
|
2020-12-08 03:37:00 +01:00 |
|
Felix Cravic
|
eca6a657c3
|
Execute InstanceTickEvent in Instance instead of InstanceContainer
|
2020-12-08 00:16:46 +01:00 |
|
Felix Cravic
|
c836bbc051
|
Merge remote-tracking branch 'origin/master'
|
2020-12-08 00:13:24 +01:00 |
|
Felix Cravic
|
716e2ea5ef
|
Remove unnecessary synchronized block and allow for custom drop amount
|
2020-12-08 00:12:49 +01:00 |
|
KrystilizeNevaDies
|
061c1600e7
|
Annotation and type fix
Just clean up annotations on primatives and instance v InstanceContainer
|
2020-12-08 09:12:42 +10:00 |
|
Felix Cravic
|
99f4c8f2d3
|
No item copy when swapping item hand
|
2020-12-08 00:08:27 +01:00 |
|
Felix Cravic
|
0de69ae2ad
|
Merge remote-tracking branch 'origin/master'
|
2020-12-07 23:58:34 +01:00 |
|
Felix Cravic
|
ff4580c41b
|
Prevent unnecessary item copy during drop
|
2020-12-07 23:57:57 +01:00 |
|
KrystilizeNevaDies
|
e8e30b1328
|
Fix first tick call
|
2020-12-08 07:52:46 +10:00 |
|
KrystilizeNevaDies
|
6cc8946963
|
Add instance tick event
|
2020-12-08 07:30:14 +10:00 |
|
Felix Cravic
|
40787902e3
|
Small demo code update
|
2020-12-06 20:20:05 +01:00 |
|
Felix Cravic
|
07990b26e9
|
Better comment for Entity#isAutoViewable
|
2020-12-06 20:11:14 +01:00 |
|
Felix Cravic
|
0f97930f79
|
Fix player gravity
|
2020-12-06 16:52:04 +01:00 |
|
Felix Cravic
|
43aca45c05
|
Fixed void promise on channel write
|
2020-12-06 05:52:36 +01:00 |
|
Felix Cravic
|
70000e75d5
|
Added gravity acceleration and terminal velocity (and an utils method to get the gravity tick count)
|
2020-12-06 01:36:37 +01:00 |
|
Felix Cravic
|
d5e5412309
|
Allow custom EntityCreature death animation time
|
2020-12-06 00:06:52 +01:00 |
|
Felix Cravic
|
3f487f4f4f
|
Entity with scheduled removal still execute tick until complete removal, added some comments
|
2020-12-05 23:57:07 +01:00 |
|
Felix Cravic
|
8966cc7ec8
|
Merge remote-tracking branch 'origin/master'
|
2020-12-05 20:55:04 +01:00 |
|
Felix Cravic
|
a58dab4f34
|
Disable netty errors processing by default
|
2020-12-05 20:54:39 +01:00 |
|
R0bbyYT
|
a1ef2b21c3
|
The leather armor pieces are now correctly colored
|
2020-12-05 20:45:54 +01:00 |
|
Felix Cravic
|
e3f6b73241
|
NettyPlayerConnection.java#write and flush should return a ChannelFuture
|
2020-12-05 20:35:43 +01:00 |
|
LeoDog896
|
e6c314a5e5
|
Ignore kotlin in classloader
|
2020-12-05 11:44:18 -05:00 |
|
Felix Cravic
|
1f1bd348b5
|
Fix player teleport being teleported inside a block
|
2020-12-05 17:14:10 +01:00 |
|
Felix Cravic
|
3c0fa42758
|
Precision in the documentation, syntax argument count needs to be higher than 0
|
2020-12-05 16:19:54 +01:00 |
|
Felix Cravic
|
59b4b7996d
|
Do not retrieve all chunks when teleporting in the same chunk
|
2020-12-05 16:16:25 +01:00 |
|
Felix Cravic
|
f7753ab447
|
#showPlayer cleanup
|
2020-12-05 16:09:08 +01:00 |
|
Felix Cravic
|
6bd6d22651
|
Added EntityCreature#switchEntityType
|
2020-12-05 01:36:06 +01:00 |
|
Felix Cravic
|
cd44732cbc
|
Velocity cleanup
|
2020-12-04 19:19:30 +01:00 |
|