Commit Graph

657 Commits

Author SHA1 Message Date
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
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
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
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
30d257c847 Remove unnecessary #callEvent override in Entity 2020-12-09 22:18:11 +01:00
Felix Cravic
f7c05a445e Remove #copy 2020-12-09 21:34:53 +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
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
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
1f1bd348b5 Fix player teleport being teleported inside a block 2020-12-05 17:14:10 +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
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
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
aa4ee97710 Added getter and setter for the entity in GoalSelector 2020-12-01 18:21:19 +01: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
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
bd49ae05f4 Prevent the generation of authentication service when mojang auth is disabled 2020-11-28 20:49:05 +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
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
Felix Cravic
0fc494d9df Fixed concurrent exception with attributes 2020-11-26 02:00:20 +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
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
7bbb095156 Fixed Player#setInstance not refreshing chunks when already in an instance 2020-11-24 22:56:12 +01:00
Eoghanmc22
a934df2af2 Merge branch 'master' of https://github.com/Minestom/Minestom 2020-11-22 08:59:52 -05: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
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
themode
6ecf53c863 Increased player synchronization group from 50 to 75 2020-11-21 08:14:25 +01:00
themode
500fc2e903 Fixed chunk being asked two times 2020-11-21 08:06:04 +01:00
themode
404ddb5bf9 Added a new item data ownership system, replacing the old nbt consumer and NbtDataImpl 2020-11-21 06:37:44 +01:00
Eoghanmc22
62663ccb64 Merge branch 'master' of https://github.com/Minestom/Minestom 2020-11-20 13:38:41 -05:00
themode
2ae602df87 Rollback teleportation to respawn point 2020-11-20 19:23:50 +01:00
Eoghanmc22
9a64a0a409 Merge branch 'master' of https://github.com/Minestom/Minestom
 Conflicts:
	src/main/java/net/minestom/server/entity/Player.java
	src/main/java/net/minestom/server/network/player/NettyPlayerConnection.java
	src/main/java/net/minestom/server/utils/PacketUtils.java
2020-11-20 08:56:58 -05:00
themode
d7d610ffef Fixed the player receiving multiple self position packet 2020-11-20 14:39:10 +01:00
Eoghanmc22
6fd401589c slightly optimize CommandManager 2020-11-20 08:07:09 -05:00
themode
0739b57dd1 Server packet listener now takes a collection of player, for future network optimization 2020-11-20 03:47:29 +01:00
TheMode
a0fccca1c6
Merge pull request #69 from JesFot/master
Add code style checks
2020-11-20 02:55:33 +01:00
TheMode
60bb0fec73
Merge pull request #71 from LeoDog896/master
Add llama entity with hitbox
2020-11-20 02:55:02 +01:00
JesFot
2c18312988
Merge branch 'master' into master 2020-11-20 02:12:02 +01:00
LeoDog896
974372d2bd Merge remote-tracking branch 'upstream/master' 2020-11-19 19:55:00 -05:00
LeoDog896
66f038113f Added EntityLlama 2020-11-19 19:53:22 -05:00
TheMode
af730fb73c Decrease default synchronization time group to 50
Signed-off-by: TheMode <themode@outlook.fr>
2020-11-19 08:11:09 +01:00
themode
69a268aa9d Fixed first player teleportation when the respawn point is not 0 0 0 2020-11-19 08:05:08 +01:00
themode
828069c685 Cleanup + reduced default chunk view distance to 8 2020-11-19 07:00:41 +01:00
Eoghanmc22
f307303758 Netty improvements 2020-11-18 20:28:56 -05:00
Eoghanmc22
618fd2b536 Begin optimizing netty. 2020-11-18 13:39:06 -05:00
themode
cdbf514918 Player#getPlayerSynchronizationTickDelay comment 2020-11-18 07:44:57 +01:00
themode
6869c834f3 Allow dynamic synchronization delay based on the number of viewers 2020-11-18 07:43:45 +01:00
themode
2a1a1cdcbc add method to modify and retrieve the player synchronization cooldown 2020-11-18 05:19:44 +01:00
themode
553a280993 Per instance thread is now the default, added a configurable cooldown for player position refresh 2020-11-18 05:13:49 +01:00
JësFot
d968946c44 Restore deleted empty lines 2020-11-18 00:52:33 +01:00
JësFot
ad0f02cfa9 Add checkstyle gradle plugin 2020-11-18 00:50:27 +01:00
JësFot
3597af34f9 Add comments to attribute system 2020-11-17 15:52:20 +01:00
JësFot
d738f9fddd Implement attribute instances 2020-11-17 14:59:47 +01:00
themode
798b5d4853 Only flush during player update 2020-11-16 12:03:22 +01:00
themode
540405e796 Optimized PacketCompressor 2020-11-16 11:41:03 +01:00
themode
310733b747 Fixed stacking not working with NbtDataImpl 2020-11-16 07:40:45 +01:00
themode
2285c9622a If the garbage collector is happy, everyone is - TheMode 2020-11-15 08:03:33 +01:00
themode
47a18fc305 Created PaletteStorage#clean 2020-11-15 05:12:28 +01:00
themode
f67328c7a7 Clarify that entity ids are unique server-wide 2020-11-14 23:24:16 +01:00
themode
44fbeaa2d8 Use player respawnPosition in the SpawnPosition packet 2020-11-14 23:21:47 +01:00
themode
ae8a182eb8 Read player skin from velocity 2020-11-14 22:13:01 +01:00
themode
1d1e82aeb3 Prevent infinite load screen when not teleporting the player on spawning 2020-11-14 21:45:30 +01:00
themode
ea6981c4b0 Space cleanup 2020-11-14 21:05:23 +01:00
themode
0abedd7453 Optimization to prevent permanent map lookup 2020-11-14 09:02:29 +01:00
themode
648cad85c2 Entity implements now PermissionHandler 2020-11-14 07:09:36 +01:00
themode
a56a9aba3e Clarification for FakePlayer#initPlayer about player registration 2020-11-14 02:30:42 +01:00
themode
a1fd711b85 Created DebugUtils 2020-11-13 21:57:45 +01:00
themode
c60f625c55 Revamp of the packet sending code, added possibility to have listeners for outgoing packets 2020-11-13 07:43:35 +01:00
themode
041bc721c8 Cleanup UpdateManager 2020-11-12 00:18:36 +01:00
themode
b6bf6a17ba Merge branch 'master' into test-palette
# Conflicts:
#	src/main/java/net/minestom/server/instance/DynamicChunk.java
2020-11-11 04:27:03 +01:00
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
7db94f3a65 Support for velocity modern forwarding 2020-11-09 23:48:34 +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
7bdfc93334 Added some comments about exceptions 2020-11-07 04:42:48 +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
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
0184ada9a0 Renamed #clone to #copy 2020-10-31 18:03:15 +01:00
themode
c4f36a9cea Cleanup + comments 2020-10-31 05:09:30 +01:00
themode
00ce2be258 Fixed shared instances tick being called 2 times 2020-10-31 02:55:55 +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
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
758c132645 Make the player display name nullable 2020-10-27 12:45:37 +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
ea80d56bd0 Small packet cleanup, removed LevelType, new RawJsonMessage 2020-10-25 22:19:27 +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
a8796382b7 Clear cache of viewed boss bars and advancement tabs once the player disconnect 2020-10-25 12:28:06 +01:00
themode
cb28fdc208 Annotations for data & command 2020-10-24 16:58:27 +02:00
themode
27e0b86cb5 Added annotations for all events 2020-10-24 16:33:13 +02:00
themode
2f21a7c233 More annotations. 2020-10-24 11:19:54 +02:00
themode
3d96b7a4b4 A lot of annotations a bit everywhere. 2020-10-24 10:46:23 +02:00
themode
3665241e94 Added OptionalCallback for convenience 2020-10-22 22:55:40 +02:00
themode
3cb880cf80 General cleanup 2020-10-22 12:55:53 +02:00
themode
47677766ca Improvement for the DamageType code 2020-10-22 12:21:50 +02:00
themode
f72dce3a46 More comments for message related classes 2020-10-21 16:26:55 +02:00
themode
c130fb6144 Added getter for ExtensionManager 2020-10-17 16:30:37 +02:00
themode
523b883959 Added Player#sendTitleTime and comments relating to titles. 2020-10-17 14:46:14 +02:00
themode
fbe4126021 Added Player#chat to simulate chat message 2020-10-16 11:37:00 +02:00
themode
9e2e48f79c Fix bug when you could send a break a custom block with a finished digging packet 2020-10-16 09:12:31 +02:00
themode
660a67e53e English fix 2020-10-15 21:16:31 +02:00
themode
bd3335ae1d General cleanup 2020-10-15 08:48:13 +02:00
themode
0e5831cdc3 Cleanup + typo fix 2020-10-13 12:49:29 +02:00
themode
81c6f97336 Comments 2020-10-12 06:41:47 +02:00
themode
9184b3054f Fix the first #setInstance being called in the main update thread 2020-10-12 04:14:06 +02:00
themode
af1f976e53 Comments 2020-10-11 18:57:24 +02:00
themode
f2004f1ecd More comments for the command API 2020-10-11 15:27:23 +02:00
themode
739c3f1d7d Allow non-custom block in PlayerStartDiggingEvent 2020-10-10 13:46:41 +02:00
themode
dd3345ff9a ColoredText comments + cleanup 2020-10-06 07:41:35 +02:00
themode
a757f4b97b Simplify EventHandler implementation 2020-10-06 04:06:59 +02:00
themode
37d3c9c6bc Allow for custom chat message serializer using JsonMessage 2020-10-06 03:43:57 +02:00
themode
04498ed0f0 Chunk code cleanup & optimization 2020-10-05 10:03:25 +02:00
themode
5b26031a92 Comments for BoundingBox 2020-10-05 03:59:47 +02:00
TheMode
ef5c57f6da
Merge pull request #58 from Minestom/syntax-enums
Final for enums and some annotations.
2020-09-29 21:59:03 +02:00
Articdive
29c6d92bdc
Final for enums and some annotations. 2020-09-29 21:45:16 +02:00
themode
e96aebaaba Fix client digging packet parsing 2020-09-28 18:27:28 +02:00
themode
af9851c334 Allow registering instance extending Instance and not necessary InstanceContainer 2020-09-28 02:29:41 +02:00
themode
670887f7b3 Added InstanceManager#unregisterInstance 2020-09-27 19:02:05 +02:00
Eoghanmc22
5ff56212a2 Merge branch 'master' of https://github.com/Minestom/Minestom 2020-09-26 16:06:20 -04:00
Eoghanmc22
ae44fa124d Fix teleports 2020-09-26 16:03:51 -04:00
themode
3464d27ab1 Added entity in EntitySpawnEvent 2020-09-26 21:24:10 +02:00
themode
ce81c3a85d Fix position issue when cancelling the breaking of a block just below the player 2020-09-25 21:50:50 +02:00
themode
5620e9a8cf Cleanup 2020-09-24 01:50:25 +02:00
themode
2a9adfc751 New banner 2020-09-24 01:03:13 +02:00
themode
8c623072f3 Calling an entity event will now also trigger it for the instance (useful for instance-specific listeners) 2020-09-23 22:01:47 +02:00
themode
403e0c897f Added EventHandler#getEventCallbacks 2020-09-20 20:11:46 +02:00
jglrxavpok
b6fc3ee978 Publish with Javadoc & Sources 2020-09-20 15:04:07 +02:00
themode
1261974420 Added Player#getExp and Player#getLevel 2020-09-20 00:27:29 +02:00
themode
4c93450520 Added more Instance comments 2020-09-19 19:06:21 +02:00
themode
c43064c3a0 Replaced chunk consumers by ChunkCallback and fixed chunk callbacks being called in the block pool when in a batch 2020-09-19 18:35:00 +02:00
themode
18c7a61f89 Remove useless math methods 2020-09-16 01:33:37 +02:00
themode
465d83ae77 Comments for Instance & InstanceContainer 2020-09-11 00:14:17 +02:00
themode
6c4b9e0833 Added Player#isSprinting, Player#isSneaking and some cleanup related to last damage source + LivingEntity#isInvulnerable 2020-09-10 21:23:59 +02:00
themode
7b93881e59 Made DamageType a DataContainer 2020-09-05 16:45:33 +02:00
Nesaak
e465b01f66 Add Entity#getChunk convenience method 2020-09-02 18:43:42 -04:00
themode
e484e4a4d6 Updated Hydrazine to 1.4.2 2020-09-01 21:16:07 +02:00
themode
672887807a Cleanup chunks sending 2020-08-25 20:55:40 +02:00
jglrxavpok
b7b95e0ebe Fixed respawn button disconnecting the client 2020-08-25 16:07:19 +02:00
themode
ebb1b1607d Do not compute target block stage increase each tick 2020-08-21 16:09:26 +02:00
themode
f2222cfaf2 Allow negative break delay to skip stages 2020-08-21 12:52:29 +02:00
themode
6b778f425a Cleanup 2020-08-20 19:06:55 +02:00
themode
f560f4cb0b Use tick instead of ms to compute break time 2020-08-20 14:01:00 +02:00
themode
5b394e5bf7 Rewrite of the CustomBlock break delay system + support for multi player digging 2020-08-20 02:42:27 +02:00
themode
571bb7a866 Renamed PacketWriter/Reader to BinaryWriter/Reader + optimization to serializing 2020-08-19 20:34:21 +02:00
themode
8b30caa8c8 Micro optimization + cleanup 2020-08-19 01:24:51 +02:00
themode
84b74eb45f Cache pathfinder block data 2020-08-17 21:07:37 +02:00
themode
e5e1d1614b Optimize chunk index to coordinate conversion + made the chunk map in InstanceContainer using long primitive but non-concurrent, requiring synchronization 2020-08-17 16:50:23 +02:00
themode
97a1141583 Replaced player viewableChunks set interaction to the Chunk class (Viewable support) 2020-08-16 19:18:34 +02:00
Felix Cravic
caa89dd2f8 Chunk update 2020-08-16 00:53:42 +02:00
Eoghanmc22
a7484f8644 Fix npes 2020-08-15 18:01:10 -04:00
Eoghanmc22
1798b50092 Merge branch 'master' of https://github.com/Minestom/Minestom
 Conflicts:
	src/main/java/net/minestom/server/MinecraftServer.java
	src/main/java/net/minestom/server/instance/MinestomBasicChunkLoader.java
2020-08-15 10:06:01 -04:00
Felix Cravic
ab86400e80 Fix Player#sendPluginMessage 2020-08-15 13:42:27 +02:00
Felix Cravic
939d06cfb5 Added Player#sendPluginMessage 2020-08-15 13:38:57 +02:00
Felix Cravic
92f914ef2d Cleanup 2020-08-15 13:32:36 +02:00
Eoghanmc22
1b7641c0e1 Merge branches '1.16.2' and 'master' of https://github.com/Minestom/Minestom
 Conflicts:
	src/main/java/net/minestom/server/UpdateManager.java
	src/main/java/net/minestom/server/thread/PerGroupChunkProvider.java
	src/main/java/net/minestom/server/thread/PerInstanceThreadProvider.java
2020-08-14 20:52:34 -04:00
Felix Cravic
1d047b5de3 Removed useless synchronization 2020-08-14 15:24:57 +02:00
Eoghanmc22
cc01a48cf1 Minestom now properly adapts when a player changes their render distance, also fixed a bug that pointers to chunks that were unloaded were kept in the viewableChunks list until the player's instance was changed. 2020-08-13 17:54:55 -04:00
Eoghanmc22
d2f6c08c4e Merge branch 'master' of https://github.com/Minestom/Minestom 2020-08-13 17:25:59 -04:00
Eoghanmc22
74c99e8886 Fix glitchy chunk loading when you first login and don't send chunks to a player that are out of the player's render distance. 2020-08-13 17:23:35 -04:00
Eoghanmc22
94279e2dbf Merge branch 'master' of https://github.com/Minestom/Minestom 2020-08-13 14:51:40 -04:00
Eoghanmc22
d66d87ed97 Rate Limiting fixes 2020-08-13 14:51:01 -04:00
Felix Cravic
2b529e05d0 Fixed error with unloaded chunks 2020-08-13 20:43:45 +02:00
Eoghanmc22
542d603d60 1.16.2 support 2020-08-12 21:08:03 -04:00
Felix Cravic
91711401c0 Added options for the pathfinder 2020-08-12 13:10:57 +02:00
Felix Cravic
5a6afbbb89 Merge remote-tracking branch 'origin/master' 2020-08-12 07:46:23 +02:00
Felix Cravic
a9aff3e6ef Remove pathfinder specific thread pool + cleanup 2020-08-12 07:46:07 +02:00
jglrxavpok
6856904905 Large framebuffers for more than 128x128 rendering 2020-08-11 00:35:25 +02:00
jglrxavpok
a7139d19b6 Merge branch 'permission-api' 2020-08-10 21:43:15 +02:00
Felix Cravic
dad8503ee5 Optimize EntityEquipmentPacket 2020-08-10 13:55:06 +02:00
Felix Cravic
c2165abe1f Added ChunkUtils#isLoaded + optimization of the thread providers 2020-08-10 11:32:03 +02:00
Felix Cravic
13275eb534 Fixed synchronization with unloaded chunks 2020-08-10 08:55:01 +02:00
Felix Cravic
008002f11b WIP synchronization fix + updated hydrazine 2020-08-10 07:24:43 +02:00
Felix Cravic
644c1d9a71 Added pathfinder thread pool 2020-08-09 21:56:01 +02:00
Felix Cravic
1a6df8e035 Optimize entity events adding/removing 2020-08-09 17:15:02 +02:00
R0bbyYT
ba07fa78f0 Fixed 2020-08-09 17:10:58 +02:00
R0bbyYT
91de2ee6a2 Merge remote-tracking branch 'origin/feature/scoreboard'
# Conflicts:
#	src/main/java/net/minestom/server/entity/Player.java
2020-08-09 17:06:35 +02:00
Felix Cravic
1f2451f0b2 Added AdvancementTab#getTabs 2020-08-09 14:13:01 +02:00
Felix Cravic
63ed21380c Fixed number arguments 2020-08-09 10:59:12 +02:00
Articdive
bf8c632b32
Fix dolphin bounding-box. 2020-08-09 10:18:23 +02:00
Articdive
f1f3885751
Start Entity abstraction, add some missing entities. 2020-08-09 10:12:44 +02:00
Felix Cravic
67db1d6568 Replaced blockId by blockStateId 2020-08-09 09:55:30 +02:00
Felix Cravic
3e7ce7c1a0 Improved MeleeAttackGoal 2020-08-09 08:20:38 +02:00
Felix Cravic
7b5c6dfc44 Added LastEntityDamagerTarget & LivingEntity#getLastDamageType 2020-08-09 08:16:54 +02:00
Felix Cravic
dcf6bc2082 Fixed synchronization issue with pathfinder 2020-08-09 05:45:26 +02:00
Felix Cravic
08b4b8576e Added MeleeAttackGoal + fix velocity for players 2020-08-09 05:13:36 +02:00
Felix Cravic
bcca8a67d1 Changed ClosestEntityTarget 2020-08-09 00:30:26 +02:00
R0bbyYT
bbe9cda40b Renamed BelowNameScoreboard to BelowNameTag 2020-08-08 13:36:15 +02:00
Articdive
e44d5283b4
Create RandomLookAroundGoal 2020-08-08 10:20:36 +02:00
TheMode
4e38b3dfb3
Merge pull request #32 from Minestom/eat-block-goal
Create EatBlockGoal
2020-08-07 14:07:43 +02:00
Articdive
36ccf3bcab
Create EatBlockGoal 2020-08-07 13:21:59 +02:00
R0bbyYT
1ad20209d0 BelowNameTag synchronisation, documentation 2020-08-07 12:16:56 +02:00
Felix Cravic
75ef5e7b46 EntityCreature#setPathTo now synchronized 2020-08-07 09:28:15 +02:00
Felix Cravic
45fd0dc22a Comments 2020-08-07 09:14:50 +02:00
Felix Cravic
b7a720ee2d Update Hydrazine 2020-08-07 06:36:03 +02:00
Felix Cravic
424256dcb6 Fixed entities not being removed from viewing list after changing instance 2020-08-06 18:39:56 +02:00
Felix Cravic
920a16300e Fixed PerGroupChunkProvider 2020-08-06 18:32:56 +02:00
Felix Cravic
118ed220e3 Added PlayerTarget + FollowTargetGoal 2020-08-06 13:46:30 +02:00
Felix Cravic
bf95b92c6a Entity wandering 2020-08-06 12:33:45 +02:00
Felix Cravic
3fd1efb120 Basic goal selector API 2020-08-06 11:56:43 +02:00
Felix Cravic
20e78afb40 Remove BossBar from the Player class, BossBar#addViewer should be used instead 2020-08-06 08:17:59 +02:00
Felix Cravic
bf0dd4a750 Advancement API 2020-08-06 07:42:00 +02:00
Felix Cravic
64719a732c Added EntityEyeOfEnder 2020-08-06 05:00:43 +02:00
Felix Cravic
1440aa8403 Added CustomBlock#getDrag 2020-08-06 04:54:02 +02:00
Felix Cravic
4da05b2c3f Use ColoredText when possible 2020-08-05 18:25:11 +02:00
Articdive
2e6b53b2fc
Add Soul fire to PFBlockDescription 2020-08-04 17:39:37 +02:00
Articdive
f5244a6375
Update/Improve Pathfinding 2020-08-04 17:37:28 +02:00
R0bbyYT
4127eea401 Support for all living entities / Added team builder / Comments 2020-08-04 12:44:07 +02:00
Felix Cravic
baccc36ed7 Allow ask_server tab complete for CommandProcessor 2020-08-04 04:21:11 +02:00
razorrider7
a09b217962 Update EntityType To use Namespaced IDs 2020-08-03 18:48:46 -04:00
Felix Cravic
dfa4cb8b37 Cleanup + comments 2020-08-03 06:36:42 +02:00