Commit Graph

765 Commits

Author SHA1 Message Date
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
975bdcf3ed Merge remote-tracking branch 'origin/master' 2020-08-13 19:00:52 +02:00
Felix Cravic
f3414224fe Added ItemStack callbacks for interactions 2020-08-13 19:00:19 +02:00
jglrxavpok
48d967b89f Use vertically flipped UV in shader 2020-08-13 15:06:49 +02:00
jglrxavpok
b08c1d6898 Post-processing should vertically flip the output 2020-08-13 15:01:43 +02:00
jglrxavpok
c0aec9b8b2 Make GLFWCapableBuffer public for devs to extend if wanted 2020-08-13 13:54:57 +02:00
jglrxavpok
ce509b2bc6 Invalid Javadoc HTML broke the build, oops 2 2020-08-13 13:27:39 +02:00
jglrxavpok
37547930e9 Invalid Javadoc HTML broke the build, oops 2020-08-13 13:23:26 +02:00
Eoghanmc22
542d603d60 1.16.2 support 2020-08-12 21:08:03 -04:00
jglrxavpok
5e16894159 Moved PaletteGenerator outside of demo package and inside core 2020-08-12 22:53:29 +02:00
jglrxavpok
adf34b4742 Drop-in palette lookup post-processing
Directly usable for devs
2020-08-12 19:23:28 +02: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
7070f46a39 Fixed palette lookup 2020-08-11 23:49:21 +02:00
jglrxavpok
c0a704dc56 Forgot palette 2020-08-11 23:39:10 +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
6d14e16dac Moved LWJGL demo code to https://github.com/Minestom/LWJGL-Example 2020-08-10 16:35:19 +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