Commit Graph

1528 Commits

Author SHA1 Message Date
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