3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-09-21 02:30:11 +02:00
Commit graph

3178 Commits

Autor SHA1 Nachricht Datum
DaPorkchop_
191777773c
Don't use wrapper objects for positions in ChunkCache (#1398)
* make ChunkPosition use a hashCode implementation with far better hash distribution

this should improve the performance when used as a hash table key

* ChunkCache no longer uses position wrapper objects

this yields a roughly 15-20% increase in performance when converting chunk data

* fix code style issues
2020-10-13 15:44:47 +01:00
RednedEpic
9b3cd8f725 Fix area effect clouds 2020-10-12 20:36:11 -05:00
Camotoy
1b00eaca4a
Set AuthType in Metrics to lowercase (#1395) 2020-10-12 21:28:54 -04:00
Luke
3f7120d9da
Add player device OS to metrics (#1391)
* Add player device os to metrics

* Add player version, Geyser version, and default locale

Co-authored-by: DoctorMacc <toy.fighter1@gmail.com>
2020-10-12 21:17:15 -04:00
Camotoy
96db37c14c
Fix bucket interactions on creative mode (#1369)
* Fix bucket interactions on creative mode

Bedrock uses the BLOCK_INTERACT enum of BedrockActionTranslator to truly indicate if a bucket should be used or not. In order to hook into this, we need to delay the bucket placing by about 5 milliseconds - this gives us time to cancel the interaction if needed.

Bucket sounds will now not play in this case as well.
2020-10-12 20:02:41 -04:00
DoctorMacc
c426c335d7 Fix reloading Geyser 2020-10-11 23:15:22 -04:00
Camotoy
ffcff96bea
Set default values for classes as well (#1387)
Geyser can now start even if the config file is empty. Tested on Spigot and doesn't affect custom values.
2020-10-10 18:08:21 -04:00
Camotoy
ec609fa868
Make crossbows prettier (#1359)
- Fix crossbow NBT translation - now crossbows will show as loaded
- Pillagers now more closely resemble Java Edition pose behavior
2020-10-08 20:40:50 -04:00
Camotoy
59f72d0e65
BedrockMobEquipmentTranslator: Don't change item slot if already on that slot (#1353)
* BedrockMobEquipmentTranslator: Don't change item slot if already on that slot

* Update comment
2020-10-09 01:07:50 +01:00
Tim203
45c5ef02cd
Various Scoreboard fixes (#1381)
* Various Scoreboard fixes

Fixes #1328 and a few other potential Scoreboard problems

* Consistent whitespacing

Co-authored-by: DoctorMacc <toy.fighter1@gmail.com>
2020-10-08 19:30:05 -04:00
Camotoy
4514167835
Fix fire being punched in all directions (#1370)
Apply the fix we have for fire but for all block faces.
2020-10-08 18:44:15 -04:00
Arktisfox
16eb2a491a
Area cloud fixes (#684)
* Fix NotNull error with particles, replace incorrect string meta with int meta.

* Add back newline

* Remove debug line

* Update Protocol and prepare for merge

Co-authored-by: DoctorMacc <toy.fighter1@gmail.com>
2020-10-08 18:33:36 -04:00
DoctorMacc
856ce6b588 Exclude all irrelevant builds 2020-10-08 12:54:53 -04:00
Camotoy
4d925da68a Add specific Jenkins link 2020-10-07 23:05:52 -04:00
Camotoy
f82329b34f Add Jenkins builds to the README 2020-10-07 23:05:23 -04:00
DoctorMacc
ae3896d1d0 Add command permissions system 2020-10-07 22:42:17 -04:00
DoctorMacc
56b70927f2 Fix archiving 2020-10-07 21:05:42 -04:00
DoctorMacc
ca65f9f45a Fix ./gradlew usage 2020-10-07 20:59:09 -04:00
DoctorMacc
0e77f20f86 Specify Fabric repository 2020-10-07 20:37:23 -04:00
DoctorMacc
7b0c1e9a05 Generify Gradle 2020-10-07 20:29:39 -04:00
DoctorMacc
293f691d39 Manually define Gradle 2020-10-07 20:28:43 -04:00
DoctorMacc
f99cbfa231 Maybe this works? 2020-10-07 20:21:46 -04:00
DoctorMacc
ad42c800cd Remove erroneous line 2020-10-07 20:04:08 -04:00
DoctorMacc
9e62c6369c Jenkinsfile attempt 2020-10-07 20:01:01 -04:00
DoctorMacc
105f4f0a32 Fix console chat output 2020-10-07 19:44:13 -04:00
DoctorMacc
977ce4bbec Guess we don't need any relocations 2020-10-07 19:02:41 -04:00
Camotoy
172a5a6db8
Add Fabric as a platform type (#1376)
* PlatformType: Add Fabric as a platform

* Don't use XML reflections on Fabric
2020-10-07 18:51:36 -04:00
Camotoy
90656a9846
Jenkins improvements (#1368)
- Show changes in the Discord webhook
- Delete after 20 builds

Co-authored-by: rtm516 <ryantmilner@hotmail.co.uk>
2020-10-07 18:50:39 -04:00
DoctorMacc
b293c3478a It compiles! :D 2020-10-07 18:35:35 -04:00
DoctorMacc
7a91e0a80d Start on compiling 2020-10-06 22:45:15 -04:00
Camotoy
64d5cf51d1 Create README.md 2020-10-06 18:53:11 -04:00
DoctorMacc
c34b63c8c6 Add proper commands support 2020-10-06 18:43:02 -04:00
DoctorMacc
4b6f1a06b7 Remove unused imports 2020-10-06 14:23:55 -04:00
DoctorMacc
6ccde86057 Getting server IP now works 2020-10-06 14:11:27 -04:00
DoctorMacc
be07a47f9f Implement proper logger, shutdown, and IP checking 2020-10-06 13:41:50 -04:00
DoctorMacc
e7c00d897f Add .gitignore 2020-10-06 12:34:25 -04:00
DoctorMacc
754c2f3d78 First commit. 2020-10-06 12:15:07 -04:00
Camotoy
ba6f174058
Add support for fishing rods pulling Bedrock players (#1355)
Fishing rods pulling players is a clientside feature on Java. On Bedrock, a SetEntityMotionPacket is sent to the client. Therefore this PR implements the Java fishing rod pulling mechanics and sends it off to Bedrock, which sends MovePlayerPackets that are sent to the server.
2020-10-02 15:44:46 -04:00
Tim203
b7587e1eb1
Merge pull request #2 from DoctorMacc/floodgate-2.0
Update to latest master and fix Floodgate errors
2020-09-30 21:03:40 +02:00
Camotoy
772cb246f0
Forward keep alive packets to the client (#1344)
* Forward keep alive packets to the client

Previously, MCProtocolLib (our Java protocol library) handled keep alive packets for us. This commit disables that option and 'forwards' the keep alive packets to the client, and sending the keep alive packet back once Bedrock sends us a ping response.

* Delete DataCache

* Update to latest MCProtocolLib

* Swap values around as a sanity check
2020-09-29 14:15:11 -04:00
Camotoy
3c4cde9677
Tipped arrow translation (#1331)
* Tipped arrow translation

- Tipped arrow items are now properly translated both ways
- Tipped arrow particle effects are also translated, by having a list of all colors Java could send us and their Bedrock ID

* Remove a whitespace
2020-09-29 13:30:37 -04:00
Camotoy
aee9ccc7d2
DoorSoundInteractionHandler: ignore iron [trap]doors (#1343) 2020-09-29 13:21:43 -04:00
Camotoy
9bb52afc8a
BedrockRespawnTranslator: prevent some respawn bugs (#1346) 2020-09-29 13:21:25 -04:00
Camotoy
a5b00e09a1
Villager trade fixes (#1350)
This commit mainly focuses on fixing the crashing of villagers that occurred pre-1.14.

Co-authored-by: AJ Ferguson <AJ-Ferguson@users.noreply.github.com>
2020-09-29 13:19:37 -04:00
bundabrg
650c02ef66
Remove 'geyser' from parameters when executing a command under Spigot, Bungeecord, Sponge, Velocity (#1266)
* Remove 'geyser' from parameters when executing a command under Spigot, Bungeecode, Sponge, Velocity

Fixes https://github.com/bundabrg/GeyserReversion/issues/8

* Fix case when there are no sub commands

Co-authored-by: bundabrg <bundabrg@grieve.com.au>
2020-09-28 23:49:46 -04:00
EasyClifton
3650321576
Update README.md (#1349)
Make the server address look cool (for build 405, sorry)
2020-09-28 17:09:57 -05:00
rtm516
7c49391b9d
Fix gamemodes not fully applying on server switch (#1348)
* Fix gamemodes not fully applying on server switch

* Revert previous commit and move session flag updating to the adventure settings method
2020-09-28 17:43:50 -04:00
DoctorMacc
d75169392b
Small consistency fixes 2020-09-27 21:08:31 -04:00
DoctorMacc
0ea648b472
Merge branch 'master' of https://github.com/GeyserMC/Geyser into floodgate-2.0 2020-09-26 20:35:54 -04:00
Luke
d9b05f5b72
Update the CI link in the README (#1339) 2020-09-25 15:52:44 -04:00