rtm516
30c007d04b
Fix buckets not working on mobile ( #767 )
...
Desktop clients send an extra item use packet for buckets whereas mobile clients dont send the second use packet causing the issue as a ClientPlayerUseItemPacket doesn't get sent to the Java server.
Buckets on mobile may still be glitchy as the player must be directly facing the block they want to place liquid on.
2020-07-21 13:17:55 -04:00
D3ATHBRINGER13
8daf4ef2b7
Add piglin brutes ( #989 )
2020-07-20 19:45:38 -04:00
DoctorMacc
3b8d1758b3
Initial update for 20w29a
2020-07-20 19:02:18 -04:00
Camotoy
7bb297dd42
Update submodules ( #979 )
2020-07-20 14:34:19 +01:00
Camotoy
e5fc66d72f
Fix elytra flying in creative mode ( #956 )
...
Sending a ClientPlayerAbilitiesPacket allows the player to successfully fly.
This commit also removes the setting of the CAN_FLY entity flag on creative mode. This did not break anything in my testing.
2020-07-18 15:57:37 -05:00
Camotoy
221e5bd103
Disconnect client if using an invalid Mojang account ( #975 )
...
This commit supresses the NPE that was previously sent when using an invalid Mojang account. Instead, the Bedrock client is disconnected with an error message.
2020-07-18 15:56:12 -05:00
rtm516
64d5390800
Allow for returning of error messages ( #955 )
...
* Allow for returning of error messages
* Fix request not sending before error check
2020-07-14 18:58:09 -04:00
rtm516
ab116dcbc3
Update map colors to 1.16 ( #947 )
2020-07-14 02:18:30 -05:00
rtm516
04e73efd94
Fix enchantment conversion ( #920 )
...
* Fix java to bedrock enchantments
* Fix NBT conversion and add Soul Speed enchantment
* Remove unused import
2020-07-14 02:18:11 -05:00
AJ Ferguson
23f33881cd
Fix potion effect colors ( #951 )
2020-07-14 02:17:20 -05:00
Camotoy
c4db0e2e63
Manually disconnect client on LoginDisconnectPacket ( #950 )
...
The client will not get kicked on a LoginDisconnectPacket causing them to remain in an empty world perpetually.
2020-07-13 21:53:55 -04:00
RednedEpic
e7657c7d07
Fix enchantments for servers that don't namespace them ( Fixes #897 )
2020-07-11 19:52:20 -05:00
RednedEpic
5ceb4145ac
Fix fireworks ( Closes #917 )
2020-07-11 19:40:26 -05:00
rtm516
485ba1b8a7
Check the name tag exists for anvil renaming to prevent an NPE ( #936 )
...
* Check the name tag exists for anvil renaming to prevent an NPE
* Fix item names being empty if display tag exists with no name
2020-07-11 21:58:12 +01:00
Camotoy
7757913c00
Update MCProtocolLib to fix cached chunks on non-Spigot ( #937 )
2020-07-11 16:47:21 -04:00
Camotoy
e942d7c553
Don't use player locale for outdated message. ( #931 )
...
Too early in the login cycle to grab it.
This commit also updates the languages submodule.
2020-07-11 12:51:10 -05:00
rtm516
5e5e3b0d28
Add a User-Agent to the rest of the web requests ( #932 )
2020-07-11 12:22:02 -05:00
Savagetechguy
4daa568311
Fixed Villager Position when Sleeping ( #933 )
...
* Update Entity.java
* Switched to VillagerEntity.java and added indents and whitespace
* Fix indents and whitespace and changed to pattern and matcher
* Clean up indentation problems
Co-authored-by: Savagetechguy <jakehorner@gmail.com>
Co-authored-by: Redned <redned235@gmail.com>
2020-07-11 12:20:03 -05:00
Camotoy
3e0cb28a63
Fix scoreboard prefix/suffix translation errors ( #929 )
...
Uses getTranslatedBedrockMessage() instead of getBedrockMessage().
Fixes #923 .
2020-07-10 14:14:54 -04:00
rtm516
5e664882b1
Fix no gravity falling block entities ( #927 )
...
* Fix no gravity falling block entities
Co-authored-by: AJ Ferguson <AJ-Ferguson@users.noreply.github.com>
* Add spacing
Co-authored-by: AJ Ferguson <AJ-Ferguson@users.noreply.github.com>
Co-authored-by: Camotoy <20743703+DoctorMacc@users.noreply.github.com>
2020-07-10 09:43:52 -05:00
rtm516
225e2a9fb8
Make a copy of the players list when disconnecting them all on shutdown ( #928 )
2020-07-10 09:43:30 -05:00
rtm516
67c2b37337
Fix version checking on older Java versions ( #926 )
...
* Fix version checking on older Java versions
We add a useragent header to stop cloudflare blocking the default Java useragent
* Explain why we need the user agent
Co-authored-by: Camotoy <20743703+DoctorMacc@users.noreply.github.com>
2020-07-10 00:50:08 +01:00
Camotoy
cbb2586fba
Don't throw a stack trace when detecting for GUI ( #919 )
2020-07-08 18:44:10 -04:00
Camotoy
9cc468cee9
Remove debug string
2020-07-08 12:42:20 -04:00
DoctorMacc
bfdc452e3e
Add emote support for Bedrock-to-Bedrock players
2020-07-08 12:38:54 -04:00
DoctorMacc
fe254380dc
Clean up some TODOs
2020-07-08 12:36:26 -04:00
DoctorMacc
915ad2d057
Update languages submodule
2020-07-08 11:31:09 -04:00
DoctorMacc
83ae3199c9
Update languages submodule
2020-07-08 11:10:40 -04:00
DoctorMacc
21ea1f2408
Update MCProtocolLib to fix #836
2020-07-07 20:14:50 -04:00
DoctorMacc
40032987fa
Add magma cube jumping visual
2020-07-07 19:27:12 -04:00
DoctorMacc
0cea703b46
Save ItemEntry classes for items
2020-07-07 16:40:19 -04:00
rtm516
5f6566ad0e
Move to dynamic item ID mapping in ItemRegistry
2020-07-07 16:23:21 +01:00
rtm516
c2be7a181d
Fix Piglin bartering animation ( Fixes #863 )
2020-07-07 16:11:52 +01:00
rtm516
a16deb269a
Fix exact color matches not being formatted correctly ( Fixes #912 )
2020-07-07 15:09:24 +01:00
rtm516
75f2891ec0
Fix map_uuid nbt type
2020-07-07 14:47:56 +01:00
rtm516
8807d5d9c6
Fix banner block patterns
2020-07-07 14:30:33 +01:00
DoctorMacc
f9760b721c
Don't process the display tag if it's empty
2020-07-07 08:30:11 -04:00
AJ Ferguson
50176e10a8
Fix inabilty to place items into brewing stand
2020-07-06 23:44:39 -08:00
DoctorMacc
f68632f433
Block-related updates
...
- Fix block breaking animation
- Fix block breaking particles
- Don't initialize Geyser's chunk cache if using Spigot
2020-07-06 21:38:10 -04:00
RednedEpic
24f9651cc6
Convert map of players to list (may address #833 )
2020-07-06 20:11:34 -05:00
AJ Ferguson
699402e635
Fix bug with maps
2020-07-06 15:52:38 -08:00
rtm516
c454e443df
Fix maps with negative IDs causing out of bounds errors
2020-07-06 23:36:31 +01:00
rtm516
ba736575f7
Fix RGB colors on signs causing chunk issues, fix items names not being displayed correctly
2020-07-06 23:36:04 +01:00
DoctorMacc
545dfa38f0
JavaUpdateTileEntityTranslator improvements
...
- Remove the use of deprecated functions
- Check for empty NBT (fixes errors on CubeCraft)
2020-07-06 16:22:07 -04:00
DoctorMacc
82c6276794
Move back to using the main repository for MCProtocolLib
2020-07-06 15:19:48 -04:00
rtm516
7e51040a8e
Fix fallback locale not loading
2020-07-06 14:41:55 +01:00
James Harrison
3cdc208174
Update MinecraftCapes endpoints ( #907 )
...
Updates the mccapes endpoints with the new domain.
2020-07-06 09:26:00 -04:00
theminecoder
66570a623d
Fix scoreboards bleeding into other servers ( #902 )
2020-07-06 08:10:36 -05:00
rtm516
b0e291edc4
Fix version checking and add failed language string
2020-07-06 12:18:14 +01:00
rtm516
ad751ecb5b
Fix ping passthrough throwing errors on unknown properties ( Fixes #903 )
2020-07-06 11:18:17 +01:00
Camotoy
afcf1e3acd
Change versioning to match supported Bedrock version; add versioning command ( #730 )
...
* Change versioning to match supported Bedrock version
Line up Geyser's versioning to match with the highest/currently supported Bedrock version for future tracking of older Geyser versions.
* Add version command
* Fix DEV check for version command
* Remove SNAPSHOT
* Update languages submodule
Co-authored-by: rtm516 <ryantmilner@hotmail.co.uk>
2020-07-05 21:38:24 -04:00
DoctorMacc
ca4d827d28
Don't cause a recursion error if Geyser can't find the locale
2020-07-05 21:13:28 -04:00
rtm516
cfaf4051b7
Add Translation support ( #504 )
...
Adds full multi-language support to any Bedrock-supported language.
Co-authored-by: DoctorMacc <toy.fighter1@gmail.com>
2020-07-05 19:35:51 -04:00
RednedEpic
d1e5960d69
Send a dimension change upon join game packet now sent by bungeecord on 1.16
2020-07-05 18:33:05 -05:00
RednedEpic
69d7db4493
Update mappings submodule
2020-07-05 17:18:33 -05:00
RednedEpic
da1674c8d6
Update to Cloudburst NBT 2.0
2020-07-05 15:59:44 -05:00
DoctorMacc
4062f1ee55
Fix flower pots and item frames
2020-07-05 00:03:51 -04:00
RednedEpic
8ac5d6e13d
Fix memory leak in legacy ping passthrough ( Fixes #674 , #813 )
2020-07-04 16:35:48 -05:00
RednedEpic
cc2bbc675f
Update mappings submodule
2020-07-04 13:08:36 -05:00
DoctorMacc
a7fbe995f8
Add comment and check for null when removing passengers
2020-07-04 10:26:32 -04:00
rtm516
da96a5b19c
Fix Strider cold state when riding and removing of the RIDING flag when a parent is killed
2020-07-03 22:55:54 +01:00
AJ Ferguson
ab71bf0727
Fix bug when dropping items from an open inventory
2020-07-03 12:18:35 -08:00
rtm516
61072948b9
Add GUI to standalone
2020-07-02 20:10:43 -04:00
DoctorMacc
699ae0b88e
Set strider entity offset properly if not a player entity
2020-07-01 20:27:39 -04:00
DoctorMacc
c17f21eedc
Fix respawn bugs - hopefully for good
...
Thanks to @bundabrg for spotting this one.
2020-07-01 12:28:03 -04:00
rtm516
0f342c1e80
Update mappings to fix fences and plant stems
2020-07-01 14:26:00 +01:00
DoctorMacc
51dfda1c91
Clean up formatting
2020-07-01 08:22:21 -04:00
DoctorMacc
81651cfac5
Add support for 3D biomes; fix Nether biome display
2020-06-30 20:39:21 -04:00
rtm516
c804a6edfb
Fix respawning and death not being registered on the client
2020-06-30 17:08:22 +01:00
rtm516
e7fae53552
Fix Strider shaking
2020-06-30 13:51:44 +01:00
rtm516
a9bb8745f5
Fix Zombified Piglin fire flicker
2020-06-30 13:20:03 +01:00
DoctorMacc
ba6adc988b
Strider mounting fixes; update mappings
...
This commit refactors health visual logic to make it a global system for each living entity.
2020-06-29 21:34:01 -04:00
AJ Ferguson
eb3bde15a7
Fix stored enchantments accidentally being dropped
2020-06-29 16:59:02 -08:00
AJ Ferguson
95144266d2
Handle int tag for enchantment level
2020-06-29 16:59:02 -08:00
rtm516
7710261b70
Add Loadstone Compass tracking
2020-06-30 00:52:32 +01:00
DoctorMacc
4c89a8e303
Return to using Protocol develop branch
2020-06-29 17:52:59 -04:00
DoctorMacc
fc4a87a9c9
Fix blocks not updating
2020-06-29 16:46:29 -04:00
DoctorMacc
ebc1f13e9b
Update dependencies ('item marked as non-null' error is fixed')
2020-06-29 16:03:54 -04:00
AJ Ferguson
e77f2b5dbb
Drop long array nbt tag when translating to bedrock
2020-06-29 10:59:51 -08:00
rtm516
d394cc6280
Update entity metadata
2020-06-29 15:37:54 +01:00
rtm516
91c33242c6
Fix baby states and collisions of 1.16 mobs
2020-06-29 14:40:06 +01:00
rtm516
70009c4bf9
Clean chat code and fix skins
2020-06-29 13:50:16 +01:00
DoctorMacc
f2f59e4e37
Fill in renamed villager trading values (villager trading UI now opens)
2020-06-28 23:44:38 -04:00
AJ Ferguson
12d5982c57
Anvil fixes
2020-06-28 16:14:57 -08:00
rtm516
f5da962f6f
Fix disconnect message formatting
2020-06-28 23:38:27 +01:00
AJ Ferguson
c2c64fd1cf
Fix some recipes with multiple ingredient options
2020-06-28 13:33:38 -08:00
RednedEpic
8e8bc2817a
Return if sound is null and update mappings
2020-06-28 12:35:17 -05:00
D3ATHBRINGER13
980e82a2d9
Replace Bukkit with Spigot ( #831 )
2020-06-28 10:52:53 -05:00
Tim203
2df3d4cbca
Update to the latest MCProtocolLib commit
2020-06-28 16:44:57 +02:00
rtm516
9569416124
Fix chat formatting and team colors
2020-06-28 14:57:41 +01:00
AJ Ferguson
1410b67189
Update mappings submodule
...
Fixes shulker boxes
2020-06-27 22:36:41 -08:00
DoctorMacc
6e94428f60
Non-working smithing table inventory support
2020-06-28 01:53:35 -04:00
AJ Ferguson
e3e8bb2799
Fix first item of creative inventory not showing
2020-06-27 20:47:10 -08:00
AJ Ferguson
2e0eb6dfb7
Fix creative item list
2020-06-27 15:26:16 -08:00
Tim203
8f763dfc5f
Move common stuff used only by connector and bootstrap to connector
2020-06-28 00:27:00 +02:00
Tim203
dd1747cae9
Updated the mappings and fixed building
2020-06-27 23:47:52 +02:00
rtm516
7743f6d718
Add dump command ( #808 )
...
* Add dump command
Adds a command to collect and dump infomation about the Geyser install and bootstrap and submit it to a dumps site.
* Finalize URL; misc. fixes; add 'architecture' param
Co-authored-by: DoctorMacc <toy.fighter1@gmail.com>
2020-06-27 11:36:48 -04:00
DoctorMacc
75f470cb33
Fix creative items
2020-06-27 11:35:02 -04:00
rtm516
5b147f8dd1
Fix en_us locale downloading ( #809 )
...
Fixes occasional inventories not working because of being unable to read the locale.
2020-06-27 02:00:10 -04:00
endevrr
d516dc5b90
Update Mappings ( #816 )
...
* Relocate Reflections Dependency
* Update some mappings
2020-06-27 01:00:35 -04:00
AJ Ferguson
ba9129129c
Quick inventory fixes. WIP
...
Temporary. The inventory system will be rewritten very soon.
2020-06-26 18:51:09 -08:00
rtm516
17a1e82eca
Add closest color mapping for RGB chat colors
2020-06-26 23:33:38 +01:00
DoctorMacc
54f6fada12
Remove try/catch from BlockTranslator and ItemTranslator
2020-06-26 11:15:21 -04:00
DoctorMacc
e60f47f65d
Fix zombified piglins
2020-06-25 22:52:48 -04:00
DoctorMacc
409293f1db
Add new 1.16 entities
2020-06-25 22:32:04 -04:00
DoctorMacc
6f2bf659a9
Update JavaEntityEquipmentTranslator for Java 1.16
2020-06-25 21:53:51 -04:00
DoctorMacc
bb630dc867
Update PotionMixData
2020-06-25 12:03:20 -04:00
DoctorMacc
06fa0de793
Add translator for PacketViolationWarningPacket
2020-06-25 11:16:36 -04:00
DoctorMacc
bd16925bab
Update mappings repository
2020-06-25 11:11:21 -04:00
DoctorMacc
71aada1df3
Fix dimension switching; add static references to new Java dimensions
2020-06-24 20:27:27 -04:00
DoctorMacc
a964befef2
Merge branch 'feature/1.16' of https://github.com/GeyserMC/Geyser into feature/1.16
2020-06-24 18:23:02 -04:00
AJ Ferguson
f0aaebc0ec
Bump block state version
2020-06-24 14:14:20 -08:00
DoctorMacc
1572ac20f1
Update mappings repository
2020-06-24 17:53:26 -04:00
DoctorMacc
8be0c4b27e
Update some entity properties based on wiki.vg
2020-06-24 16:40:42 -04:00
DoctorMacc
60fa43c739
Update Bedrock resources dumped by @bundabrg
2020-06-24 14:19:57 -04:00
DoctorMacc
b34dc05c1d
Uncomment JavaDeclareCommandsTranslator and update
2020-06-24 12:16:30 -04:00
DoctorMacc
78df56c7a0
Update for 1.16.1
2020-06-24 11:14:11 -04:00
DoctorMacc
3ea1059a62
Update for 1.16
2020-06-23 09:34:12 -04:00
DoctorMacc
0471fa89f4
Bedrock 1.16 updating part 2 (Doesn't work)
2020-06-22 21:21:42 -04:00
DoctorMacc
ea1a9e5427
Bedrock 1.16 updating part 1
2020-06-22 20:11:09 -04:00
DoctorMacc
56f9330a2d
Remove ServerSpawnWeatherEntityPacket
2020-06-21 19:22:59 -04:00
DoctorMacc
63244ade53
Rename Geyser-Bukkit to Geyser-Spigot
2020-06-21 16:27:42 -04:00
DoctorMacc
427f4ef83d
Merge master into Spigot rename
2020-06-21 16:21:47 -04:00
DoctorMacc
b9ccabb3bb
According to all known laws of aviation, bees exist
2020-06-20 22:46:09 -04:00
DoctorMacc
117cdf282d
Begin updating Geyser. Requires manual MCProtocolLib compile
2020-06-20 22:24:45 -04:00
DoctorMacc
dbe1755a8e
Update mappings repository
2020-06-20 18:28:07 -04:00
DoctorMacc
1015b830ce
Merge branch 'master' of https://github.com/GeyserMC/Geyser into mcprotocollibupdate
2020-06-20 17:50:00 -04:00
bundabrg
e66f57f9f0
Provide a platform independent method of retrieving the datafolder ( #769 )
...
* Provide a platform independent method of retrieving the datafolder
* LocaleUtils now uses datafolder
* Make use of Path instead of File
Changes:
* Rename getDataFolder() to getConfigFile() and update to return a Path in each bootstrap
* Rename filePath to tmpFilePath
* Update Velocity configFile to configFile Path
2020-06-20 12:54:40 -05:00
Camotoy
100d7b7759
Add villager interactive tag ( #788 )
...
* Add villager interactive tag
This adds a button/controller guide for villager trading, if the villager is able to trade.
* Use a broader variable for metadata
2020-06-20 13:44:40 -04:00
Camotoy
effd7602af
Clarify Bedrock remote address change ( #787 )
...
There's no reason for most users to try changing this.
2020-06-19 13:39:40 -05:00
rtm516
47cadc7689
Fix json data in chat
2020-06-19 19:29:01 +01:00
DoctorMacc
65f61ec703
Finish block state changes
2020-06-19 09:06:29 -04:00
rtm516
5eb7c9d1dc
Add a setter to the auth type to allow for changing at runtime ( #784 )
...
This is mainly for GeyserConnect but may be useful in other cases
2020-06-19 08:50:10 -04:00
rtm516
ad4c1ff0c7
Update Message system
2020-06-19 11:57:34 +01:00
DoctorMacc
d6119375b2
(Incomplete) Update MCProtocolLib
2020-06-18 21:44:50 -04:00
Camotoy
9369b20209
Add 1.9+ PvP 'Cooldown' ( #768 )
...
* Add 1.9+ PvP 'Cooldown'
This commit adds a subtitle that acts as the Java cooldown. This is an optional feature disabled in the config with `show-cooldown`. This does not appear on plugins that use OldCombatMechanics.
* No need to bump up the config version; I was just tested with OldCombatMechanics
* Use simpler casting
* Use session variable of lastHitTime for theoretically better performance
* Reuse attribute value calculation from AttributeUtils
* Remove unused imports
* Revert config version update in config.yml
2020-06-16 19:03:28 -05:00
Camotoy
256c62ce88
Entity (mostly rotation) fixes ( #675 )
...
* Entity (mostly rotation) fixes
This PR adds:
- Pig health displaying. Doesn't fix pigs being able to be controlled
- Entity rotation is *mostly* correct. Villagers and sitting cats still seem to be odd but the ender dragon works great.
* Remove debug line
* Abstract rotation updating to functions per-entity
* Don't include changes from other projects
* Minor improvements
* Make updateRotation and updatePositionAndRotation cleaner
* Javadoc
2020-06-16 18:58:06 -05:00
rtm516
a6f91d5e15
Fix maps not loading in sometimes ( #758 )
...
* Fix maps not loading in sometimes
Adds a default map ID so the map item isnt invisible on bedrock.
Respond to the MapInfoRequestPacket so the image loads on first join.
* Remove debug log
* Add comments
2020-06-15 14:24:52 -04:00
Sirawit Thaya
649cf28399
Fixed incorrectly arguments parsing ( #773 )
2020-06-15 11:20:38 +01:00
DoctorMacc
cc3b4c3eda
Merge latest master; copy over old Geyser-Bukkit configs
2020-06-11 16:39:29 -04:00
Camotoy
7fcd8f2daf
Fix block entities on older versions ( #756 )
...
* Fix block entities on older versions
This commit solves two problems related to block entities on older versions:
- Occasionally, tags would contain the ID under a StringTag with an empty value, and not the ID tag.
- The block entity regex did not account for block entity tags that were already in a Bedrock-compatible format (BlockEntity)
* Move BLOCK_ENTITY_TRANSLATIONS to BlockEntityTranslator
2020-06-10 18:02:29 -05:00
Camotoy
34b367bfc3
Configuration updates ( #653 )
...
* Configuration updates
The main feature of this commit is switching Bukkit and BungeeCord to using Jackson configuration. This allows comments to load. Along with this, the Jackson configs have been consolidated into one abstract class, and a check is made to ensure auth-type cannot be set to Floodgate if Floodgate is not installed.
* Add deleted file; remove imports
* Re-add changing of Bukkit port
* Alphabetize import
* Alphabetize Bungee import
* Updates
* Swap values in GeyserJacksonConfiguration
* Add a null check for GeyserConnector in Bukkit's onDisable
2020-06-10 17:58:29 -05:00
Camotoy
7231758a19
Prevent swimming animation from appearing on older servers ( #692 )
...
The swimming animation could be played on older servers since that was a legacy value for using an item.
2020-06-10 17:52:36 -05:00
rtm516
a5eba85880
Add ServerPlayerListDataPacket to ignored packets ( #755 )
...
This packet handles the header and footer of the scoreboard, therefore this does not exist in bedrock.
2020-06-10 17:52:07 -05:00
6e127edfd6
Stop using TrigMath class ( #753 )
...
* Stop using TrigMath class
* Use MathUtils
2020-06-09 14:50:21 +02:00
1da130ab07
Fix initial movement speed ( #751 )
...
Bedrock clients move very fast by default until they get an attribute packet correcting the speed.
2020-06-08 08:13:25 -04:00
DoctorMacc
afb12e923b
Show villager display name
2020-06-06 00:04:05 -04:00
DoctorMacc
4c5d80e2e9
Update to latest master
2020-06-05 22:52:11 -04:00
rtm516
ccb44f604e
Fix query not following normal MC standards ( #736 )
...
Changed the query token generation to generate a 4 byte int represented as a null terminated string
2020-06-04 20:04:38 -04:00
AJ Ferguson
1d8995efe6
Add minimum delay between closing and opening a new window ( #735 )
...
Should fix new windows not showing up with some plugins like Lottery.
2020-06-04 14:49:32 -04:00