Commit Graph

61 Commits

Author SHA1 Message Date
Lukas Mansour (Articdive)
9682246f4f Use JNoise instead of FastNoise 2020-05-02 23:16:41 +02:00
jglrxavpok
f38d3718c3 Neighbor updates 2020-05-01 22:08:31 +02:00
Felix Cravic
4b3e3e8e65 An inventory can now have multiple InventoryCondition 2020-04-30 01:51:16 +02:00
Felix Cravic
c2af4be2fa Can now define an inventory to open after closing another + added a bunch of inventory type 2020-04-29 17:27:58 +02:00
jglrxavpok
263713ab49 Custom block breaking and data creation now both have an instance and a position accessible 2020-04-29 00:12:59 +02:00
Felix Cravic
d0c523f0e5 Added a way to change CustomBlock blockId just after placement + more BlockAlternative tools 2020-04-28 23:38:44 +02:00
jglrxavpok
54111ece6a Convenience method to find horizontal Direction based on yaw, easier block properties usage and PlayerBlockPlaceEvent now references the player placing the block 2020-04-28 21:52:06 +02:00
jglrxavpok
9b25f5d95b Allow server to be stopped cleanly 2020-04-28 19:23:02 +02:00
jglrxavpok
85da9203b1 Custom blocks can block item interaction, prevents blocks being placed when opening containers 2020-04-28 18:12:06 +02:00
Felix Cravic
6d9ac0b35d CustomBlock#getBreakDelay is now optional 2020-04-28 17:58:34 +02:00
Felix Cravic
60cc562435 Changed DataType class and its implementation 2020-04-28 17:11:12 +02:00
jglrxavpok
f8f649852b Allow PlayerBlockPlaceEvent callbacks to change the block placed.
Can be used to place custom blocks in replacement of normal ones.
2020-04-28 13:47:41 +02:00
Felix Cravic
0946c8ce11 Moved the ResponseDataConsumer definition to MinecraftServer#start 2020-04-28 02:33:15 +02:00
Felix Cravic
48c4941813 We can now have multiple listeners 2020-04-28 01:20:11 +02:00
Felix Cravic
38abe55161 Added Block object to the CustomBlock constructor 2020-04-28 01:01:54 +02:00
Felix Cravic
754821f447 Fixed gamemode command (CommandBuilder update) 2020-04-27 23:36:22 +02:00
Felix Cravic
ce40627a36 Added CustomBlock#getCustomBlockId, it is now defined by the developer and not increased automatically by a counter 2020-04-27 23:13:17 +02:00
jglrxavpok
bdab9bf71f Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	src/main/java/net/minestom/server/entity/Player.java
2020-04-27 21:16:24 +02:00
jglrxavpok
6b77627d60 Implemented damage types and void below world 2020-04-27 20:33:08 +02:00
Felix Cravic
51811a5909 Added dimension support 2020-04-27 18:46:39 +02:00
Felix Cravic
26debd0d4b Optimization + fixed custom block placement 2020-04-26 20:41:58 +02:00
Felix Cravic
d4cf29c7a7 Less magic values 2020-04-26 19:17:04 +02:00
Felix Cravic
18019277e6 Update 2020-04-26 06:34:08 +02:00
Felix Cravic
3614c378f3 Optimization + added Recipe#shouldShow check 2020-04-26 04:50:38 +02:00
Felix Cravic
cbffd37c8e Added aliases support to CommandProcessor 2020-04-25 23:51:45 +02:00
Felix Cravic
5980943344 Finally a homemade pathfinder 2020-04-25 23:06:16 +02:00
Felix Cravic
6f5ff41c57 Optimization + fix non-solid block entity collision 2020-04-25 20:40:08 +02:00
Felix Cravic
2f6205b577 Added ItemUpdateStateEvent + batch file clean 2020-04-24 17:43:35 +02:00
Felix Cravic
7daac5e610 Package rename to net.minestom.server 2020-04-24 03:25:58 +02:00
Felix Cravic
6da352f192 Optimization + a data data type (huh) 2020-04-23 23:46:36 +02:00
Felix Cravic
f4aa328849 Fixed a random instance crash 2020-04-23 13:43:31 +02:00
Felix Cravic
3f15701256 WIP entity/block collision/gravity 2020-04-23 01:26:45 +02:00
Felix Cravic
0a30554a5a Fixed EntityCreature walking collision 2020-04-22 19:09:57 +02:00
Felix Cravic
26276af29e Added a packet listener 2020-04-22 18:48:27 +02:00
Felix Cravic
ab3aabf6b0 Update 2020-04-22 02:42:58 +02:00
Felix Cravic
7cbb964e21 Added dropping functions + fixes 2020-04-21 15:31:41 +02:00
Felix Cravic
f596a8fa84 Update + fixed animations 2020-04-20 23:43:09 +02:00
Felix Cravic
4c25a61720 Optimization + block collision 2020-04-20 18:46:39 +02:00
Felix Cravic
d53cb49648 Update 2020-04-18 18:03:26 +02:00
Felix Cravic
3940927b5e Update 2020-04-18 15:35:37 +02:00
Felix Cravic
406dad1385 Some fixes 2020-04-17 21:34:01 +02:00
Felix Cravic
d7372ce853 Optimization + added stats 2020-04-17 15:58:07 +02:00
Felix Cravic
4af1c0388c Switch to netty (network rewrite) 2020-04-17 01:16:02 +02:00
Felix Cravic
656ccac26d Update 2020-04-16 14:51:21 +02:00
Felix Cravic
db9549560c Update + added particles 2020-04-15 13:20:28 +02:00
Felix Cravic
c2580789b9 Update + added benchmark tool 2020-04-13 17:17:21 +02:00
Felix Cravic
126d778221 Added redstone placement 2020-04-12 10:24:25 +02:00
Felix Cravic
a8f48aafe9 Lot of new packets 2020-04-11 17:21:53 +02:00
Felix Cravic
c8ebe32116 Sound & header/footer 2020-04-10 13:39:22 +02:00
Felix Cravic
be36486285 Registry update 2020-04-10 12:45:04 +02:00