3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-11-09 17:50:20 +01:00
Commit graph

378 Commits

Autor SHA1 Nachricht Datum
Redned
30717a227a
Merge pull request #103 from AJ-Ferguson/master
Slightly improve movement
2019-12-06 08:35:30 -06:00
SupremeMortal
9c21bcc9e8
Add back target fixes. 2019-12-06 11:08:25 +00: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
Redned
70fa3476a3
Merge pull request #102 from GeyserMC/update-protocol-lib
Bump Protocol Lib to 2.4.2
2019-12-05 08:38:47 -06:00
SupremeMortal
a639d141e7
Bump Protocol lib to 2.4.2 2019-12-05 14:32:39 +00:00
RednedEpic
855a253894 Add cat entity 2019-12-04 22:42:20 -06:00
SupremeMortal
6e8a0847b4
Fix typo from protocol lib 2019-12-04 18:13:49 +00:00
SupremeMortal
8389cab95c
Bump Protocol Lib to 1.4.1 2019-12-04 18:02:27 +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
AJ Ferguson
0720e18015 Default bedrock enchantment level to 1 2019-12-02 16:07:44 -09:00
AJ Ferguson
1b37a19280 Translate bedrock enchantments to java 2019-12-02 15:55:45 -09:00
AJ Ferguson
7a58840821 Fix NoClassDefFoundError in Java 9+ 2019-12-02 14:22:13 -09:00
AJ Ferguson
4eeadc6d21 Start working on translating enchantments and potions
Translation is only (java -> bedrock) for now.

Only regular potions will translate correctly. More work will be needed to translate custom potions.
2019-12-02 01:46:07 -09:00
AJ Ferguson
d07404406b Cleanup and fixes 2019-12-01 16:28:09 -09:00
AJ Ferguson
ba0b898da9 Fix anvils 2019-11-30 17:22:14 -09:00
AJ Ferguson
db0e506e3b Merge branch 'master' into inventory 2019-11-30 15:25:18 -09:00
AJ Ferguson
8c93ca65f5 Update JavaDeclareRecipesTranslator.java 2019-11-30 15:24:01 -09:00
AJ Ferguson
8bb8208a46 Merge branch 'master' into inventory 2019-11-30 15:22:50 -09: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
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
AJ Ferguson
24e5d34ce9 Cleanup 2019-11-29 15:49:29 -09:00
AJ Ferguson
8a589129f0 Update crafting recipe combinations calculation 2019-11-29 02:16:52 -09:00
AJ Ferguson
e7a1063ee2 Merge branch 'master' into inventory 2019-11-29 02:15:35 -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
SupremeMortal
e70ac021af
Fix overlapping netty dependency when shading.
Why does this protocol library even include the entirety of netty?!?
2019-11-28 23:27:43 +00: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
AJ Ferguson
489c39e900 Start adding support for crafting
Expect bugs
2019-11-27 18:55:58 -09:00
AJ Ferguson
af85d6e4d2 Merge branch 'master' into 1.13-inventory 2019-11-27 18:39:52 -09: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
Redned
f06eb6f718
Bump NukkitX protocol library version 2019-11-27 09:58:57 -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
RednedEpic
ca9fc4e64c Merge remote-tracking branch 'origin/feature/1.13-bedrock' into feature/1.13-bedrock 2019-11-26 19:53:29 -06:00
RednedEpic
8725dba69c Fix offline mode console spam for skins 2019-11-26 19:52:13 -06:00
Redned
beda8f24b4
Merge pull request #84 from Tim203/feature/1.13-bedrock
Fixes errors related to skins
2019-11-26 19:45:43 -06:00
Redned
d7568ef523
Fix entity types with wrong names 2019-11-22 17:54:36 -06:00
AJ Ferguson
0fe1a302a3 Update mappings 2019-11-20 17:28:40 -09:00
Tim203
068033aeaa Fixes errors related to skins 2019-11-19 21:31:24 +01:00
RednedEpic
577aa6c8fc Add unload chunk translator 2019-11-17 15:40:13 -06:00
RednedEpic
d203485418 Add entity status translator 2019-11-17 15:29:49 -06:00
RednedEpic
51c1792d67 Only send one empty chunk upon login 2019-11-15 22:21:26 -06:00
RednedEpic
73c9ee313c Add fox entity type 2019-11-15 22:10:23 -06:00
RednedEpic
3e8ab6ca83 Fix players not showing up
Skins still need some work as it applies to every player online rather than a specific player; however, players are now visible regardless.
2019-11-15 21:25:43 -06:00
AJ Ferguson
ce7237392b Merge branch 'feature/1.13-bedrock' into 1.13-inventory 2019-11-15 14:55:15 -09:00
Redned
68b9f66e88
Fix tabs in formatting from previous commit 2019-11-14 21:07:22 -06:00
LegacyGamerHD
38ae400d0c add phew entity flags (#79)
* Add some entity flags
* goddangit stupid web editor
* whoops

(Some information pulled from BMan's pull request for flags)
2019-11-14 21:04:30 -06:00
AJ Ferguson
7d4cb06fbe Fix crash on login 2019-11-13 17:26:45 -09:00
RednedEpic
cfdaacf017 Minor cleanup 2019-11-12 22:28:47 -06:00
RednedEpic
3ffaf5c0e5 Attempt to fix crashes on login 2019-11-10 16:53:01 -06:00
AJ Ferguson
1c0c8e58c2 Merge branch 'master' into inventory 2019-11-10 03:46:03 -09:00
AJ Ferguson
e676a428fb Fix dropped items 2019-11-10 03:41:39 -09:00
AJ Ferguson
2d36a8b43b Begin adding support for creative
Still need to complete item mappings
2019-11-09 17:20:47 -09:00
RednedEpic
21ddf8af1e Update block palette 2019-11-09 11:14:31 -06:00
AJ Ferguson
659d52d18a Merge branch 'master' into inventory 2019-11-07 23:20:19 -09:00
RednedEpic
90e6ebc1be More work on 1.13 2019-11-05 18:55:59 -06:00
AJ Ferguson
625817c282 Implement some more windows
anvil, brewing stand, crafting table (still no crafting yet), shulker box
2019-11-05 14:17:22 -09:00
RednedEpic
18c13067b8 Set version for ResourcePackStackPacket 2019-11-02 16:14:28 -05:00
Redned
a4b2a016f8 Set version for pong and StartGamePacket from bedrock packet codec 2019-11-02 15:58:50 -05:00
Redned
5fee344743 Fix block palette 2019-11-02 15:50:04 -05:00
AJ Ferguson
5797dc2c7e Add inventory names
Some translation identifiers such as "container.blast_furnace" are not being translated yet
2019-11-01 01:07:13 -08:00
RednedEpic
9b7fe5c879 Remove init method from previous testing 2019-10-30 21:27:34 -05:00
RednedEpic
0e2f64b95a Start on 1.13 changes (not functional yet)
Cached palette still needs fixing, therefore this build actually does nothing yet.
2019-10-30 21:14:23 -05:00
AJ Ferguson
a65a14c2f2 Fix block breaking in creative 2019-10-27 01:56:47 -08:00
AJ Ferguson
24c27a03a9 Various fixes
Fix offhand, use AtomicInteger for transaction id, send null stack instead of air, and clear open inventory on dimension change
2019-10-22 15:31:03 -08:00
Redned
6b0c45b6c1
Set 'auth-type' to online by default 2019-10-21 19:23:39 -05:00
AJ Ferguson
38fd5376e7 Revert storing chunks in chunk cache 2019-10-21 16:07:07 -08:00
AJ Ferguson
12c049709a Fix item nbt translator
Mineplex server seemed to be sensitive about quotes in string tags
2019-10-21 03:16:02 -08:00
AJ Ferguson
08357ed8b2 Uncache chunks 2019-10-21 00:12:27 -08:00
AJ Ferguson
4074582059 Close open inventory before opening a new one 2019-10-20 19:41:46 -08:00
AJ Ferguson
06358b2449 Update JavaSetSlotTranslator.java 2019-10-20 15:24:29 -08:00
AJ Ferguson
8ae803b9a5 Add delay when reopening inventory 2019-10-20 13:52:21 -08:00
AJ Ferguson
3812712a06 Remove debug messages 2019-10-20 13:29:21 -08:00
AJ Ferguson
88648f705e Work on inventory transactions
work in progress
2019-10-20 13:25:41 -08:00
AJ Ferguson
3067c72746 Use chunk cache and fix ChunkPosition
getChunkBlock() in ChunkPosition returned incorrect values when negative numbers were inputted.

ChunkPosition did not function correctly when used as a key for maps because it did not override equals() and hashCode()
2019-10-19 23:54:30 -08:00
AJ Ferguson
2bab0d1d19 Calculate attribute modifiers and fix sprinting/sneaking 2019-10-17 23:54:20 -08:00
RednedEpic
a45fdc508d Fix fishing bobbers 2019-10-16 16:26:41 -05:00
RednedEpic
298b5e7a53 Fix colored titles 2019-10-16 16:16:58 -05:00
RednedEpic
d548647367 Fix/implement entity interaction and fix sprinting 2019-10-16 15:32:53 -05:00
RednedEpic
7571df9903 Attempt to reduce memory usage and fix not being disconnected from Java 2019-10-16 13:55:05 -05:00
RednedEpic
20dda985bc Comment out unneeded collision code
This may be handy in the future, but right now it serves no purpose.
2019-10-16 13:10:27 -05:00
RednedEpic
eabbacaaad Remove unnecessary null checks for missing mappings
"Missing mappings" are given placeholder values upon startup, so these null checks are pointless.
2019-10-15 22:21:44 -05:00
RednedEpic
0ac89f4880 Implement dimension changing and debugize 'moved too quickly' messages 2019-10-15 21:47:28 -05:00
RednedEpic
f6ab70cabb Remove empty Remapper class from merge conflict 2019-10-13 15:28:46 -05:00
RednedEpic
5cf96ec5be Update to latest MCProtocolLib version 2019-10-13 15:28:03 -05:00
RednedEpic
e815f58265 Fix sprinting (for now) 2019-10-13 14:41:49 -05:00
RednedEpic
3c9fab9fc4 Merge branch 'remapper' into master 2019-10-11 19:24:08 -05:00
RednedEpic
7c3a38698d Fix compile error 2019-10-11 18:58:40 -05:00
Redned
30d15707a6
Merge pull request #41 from Tim203/master
Players spawn, skins and capes, scoreboard, bossbar, fixes and updated protocol lib
2019-10-11 18:56:32 -05:00
RednedEpic
8c541304a6 Convert item and block maps in Toolbox to TIntObjectMaps 2019-10-11 18:38:34 -05:00
Tim203
c462017149 Improved remapper performance 2019-10-11 00:15:23 +02:00
Tim203
0e97e52337 Only notify debuggers that parsing GameProfile data failed and use the default skin and cape 2019-10-10 23:27:30 +02:00
Tim203
46cb14fc0a Removed unused class and made PlayerList show every player again 2019-10-10 23:16:07 +02:00
AJ Ferguson
2261cfe76a Update blocks.json 2019-10-10 12:49:18 -08:00
AJ Ferguson
c0c9fe95fb Also fix digging acknowledgement block update 2019-10-09 17:41:41 -08:00
RednedEpic
2da7709cd1 Fix block updates (and add support for neighboring blocks) 2019-10-09 20:03:18 -05:00
RednedEpic
a125967ec3 Implement new remapper 2019-10-09 19:11:50 -05:00
EOT3000
c556fa94ea Fix red sand/regular sand mix 2019-10-09 17:07:56 -04:00
Tim203
15506cf5b4 Edited PlayerInit behavior and updated protocol lib to 2.3.0 2019-10-09 20:39:38 +02:00
EOT3000
d99c285676 Entity interact? 2019-10-07 14:30:08 -04:00
Tim203
a7bd9da644 Bugfixes 2019-10-05 00:29:33 +02:00
Tim203
89550a5ecb Bugfixes 2019-10-04 19:25:08 +02:00
Tim203
ee97585036
Merge branch 'master' into master 2019-10-03 19:09:59 +02:00
Tim203
5eb7565b0a Third party capes, rotation fixed, wait for the client and updated protocol lib 2019-10-02 22:45:29 +02:00
Redned
91a80f7dee
Fix crash after first disconnect (#48) (Closes #10)
Fix crash after first disconnect
2019-10-01 20:08:59 -05:00
AJ Ferguson
4b0d777128 Fix crash after first disconnect 2019-10-01 15:36:33 -08:00
Redned
fe567bb3cc
Merge pull request #47 from LoudSoftware/missing-mobs
Added some missing mobs
2019-09-30 21:02:42 -05:00
Nicolas Znamenski
0a961fd2f7 Added parameters on dolphin and added support for Drowned, Pandas and Turtles 2019-09-30 20:40:07 -04:00
AJ Ferguson
ac8fd0cde8 Handle digging acknowledgement from server 2019-09-30 14:18:29 -08:00
AJ Ferguson
fe845710b6 Fix for block breaking 2019-09-30 14:17:36 -08:00
EOT3000
da0c59446f Try fixing block break (didn't work). Also add more metrics 2019-09-30 12:44:25 -04:00
AJ Ferguson
6fa25aa264 Only send release packet if action type is 0
Needed for eating to work correctly
2019-09-29 15:39:03 -08:00
AJ Ferguson
1364eb1df7 Add ability to use items
Now able to use bows, eat food, throw ender pearls, etc.
2019-09-29 15:25:42 -08:00
WesleyVanNeck
c8404d15c1
fix that unknown Configuration crashes geyser 2019-09-29 20:05:41 +02:00
Redned
a18bbaf9ea
Break all the bedrock action switch cases 2019-09-27 18:04:58 -05:00
EOT3000
792adb3447 Block break supported. Ignore the exceptions 2019-09-27 17:38:52 -04:00
EOT3000
3d986c47fa Block place supported 2019-09-27 16:50:48 -04:00
Tim203
0b193c04e7 Players spawn, player skins, scoreboard, bossbar and updated protocol lib 2019-09-25 23:52:28 +02:00
Nicolas Znamenski
1d4837f5e0 Finished moving thread pool size to config 2019-09-22 18:15:27 -04:00
Nicolas Znamenski
550d94c4c3 Changed the thread pool size to be part of the config. 2019-09-22 18:08:12 -04:00
RednedEpic
0bcf4aa7ec Fix metrics, remove JSONSimple dependency 2019-09-21 11:00:13 -05:00
Redned
2a0d7eb73b Don't shade lombok into final jar
Lombok is just an annotation processor, it doesn't need to be included in the final jar; it just need to be available at compile time.
2019-09-21 10:14:46 -05:00
Tim203
069bb778ac Merge branch 'master' of https://github.com/GeyserMC/Geyser 2019-09-21 09:59:35 +02:00
Tim203
cbdf4f7633 Made paintings not crash the client, bugfixes and improvements 2019-09-21 09:42:44 +02:00
Redned
2502879bde Add difficulty translator 2019-09-20 23:11:17 -05:00
RednedEpic
b6d4bf5147 Fix most all metadatable items not showing up (for the most part)
The actual block data translation (like stair rotation) all needs to be done still, but this is a huge step toward getting that complete.
2019-09-17 21:15:34 -05:00
Tim203
30b9caf5fa Corrected some stuff 2019-09-17 00:45:39 +02:00
Tim203
1c74a6252a Some fixes, added playerlist. Entity spawning doesn't work yet 2019-09-17 00:28:29 +02:00
Redned
4b3dfc09f9 Fix gamemode changing 2019-09-15 20:34:57 -05:00
Redned
fac7093bff Add position checker to prevent false movements
Sometimes this caused bugs on servers and made anticheats go wild. This should resolve most of the movement issues regarding that.
2019-09-15 20:25:16 -05:00
Redned
ef7800a739 Move block translations to separate class
This is to be expanded upon further at a later date
2019-09-15 19:04:54 -05:00
Redned
5d87b7ccab Cleanup startup messages 2019-09-15 18:46:05 -05:00
Redned
7f051bd6bc Start work on a basic chunk cache and block collision detection 2019-09-15 18:34:14 -05:00
Tim203
0690b30c02 Made logging a bit more useful 2019-09-15 09:57:02 +02:00
Redned
21ddc83da8 Implement multi-block chunk updates 2019-09-14 23:23:14 -05:00
Redned
c606119c1d Fix entities glitching out and teleporting to the wrong location 2019-09-14 23:19:13 -05:00
EOT3000
3f45b21689 Block changes work (again) 2019-09-14 19:21:55 -04:00
EOT3000
074442aac9 Block changes work (again) 2019-09-14 11:33:58 -04:00
EOT3000
77c8acefdb Block changes work 2019-09-14 11:26:49 -04:00
EOT3000
eb00721f3d Merge remote-tracking branch 'origin/chunks' into chunks 2019-09-13 22:53:39 -04:00
EOT3000
26a043fd0a null is probably solid! Like dirt! 2019-09-13 22:53:16 -04:00