Commit Graph

44 Commits

Author SHA1 Message Date
rtm516 b5ce83bbe2 Missed changes 2020-04-05 02:37:39 +01:00
Redned 62b183a387 Update bedrock protocol lib and remove trove 2020-03-18 16:10:28 -05:00
RednedEpic 41a24ca6ab Merge branch 'master' into plugin 2020-02-16 13:25:37 -06: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
OnlyBMan 0bb18d26b0 Load biome definitions only once instead of everytime a new player joins 2020-02-05 22:02:23 -05:00
RednedEpic 0cf574ddcb Merge branch 'master' into feature/direct-block-mapping 2020-02-05 18:59:20 -06:00
RednedEpic 52b23950ea Merge branch 'master' into plugin (should fix building) 2020-01-18 16:46:07 -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 0c24ffc629 Merge branch 'master' into plugin 2020-01-03 23:25:00 -06: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
RednedEpic e38322a3ec Nuke plugin API
https://media.giphy.com/media/oe33xf3B50fsc/giphy.gif
2019-12-21 11:35:48 -06:00
AJ Ferguson d06f963b67 Block states and fix waterlogged blocks 2019-12-20 20:05:20 -09: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
RednedEpic 21ddf8af1e Update block palette 2019-11-09 11:14:31 -06:00
RednedEpic 90e6ebc1be More work on 1.13 2019-11-05 18:55:59 -06:00
Redned 5fee344743 Fix block palette 2019-11-02 15:50:04 -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
RednedEpic 8c541304a6 Convert item and block maps in Toolbox to TIntObjectMaps 2019-10-11 18:38:34 -05:00
RednedEpic a125967ec3 Implement new remapper 2019-10-09 19:11:50 -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
Redned 5d87b7ccab Cleanup startup messages 2019-09-15 18:46:05 -05:00
RednedEpic 6cb80dea28 Minor cleanup upon initial block remap 2019-09-10 18:45:46 -05:00
RednedEpic 383429d71b Fix a few chunk errors
This does not fix chunks on its own, they're still very much a work in progress, however this commit should hopefully resolve a few issues. The client might still crash due to some invalid mappings (most likely), but this should bring us one step closer.

With hardcoded values for the chunks, the client wouldn't crash (which leads me to the conclusion stated above) and on the occasions that it would not time out, the chunks were empty.

Co-authored-by: SupremeMortal <suprememortal@users.noreply.github.com>
2019-09-08 15:46:10 -05:00
RednedEpic bd8a00b5eb Merge branch 'master' into chunks 2019-08-30 16:56:34 -05:00
RednedEpic 1c1785ac51 Start work on chunks
- There are probably many errors and issues with this code (some dumb ones probably). As of right now it crashes the client.
2019-08-30 16:47:33 -05:00
RednedEpic b611f8facb Rewrite remapper 2019-08-09 22:16:34 -05:00
EOT3000 d22861d61b remap fixes 2019-08-07 19:08:48 -04:00
EOT3000 202e3e584c new remapper (: 2019-08-05 21:59:54 -04:00
RednedEpic 3784ba7baa Code cleanups and update ItemTranslator to work with new mappings 2019-07-31 14:59:23 -05:00
EOT3000 8c2897dbec new remaps 2019-07-30 20:10:27 -04:00
EOT3000 0bb3bc49d9 comment out remap function, because we won't need it for a while! 2019-07-30 08:38:37 -04:00
EOT3000 66bc2753f7 add re-mappings 2019-07-29 22:25:13 -04:00
RednedEpic 635a26dd60 Start work on inventory/item translators 2019-07-29 17:20:48 -05:00
RednedEpic 82f56a7c34 Code cleanups 2019-07-21 17:22:56 -05:00
SupremeMortal b2f366f7b4 Fix crashes. 2019-07-20 23:35:14 +01:00
EOT3000 9ba14d9dc9 attempt crash fix/fix typo/others 2019-07-18 20:11:58 -04:00
EOT3000 c050ae240b attempt crash fix 2019-07-16 21:05:10 -04:00
EOT3000 43f6dcc2f4 registries/start some packets 2019-07-11 18:39:28 -04:00