Commit Graph

229 Commits

Author SHA1 Message Date
RednedEpic 79185fabb5 Only send block sounds when a block is being placed
Previously, any time a block was clicked whether it be with a block in the hand or not, a sound would play. This checks if the item in the players hand is indeed a block as well as the same block in the UpdateBlockPacket, and properly plays the packet.
2020-04-23 01:01:33 -05:00
DoctorMacc b0a8b9219a Add effects support and block break particles/place sounds
Co-authored-by: RednedEpic <redned235@gmail.com>
2020-04-22 23:40:49 -05:00
RednedEpic 3e15d21931 Merge branch 'master' into sound-master 2020-04-22 18:18:13 -05:00
RednedEpic 987edbb217 Nitpicks and add serverbound sound packet translator 2020-04-22 18:17:34 -05:00
ForceUpdate1 733ec2a0ec
Implement Updated Item Translator (#388)
* add item translator

* add item translator

* add nbt item translator

* fix empty list tags

* formatting code

* use Int2ObjectMap
remove session

* rename annotation
2020-04-22 16:26:16 -05:00
RednedEpic e8bf8ff2a0 Fix javadoc related errors 2020-04-22 01:03:46 -05:00
Redned 7ca1d1bea6
Merge pull request #398 from GeyserMC/inventory
Merges branch 'inventory' into master
2020-04-22 00:49:48 -05:00
Camotoy 94ecb2c6c7
Block entity rewrite (#382)
* Initial attempt

* Rewrite of the rewrite

* First working implementation

* Far better working implementation

* Clean up imports

* Remove commented code

* Cleanup code; change things

* Remove unused imports

* Cleanup code

* Add licenses; add comment

* More cleanup

* Clarifications

* It complained about a JavaDoc comment

* Update access permissions

* Switch from reflections to iteration over BlockEntityTranslators
2020-04-21 00:32:32 -05:00
rtm516 1b15f3058f
Javadoc a bit of Geyser (#392)
* A bunch of javadoc comments

* Cleaned up javadocs
2020-04-21 00:28:44 -05:00
rtm516 4ee95f585d
Move all json to Jackson instead of a mix of 2 libraries (#302)
* Swapped most GSON refrences to Jackson

* Converted FormWindow getJSONData

Co-authored-by: Redned <redned235@gmail.com>
2020-04-20 15:10:30 -05:00
Jason 12b99c5b1b
Merge branch 'master' into master 2020-04-19 14:09:36 -07:00
RednedEpic 4b001593fc Merge branch 'master' into inventory 2020-04-17 18:37:22 -05:00
Redned a8f8de8613
Merge pull request #363 from ForceUpdate1/login
Improve login screen
2020-04-17 13:08:28 -05:00
Marco 5e9e17e47d clean up text 2020-04-17 15:52:46 +02:00
Marco 1a06fe331e Improve login screen 2020-04-17 14:54:04 +02:00
Artuto 508d56ffc8 Fix inverted booleans in MessageUtils.isTooLong 2020-04-15 22:50:02 -05:00
Redned 5ffd5d50f1
Merge pull request #336 from OnlyBMan/inventory
Implements Skulls and Heads
2020-04-15 14:46:09 -05:00
Redned f8c3cf1aac
Merge pull request #324 from rtm516/chat-limit-warning
Added warning message if chat message is longer than 256 characters.
2020-04-15 13:10:15 -05:00
RednedEpic 1cb2e658e0 Merge branch 'master' into inventory 2020-04-14 23:40:50 -05:00
RednedEpic dbe2a9b3b0 Return COLOR_0 for null values in MapColor
Might be better to eventually figure out why this is null to begin with, but for the time being considering maps are not working, we'd have to get to that step first. This just prevents the console from spamming errors, and will do until maps are fully implemented/fixed.
2020-04-14 23:35:59 -05:00
OnlyBMan 3972cc7f87 Fix comments 2020-04-14 18:40:05 -04:00
OnlyBMan 08eb99fa94 Implement skulls and heads 2020-04-14 18:33:55 -04:00
rtm516 3616aa07fe Fixed colour and style formatting for some messages 2020-04-13 22:29:22 +01:00
rtm516 55608a2a48 Centeralised message length checking and added TODO for localization 2020-04-13 17:49:29 +01:00
RednedEpic 605c9ef4db Merge branch 'master' into inventory 2020-04-11 22:46:25 -05:00
rtm516 1abc0f9764 Added translation to bossbar titles 2020-04-11 19:43:29 +01:00
DoctorMacc d547b31b38 Fix first load crashing; fix NPE 2020-04-10 16:36:41 -04:00
rtm516 9f1da99b71 Fixed NONE colour formatting and cleaned up imports 2020-04-09 20:24:32 +01:00
rtm516 1e1d2f00ae Fixed language processing and chat colours being reset for no reason 2020-04-09 19:46:45 +01:00
rtm516 013bca024c Removed auto download and load of en_us 2020-04-09 17:06:17 +01:00
rtm516 1ef50cbb95 Added automatic en_us download and extraction from JAR 2020-04-09 14:36:32 +01:00
rtm516 c51a48221b Merge remote-tracking branch 'origin/master' into server-language-processing 2020-04-09 13:58:45 +01:00
rtm516 bc67675d16 Added translation of extra message parts 2020-04-09 01:30:27 +01:00
rtm516 c61d87714b On demand downloading and loading of language files 2020-04-09 00:20:41 +01:00
rtm516 2cd5472ff0 Started work on the locale fetching and loading system 2020-04-08 21:11:56 +01:00
DoctorMacc 44a46d1872 Remove unnecessary code 2020-04-06 11:18:16 -04:00
DoctorMacc 81c9e4f165 Fix beds and signs 2020-04-06 11:16:16 -04:00
rtm516 28217adfdf Added support for numbered param replacements 2020-04-05 23:37:41 +01:00
rtm516 9a6b537e89 Removed debugging line 2020-04-05 22:49:10 +01:00
rtm516 49df48fcf0 Fixed some strings getting missed 2020-04-05 22:47:03 +01:00
rtm516 18311e3c1c Added argument parsing to serverside language processing 2020-04-05 12:19:20 +01:00
rtm516 c809ddb618 Renamed translation method and cleaned up variable declaration 2020-04-05 10:13:47 +01:00
MrPowerGamerBR d635939c5b Add map item translators 2020-04-05 00:48:53 -05:00
rtm516 845c914492 Moved loading and added default locale config option 2020-04-05 02:58:23 +01:00
rtm516 b5ce83bbe2 Missed changes 2020-04-05 02:37:39 +01:00
RednedEpic c13bbcda85 Fix null block entity console spam, which caused the world to be invisible
This was a rare bug that only happened on very few servers, and from what I gathered, only 1.8 servers using ViaVersion.
2020-04-04 17:22:54 -05:00
MrPowerGamerBR de37046466 Add map item translators 2020-04-04 17:23:02 -03:00
rtm516 c1e00e3614 Moved to json file lang mapping 2020-04-04 19:39:14 +01:00
rtm516 7298e2ff3f Added a few more lang string translations 2020-04-04 17:44:41 +01:00
rtm516 65277dc82a Added java -> bedrock lang conversions 2020-04-04 17:25:38 +01:00