AJ Ferguson
ff69752d2c
Remove unnecessary is_block null check
2021-01-04 15:16:21 -09:00
AJ Ferguson
57e176efd6
Optimize stackSize
...
Co-Authored-By: Camotoy <20743703+Camotoy@users.noreply.github.com>
2021-01-04 15:12:26 -09:00
AJ Ferguson
a160e3694b
Add stackSize to ItemEntry
2021-01-04 14:47:48 -09:00
Camotoy
50f295b4cd
Remove unneeded GeyserItemStack constructor and add comments
2021-01-04 18:19:43 -05:00
AJ Ferguson
8928d554a1
WIP autocrafting using java recipe book
...
work in progress. many edge cases are currently unhandled. will not work at all pre 1.12. (support is planned)
2021-01-03 17:54:26 -09:00
Camotoy
50b80a64d3
Dimension switching cleanup ( #1694 )
...
* Dimension switching cleanup
Cleans up dimension switching logic that should no longer be needed. Also fixes above Nether Bedrock building dimension switching.
* Clear thunder on dimension switch too
* Clarify fake dimension switch function name
* Javadoc that
2021-01-03 19:06:20 -05:00
Camotoy
1c7567d79d
Various resource pack fixes ( #1769 )
...
- Fixes an instance where an invalid pack_manifest file could be present
- Fixes instances where JSON files were not read as UTF-8
2021-01-03 12:53:26 -05:00
YHDiamond
1a08e1104d
Fix stopsound bug ( #1771 )
...
* Fix stopsound not working bug
* removed extra imports
* Update JavaPlayerStopSoundTranslator.java
* Update JavaPlayerStopSoundTranslator.java
* Update JavaPlayerStopSoundTranslator.java
* Fix packet names and fix specific sounds not stopping
Co-authored-by: YHDiamond <47502993+yehudahrrs@users.noreply.github.com>
Co-authored-by: Camotoy <20743703+Camotoy@users.noreply.github.com>
2021-01-02 18:51:41 -05:00
AJ Ferguson
528a9a4431
Crafting table slot mappings
2021-01-01 18:37:33 -09:00
Camotoy
396d1b6b61
Fix items on campfires ( #1779 )
2021-01-01 18:33:21 -05:00
Camotoy
eccb48844e
Allow enderman to make provoked sound when angry ( #1763 )
2021-01-01 16:55:04 -05:00
Camotoy
7a82852134
Merge branch 'server-inventory' of https://github.com/GeyserMC/Geyser into server-inventory
2021-01-01 14:22:44 -05:00
Camotoy
2a5c134ea7
Update server inventory copyrights to 2021
2021-01-01 14:22:26 -05:00
Camotoy
8317961340
Merge branch 'master' of https://github.com/GeyserMC/Geyser into server-inventory
2021-01-01 14:20:52 -05:00
Camotoy
186d94917a
Update copyright to 2021 ( #1772 )
...
* Update copyright to 2021
Free commit!
* These don't need a copyright
* Don't downgrade the mappings
2021-01-01 10:10:36 -05:00
AJ Ferguson
b7b3278d8b
item painting. cursor net id
2020-12-31 17:39:54 -09:00
Camotoy
77153e6d4a
Work around there being a void floor in Bedrock ( #1405 )
...
* Work around there being a void floor in Bedrock
If the player's Y coordinate is -38 or below, we teleport the player below the void floor and they can safely die. :)
* Don't teleport if below Y -40
* sigh
* Have floorY be its own variable
* Add more comment
* More comments
* Finish my thought
2020-12-31 20:05:00 -05:00
Camotoy
c4fc604e0c
Optimize stonecutter button code
2020-12-29 20:31:48 -05:00
Camotoy
3c1a40c56a
Better net ID handling
2020-12-29 19:59:22 -05:00
Camotoy
f4b1d470c3
Merge branch 'server-inventory' of https://github.com/AJ-Ferguson/Geyser into server-inventory
2020-12-29 19:02:11 -05:00
Camotoy
ac4f6eceac
Merge branch 'master' of https://github.com/GeyserMC/Geyser into server-inventory
2020-12-29 19:01:59 -05:00
AJ Ferguson
e3b94bc859
Thrown potion entity color ( #1756 )
...
* Fix thrown potion color
* Prevent area effect cloud from appearing to catch on fire
* Don't set ENCHANTED flag on all potions
2020-12-29 18:58:02 -05:00
David Choo
fe63a7f7ab
Fix pick block ( #1753 )
...
* Use pick_item mappings
* Update mappings
* Update mappings and fix wording
2020-12-29 18:09:42 -05:00
Camotoy
a5c020e7ee
More comments
2020-12-28 13:16:17 -05:00
Camotoy
3ba396e625
Fix some temporary inventory blocks not disappearing
2020-12-28 00:47:10 -05:00
Camotoy
2265de3ae9
lecterns
2020-12-28 00:29:27 -05:00
Camotoy
790c695b27
Add TODO
2020-12-27 11:08:48 -05:00
Camotoy
956d264c3e
Anvil renaming works; other things
2020-12-26 22:55:14 -05:00
AJ Ferguson
60da3b9432
Temp slot
2020-12-26 18:44:48 -09:00
Camotoy
4b461e5e0a
Merge branch 'master' of https://github.com/GeyserMC/Geyser into server-inventory
2020-12-26 19:52:16 -05:00
Camotoy
d1c571d710
Fix anvil renaming ( #1744 )
...
Turns out it *was* our fault. Oops.
2020-12-26 19:51:11 -05:00
Camotoy
7c4e95625a
Cleanup and delete FilterTextPacket - PRing to the main branch
2020-12-26 19:16:35 -05:00
Camotoy
078af59249
Streamline Item Net ID getting; cartography table finished
2020-12-26 16:41:50 -05:00
Tim203
77de991bcf
Change Jenkins url and name to Open Collaboration ( #1732 )
2020-12-26 21:40:49 +01:00
Camotoy
eb5e4d79bb
Add visual damage support with thorns ( #1728 )
2020-12-26 15:39:46 -05:00
Camotoy
06f346b30b
Fix offset issue
2020-12-26 13:24:50 -05:00
Camotoy
c1f5380ed1
Add horse inventory support
2020-12-26 12:20:59 -05:00
Camotoy
c7fade295e
Add swap support for creative mode; start on cartography table
2020-12-24 20:43:24 -05:00
Camotoy
3d0b0a1076
Stonecutter fixed; Loom improved
2020-12-24 18:29:25 -05:00
Camotoy
9fc6228fc0
GeyserSession: remove 32 render distance cap ( #1546 )
...
Having an incongruency between the server render distance and the client render distance appears to cause issues, and I have not been able to encounter such a crash.
2020-12-24 13:40:57 -05:00
Camotoy
617a1216d5
Initial work on stonecutters
2020-12-24 11:23:47 -05:00
Mark
eca626aad6
Add missing netty-codec-haproxy dependency ( #1731 )
2020-12-24 00:31:23 -05:00
Camotoy
6ae81cce52
Full banner loom support
2020-12-23 22:53:54 -05:00
Mark
c67d91943c
HAProxy PROXY protocol support for downstream connections ( #1688 )
...
* Implement downstream PROXY protocol support
* Clarify the configuration version updating procedure
* Bump netty-resolver-dns to 4.1.56.Final
* Update Netty to .56
* Don't increase jar size by 2MB
Co-authored-by: Camotoy <20743703+Camotoy@users.noreply.github.com>
2020-12-23 20:47:29 -05:00
D3ATHBRINGER13
4d80edf6d9
Initial loom funtionality
2020-12-24 00:48:31 +00:00
Camotoy
0f735a8330
Block entity cleanup
2020-12-23 12:37:55 -05:00
Camotoy
e4ecd1a092
Merge branch 'master' of https://github.com/GeyserMC/Geyser into server-inventory
2020-12-23 12:32:39 -05:00
Camotoy
ff4f712eda
Implement beacon
2020-12-23 12:30:36 -05:00
Camotoy
f4f804e1ca
Enchantment table works; anvil is almost there
2020-12-23 01:21:00 -05:00
Camotoy
009905184e
Add grindstone and smithing table
2020-12-21 22:44:01 -05:00
Camotoy
c6b4d163a1
Improve creative support
2020-12-21 21:09:14 -05:00
Camotoy
dbfdae63f1
Add precautions to prevent stack traces on incomplete/unknown place sounds ( #1717 )
2020-12-20 20:42:14 -05:00
Camotoy
b490dcfcbb
Improve doDaylightCycle translation ( #1711 )
...
Previously, we wouldn't send the time if the server was sending the same time with doDaylightCycle on. However, this isn't vanilla behavior (for Bedrock nor Java) and can occasionally cause irregularities. The time is now always sent to Bedrock clients, and a daylightCycle field is added to GeyserSession to keep track of the doDaylightCycle gamerule we need to send to Bedrock. Removing the map we used to store the time may also improve memory usage since this was never cleaned up.
2020-12-20 20:41:07 -05:00
Camotoy
d69896b381
Fix NPE when no item can be found from a block ( #1718 )
...
This commit also removes an old map previously used for block entity translators
2020-12-20 20:40:21 -05:00
DoctorMacc
f47cf32d90
Make my life tolerable
2020-12-19 19:19:44 -05:00
DoctorMacc
1705f1034c
Merge branch 'master' of https://github.com/GeyserMC/Geyser into server-inventory
2020-12-18 18:37:54 -05:00
DoctorMacc
aa4a1058e3
Brewing stand support; other attempts
2020-12-17 21:47:18 -05:00
Camotoy
c92150013f
Allow /help to work even if command suggestions are disabled ( #1703 )
...
* Allow /help to work even if command suggestions are disabled
This sends a minimal available commands packet to permit /help sending to the server.
* Fix whitespace
* Just send an empty packet
* Change variable name
2020-12-17 14:10:58 -05:00
rtm516
ce9cd92b2e
Update GeyserConnector.java to fix JavaDoc ( #1701 )
2020-12-17 17:25:38 +00:00
qlow
9f6182f8df
Added a simple way to get a player by their xuid ( #1642 )
...
* Added IGeyserPingPassthrough#getPingInformation(InetSocketAddress) to make logging of the pinging IPs possible
* Added GeyserConnector#getPlayerByXboxUuid
* Added GeyserConnector#getPlayerByUuid and added some javadocs
* Update connector/src/main/java/org/geysermc/connector/GeyserConnector.java
Co-authored-by: rtm516 <rtm516@users.noreply.github.com>
* Update connector/src/main/java/org/geysermc/connector/GeyserConnector.java
Co-authored-by: rtm516 <rtm516@users.noreply.github.com>
* Update GeyserConnector.java
* Update SkinManager.java
* Update SkinProvider.java
* Renamed getPlayerByXboxUuid to getPlayerByXuid
Co-authored-by: qlow <info@qlow.eu>
Co-authored-by: rtm516 <rtm516@users.noreply.github.com>
2020-12-17 11:58:49 -05:00
DoctorMacc
33a86485dc
Implement dropper/dispenser, hopper, shulker
2020-12-17 11:46:11 -05:00
DoctorMacc
929b0ba80c
Refactors, and add furnace
2020-12-16 23:52:45 -05:00
Camotoy
82179797ab
Add proper ominous banner translation ( #1692 )
...
The ominous banner is a separate banner type in Bedrock. If we detect the ominous banner pattern, then we set the ominous banner type in NBT. This process is also checked vice-versa, allowing the ominous banner to be pulled from the Bedrock creative menu.
2020-12-16 12:50:16 -05:00
DoctorMacc
988e697a70
Crafting table works
2020-12-15 23:33:17 -05:00
DoctorMacc
3b3e72d5c3
Initial crafting table support
2020-12-15 23:01:27 -05:00
Camotoy
988fd66a85
Fix boat movement on land ( #1668 )
...
* Fix boat movement on land
1.16.100 appears to now take advantage of two newer entity metadata properties, IS_BUOYANT and BUOYANCY_DATA. Without the former, moving on land will not work properly. With the former and without the latter, moving in water no longer works.
* Use offset kind of
2020-12-15 13:09:40 -05:00
Camotoy
aed1eef6e1
Update Adventure and fix some legacy hover events ( #1681 )
2020-12-15 11:24:02 -05:00
Camotoy
55cf7d1c54
Fix more scoreboard crashing and oddities ( #1665 )
...
* Various fixes
* Apply updateType fix as well
* Slight optimization
2020-12-14 18:22:31 -05:00
Camotoy
8b5ef7478c
Fix PS4 behavior with NetworkStackLatencyTranslator ( #1678 )
2020-12-14 15:47:17 -05:00
RednedEpic
41cb593dc4
Update langauges submodule
2020-12-12 01:48:12 -06:00
RednedEpic
655e218115
Add settings command for settings menu as it broke in the settings screen in 1.16.100
2020-12-12 01:45:54 -06:00
RednedEpic
31209be79e
Ensure spawn radius is always 0 on the client's end
...
Fixes #1496 to the best of my knowledge. Any issue regarding the spawnpoint being off in terms of radius is up to the server at this point - would not be an us situation here.
2020-12-12 01:23:30 -06:00
RednedEpic
70031c65e7
Handle keepalives better ( Closes #965 )
...
Bedrock cuts off the last 3 digits consistently every time, meaning that the keepalive returned from bedrock is never fully accurate. However, if we multiply the value by 1000, then divide by 1000 when sending back to java, the proper value is returned.
2020-12-12 00:45:41 -06:00
RednedEpic
a60ab4e80e
Fix colored particles ( Closes #1627 )
2020-12-11 17:15:49 -06:00
RednedEpic
047bf5f0f4
Fix armor stand rotation ( Closes #1634 )
2020-12-11 17:06:33 -06:00
Camotoy
f19922ecf0
EnderCrystalEntity: don't appear to be on fire if fire is below ( #1651 )
2020-12-11 12:55:37 -05:00
Kooldude183
39a11da7e5
Fix resource pack description in config ( #1649 )
2020-12-10 22:13:54 +00:00
Camotoy
87c52ad524
Add a config option for toggling showing coordinates ( #1645 )
2020-12-10 11:13:36 -05:00
rtm516
91cdda95db
Change version in query to use a more informative string ( #1635 )
...
* Change version in query to use a more informative string
* Fix removal of string
* Cleaner implementation of version
* Fix build
* Make more explicit what we're replacing
Co-authored-by: Camotoy <20743703+DoctorMacc@users.noreply.github.com>
2020-12-09 15:14:12 -05:00
rosiecube
2a44874458
Fix Bedrock ItemEntity Y position bug ( #1636 )
...
Setting motion while on the ground causes visual issues. Additionally, there is an offset difference in the movement of an item entity.
2020-12-09 15:09:14 -05:00
DoctorMacc
f167ed2583
Merge branch 'master' of https://github.com/GeyserMC/Geyser into server-inventory
2020-12-09 11:57:46 -05:00
Camotoy
8e274daa75
Change default protocol version to 422 ( #1640 )
...
* Change default protocol version to 422
* Update Protocol
* Actually update to Protocol 2.6.1-SNAPSHOT
* Keep languages commit the same
2020-12-09 11:30:59 -05:00
DoctorMacc
049242db4b
Update to 1.16.200
2020-12-09 01:12:02 -05:00
D3ATHBRINGER13
3bcdf4cca1
Add map and banner cloning and map extending ( #1623 )
...
* Add all the crafting multi uuids
* Remove BANNER_ADD_PATTERN
* Remove TODO
2020-12-07 14:27:42 -05:00
qlow
a173005767
Added IGeyserPingPassthrough#getPingInformation(InetSocketAddress) to make logging of the pinging IPs possible ( #1633 )
...
Co-authored-by: qlow <info@qlow.eu>
2020-12-07 14:04:50 -05:00
Camotoy
798ae34cd1
WolfEntity: fix entire wolf being set to a color in rare instances ( #1630 )
2020-12-06 14:46:31 -05:00
Camotoy
2f294c9466
Fix player heads with a custom name ( #1625 )
2020-12-04 17:48:33 -05:00
OnlyBMan
2c0f3ec84d
Custom skull block support ( #683 )
...
Custom skulls are now implemented within the world when placed as a block. This is achieved by placing a fake player entity in the same spot.
Co-authored-by: DoctorMacc <toy.fighter1@gmail.com>
Co-authored-by: bundabrg <brendan@grieve.com.au>
Co-authored-by: bundabrg <bundabrg@grieve.com.au>
Co-authored-by: Camotoy <20743703+DoctorMacc@users.noreply.github.com>
2020-12-04 16:55:24 -05:00
rtm516
2067143b57
Fix supported version display name ( #1593 )
...
* Fix supported version display name
* Update connector/src/main/java/org/geysermc/connector/network/BedrockProtocol.java
2020-12-03 19:21:32 -05:00
D3ATHBRINGER13
b92d8d53e9
Bump languages submodule ( #1619 )
2020-12-03 18:20:39 +00:00
Camotoy
f6a26410da
Supply a unique network ID for each recipe ( #1615 )
...
This fixes crashes in the Minecraft betas.
2020-12-02 15:39:24 -05:00
Bastian Oppermann
24fd7dafc5
Do not send server custom chart for Metrics ( #1610 )
...
The server chart is automatically populated by the bStats backend.
2020-12-01 11:40:07 +00:00
Camotoy
ffd0c211fc
Fix villagers accepting books ( #1605 )
...
* Hopefully fix villagers accepting books
Fixes a couple of inconsistencies getting books from the creative menu.
* Fix fake news
2020-11-30 10:55:35 -05:00
rtm516
eb687e6638
Add check to fix NONE team color causing an NPE ( #1602 )
2020-11-28 15:10:19 +00:00
rtm516
da2dc69441
Update MCProtocolLib to Adventure migration ( #1572 )
...
* Use raw message data instead of converting the message
* Update MCProtocolLib to Adventure
* Ignore MCProtocolLib Adventure depend
* Remove unused dependency
* Fix isMessage handling `null` wrong.
* Update to adventure 4.2.0
* Clean-up isMessage
* Fix tests
* Clean-up of catch statements
2020-11-27 18:28:08 -05:00
Camotoy
11d9d30050
Fix mounts being unmountable with cache chunks ( #1576 )
...
Teleports need to be confirmed before riding
2020-11-27 17:56:32 -05:00
Carbuino
894275b8c4
Update UpstreamPacketHandler.java ( #1570 )
...
Changed the logging in message to display in the Action Bar instead of spamming the chat.
2020-11-24 11:14:02 -05:00
RednedEpic
896638ed84
Add support for latest beta (1.16.200.56)
2020-11-24 00:47:57 -06:00
rtm516
e412ba0993
Clear the Reflections scanners to stop it trying to scan ( #1582 )
2020-11-23 01:08:59 +00:00
rtm516
881e7a051c
Another android fix ( #1575 )
...
* Fix en_us hash reading on Android (again)
* Fix hash generation methods for Android
2020-11-22 10:40:53 +00:00