Commit Graph

913 Commits

Author SHA1 Message Date
themode
84b74eb45f Cache pathfinder block data 2020-08-17 21:07:37 +02:00
themode
ebaa2ad1a5 Update pathfinder when a block is removed 2020-08-17 20:52:35 +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
737cf24ace Stop hardcoding version name 2020-08-16 10:57:27 +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
1094fd4931 Fix npe 2020-08-15 10:08:54 -04:00
Eoghanmc22
4843440391 Merge branch '1.16.2' of https://github.com/Minestom/Minestom 2020-08-15 10:06:13 -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
84d1f1bdaa Merge remote-tracking branch 'origin/1.16.2' into 1.16.2 2020-08-15 16:05:01 +02:00
Felix Cravic
6e7b4ebb9f Changed version in server list 2020-08-15 16:04:50 +02:00
Eoghanmc22
448a26a7d8 add support for static chunks 2020-08-15 10:01:47 -04:00
Eoghanmc22
284613a1a8 fix merge 2020-08-15 10:00:50 -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
Felix Cravic
b716d8a47a Comments + cleanup 2020-08-15 04:05:15 +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
0d4689a367 Optimize thread providers 2020-08-15 01:18:49 +02:00
Felix Cravic
1d047b5de3 Removed useless synchronization 2020-08-14 15:24:57 +02:00
Felix Cravic
0dd454985f Added list initial capacity 2020-08-14 15:15:16 +02:00
Eoghanmc22
d12618af0f Fix concurrent modify exception. 2020-08-13 18:50:57 -04: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
Felix Cravic
3c64def9f9 Updated Hydrazine 2020-08-13 20:24:40 +02:00
Eoghanmc22
8ecb90f359 Rate Limiting 2020-08-13 13:52:59 -04:00
Felix Cravic
ef28720496 Call InventoryPreClickEvent even without any inventory condition 2020-08-13 19:14:07 +02:00
Felix Cravic
23e82e0ae2 Added ItemStack#onInventoryClick 2020-08-13 19:12:16 +02:00
Felix Cravic
f3414224fe Added ItemStack callbacks for interactions 2020-08-13 19:00:19 +02:00
Eoghanmc22
542d603d60 1.16.2 support 2020-08-12 21:08:03 -04:00
Eoghanmc22
f431674174 Merge branch 'master' of https://github.com/Minestom/Minestom 2020-08-12 13:10:22 -04:00
Eoghanmc22
6259f624f3 starting of 1.16.2 support 2020-08-12 13:08:04 -04:00
Felix Cravic
55b36624cc Fix local held synchronization 2020-08-12 18:41:14 +02: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
e04a4fad02 Fast render with shader color lookup (wrong colors for the moment) 2020-08-11 23:23:14 +02:00
Eoghanmc22
7aaf6a6ec8 Fix ticks 2020-08-10 19:41:14 -04:00
Eoghanmc22
981a1a2fe8 Merge branch 'master' of https://github.com/Minestom/Minestom 2020-08-10 18:50:00 -04:00
jglrxavpok
23f64fec11 fix wrong width & height 2020-08-11 00:41:41 +02:00
jglrxavpok
6856904905 Large framebuffers for more than 128x128 rendering 2020-08-11 00:35:25 +02:00
Eoghanmc22
6896afbf7c Merge branch 'master' of https://github.com/Minestom/Minestom 2020-08-10 17:31:18 -04:00
Eoghanmc22
a3011594c0 Tick event thing 2020-08-10 17:31:12 -04:00
Eoghanmc22
040ba417bb Basic plugin support 2020-08-10 17:30:56 -04:00
jglrxavpok
a7139d19b6 Merge branch 'permission-api' 2020-08-10 21:43:15 +02:00
jglrxavpok
d2df5fdc60 Serialization methods 2020-08-10 21:42:54 +02:00
jglrxavpok
214fa4c808 Merge Map API & LWJGL code 2020-08-10 16:32:48 +02:00
jglrxavpok
5533e3f9e7 LWJGL is now an optional dependency (example project to use it incoming) 2020-08-10 14:50:39 +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
55aeac7530 Add potion meta to all potion types + tipped arrow 2020-08-09 20:30:46 +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
e84bcdb0a1 Prevent the instantiation of multiple SchedulerManager 2020-08-09 15:16:05 +02:00
Felix Cravic
1f2451f0b2 Added AdvancementTab#getTabs 2020-08-09 14:13:01 +02:00
Felix Cravic
d3d06e907c Added BossBar#MAX_BOSSBAR count 2020-08-09 14:02:56 +02:00
Felix Cravic
c7411575ea Added BossBar#getBossBars 2020-08-09 14:00:56 +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
TheMode
ac809c4ea6
Merge pull request #34 from Minestom/small-optimizations
Small optimizations.
2020-08-09 00:01:17 +02:00
R0bbyYT
141eed466c Added Scoreboard interface and TabList Scoreboard 2020-08-08 23:22:58 +02:00
jglrxavpok
3144f64b06 Example demonstrates multiple OpenGL contexts possible 2020-08-08 18:35:28 +02:00
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
Felix Cravic
3b01317b1a Remove scheduler debugging 2020-07-29 06:59:38 +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
Felix Cravic
83b6665702 Fix RichMessage 2020-07-08 12:14:05 +02:00
jglrxavpok
f12ab40a6e Beginnings of custom dimension support 2020-07-07 20:31:59 +02:00
jglrxavpok
109afe7a54 Oops didn't compile 2020-07-07 18:44:55 +02:00
jglrxavpok
6b1da01795 Tags are now supported in loottables 2020-07-07 18:33:38 +02:00
jglrxavpok
53d39dbcb8 Experiment3: null check 2020-07-07 14:03:50 +02:00
jglrxavpok
dbc8cc54c1 Experiment2: Move executor service inside method 2020-07-07 14:03:03 +02:00
jglrxavpok
bd5bb2e3d9 Experiment by using MinestomThread for parallel saving 2020-07-07 13:55:43 +02:00
jglrxavpok
dfdf93bfc4 ChunkLoader can now indicate that they support parallel loading or saving 2020-07-07 13:41:55 +02:00
jglrxavpok
69654d05de Add methods for BlockAlternative and reran generators 2020-07-07 13:17:41 +02:00
jglrxavpok
9bc4915d6c Fix EOFException with ClientClickWindow 2020-07-07 00:24:46 +02:00
jglrxavpok
f8c358adcd Use ChatParser.toColoredText when loading name&lore 2020-07-06 23:55:43 +02:00
jglrxavpok
6d892efacf Save additional NBT to correct sub-compound 2020-07-06 23:50:32 +02:00
jglrxavpok
b277d7cb1a Moved NBTUtils from VanillaReimpl to core 2020-07-06 23:43:56 +02:00
jglrxavpok
84b06307c4 Item damage is an Integer 2020-07-06 23:34:22 +02:00
jglrxavpok
4f4d48df92 Remove old NBT code, use Hephaistos 2020-07-06 23:20:20 +02:00
Felix Cravic
c061e2a71f Fix FakePlayer respawn 2020-07-06 19:35:24 +02:00
Felix Cravic
85aad4f044 Support for tablist in FakePlayerOption 2020-07-06 19:31:02 +02:00
Felix Cravic
9fc8012d9d Fix player display name 2020-07-06 19:15:13 +02:00
Felix Cravic
5673f67db9 Added FakePlayerOption 2020-07-06 19:09:30 +02:00
Felix Cravic
e74c8ac9fd Changed the way to create FakePlayer 2020-07-06 16:06:31 +02:00
Felix Cravic
da48ba8fb0 Fix ItemStack#clone 2020-07-06 13:24:01 +02:00