RednedEpic
16c9317a36
Fix flickering sky if time is too high ( Closes #200 )
...
This was caused because the max int size is 2,147,483,647, which is what Minecraft: Bedrock Edition uses in the time packet. In Minecraft: Java Edition, a long is used which has a max length of 9,223,372,036,854,775,807, thus causing the sky to bug out.
This commit uses the modulus operator with the max time value per-day of 24,000 to retrieve the remainder.
2020-03-15 13:20:55 -05:00
RednedEpic
e203cfd4a7
Move back to XUID for Floodgate
...
The normal identity UUID caused problems and caused the bedrock client to crash when using Floodgate. This was likely because on bedrock edition, it's a version 3 UUID opposed to java edition which uses version 4.
2020-03-14 14:03:44 -05:00
RednedEpic
105ce2b3b5
Add effect translations
2020-03-10 19:40:51 -05:00
Tim203
37d377b483
Floodgate now uses identity instead of xuid
2020-03-09 21:32:19 +01:00
RednedEpic
acc30f2432
Move DeviceOS to common module
2020-03-08 11:45:00 -05:00
RednedEpic
9e203d48aa
Fix running Geyser commands ingame
2020-03-06 19:37:35 -06:00
RednedEpic
0e355c1a95
Fix natural creeper explosion animation not showing up
2020-03-06 19:27:12 -06:00
RednedEpic
7bd53c95c3
Work on a lot more entity flags
2020-03-06 17:29:11 -06:00
RednedEpic
e4c2f79bc5
Fix a couple minor entity bugs
2020-03-06 15:56:48 -06:00
RednedEpic
119f35b690
Fix chat getting cut off ( Closes #188 )
2020-03-06 15:44:49 -06:00
AJ Ferguson
f71c70224b
Only translate full chunks
2020-03-05 17:55:22 -09:00
AJ Ferguson
eaf45ff6f7
Fix chunk view position bugs on some servers
2020-03-05 16:26:36 -09:00
AJ Ferguson
223e94a31d
Revert non-full chunk fix
...
This fix causes far too much lag on big non-full chunk updates
2020-03-05 10:45:50 -09:00
RednedEpic
1670c77672
Only allow console to shut down Geyser with a command
2020-03-04 20:44:42 -06:00
RednedEpic
936cbad67d
Get log4j2 working and fix commands
2020-03-04 20:35:23 -06:00
RednedEpic
f9a1656b8e
Merge remote-tracking branch 'origin/plugin' into plugin
2020-02-26 19:31:45 -06:00
RednedEpic
2bdf3d4d7f
Merge branch 'master' into plugin
2020-02-26 19:31:19 -06:00
Tim203
b97fa2b1c8
Added a response to the PluginMessage packet in the Login state
2020-02-26 23:53:26 +01:00
RednedEpic
09e4bbd8ca
Make sure scale is not null when setting armor stand as baby
...
If it's null, it's invisible.
2020-02-25 19:52:27 -06:00
RednedEpic
4c87a13e25
Snap height only if on ground
...
(Original commit 2dc6ab453f931ac2083a6d142e963beb0a101b94)
2020-02-25 19:36:36 -06:00
RednedEpic
f5bc328737
Merge branch 'master' into feature/new-protocol-lib
2020-02-25 18:54:31 -06:00
RednedEpic
f0e01ab1c9
Fix getting stuck in wall bug
...
Due to java doubles being somewhat more "precise" and bedrock positions being sent in floats instead, this caused bedrock players to get stuck in blocks when jumping or running near them in a certain way, thus causing the server to try and correct their position, potentially flagging anticheats and causing the server to print a "moved wrongly" message in console.
See: https://stackoverflow.com/questions/322749/retain-precision-with-double-in-java
2020-02-25 18:50:09 -06:00
RednedEpic
1af4d71bd1
Remove extra height added to position when server corrects movement
...
This should fix the bug where you can "climb" up blocks. Although this doesn't fix the random spasm the client gets, it should prevent players from climbing up blocks (and getting stuck in them), thus preventing anticheats from going crazy.
2020-02-24 20:04:18 -06:00
Redned
b41d66dd19
Set can climb for entity back to true
...
This has nothing to do with the bug where players can "climb" up blocks, but rather disabling this feature disables the ability to climb up vines and ladders. This commit reverts that.
2020-02-23 18:02:54 -06:00
Redned
35ed1ec916
Merge pull request #156 from AJ-Ferguson/chunk-fix
...
Chunk fixes
2020-02-23 14:38:20 -06:00
RednedEpic
720f69d913
Set can climb for entity to false
2020-02-16 14:07:40 -06:00
RednedEpic
41a24ca6ab
Merge branch 'master' into plugin
2020-02-16 13:25:37 -06:00
RednedEpic
f87ff70369
Update to NukkitX Protocol Lib 2.5.1
2020-02-16 13:07:35 -06:00
RednedEpic
9ffec0021c
Fix movement bugs *and* allow for teleportation
2020-02-16 12:40:54 -06:00
OnlyBMan
18a50d4e3e
Fix baby armorstands showing even when invisible
2020-02-15 21:35:05 -05:00
RednedEpic
f52684f0dd
Fix teleportation
2020-02-15 19:06:18 -06:00
RednedEpic
ee85abf34c
Fix player movement not being visible, movement bugs and laggy entities
...
(Addresses #74 , #109 )
2020-02-15 17:39:34 -06:00
AJ Ferguson
2d0a584106
Fix swimming
2020-02-15 01:18:41 -09:00
RednedEpic
e6d166d4d4
Merge branch 'master' into feature/new-protocol-lib
2020-02-14 17:58:53 -06:00
RednedEpic
4bb34cdcce
Merge branch 'master' into feature/new-protocol-lib
2020-02-14 17:57:28 -06:00
RednedEpic
4186715083
Update to NukkitX Protocol Lib 2.5.0 release
2020-02-14 17:39:26 -06:00
RednedEpic
bf90b803ca
Fix interact and attack in interact translator
2020-02-14 17:27:08 -06:00
AJ Ferguson
35bf1b455e
Fix new player entity data getting lost while loading skin
2020-02-13 17:45:15 -09:00
AJ Ferguson
fa7324e1f5
Add support for offhand
2020-02-13 17:45:14 -09:00
AJ Ferguson
b18b83fd9a
Fix armor not showing if partially armored
2020-02-13 17:45:14 -09:00
AJ Ferguson
276a8d6485
Fix hotbar slot changing when the player's hand is updated
...
The default value is 0.
-1 seems to leave the selected hotbar slot unchanged.
2020-02-13 17:45:14 -09:00
AJ Ferguson
7f194b2d54
Increase render distance instead of chunkpublisher radius
2020-02-11 13:42:02 -09:00
AJ Ferguson
3615ec2b90
Fix ChunkPosition
2020-02-10 18:24:09 -09:00
AJ Ferguson
9008036ee4
Merge remote-tracking branch 'remotes/upstream/master' into chunk-fix
...
# Conflicts:
# connector/src/main/java/org/geysermc/connector/network/translators/block/BlockTranslator.java
# connector/src/main/java/org/geysermc/connector/network/translators/java/world/JavaChunkDataTranslator.java
# connector/src/main/java/org/geysermc/connector/utils/ChunkUtils.java
# connector/src/main/java/org/geysermc/connector/utils/Toolbox.java
2020-02-10 17:38:56 -09:00
SupremeMortal
c70cf0bb47
Make biomes tag final
2020-02-09 22:55:07 +00:00
SupremeMortal
f9cd88eaa2
Merge branch 'master' of https://github.com/GeyserMC/Geyser into feature/direct-block-mapping
...
Conflicts:
connector/src/main/java/org/geysermc/connector/utils/Toolbox.java
2020-02-09 22:53:57 +00:00
SupremeMortal
9594b42523
Add waterlogging support
2020-02-09 22:06:22 +00:00
SupremeMortal
c9f33f8344
Pull in new submodule changes
2020-02-09 21:22:39 +00:00
RednedEpic
e8a1e0dae1
Add velocity platform support
2020-02-08 13:43:50 -06:00
AJ Ferguson
516fc51162
Small changes
2020-02-05 20:23:06 -09:00
AJ Ferguson
e4ab4b336c
Chunk fixes
2020-02-05 19:32:33 -09:00
AJ Ferguson
e0a1435d51
Send confirmation packet when spawning
...
Fixes some chunk bugs
2020-02-05 19:23:08 -09:00
AJ Ferguson
13f198845c
Fix bugs when rapidly switching dimensions
2020-02-05 19:21:09 -09:00
OnlyBMan
0bb18d26b0
Load biome definitions only once instead of everytime a new player joins
2020-02-05 22:02:23 -05:00
OnlyBMan
4dff067faa
Add biomes
2020-02-05 21:10:34 -05:00
RednedEpic
0cf574ddcb
Merge branch 'master' into feature/direct-block-mapping
2020-02-05 18:59:20 -06:00
RednedEpic
4f461bf374
Start on converting to the new NukkitX protocol library updates
2020-02-05 18:55:34 -06:00
AJ Ferguson
3e4fd618e5
Fix offline auth bug
...
Handled in GeyserSession#connect
2020-01-28 23:28:23 -09:00
RednedEpic
240f41ff03
Use Path instead of File for floodgate key file in config
...
...and fix related issues with the file not being found.
2020-01-26 11:22:21 -06:00
RednedEpic
989312835f
Fix custom name visible flag ( Closes #137 )
2020-01-26 00:05:05 -06:00
Redned
c4857c6a54
Merge branch 'master' into plugin
2020-01-25 23:03:47 -06:00
RednedEpic
cc3cf70257
Search for key in Geyser plugin folder in plugin versions
2020-01-25 22:59:00 -06:00
Tim203
ba724bb7d6
Added the Nintendo Switch as DeviceOS
2020-01-25 13:10:58 +01:00
RednedEpic
ed322029f3
Update hybrid mode reference to 'floodgate' in config.yml
2020-01-18 17:53:56 -06:00
RednedEpic
6702c59a15
Fix auth type check from merge conflict
2020-01-18 16:50:17 -06:00
RednedEpic
88fc3cf843
Fix building
2020-01-18 16:48:46 -06:00
RednedEpic
52b23950ea
Merge branch 'master' into plugin (should fix building)
2020-01-18 16:46:07 -06:00
RednedEpic
5c7755b772
Shade netty into Bukkit jar
2020-01-18 16:38:40 -06:00
RednedEpic
843c7a3047
Add support for showing item in hand for entities ( Closes #106 )
2020-01-11 13:05:43 -06:00
AJ Ferguson
9f7cba1915
Fix build error caused by mappings submodule
2020-01-08 19:48:03 -09:00
RednedEpic
dc594ee22c
Update license headers
...
Certain headers for classes that are to be removed (e.g. plugin api) were not updated to prevent merge conflicts.
2020-01-08 21:05:42 -06:00
RednedEpic
b1d93fb633
Organize entity packages a bit more
2020-01-08 20:35:00 -06:00
RednedEpic
814da2453c
Implement sheep colors and shearing ( Closes #126 )
2020-01-08 20:26:44 -06:00
Tim203
c5205cc873
Added a simple way to identify Geyser players.
...
Keep in mind that using this to identify players is less secure than using Floodgate
2020-01-07 22:29:49 +01:00
RednedEpic
2fc591e341
Merge Floodgate changes
2020-01-03 23:58:58 -06:00
RednedEpic
0c24ffc629
Merge branch 'master' into plugin
2020-01-03 23:25:00 -06:00
RednedEpic
7d14d079ef
Fix NPE with ServerInfo being null for ping passthrough
2020-01-02 12:37:30 -06:00
AJ Ferguson
8a19e35342
Update mappings submodule
2019-12-31 16:49:30 -09:00
SupremeMortal
d686a009d1
Fix most block palette issues. Others are due to the mappings
2019-12-31 23:24:54 +00:00
AJ Ferguson
cc4cfd020e
Support end credits
2019-12-30 19:26:11 -09:00
AJ Ferguson
423d02306c
Fix compass
2019-12-30 19:24:21 -09:00
SupremeMortal
94851ef4b8
Move all block related code into BlockTranslator
...
It makes more sense.
2019-12-31 00:14:38 +00:00
SupremeMortal
2e46ecf28f
Rename map and use correct ID when entering.
2019-12-30 23:37:30 +00:00
SupremeMortal
6599aefc43
Use correct ID for duplicates
2019-12-30 23:35:28 +00:00
SupremeMortal
b96ef99beb
Start working on direct block mapping.
...
This will not work
2019-12-30 23:33:27 +00:00
AJ Ferguson
377a87f7e3
Fix health edge case
...
If the java server sent a health value between 0 and 1, the player would die in the bedrock client
2019-12-29 01:45:57 -09:00
AJ Ferguson
4153e98134
Change lighting fix method
2019-12-28 23:20:48 -09:00
AJ Ferguson
c4658ecdae
Small changes
2019-12-28 21:45:41 -09:00
AJ Ferguson
6635241526
Fix rare slow dimension switching
2019-12-28 21:15:12 -09:00
AJ Ferguson
782feed641
Fix lighting when reloading world
2019-12-28 18:17:00 -09:00
AJ Ferguson
b2f86ec20b
Rewrite dimension code
...
New code does not rely on pausing the thread
2019-12-28 04:35:21 -09:00
AJ Ferguson
8efeb3fe25
Fix exception when removing all entities
2019-12-27 03:03:12 -09:00
AJ Ferguson
cc0b3293bf
Start fixing dimension switching and respawning
2019-12-27 02:29:46 -09:00
Redned
2ed492edb8
Merge pull request #116 from OnlyBMan/master
...
Fix baby animal sizes
2019-12-24 17:08:50 -06:00
OnlyBMan
0f70ad087c
Added scaling for Zombies, Villagers, and Armor Stands
...
Fixed code a bit and added support for new mobs.
2019-12-24 11:07:36 -05:00
Redned
97d8b8db68
Merge pull request #115 from AJ-Ferguson/master
...
Block states and fix waterlogged blocks
2019-12-23 12:03:15 -06:00
LegacyGamerHD
1f7b8ba5d5
Update Nukkit Protocol Library to 1.14 ( #117 )
...
* Update nukkit protocolib to 1.14
* Fixes
* Remove debug
2019-12-23 11:47:31 -06:00
OnlyBMan
efd5bae13b
Fix baby animal sizes
...
This should fix most baby animal sizes including Rabbits and their adult sizes!
2019-12-22 12:35:22 -05:00
AJ Ferguson
776d4c6585
Optimize waterlogged check
2019-12-22 00:32:49 -09:00
AJ Ferguson
a4279d1f34
Fix bubble columns
2019-12-21 14:14:20 -09:00
RednedEpic
b70edac3cc
Update Geyser help command message on startup
2019-12-21 16:19:32 -06:00
RednedEpic
70fd9867f5
Add Sponge platform bootstrap
2019-12-21 16:18:34 -06:00
RednedEpic
1fbbb87689
Add PlatformType enum and add bStats platform chart
2019-12-21 11:53:19 -06:00
RednedEpic
0960ab2365
Close bedrock server upon shutdown
2019-12-21 11:38:45 -06:00
RednedEpic
e38322a3ec
Nuke plugin API
...
https://media.giphy.com/media/oe33xf3B50fsc/giphy.gif
2019-12-21 11:35:48 -06:00
RednedEpic
d062e36fae
Merge branch 'master' into plugin
2019-12-21 10:05:21 -06:00
AJ Ferguson
d06f963b67
Block states and fix waterlogged blocks
2019-12-20 20:05:20 -09:00
RednedEpic
49caffc73e
Remove comment in AgeableEntity as it no longer true
...
This was due to the wrong entity IDs in MCProtocolLib, which have since been patched.
2019-12-18 20:53:30 -06:00
Redned
42ac37fe40
Merge pull request #112 from OnlyBMan/master
...
Update SkinProvider.java
2019-12-18 20:43:32 -06:00
Tim203
64b04330c3
Added the player his IP to the transferable data
2019-12-17 23:27:29 +01:00
OnlyBMan
afab21695a
Update SkinProvider.java
...
Remove duplicate code
2019-12-16 22:26:35 -05:00
OnlyBMan
203b3b9d46
Update SkinProvider.java
...
Instead of calling the scale method 3 times, just used a cached scaled image
2019-12-15 19:24:00 -05:00
OnlyBMan
16950bf8f2
Update SkinProvider.java
...
Fix OptiFine capes and downscales banner capes so they work on PE too.
2019-12-14 21:12:12 -05:00
RednedEpic
76e80df94c
Add trader llama entity
2019-12-14 11:40:04 -06:00
RednedEpic
3cc2d4775e
Update bedrock assets
...
1.14 blocks are still somewhat buggy and break with the latest runtime_block_states file, so the old one is being used for the time being. Bedrock players should have no problems joining java servers in 1.15, but new blocks won't show up for now.
2019-12-10 21:01:56 -06:00
RednedEpic
bb4dfeadf6
Update item and block mappings for 1.15
2019-12-10 20:42:51 -06:00
RednedEpic
8aaf411473
Add bee EntityType
2019-12-10 19:07:52 -06:00
RednedEpic
f0e02aad32
Initial 1.14 Bedrock support
2019-12-10 19:06:18 -06:00
Tim203
9527709c59
Merge branch 'master' of https://github.com/GeyserMC/Geyser
...
Conflicts:
common/pom.xml
connector/src/main/java/org/geysermc/connector/utils/SkinUtils.java
2019-12-10 20:52:42 +01:00
RednedEpic
5e8a3d2ca9
Add support for 1.15-pre6
...
Merely just a protocol change, nothing new has been implemented (such as bees) and won't be until bedrock 1.14 is released.
2019-12-09 20:19:09 -06:00
Redned
374436172a
Merge pull request #104 from GeyserMC/pr/pom-cleanup
...
General pom cleanup
2019-12-06 08:36:35 -06:00
Redned
30717a227a
Merge pull request #103 from AJ-Ferguson/master
...
Slightly improve movement
2019-12-06 08:35:30 -06:00
SupremeMortal
f5923d8e2e
General pom cleanup.
2019-12-06 11:02:31 +00:00
AJ Ferguson
fd95b8b36a
Slightly improve movement
...
A lot more work is needed to fix movement.
2019-12-05 21:54:29 -09:00
RednedEpic
855a253894
Add cat entity
2019-12-04 22:42:20 -06:00
RednedEpic
6f5fc4c85c
Fix JNI overlap with BungeeCord module
2019-12-04 18:56:51 -06:00
SupremeMortal
6e8a0847b4
Fix typo from protocol lib
2019-12-04 18:13:49 +00:00
RednedEpic
83d943e426
Only set variant for actual horses ( Fixes #99 )
2019-12-03 18:49:13 -06:00
RednedEpic
fe6b0e8afa
Update mappings submodule
2019-12-03 18:43:52 -06:00
RednedEpic
3e7e34dfb9
Move command reader into standalone module
2019-12-01 18:28:36 -06:00
RednedEpic
1c2ef99a54
Separate bootstrap and allow for Geyser to run on Bukkit (Addresses #54 )
2019-12-01 15:16:52 -06:00
RednedEpic
2c10274fc3
Break entities into separate classes and add equipment translator
...
This should make the process of translating entity metadata a whole lot easier and more organized. Future features involving entities and checking if they're capable of doing certain things should also be much easier now.
2019-11-30 18:19:03 -06:00
RednedEpic
cd17dc5f4c
Use FastUtil over Trove for maps/collections to reduce memory usage
...
This should significantly decrease the amount of RAM being used by Geyser. Previously it was using 300mb - 400mb on average. This has dropped it down to 80mb - 120mb. Ideally I'd like to decrease this value further, but that will require some more work.
2019-11-30 13:26:51 -06:00
Tim203
f1b19fc04e
Little changes
2019-11-30 19:10:29 +01:00
Tim203
1c48279a9f
Little changes
2019-11-30 18:38:09 +01:00
Tim203
b12256bc1e
Changed a method name
2019-11-30 15:32:13 +01:00
Tim203
7d645fbf16
First Flootgate commit
2019-11-30 13:34:45 +01:00
RednedEpic
c91e8e1958
Update mappings to use new submodule
2019-11-29 20:34:51 -06:00
AJ Ferguson
8c297990a9
Fix dropped items
2019-11-29 17:18:03 -09:00
AJ Ferguson
02569ea9d8
Update stonecutter mappings
2019-11-29 16:43:55 -09:00
RednedEpic
98cb8f406d
Suppress "could not submit stats" warning
...
This error usually means nothing (as said by Bastian himself) and it can be ignored. This does not appear to cause issues with displaying information on bStats itself.
2019-11-28 20:54:47 -06:00
RednedEpic
1cfeb01e38
Update wood mappings
2019-11-28 10:35:06 -06:00
RednedEpic
faffa07e89
Fix flying in creative mode
...
Flying with commands such as /fly will not work for now (it didn't in the first place). This will need to be addressed later.
2019-11-28 10:11:50 -06:00
Redned
7a4621cf51
Fix 'version' typo in startup message
2019-11-27 22:33:45 -06:00
RednedEpic
ee4a01e304
(Actually) fix offline mode skins
2019-11-27 21:22:27 -06:00
Redned
0e7fff0b9b
Fix permissions
2019-11-27 20:58:58 -06:00
RednedEpic
9875d204e3
Add more entity metadata translations and fix autojump ( Closes #73 )
2019-11-27 19:30:30 -06:00
Redned
2e90759f40
Merge pull request #87 from GeyserMC/feature/1.13-bedrock
...
1.13 Support
2019-11-27 10:09:58 -06:00
RednedEpic
5c7ecbd203
Fix end crystal entity
2019-11-26 21:12:35 -06:00
RednedEpic
c67630dfb1
Update to latest NukkitX Protocol changes
2019-11-26 20:03:23 -06:00