Commit Graph

623 Commits

Author SHA1 Message Date
Articdive
856d328668
Small optimizations. 2020-08-08 13:41:25 +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
TheMode
72a80da0bc
Merge pull request #31 from Minestom/improve-utility
Make utility classes final and not constructable.
2020-08-07 09:15:37 +02:00
Felix Cravic
45fd0dc22a Comments 2020-08-07 09:14:50 +02:00
Articdive
d5b8ead337
Make utility classes final and not constructable. 2020-08-07 08:10:10 +02:00
Rems19
69e935e4dd
Fix removePlayer in ConnectionManager 2020-08-07 07:20:15 +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
a38a143bba Rework of the thread provider + ConnectionManager#getPlayer for UUID 2020-08-06 16:28:04 +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
51af720bd4 Added Advancement#toMapping 2020-08-06 02:37:58 +02:00
Felix Cravic
51e6f2ff19 Added AdvancementTab#complete WIP 2020-08-06 02:19:58 +02:00
Felix Cravic
4da05b2c3f Use ColoredText when possible 2020-08-05 18:25:11 +02:00
Felix Cravic
b339312222 Comments + advancement fix 2020-08-05 14:28:15 +02:00
Felix Cravic
b066e1b78f Advancements packet are now cached 2020-08-05 14:03:52 +02:00
Felix Cravic
2ab7427b94 Added AdvancementTabEvent 2020-08-05 11:34:49 +02:00
Felix Cravic
87fcb83837 You cannot create two advancement tab with the same identifier 2020-08-05 11:13:57 +02:00
R0bbyYT
70c969ced7 Deletes teams, gets players/entities of a team 2020-08-05 11:02:54 +02:00
Felix Cravic
cf1ad3293c Merge remote-tracking branch 'origin/master' 2020-08-05 10:56:28 +02:00
Felix Cravic
61857bd4b6 Advancement API 2020-08-05 10:56:16 +02:00
TheMode
c38507842e
Merge pull request #27 from Minestom/update-pathfinding
Update/Improve Pathfinding
2020-08-05 09:59:05 +02:00
jglrxavpok
247dfeefc8 OpenGL rendering on maps 2020-08-04 23:01:35 +02:00
Articdive
9dec700ce7
Add recipes for Stonecutters. 2020-08-04 18:24:08 +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
981d247f02 Fixed CommandProcessor commands, allow to disable writing tracking 2020-08-04 06:28:21 +02:00
Felix Cravic
aecf0f427a Added dynamic arguments for Command (allow for server tab completion) 2020-08-04 06:14:42 +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
593f2002a9 Added the Notification API 2020-08-04 00:32:03 +02:00
Felix Cravic
7007c507c1 Fix PlayerCommandEvent being called 2 times 2020-08-03 23:55:54 +02:00
TheMode
251fbbda32
Merge pull request #24 from Minestom/advancements
Added Advancements and Advancement Toasties.
2020-08-03 17:24:05 +02:00
Articdive
30ff313cad
Added Advancements and Advancement Toasties. 2020-08-03 17:17:32 +02:00
jglrxavpok
5971db5b92 Allow updating only a part of the map 2020-08-03 17:03:34 +02:00
jglrxavpok
07aaab77a9 Rendering API v1 2020-08-03 16:39:28 +02:00
Felix Cravic
40d4af31c8 Fix callback when no chunk generator is defined 2020-08-03 11:26:10 +02:00
Felix Cravic
8333eb9f70 Do not try to get neighbour in an unloaded chunk 2020-08-03 11:09:42 +02:00
Felix Cravic
c74ce2752c Cleanup 2020-08-03 10:35:46 +02:00
Felix Cravic
f925e31b29 Use of Char2ObjectMap instead of classic Map 2020-08-03 07:03:06 +02:00
Felix Cravic
136e1d1e6d Completed MapMeta 2020-08-03 07:01:39 +02:00
Felix Cravic
dfa4cb8b37 Cleanup + comments 2020-08-03 06:36:42 +02:00
Felix Cravic
7617042b7d Comments 2020-08-03 06:12:59 +02:00
Felix Cravic
4d05bb8155 BlockPosition comments 2020-08-03 06:01:58 +02:00
Felix Cravic
134173d0f1 Cleanup 2020-08-03 00:37:03 +02:00
jglrxavpok
02b57a43d0 Very early start of the map rendering API 2020-08-02 21:51:18 +02:00
Felix Cravic
1b324624b9 Added entity hover in chat 2020-08-02 13:56:25 +02:00
Articdive
485089078d
Make the ChatHoverEvent work in probably all cases. 2020-08-02 12:42:31 +02:00
Felix Cravic
086c9738b1 Very early chunk group based thread 2020-08-02 11:37:39 +02:00
Felix Cravic
43059df920 Added EntityItemFrame 2020-08-02 01:00:22 +02:00
Felix Cravic
ef53c7f4b8 Allow for compression option in StorageFolder 2020-08-02 00:28:22 +02:00
Felix Cravic
395b205484 WIP PlayerHeadMeta & SpawnEggMeta 2020-08-01 20:50:39 +02:00
Felix Cravic
6501a43820 Cleanup 2020-08-01 11:00:31 +02:00
Felix Cravic
827526e200 Optimize Inventory#clear 2020-08-01 10:40:43 +02:00
Felix Cravic
d980b3f56c Updated inventory types 2020-08-01 10:33:06 +02:00
Felix Cravic
930c222953 Merge remote-tracking branch 'origin/master' 2020-08-01 09:20:41 +02:00
Felix Cravic
676a7174fa Fixed CrossbowMeta & PotionMeta 2020-08-01 09:20:26 +02:00
TheMode
3b1067c18e
Merge pull request #21 from Minestom/improve-argumentnumber
Improve ArgumentNumber.
2020-08-01 07:47:57 +02:00
Articdive
4b47245c90
Improve ArgumentNumber. 2020-08-01 07:35:16 +02:00
Felix Cravic
4c10418bf8 Added LeatherArmorMeta getter for color 2020-08-01 04:03:17 +02:00
Felix Cravic
6cc315fe78 WIP FireworkMeta & ChatHoverEvent cleanup 2020-08-01 03:57:55 +02:00
Felix Cravic
bf55bf23e7 Completed CrossbowMeta 2020-08-01 03:48:49 +02:00
Felix Cravic
ba965feb8e Added LeatherArmorMeta 2020-08-01 03:33:22 +02:00
Felix Cravic
20e184f042 Added WrittenBookMeta && WritableBookMeta item meta 2020-08-01 03:19:48 +02:00
Felix Cravic
4334733c52 Cleanup ChatHoverEvent 2020-08-01 01:05:11 +02:00
Felix Cravic
f95feeaaf1 Add support for insertion text in RichMessage 2020-08-01 01:00:53 +02:00
Felix Cravic
fe73c43eef Added CompassMeta & WIP CrossbowMeta 2020-08-01 00:43:52 +02:00
Felix Cravic
af14d2d324 Added EnchantedBookMeta 2020-08-01 00:21:03 +02:00
Felix Cravic
3b24be4925 Fixed color serialization 2020-07-31 23:02:01 +02:00
jglrxavpok
5a8f58d9dd oops wrong javadoc 2020-07-31 22:38:03 +02:00
jglrxavpok
4782d6e899 Fixed inconsistency between hasPermission(Permission) and hasPermission(Class) 2020-07-31 22:37:47 +02:00
jglrxavpok
1772b94114 Start of Permission API 2020-07-31 22:31:58 +02:00
Felix Cravic
7f5f8bf2f6 TODO handle entities collision 2020-07-31 22:26:44 +02:00
Felix Cravic
79226cf7e7 EntityCreature#setPathTo does reset the previous path everytime 2020-07-31 22:17:24 +02:00
Felix Cravic
7a961eed9f Fix EntityCreature not resetting the pathfinder 2020-07-31 22:09:04 +02:00
Felix Cravic
f6fac5773d Allow to customize the search range of an entity 2020-07-31 21:58:49 +02:00
TheMode
aada943f91
Merge pull request #20 from Minestom/smooth-pathfinding
Smooth pathfinding
2020-07-31 21:13:08 +02:00
jglrxavpok
322194c5e4 Make entities look along their path 2020-07-31 21:02:37 +02:00
Felix Cravic
336d040cd4 Replaced TaskBuilder#buildTask to TaskBuilder#schedule 2020-07-31 20:44:58 +02:00
Felix Cravic
4c77c99442 Fix ColoredText#toString 2020-07-31 19:19:32 +02:00
Felix Cravic
8499a2ceeb ColoredText compiled string can now be cached 2020-07-31 19:18:10 +02:00
jglrxavpok
628e87e531 Potential deprecation of EntityCreature#move 2020-07-31 18:57:37 +02:00
jglrxavpok
49b4f0c79d Fixed non-smooth pathfinding by setting the velocity of the creature, therefore allowing the client to predict the position and smooth the path 2020-07-31 18:55:08 +02:00
Felix Cravic
7b947ba09b Added EntityFinder#find as concept example 2020-07-29 22:55:25 +02:00
Felix Cravic
647bb39e7c Change packet listener to ConnectionManager#onPacketReceive 2020-07-29 22:38:46 +02:00
Felix Cravic
da641fd54b Update item hover + rich message comments 2020-07-29 20:13:17 +02:00
TheMode
24506ff209
Merge pull request #19 from Articdive/item-hovering
Started work on item hovering.
2020-07-29 19:51:45 +02:00
Articdive
78f4bc0a13
Started work on item hovering. 2020-07-29 11:21:11 +02:00
TheMode
2c58253d95
Merge pull request #18 from R0bbyYT/feature/scheduler
Feature/scheduler - Optimization of the scheduler system
2020-07-29 06:55:51 +02:00
Felix Cravic
24af31f38f Instance comments 2020-07-29 06:09:48 +02:00
R0bbyYT
56010e27e6 SchedulerManager console output + Added a simple ShutdownCommand 2020-07-29 05:03:07 +02:00
R0bbyYT
4ad4054fce Improve the scheduler's 2020-07-29 04:28:01 +02:00
Felix Cravic
da5f318b09 Rewind EntityCreature#moveTowards 2020-07-29 00:31:45 +02:00
Felix Cravic
65bd725cb5 ChatColor is converted to the color name instead of the rgb value when possible 2020-07-28 21:59:07 +02:00
Felix Cravic
01052528d0 Comments + inventory can now cache the items packet 2020-07-28 19:00:25 +02:00
Felix Cravic
f99e06957b Fix Inventory#setTitle 2020-07-28 18:40:10 +02:00
ThuverX
825722ac4d Typos 2020-07-28 18:31:29 +02:00
ThuverX
4f606de80f Added setTitle 2020-07-28 18:28:45 +02:00
Felix Cravic
dd74f1cb1e CustomBlock class comment 2020-07-27 05:10:54 +02:00
Felix Cravic
98c3419766 Cleanup 2020-07-27 02:28:03 +02:00
Felix Cravic
71b2988583 Added AnimationEvent comments + cleanup 2020-07-26 20:03:39 +02:00
TheMode
48324a71ed
Merge pull request #16 from Minestom/hydrazine-test
Merge branch hydrazine-test to master
2020-07-25 00:17:12 +02:00
Felix Cravic
d699343366 Fixed not auto viewable entity keeping viewers after being removed 2020-07-24 22:48:38 +02:00
Felix Cravic
1345968aac Hologram is now a Viewable 2020-07-24 19:44:30 +02:00
Felix Cravic
1adaa0553e Pathfinding update 2020-07-24 19:31:15 +02:00
Felix Cravic
4fb7d61a7c Cleanup 2020-07-24 18:23:15 +02:00
Felix Cravic
4f788b9b8d Cleanup 2020-07-24 16:11:48 +02:00
Felix Cravic
e57485367c pathfinding update 2020-07-24 03:06:38 +02:00
Felix Cravic
b54599a1f1 Cleanup 2020-07-24 02:49:55 +02:00
Felix Cravic
7b5107f59d Hydrazine fix + basic pathfinding api 2020-07-24 02:31:10 +02:00
Felix Cravic
2ea4c2d996 Initial hydrazine commit 2020-07-24 01:03:24 +02:00
Felix Cravic
5c1e6e7572 Cleanup 2020-07-23 07:36:49 +02:00
Felix Cravic
01cb95c9b2 item meta cleanup 2020-07-23 05:48:47 +02:00
Felix Cravic
f8453b4906 Added ItemMeta + MapDataPacket 2020-07-23 05:36:15 +02:00
Felix Cravic
f75c3870a3 time cleanup 2020-07-22 21:00:57 +02:00
Felix Cravic
9b25f0a25f Fix time update option 2020-07-22 20:57:05 +02:00
Felix Cravic
126c174bb9 Added time api 2020-07-22 20:54:30 +02:00
Felix Cravic
df6c9e4953 More comments + cleanup 2020-07-22 17:39:48 +02:00
Robby
c1dde3bc34 Moved the keepAlive logic under the scheduler updates 2020-07-21 21:22:12 +02:00
Felix Cravic
189376f951 Cleanup + javadoc comments 2020-07-21 18:48:15 +02:00
Felix Cravic
287f7e64a3 Added command javadoc 2020-07-21 18:04:02 +02:00
Felix Cravic
617d855c84 More understandable exception when a chunk is not loaded 2020-07-18 23:32:12 +02:00
jglrxavpok
54c4134006 BlockFace added to PlayerBlockInteractEvent 2020-07-18 17:45:56 +02:00
jglrxavpok
7485919805 Explosion hook after sending the packet to allow world modifications after the explosion (can prevent desyncs) 2020-07-16 21:41:16 +02:00
jglrxavpok
2c74589599 Allow postExplosion to modify the ExplosionPacket 2020-07-16 21:37:27 +02:00
jglrxavpok
fa8b2bc49c Added method at end of explosions to allow custom code after destroying blocks 2020-07-16 21:24:14 +02:00
Felix Cravic
c8f2c9c078 Remove command generic + WIP target selector 2020-07-14 13:35:07 +02:00
jglrxavpok
47c249c293 Don't instabreak custom blocks with -1 block delay 2020-07-13 14:48:56 +02:00
jglrxavpok
b2f4c8654d Added convenience methods to convert ItemStack to/from NBTCompound 2020-07-13 14:36:39 +02:00
jglrxavpok
2cff307a20 Merge branch 'new-dimensions' 2020-07-13 14:12:48 +02:00
jglrxavpok
30019ebe9a Customizable dimension list in JoinGamePacket + Dimension->DimensionType 2020-07-13 14:12:21 +02:00
Felix Cravic
87ab850945 Comment + EntityFinder WIP 2020-07-11 14:16:36 +02:00
Felix Cravic
e8cd68bc3b Fixed command range argument 2020-07-11 00:38:39 +02:00
Felix Cravic
17d638d460 Added ArgumentIntRange & ArgumentFloatRange 2020-07-10 23:51:38 +02:00
Felix Cravic
e4ad66fcde Added a bunch of new command arg types 2020-07-10 22:50:05 +02:00
Felix Cravic
23826a0842 Reworked command packet 2020-07-10 18:12:29 +02:00
Felix Cravic
ccf8038f62 CommandBuilder is now integrated in Minestom directly 2020-07-10 16:37:18 +02:00
Felix Cravic
d1b159d174 Added NBTConsumer for custom item nbt 2020-07-09 15:51:39 +02:00