Commit Graph

1036 Commits

Author SHA1 Message Date
themode
9a567811c7 Cache invalid version text and add clarification to the version which should be used 2020-09-23 15:44:52 +02:00
themode
dc8f885aff Added an unsafe way to flush a ChunkBatch 2020-09-23 01:53:36 +02:00
themode
ea9cd655c6 Removed unnecessary data synchronization 2020-09-23 01:41:40 +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
jglrxavpok
99c48c8ee1 Cave air and void air must be classified as air 2020-09-20 14:54:03 +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
d80c2e0658 Fix BossBar#addViewer for the first player boss bar 2020-09-19 18:13:00 +02:00
themode
e6f66b9816 Fix javadoc generation for DimensionType 2020-09-19 16:16:56 +02:00
themode
18c7a61f89 Remove useless math methods 2020-09-16 01:33:37 +02:00
Eoghanmc22
7ccd40d0f7 Fix Check 2020-09-14 18:29:07 -04:00
Eoghanmc22
8bbd62a3ed Fix NPE in extension loader 2020-09-14 18:17:15 -04:00
TheMode
64bb92a295
Merge pull request #53 from Minestom/extension-improvement
Improve Extension Logging & Description
2020-09-13 14:49:39 +02:00
themode
daaa126a1f More clarification with CustomBlock updates 2020-09-12 18:44:52 +02:00
themode
5d733fa6e9 Chunk cleanup (removed useless methods) 2020-09-12 12:45:37 +02:00
themode
0ad2394d16 Merge remote-tracking branch 'origin/master' 2020-09-12 12:15:06 +02:00
themode
3e9fd623dc Comment for Chunk#setBlock 2020-09-12 12:14:53 +02:00
Articdive
b675104d74
Improve Extension Logging & Description 2020-09-12 08:56:01 +02:00
jglrxavpok
6df42b79cb Merge branch 'mixin-support' 2020-09-11 21:03:43 +02:00
themode
465d83ae77 Comments for Instance & InstanceContainer 2020-09-11 00:14:17 +02:00
Nesaak
8df7dfe50b Synchronize chunk in Instance#setBlockData 2020-09-10 17:54:49 -04:00
Nesaak
81c5f957c3 Add Instance#setBlockData 2020-09-10 16:14:39 -04:00
Eoghanmc22
952668efc0 1.16.3 2020-09-10 15:27:02 -04: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
3473ccfb41 Use an array instead of a map for block state id -> block conversion 2020-09-08 17:02:07 +02:00
themode
1525d81852 Comments for BlockPlacementRule 2020-09-08 15:57:06 +02:00
themode
2f5af27211 Little optimization with block placement rule lookup 2020-09-08 15:49:27 +02:00
Nesaak
1f078ed011 Make placementRules in BlockManager an array & add comments for methods 2020-09-08 09:45:36 -04:00
Nesaak
e39e692cde Use an array to store custom block id's in BlockManager for faster lookups 2020-09-08 09:28:54 -04:00
themode
d3d3e73eef Fix synchronization issue with chunk 2020-09-07 19:14:42 +02:00
themode
e2940c9aee Renamed CustomBlock#getBlockStateId to CustomBlock#getDefaultBlockStateId 2020-09-06 03:15:00 +02:00
themode
7b93881e59 Made DamageType a DataContainer 2020-09-05 16:45:33 +02:00
themode
cb52a9d119 PerGroupChunkProvider cleanup 2020-09-03 20:52:21 +02:00
themode
f9fcfb6009 Merge remote-tracking branch 'origin/master' 2020-09-03 17:26:50 +02:00
themode
4c00e02091 ChunkUtils#getBlockIndex comments about short casting 2020-09-03 17:26:38 +02:00
Nesaak
7f671d0dc9 Rename some old StorageFolder messages & comments 2020-09-02 19:11:54 -04:00
Nesaak
e465b01f66 Add Entity#getChunk convenience method 2020-09-02 18:43:42 -04:00
themode
4b8ab2e55e Made Chunk#getSerializedData public 2020-09-03 00:04:10 +02:00
themode
181c2b2b1b Added warning to the DynamicChunk protected arrays 2020-09-02 23:54:19 +02:00
Nesaak
ab54ed92a4 Change access of id arrays in DynamicChunk to protected 2020-09-02 17:49:25 -04:00
themode
89d419c949 small optimization with chunk serialization 2020-09-02 22:52:17 +02:00
TheMode
58fa4cff1e
Merge pull request #46 from Nesaak/master
Use block index in chunk serialization
2020-09-02 22:37:30 +02:00
Nesaak
574ebf9cf4 Use block index in chunk serialization 2020-09-02 16:18:46 -04:00
Eoghanmc22
66428fb90f Accidentally remade a method that already existed 2020-09-02 16:01:33 -04:00
Eoghanmc22
0c50164f40 fix MultiBlockChangePacket again and add util method 2020-09-02 15:25:03 -04:00
Eoghanmc22
664546d25d fix bug in MultiBlockChangePacket 2020-09-02 14:01:51 -04:00
themode
f4665c27e6 Chunk cleanup 2020-09-02 19:34:24 +02:00
themode
925c0a89f6 Comments + utils methods for BinaryWriter 2020-09-02 19:06:11 +02:00
TheMode
74cfc1994d
Merge pull request #45 from Nesaak/master
Make Data and SerializableData interfaces
2020-09-02 18:52:56 +02:00
Nesaak
dd66699a20 Make Data and SerializableData interfaces 2020-09-02 12:41:04 -04:00
themode
623a6eb783 The chunk caching method is now thread safe 2020-09-02 18:35:17 +02:00
themode
6e9e6be1fe Merge remote-tracking branch 'origin/master' 2020-09-02 10:30:14 +02:00
themode
46b772c901 Clarification in IChunkLoader#loadChunk comment 2020-09-02 10:30:03 +02:00
TheMode
cb5a507951
Merge pull request #44 from Nesaak/master
Cache default player provider
2020-09-01 23:51:39 +02:00
Nesaak
6fdda546b8 Cache default player provider 2020-09-01 17:43:10 -04:00
themode
f8bbc30435 Added PlayerProvider comment 2020-09-01 23:37:12 +02:00
themode
eff5d0b5e0 Added PlayerProvider 2020-09-01 23:35:14 +02:00
themode
e484e4a4d6 Updated Hydrazine to 1.4.2 2020-09-01 21:16:07 +02:00
themode
78dd2cb005 Fix tick update for SharedInstance 2020-09-01 20:20:46 +02:00
themode
d4d5ac873f Renamed StorageFolder to StorageLocation 2020-08-31 00:41:19 +02:00
Nesaak
28347102be Make DimensionType builder public 2020-08-30 17:49:16 -04:00
Nesaak
d80c920ac7 Fix demo chunk generators 2020-08-30 16:35:32 -04:00
Nesaak
77e52c2cbe Make ChunkGenerator an interface 2020-08-30 16:28:05 -04:00
Nesaak
8a20ef4964 Fixed minor typo in InstanceContainer 2020-08-30 16:04:41 -04:00
themode
588b1f9c6d A few comments 2020-08-30 21:42:21 +02:00
themode
38dbaecb8f SerializableData data types can now be indexed 2020-08-29 22:21:45 +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
jglrxavpok
21b48fe291 Wired Mixin phases with Minestom initialization 2020-08-25 15:44:17 +02:00
jglrxavpok
c3c2b0a34c Loading mixins from extensions 2020-08-23 23:27:53 +02:00
jglrxavpok
26b8ad125e Very basic Mixin support 2020-08-23 22:38:27 +02:00
Eoghanmc22
f26501c5fa Merge remote-tracking branch 'origin/master' 2020-08-21 13:48:29 -04:00
Eoghanmc22
a658a96a61 Fix ResourceGatherer bug for win 10 2020-08-21 13:47:55 -04:00
themode
ebb1b1607d Do not compute target block stage increase each tick 2020-08-21 16:09:26 +02:00
themode
6a66757c7a WIP MAX_PACKET_SIZE 2020-08-21 13:29:05 +02:00
themode
7ea06cc70b PacketUtils improvement with initial capacity packet + optimize the ChunkDataPacket 2020-08-21 13:16:44 +02:00
themode
f2222cfaf2 Allow negative break delay to skip stages 2020-08-21 12:52:29 +02:00
jglrxavpok
223af361d8 Code modifiers and test extension 2020-08-21 01:32:59 +02:00
themode
6b778f425a Cleanup 2020-08-20 19:06:55 +02:00
Eoghanmc22
56cace9402 improve test gen 2020-08-20 12:39:09 -04:00
Eoghanmc22
c16b716350 Merge branch 'master' of https://github.com/Minestom/Minestom
 Conflicts:
	src/main/java/fr/themode/demo/PlayerInit.java
	src/main/java/fr/themode/demo/generator/NoiseTestGenerator.java
	src/main/java/net/minestom/server/utils/chunk/ChunkUtils.java
2020-08-20 12:22:40 -04:00
Eoghanmc22
d37656ebe5 fix respawn packet 2020-08-20 12:18:36 -04:00
themode
6c6f470b24 Optimize BiomeManager storage 2020-08-20 14:41:11 +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
jglrxavpok
164719090a (WIP) Support for runtime code modification 2020-08-20 02:06:58 +02:00
themode
b8c30d9b58 Cleanup 2020-08-19 20:47:53 +02:00
themode
c85e866e3c Fixed BinaryWriter#writeNBT 2020-08-19 20:35:22 +02:00
themode
571bb7a866 Renamed PacketWriter/Reader to BinaryWriter/Reader + optimization to serializing 2020-08-19 20:34:21 +02:00
themode
65db4a48b4 Cleanup 2020-08-19 16:19:18 +02:00
themode
bed09d397a Merge remote-tracking branch 'origin/master' 2020-08-19 01:51:34 +02:00
themode
c1f520143b Use chunk size constant instead of magic values 2020-08-19 01:51:22 +02:00
Eoghanmc22
51f8520a1f
Merge pull request #39 from Minestom/extensions
Add support for Extensions.
2020-08-18 19:26:03 -04:00
themode
8b30caa8c8 Micro optimization + cleanup 2020-08-19 01:24:51 +02:00
Articdive
846b668c1b
Rename plugins to Extensions and add basic support. 2020-08-18 14:18:12 +02:00
Eoghanmc22
efbe80a748 structure gen test. 2020-08-17 21:11:48 -04:00
themode
c5172a7275 WIP ItemStack#getCustomDisplay 2020-08-18 02:16:30 +02:00
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
Eoghanmc22
414fb06407 1.16.2 enums 2020-08-15 20:59:09 -04: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
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
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