Commit Graph

2054 Commits

Author SHA1 Message Date
themode
edd880ceb6 Allow to update both the block state and custom ids using PlayerBlockBreakEvent#setResultCustomBlock 2021-01-28 22:53:02 +01:00
themode
b321a10caa Change the algorithm order of InstanceContainer#setBlock 2021-01-28 16:19:06 +01:00
themode
da2286de74 Make the FakePlayer constructor protected instead of private 2021-01-28 15:42:11 +01:00
themode
c607a7a2cb Small style cleanup 2021-01-28 15:41:11 +01:00
themode
fa0c5050e4 Prevent entities from moving during death animation 2021-01-28 15:37:55 +01:00
themode
522b4edc7a New Navigator class to properly separate pathfinder functionalities 2021-01-28 15:33:52 +01:00
themode
e0c8e94bc1 Limit the number of velocity packet used for entities 2021-01-27 19:35:53 +01:00
themode
9775262c6a Fix velocity for netty clients 2021-01-27 19:20:52 +01:00
themode
626d48a0fb Fix Sidebar line score not being removed client-side 2021-01-27 17:46:26 +01:00
themode
7a54b4162d Style cleanup 2021-01-26 15:53:03 +01:00
TheMode
73c53a9b17
Merge pull request #115 from iamceph/master
Add ability to get Block type from given position
2021-01-26 10:04:29 +01:00
iamceph
ded8a4b4f8 Move getBlock to Instance only 2021-01-26 09:51:19 +01:00
iamceph
564d549f81 Merge remote-tracking branch 'upstream/master' 2021-01-26 09:46:41 +01:00
themode
a9e638b93f Fix infinite recursion with Instance#getBlockStateId 2021-01-25 21:58:06 +01:00
themode
0da4f96e7e Allow gravity values to be doubles 2021-01-25 21:30:56 +01:00
themode
5f75ea7d3a Remove unnecessary casts 2021-01-25 19:33:53 +01:00
themode
3067f1daaa Merge with master 2021-01-25 19:27:04 +01:00
themode
9ee25ee8ce Merge branch 'master' into double-position 2021-01-25 19:24:19 +01:00
themode
f4a3a9e733 Change Sidebar's queue into a Set, added Sidebar#getLines 2021-01-25 17:48:08 +01:00
themode
fa02a12c1e More math 2021-01-25 14:09:36 +01:00
themode
f48c291929 More math methods in Vector 2021-01-25 13:56:17 +01:00
themode
c01736f863 Use doubles instead of floats to represent Position and Vector 2021-01-25 13:47:13 +01:00
themode
886c4ca9c9 Improve InstanceManager#getInstance comment 2021-01-25 10:21:10 +01:00
iamceph
e74d3ca0f6 Merge remote-tracking branch 'upstream/master' 2021-01-25 09:56:35 +01:00
KrystilizeNevaDies
d733dbbc3f Upate getInstance(UUID) to return nullable instance 2021-01-25 17:25:51 +10:00
iamceph
324c72002f Fix oopsie 2021-01-25 01:17:24 +01:00
iamceph
028241e069 Add ability to get Block from Instance 2021-01-25 01:16:07 +01:00
iamceph
57898135de Merge remote-tracking branch 'upstream/master' 2021-01-25 01:01:53 +01:00
iamceph
6807217608
Add ability to get Instance by UUID (#114) 2021-01-25 09:52:08 +10:00
iamceph
60cd25e07f Add ability to get Instance by UUID 2021-01-25 00:23:44 +01:00
iamceph
399c857dc4 Merge remote-tracking branch 'upstream/master' 2021-01-25 00:18:27 +01:00
themode
b37670e1c7 Override PlayerSkin#toString 2021-01-24 16:32:42 +01:00
themode
3e990bb716 Ignore INTERACT_AT packet, remove buggy console prefix 2021-01-24 15:44:18 +01:00
themode
a0f5317292 Remove unnecessary unmodifiable collection 2021-01-23 22:06:41 +01:00
TheMode
948ac834bb
Merge pull request #113 from DerTyan/fix-entity-chunk-refresh
Set the last location at the end of refreshPosition and at construction
2021-01-23 16:21:48 +01:00
Tyan
7d7c65aa70 Set the last location at the end of refreshPosition 2021-01-23 15:51:07 +01:00
themode
09d8f74b07 Dependencies update 2021-01-23 09:53:45 +01:00
themode
54d33539ad Added gradle distribution sha256sum 2021-01-23 09:47:45 +01:00
TheMode
737901584e
Merge pull request #111 from Minestom/update-kotlin
Update Gradle & Kotlin version
2021-01-23 09:43:27 +01:00
Articdive
4ea0eb1912
Update Gradle & Kotlin version 2021-01-23 09:32:18 +01:00
themode
bf692d8043 Clone the teleport position to prevent object sharing 2021-01-23 08:42:49 +01:00
themode
36933fe4b3 Ensure synchronization of the location field 2021-01-23 08:23:24 +01:00
themode
7de0067a13 Small utility methods for EntityRotationPacket 2021-01-22 21:28:33 +01:00
TheMode
5eb5f32095
Merge pull request #110 from MrBretze/patch-1
Added withProperties in BlockAlternative.java
2021-01-21 17:22:59 +01:00
MrBretzel
840eb1a27e
Update BlockAlternative.java 2021-01-21 17:21:36 +01:00
themode
4bb27c305f Cleanup & remove unnecessary calls in PlayerDiggingListener 2021-01-21 16:53:20 +01:00
themode
7a4f3672de Send creeper metadata on spawn 2021-01-21 12:33:04 +01:00
themode
b5a01d6571 Add indicator in the console to display command support 2021-01-21 11:37:54 +01:00
TheMode
1cd3228c06
Merge pull request #109 from DerTyan/exception-handling
Added ExceptionManager for custom exception handling
2021-01-21 06:06:27 +01:00
MrBretzel
18ce3625c7
Added withProperties in BlockAlternative.java
Example: 

blockAlternative.withProperties("facing");

Return the facing of the block a empty string
2021-01-20 20:22:54 +01:00