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 |
|
Felix Cravic
|
9b8579eaf4
|
Small cleanup
|
2020-12-04 18:25:24 +01:00 |
|
KrystilizeNevaDies
|
d6c0a24bed
|
Add Vector & BlockPosition copyCoordinates
|
2020-12-04 15:17:25 +10:00 |
|
Felix Cravic
|
ddf8cc383d
|
Fixed concurrent exception when shutting down the extension manager
|
2020-12-03 17:54:23 +01:00 |
|
Felix Cravic
|
6f8cbeb73b
|
Unload extensions when shutting down the server
|
2020-12-03 17:35:04 +01:00 |
|
Felix Cravic
|
d61a598c94
|
Prevent players being disconnected two times during a clean stop, also made shutdown tasks being executed in a single thread
|
2020-12-02 21:28:36 +01:00 |
|
Felix Cravic
|
5de6e466ee
|
Execute the shutdown tasks before closing the netty server
|
2020-12-02 20:55:05 +01:00 |
|
Felix Cravic
|
6748fbe6bf
|
Merge remote-tracking branch 'origin/master'
|
2020-12-02 20:35:23 +01:00 |
|
Felix Cravic
|
635d6f9f95
|
Fixed EntityCreeper metadata
|
2020-12-02 20:35:09 +01:00 |
|
KrystilizeNevaDies
|
936f7b9392
|
Add direct playSound variant
|
2020-12-03 00:08:09 +10:00 |
|
Felix Cravic
|
181f20289c
|
Cleanup for the sound code, and comment for PlayerLoginEvent about not working player methods
|
2020-12-02 14:36:54 +01:00 |
|
Felix Cravic
|
369910aea4
|
Fixed a terrible typo
|
2020-12-01 18:52:37 +01:00 |
|
Felix Cravic
|
aa4ee97710
|
Added getter and setter for the entity in GoalSelector
|
2020-12-01 18:21:19 +01:00 |
|
KrystilizeNevaDies
|
92b06b6992
|
sendPacketToSelf
Added sendPacketToSelf for more utility on veiwable player
|
2020-11-30 10:25:12 +10:00 |
|
Felix Cravic
|
8675a90e9c
|
Added the NavigableEntity interface to use the pathfinder (instead of hardcoding it in EntityCreature)
|
2020-11-29 23:14:21 +01:00 |
|
Felix Cravic
|
75e3ffde8d
|
Comments for FollowTargetGoal
|
2020-11-29 22:19:13 +01:00 |
|
Felix Cravic
|
b6aa81bbbf
|
Prevent adding a command syntax without any argument
|
2020-11-29 21:34:54 +01:00 |
|
Felix Cravic
|
415bcda6fd
|
Allow custom Netty thread count
|
2020-11-29 17:49:02 +01:00 |
|
Felix Cravic
|
cabdb60370
|
Fix pathfinding NPE
|
2020-11-29 17:27:24 +01:00 |
|
Felix Cravic
|
bb3d57b1e5
|
WIP support for flying entities
|
2020-11-29 16:50:57 +01:00 |
|
Felix Cravic
|
d0ad143c0f
|
Prevent dropping air
|
2020-11-29 16:41:56 +01:00 |
|
Felix Cravic
|
1f2e4de0b3
|
Use of a ScheduledExecutorService for the server ticks (instead of Thread#sleep)
|
2020-11-28 21:50:34 +01:00 |
|
Felix Cravic
|
a7b6a20cae
|
Prevent enabling mojang auth multiple time + cleanup
|
2020-11-28 20:57:08 +01:00 |
|
Felix Cravic
|
bd49ae05f4
|
Prevent the generation of authentication service when mojang auth is disabled
|
2020-11-28 20:49:05 +01:00 |
|
Felix Cravic
|
c21acd97f3
|
Use unpooled buffer in ChunkDataPacket to reduce memory usage
|
2020-11-27 14:32:13 +01:00 |
|
Felix Cravic
|
1579bee693
|
Made Entity#generateId public and prevent writing null data to BinaryWriter
|
2020-11-27 13:29:38 +01:00 |
|
Felix Cravic
|
cac3c29e41
|
Added block command argument type
|
2020-11-27 11:24:32 +01:00 |
|
Felix Cravic
|
80d899a53a
|
EntityCreature scheduling priority for pathfinding can now be modified
|
2020-11-27 10:47:35 +01:00 |
|
Felix Cravic
|
8ae82a81a1
|
Cleanup
|
2020-11-27 00:08:32 +01:00 |
|
Felix Cravic
|
fe568abe70
|
Entity gravity fixed 2
|
2020-11-26 22:29:06 +01:00 |
|
Felix Cravic
|
3bc90fffd9
|
Prevent EntityCreature from ignoring gravity
|
2020-11-26 14:14:40 +01:00 |
|
Felix Cravic
|
e813037475
|
Fixed position fields update for netty connections
|
2020-11-26 13:38:52 +01:00 |
|
Felix Cravic
|
63196e024b
|
Fixed EntityTeleportPacket being sent for every position fields modification and use a proper entity movement packet instead of velocity
|
2020-11-26 12:46:49 +01:00 |
|
Eoghanmc22
|
012e65337d
|
Improve follow target goal
|
2020-11-25 21:36:18 -05:00 |
|
Eoghanmc22
|
f8840cf7a9
|
Merge branch 'master' of https://github.com/Minestom/Minestom
|
2020-11-25 20:15:08 -05:00 |
|
Eoghanmc22
|
338a1737c7
|
wait for netty to finish shutting down
|
2020-11-25 20:13:38 -05:00 |
|
Felix Cravic
|
0fc494d9df
|
Fixed concurrent exception with attributes
|
2020-11-26 02:00:20 +01:00 |
|
Felix Cravic
|
79a5f99358
|
A few internal comments
|
2020-11-26 01:38:08 +01:00 |
|
Felix Cravic
|
ae845e38ab
|
Small cleanup
|
2020-11-26 01:24:43 +01:00 |
|
Eoghanmc22
|
6d203b975e
|
Merge branch 'master' of https://github.com/Minestom/Minestom
|
2020-11-25 19:06:45 -05:00 |
|
Felix Cravic
|
431d20ef73
|
Fixed syntax starting with an unspecified length argument
|
2020-11-26 00:57:01 +01:00 |
|
Eoghanmc22
|
296d645400
|
Merge branch 'master' of https://github.com/Minestom/Minestom
Conflicts:
src/main/java/net/minestom/server/benchmark/BenchmarkManager.java
|
2020-11-25 11:29:50 -05:00 |
|
Eoghanmc22
|
d1138f9f81
|
Fix race condition
|
2020-11-25 11:28:37 -05:00 |
|
Felix Cravic
|
049e3b8495
|
Position in Player#setInstance can be null
|
2020-11-25 12:21:29 +01:00 |
|
Felix Cravic
|
ab73b0fa3e
|
Player#setInstance can now take an optional Position parameter
|
2020-11-25 12:12:58 +01:00 |
|
Felix Cravic
|
edf22fcb66
|
Prevent getting the cpu monitoring message if the benchmark manager is not enabled
|
2020-11-25 11:39:36 +01:00 |
|
Felix Cravic
|
df4dd762d9
|
Minestom is not really an alternative to Bukkit
|
2020-11-25 10:58:09 +01:00 |
|
Felix Cravic
|
24d4e9b7e4
|
Added BatchOption
|
2020-11-25 09:47:04 +01:00 |
|
Felix Cravic
|
7bbb095156
|
Fixed Player#setInstance not refreshing chunks when already in an instance
|
2020-11-24 22:56:12 +01:00 |
|
Felix Cravic
|
38bcb755c2
|
Fixed PotionEffect ids
|
2020-11-23 10:08:23 +01:00 |
|
Felix Cravic
|
daa72719a0
|
Specify that ASK_SERVER is required for dynamic write callback
|
2020-11-22 23:04:06 +01:00 |
|
Felix Cravic
|
0705ab34ed
|
Allow custom suggestion type with ArgumentDynamicWord
|
2020-11-22 22:58:14 +01:00 |
|
Felix Cravic
|
e09397a0e2
|
Use of a lock object to synchronize instance entities collections
|
2020-11-22 22:18:47 +01:00 |
|
Eoghanmc22
|
d056fceb8a
|
slightly improve performance and fix memory leak
|
2020-11-22 12:44:08 -05:00 |
|
themode
|
a8c1c73282
|
Use of a synchronized wrapper for InstanceContainer chunks map
|
2020-11-22 17:40:57 +01:00 |
|
Eoghanmc22
|
414245a1a6
|
Merge branch 'master' of https://github.com/Minestom/Minestom
|
2020-11-22 10:33:38 -05:00 |
|
themode
|
5966cdaa47
|
Reduced the number of garbage objects
|
2020-11-22 16:32:15 +01:00 |
|
Eoghanmc22
|
a934df2af2
|
Merge branch 'master' of https://github.com/Minestom/Minestom
|
2020-11-22 08:59:52 -05:00 |
|
themode
|
0a5349226e
|
Replaced CopyOnWriteArraySet to IntOpenHashSet for block entities
|
2020-11-22 14:58:01 +01:00 |
|
themode
|
fcb59ff7e7
|
Removed unnecessary biomes clone
|
2020-11-22 14:52:37 +01:00 |
|
themode
|
2d7b4360c2
|
Fixed non-0 respawn point
|
2020-11-22 14:11:18 +01:00 |
|
themode
|
acc013be6a
|
Fixed glitched chunks when teleporting a player + divided teleportation count by 2 during first join
|
2020-11-22 13:56:36 +01:00 |
|
themode
|
5d8b59c012
|
Fixed MinecraftServer#setChunkViewDistance making players show more chunks than what their option is
|
2020-11-22 13:23:53 +01:00 |
|
themode
|
aa2f8489b2
|
Fixed max string length
|
2020-11-22 11:16:21 +01:00 |
|
themode
|
8330abbc4b
|
Fixed mojang authentication
|
2020-11-21 23:33:06 +01:00 |
|
Eoghanmc22
|
1af58b1d96
|
fix Main
|
2020-11-21 17:08:56 -05:00 |
|
Eoghanmc22
|
04fc38a14f
|
Merge branch 'master' of https://github.com/Minestom/Minestom
|
2020-11-21 14:59:17 -05:00 |
|
themode
|
48b637cbc8
|
Fixed player spawn when a respawn point is not specified
|
2020-11-21 20:56:32 +01:00 |
|
Eoghanmc22
|
f2f0625666
|
Merge branch 'master' of https://github.com/Minestom/Minestom
Conflicts:
src/test/java/demo/PlayerInit.java
|
2020-11-21 13:23:16 -05:00 |
|
Eoghanmc22
|
926c02b7f5
|
Small optimizations to netty.
|
2020-11-21 13:09:03 -05:00 |
|
themode
|
ab98c11de3
|
ItemStack#isSimilar should return true if both items have the same identifier
|
2020-11-21 11:42:47 +01:00 |
|
themode
|
3087b120f9
|
Basic support for linux io_uring
|
2020-11-21 10:42:07 +01:00 |
|
themode
|
3193c0894e
|
Typo fix
|
2020-11-21 10:27:39 +01:00 |
|