RednedEpic
25d3e0708f
Map most all missing sounds
2020-05-03 23:56:07 -05:00
RednedEpic
1aca44ec7f
Fix playsounds
2020-05-03 15:56:46 -05:00
rtm516
692e46146c
Remove duplicate commands by name ( #474 )
...
* Remove duplicate commands by name
* Removed comment
2020-05-03 15:26:14 -05:00
RednedEpic
7f7d89e517
Add tnt sounds/particles and support for level event sounds
2020-05-03 01:48:38 -05:00
RednedEpic
3370ad3db9
Merge branch 'master' into feature/sounds
2020-05-02 23:06:53 -05:00
Camotoy
9846058377
Add item frames ( #415 )
...
* Initial attempt
* Item frames 'work'
* Blocks in the item frames work
* Remove commented code
* Small changes
* More progress
* Whittling down
* Fix swords, etc
* NBT data implemented
* Remove unused import
* Add item frame item removing; add checks for removing item frames
* Add requested changes; clean up logic
* Add license
* Always delay item frame updates by 500 milliseconds
* Switch to per-session item frame cache
* Revert item translator refactoring
2020-05-02 15:44:05 -05:00
RednedEpic
d7592d8216
Add back in explosion translator, add identifier support for sounds
...
Some sounds require an identifier be added, otherwise they don't properly play.
2020-05-02 01:56:08 -05:00
RednedEpic
99e8ca83ab
Fix eating sounds and bow sounds
2020-05-02 01:29:30 -05:00
RednedEpic
ff26dcad0d
Start work on entity sounds, other misc implementations/fixes
2020-05-02 01:06:22 -05:00
Camotoy
b07161b0a9
Add block values + note block note graphics ( #455 )
...
* Add note block visual without note pitch
* Add rest of block value code
* Add rest of block value code
* Fix pistons, somewhat
* Remove note block attempt
* Re-add whitespace
* Simplify sendPacket of BlockEventPacket
* Add note block visual without note pitch
* Add rest of block value code
* Fix pistons, somewhat
* Remove note block attempt
* Re-add whitespace
* Add mappings for noteblock pitch
* Change noteblock pitch code
* Noteblock Pitch Attempt
* Commit with PistonBlockEntityTranslator
* Cleanup for PR
* Improve pistons
Co-authored-by: blazewalker462 <blazewalker462@protonmail.com>
2020-05-01 00:51:23 -05:00
rtm516
2e3f32d769
Only replace the first '.' in a message ( #463 )
2020-05-01 00:49:29 -05:00
RednedEpic
f057edb526
Don't show block break animation at all in creative
2020-04-30 00:53:28 -05:00
RednedEpic
0ac4789f2c
Don't send sound updates if block of the same type already exists in placing position
...
This prevents the block place sound (most notably buttons or blocks that don't occupy one whole block) from spamming the client if they have their place button held down.
2020-04-30 00:45:27 -05:00
RednedEpic
ad596cdccb
Add sound handlers for block interaction
...
These sound handlers had to be added since on Minecraft: Java Edition, these sounds are handled clientside whilst Minecraft: Bedrock Edition expects something from the server. To counter this, we emulate the sounds of that on Minecraft: Java Edition within Geyser and send it to the client. The code may seem a tadredundant, but there is not much of an alternative unfortunately.
2020-04-30 00:21:02 -05:00
RednedEpic
4d32f6ab70
Access world manager instead of chunk cache to fix particles on Bukkit version
2020-04-29 15:56:41 -05:00
RednedEpic
364aac7e1a
Fix block break particles not displaying in survival
2020-04-29 15:47:29 -05:00
RednedEpic
1fbb755d26
Merge branch 'master' into sound-master
2020-04-29 15:14:25 -05:00
RednedEpic
31be608038
Add block break sounds for blocks with 0 hardness, and refactor some things
...
The refactors in this commit go a bit beyond the scope of what the sound/effects branch was meant to accomplish, however most of these changes are necessary so chunk caching could be reintroduced for the standalone version. The chunk caching here allows for us to get the block ID before the block was broken, and in the future allow us to implement newer features. Chunk caching is optional (and disabled by default) as on non-Bukkit versions, it can eat up a lot of RAM with many players online.
2020-04-29 15:01:53 -05:00
rtm516
bea070395f
Handle player teleports properly ( #389 )
...
* Handle player teleports properly
Co-authored-by: ForceUpdate1 <mneuhaus44@gmail.com>
* impl teleport cache
* impl teleport cache
* removed debugs
* Cleanup
Co-authored-by: ForceUpdate1 <mneuhaus44@gmail.com>
2020-04-29 11:06:25 -05:00
rtm516
7a9fff1a64
Fix shulkers being upside down on load ( #446 )
...
* Added shulker box direction handeling
* Update mappings
* Added missing Object2ByteMap
* Cleaned javadoc
* Moved shulker box direction conversion to the mappings generator
2020-04-29 11:01:56 -05:00
ForceUpdate1
87be8c378e
Fix Item Name and Lore ( #443 )
...
* add basic item translator
* add licence
remove debugs
* fix default lore
2020-04-29 10:58:29 -05:00
Camotoy
ebbb656d45
Revert sending message when creative crafting table is used ( #440 )
2020-04-27 15:49:24 -05:00
rtm516
78f2d2c089
Added translation to container names ( #442 )
2020-04-27 15:48:53 -05:00
rtm516
fc17b7cc7a
Disabled attempted rendering of the globe pattern
2020-04-27 02:01:15 -05:00
RednedEpic
c22eb170ec
Merge branch 'master' into feature/sounds
2020-04-26 00:26:14 -05:00
rtm516
2fabcefb8d
Fixed error when certain items are spawned from the creative inventory ( #430 )
2020-04-25 23:55:20 -05:00
RednedEpic
497825dd96
Fix NPE in console when a sound was missing and clean up nesting
2020-04-25 18:23:01 -05:00
RednedEpic
61587ec320
Use Int2ObjectMap in InventoryCache and JavaServerDeclareCommandsTranslator
2020-04-25 17:56:19 -05:00
rtm516
1a53f53d78
Added barriers to creative inventory crafting grid ( #426 )
2020-04-25 17:33:52 -05:00
Camotoy
36708da1d6
Add message when you try to use creative crafting table ( #422 )
...
* Add message when you try to use creative crafting table
* Update message; set access level
2020-04-25 17:29:26 -05:00
Gerrygames
74f869beb5
Fix map colors, remove unnecessary array stream ( #423 )
2020-04-25 15:46:24 -05:00
AJ Ferguson
357b681841
Fix movement when far away from the center of the world ( #419 )
...
* Fix movement when far away from the center of the world
* Add comment on why we parse a float as string
Co-authored-by: Redned <redned235@gmail.com>
2020-04-24 22:56:56 -05:00
OnlyBMan
e82adf2cf9
Implement shield blocking ( #395 )
...
* basic shield blocking
* Offhand works
* Add Shield as id in BlockTranslator
* Change Block Translator to Item Translator
* Fix formatting
Co-authored-by: DoctorMacc <toy.fighter1@gmail.com>
Co-authored-by: Redned <redned235@gmail.com>
2020-04-24 22:11:28 -05:00
RednedEpic
59b2805a4a
Fix NPE for unknown enchantments/enchantments not in bedrock
2020-04-23 02:09:40 -05:00
ForceUpdate1
6f7ad4b569
Implement Book pages ( #408 )
...
* add text component library
implement books
* add licence header
2020-04-23 01:26:54 -05:00
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
aad4536990
Fix /fly command ( #396 )
...
* Fix /fly
* Add comment
2020-04-21 14:36:13 -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
RednedEpic
3574212b4b
Merge branch 'master' of https://github.com/GeyserMC/Geyser
2020-04-19 18:09:31 -05:00
RednedEpic
bab2b4a420
Pull command descriptions from Bukkit and Sponge versions when listing commands
...
This allows the description of the commands to display when listing the commands in bedrock by tab-completing. This is currently only available on Sponge and Bukkit versions as there is no support in BungeeCord and Velocity to get these values. This data is also not sent in any packet, so we cannot retrieve that from standalone either.
2020-04-19 18:08:14 -05:00
Redned
aea1600072
Merge pull request #379 from ForceUpdate1/scoreboard
...
Fix NullPointerException
2020-04-19 17:19:35 -05:00
Jason
12b99c5b1b
Merge branch 'master' into master
2020-04-19 14:09:36 -07:00
rtm516
89a7f8f17c
Removed descriptions from commands
2020-04-19 11:08:42 +01:00
Marco
60abdbac3c
Fix NullPointerException with invalid scoreboard teams
2020-04-19 11:17:40 +02:00
Redned
2dc9a7186e
Merge pull request #372 from ForceUpdate1/bossbar
...
Fix Bossbars
2020-04-18 21:54:44 -05:00
Marco
88a1238593
add licence header
2020-04-18 21:37:14 +02:00
rtm516
6880507469
Fix all block entities being updated as Skulls
2020-04-18 17:50:14 +01:00
Marco
de9c9b3dfa
reset color
2020-04-18 15:49:28 +02:00
Marco
7cd941e5d6
Fix BossBars
2020-04-18 15:48:21 +02:00
Marco
e3932cba62
fix interact at
2020-04-18 11:13:00 +02:00
RednedEpic
4b001593fc
Merge branch 'master' into inventory
2020-04-17 18:37:22 -05:00
Redned
0eea637aed
Merge pull request #359 from ForceUpdate1/rain
...
Reset rain during respawning
2020-04-17 13:10:08 -05:00
Marco
1beea43a1e
remove bytebuffer
2020-04-17 16:35:48 +02:00
Marco
c246a32844
Fix brand
2020-04-17 13:29:35 +02:00
Marco
ec9f692418
Reset rain during respawning
...
Fixes #358
2020-04-17 00:03:01 +02:00
Redned
e96863e941
Merge pull request #308 from rtm516/command-completion
...
Command auto-completion
2020-04-15 15:31:38 -05:00
Redned
ee88557674
Merge pull request #350 from DoctorMacc/copyright
...
Update various copyright dates (Inventory branch)
2020-04-15 14:47:29 -05:00
Redned
628dac8c26
Merge pull request #344 from ForceUpdate1/anvil_rename
...
Fix Anvil Item Rename
2020-04-15 14:46:39 -05:00
Redned
5ffd5d50f1
Merge pull request #336 from OnlyBMan/inventory
...
Implements Skulls and Heads
2020-04-15 14:46:09 -05:00
OnlyBMan
80a7f3a578
It's not 2019 anymore?
2020-04-15 15:38:17 -04:00
DoctorMacc
e8a441d667
Update various copyright dates
2020-04-15 15:37:53 -04:00
Marco
0a9470acb8
formatting code
2020-04-15 21:37:12 +02:00
Redned
09e5bbb466
Merge pull request #331 from rtm516/early-animation-fix
...
Prevents animations from being sent to the server before the player has spawned
2020-04-15 14:36:06 -05:00
DoctorMacc
d7b8f08899
Fix piston/sticky piston (among others) not being able to be retrieved in creative
2020-04-15 15:24:57 -04: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
OnlyBMan
60b65e4be6
Add copyright notice
2020-04-15 10:11:32 -04:00
Marco
0152107a06
Send rename item packet on update slot
2020-04-15 13:13:46 +02:00
rtm516
8fd4632d07
Fixed single line if statements
2020-04-15 10:55:10 +01:00
rtm516
34a8a6d55f
Fixed single line if statements
2020-04-15 10:51:56 +01:00
RednedEpic
1cb2e658e0
Merge branch 'master' into inventory
2020-04-14 23:40:50 -05:00
OnlyBMan
9bd1c0fc70
Cleanup some code
2020-04-14 20:08:48 -04:00
OnlyBMan
87e372ce21
Put everything into bedrock mapping
2020-04-14 19:34:11 -04: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
522dc864de
Removed unneeded import
2020-04-14 10:55:12 +01:00
DoctorMacc
821f164b23
Fix requested changes
2020-04-13 18:01:30 -04:00
rtm516
f7c5fea87e
Prevents animations from being sent to the server before the player has spawned
2020-04-13 22:52:38 +01:00
rtm516
55608a2a48
Centeralised message length checking and added TODO for localization
2020-04-13 17:49:29 +01:00
rtm516
549fe1d479
Fixed crashing bug when using more than 1 root node
2020-04-13 17:27:30 +01:00
DoctorMacc
35a16996b5
Small change
2020-04-13 10:58:10 -04:00
DoctorMacc
1714445df9
Remove unused imports
2020-04-13 10:55:52 -04:00
DoctorMacc
d08c13a7e3
Remove old lines of code
2020-04-13 10:47:30 -04:00
DoctorMacc
5c62b47175
Simplify logic
2020-04-13 10:46:13 -04:00
rtm516
79a7258fd1
Added warning message if chat message is longer than 256 characters.
2020-04-13 11:10:53 +01:00
DoctorMacc
daa1888c09
Add some code in case of a rogue plugin
2020-04-12 21:33:51 -04:00
DoctorMacc
746cd29a6d
Add doDaylightCycle gamerule support
2020-04-12 21:13:51 -04:00
DoctorMacc
fc988dfd70
Implement grindstone
2020-04-12 18:32:07 -04:00
Redned
e67ed6dc8d
Merge pull request #319 from rtm516/patch-2
...
Added debug packet logging for unhandled packets
2020-04-12 16:27:56 -05:00
rtm516
d613835f92
Added debug packet logging for unhandled packets
2020-04-12 10:37:31 +01:00
RednedEpic
605c9ef4db
Merge branch 'master' into inventory
2020-04-11 22:46:25 -05:00
rtm516
76e29af6b8
Fixed map name
2020-04-12 01:45:31 +01:00
Redned
68d7f2629a
Merge pull request #317 from DoctorMacc/item-animation
...
Item pickup animation
2020-04-11 17:57:07 -05:00
Redned
00198af794
Merge pull request #316 from AJ-Ferguson/dimension-login-fix
...
Fix crash on some devices when logging into a different dimension
2020-04-11 17:50:25 -05:00
DoctorMacc
ce7954d8ab
Add license
2020-04-11 18:50:01 -04:00
DoctorMacc
5116f250ad
Add item collection animation
2020-04-11 18:48:04 -04:00
Redned
e5f0840335
Merge pull request #315 from rtm516/waterlogged-fix
...
Fixes waterlogged blocks in master
2020-04-11 14:17:06 -05:00
rtm516
613626915a
Copied fix from inventory a00cf75
2020-04-11 20:11:46 +01:00
rtm516
1abc0f9764
Added translation to bossbar titles
2020-04-11 19:43:29 +01:00
AJ Ferguson
95bcc04177
Fix crash on some devices when logging into a different dimension
2020-04-11 10:33:06 -08:00
rtm516
b0d39c587f
Removed debugging code
2020-04-11 19:31:06 +01:00
rtm516
00099b5332
Multi arguments handling
2020-04-11 15:53:53 +01:00
rtm516
c95d2d2f47
New parameter parsing ready for multiple params
2020-04-11 14:57:29 +01:00
rtm516
74d3254bf0
Automatic enum creation and comments
2020-04-11 02:58:07 +01:00
rtm516
010840bebe
Better parameter handling
2020-04-11 02:25:58 +01:00
rtm516
c050086221
Basic param parsing
2020-04-11 01:24:22 +01:00
rtm516
927542ff2e
Added base command completion
2020-04-11 00:20:34 +01:00
DoctorMacc
e2e4fb2b3c
Some final touches
2020-04-10 18:11:16 -04:00
DoctorMacc
f046ef52f1
Add license
2020-04-10 18:06:35 -04:00
DoctorMacc
d547b31b38
Fix first load crashing; fix NPE
2020-04-10 16:36:41 -04:00
DoctorMacc
1dc6d4fbdc
Fixed
2020-04-10 16:07:36 -04:00
Redned
d8ff735626
Merge pull request #298 from rtm516/language-and-colour-fix
...
Fixed language processing and chat colours being reset for no reason
2020-04-10 15:06:55 -05:00
AJ Ferguson
23d98bb25f
Fix block placement for stairs, slabs, etc.
2020-04-10 10:46:29 -08:00
rtm516
1e1d2f00ae
Fixed language processing and chat colours being reset for no reason
2020-04-09 19:46:45 +01:00
rtm516
c51a48221b
Merge remote-tracking branch 'origin/master' into server-language-processing
2020-04-09 13:58:45 +01:00
DoctorMacc
0521a30266
Simplify
2020-04-08 22:17:29 -04:00
DoctorMacc
545604bf91
Merge branch 'sign-editing' of https://github.com/DoctorMacc/Geyser into sign-editing
2020-04-08 21:33:24 -04:00
DoctorMacc
d518d5ef63
One More Thing ™️
2020-04-08 21:33:07 -04:00
DoctorMacc
c393dc9f21
Initial bow support
2020-04-08 21:29:33 -04:00
rtm516
bc67675d16
Added translation of extra message parts
2020-04-09 01:30:27 +01:00
Camotoy
a1c0ec6c12
Update copyright
2020-04-08 19:14:34 -04:00
DoctorMacc
aff33bd8b3
Whitespace
2020-04-08 17:44:51 -04:00
DoctorMacc
962d987274
Remove unused imports
2020-04-08 17:44:34 -04:00
DoctorMacc
6ea0fcabc3
Sign editing
2020-04-08 17:42:36 -04:00
DoctorMacc
7993f38437
Prepare for PR
2020-04-08 15:30:36 -04:00
Jason Ho
9e03c9b93a
Annotate sound translator classes
2020-04-07 18:11:27 -07:00
Redned
553b72bf30
Merge pull request #289 from DoctorMacc/llama-decoration
...
Add llama decoration support
2020-04-07 19:19:20 -05:00
DoctorMacc
d4f23379ef
Fix requested change; modify comments
2020-04-07 20:06:20 -04:00
DoctorMacc
20700998b1
Fix requested changes; remove unused import
2020-04-07 19:57:34 -04:00
DoctorMacc
12e67d9b28
Merge branch 'master' of https://github.com/GeyserMC/Geyser into map-quick-fix
2020-04-07 18:23:22 -04:00
William Johnstone
c44708cc22
Add requested changes
2020-04-07 21:22:10 +01:00
William Johnstone
8cab3cce26
Add falling blocks
2020-04-07 20:45:59 +01:00
DoctorMacc
9c282d2cb8
Quick map fix
2020-04-07 13:54:08 -04:00
DoctorMacc
2d2b4704dc
Potential error spam fix
2020-04-06 20:57:26 -04:00
DoctorMacc
050098a498
Add legal message to BedBlockEntityTranslator.java
2020-04-06 16:33:30 -04:00
DoctorMacc
a392e54447
Fix requested changes
2020-04-06 16:27:09 -04:00
DoctorMacc
81c9e4f165
Fix beds and signs
2020-04-06 11:16:16 -04: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
RednedEpic
b4cd6bacca
Fix improperly named bedrock packet translator
2020-04-05 00:48:53 -05:00
MrPowerGamerBR
b92f36e2e3
Remove unused map info request translator
...
This was used for debugging purposes, to check if the map was correctly remapped to the client because, if it wasn't, it would've returned -1 as the map ID
2020-04-05 00:48:53 -05:00
MrPowerGamerBR
d635939c5b
Add map item translators
2020-04-05 00:48:53 -05:00
RednedEpic
41f6d991a4
Fix improperly named bedrock packet translator
2020-04-05 00:47:04 -05:00
rtm516
7f1fb3d43c
Added new locale loading system
2020-04-05 02:36:25 +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
3094fedd54
Remove unused map info request translator
...
This was used for debugging purposes, to check if the map was correctly remapped to the client because, if it wasn't, it would've returned -1 as the map ID
2020-04-04 17:28:59 -03:00
MrPowerGamerBR
de37046466
Add map item translators
2020-04-04 17:23:02 -03:00
rtm516
65277dc82a
Added java -> bedrock lang conversions
2020-04-04 17:25:38 +01:00
RednedEpic
392b0b5727
Merge branch 'master' into inventory
2020-04-04 03:12:23 -05:00
RednedEpic
7e54170473
Merge branch 'master' into inventory
2020-04-04 03:04:38 -05:00
RednedEpic
79906fae0a
Fix NPE if banner had no patterns
2020-04-04 02:45:51 -05:00
RednedEpic
54fe7989cf
Nitpicks
2020-04-04 02:08:50 -05:00
RednedEpic
b6c2592b5c
Add missing import
2020-04-04 02:08:23 -05:00
Redned
ddf2f471ea
Merge branch 'master' into chunk-fix
2020-04-04 02:00:18 -05:00
RednedEpic
786f137e28
Add support for team prefixes, suffixes, and colors ( Fixes #150 )
2020-04-04 01:27:34 -05:00
RednedEpic
9b487d7d03
Fix combat by sending the animate packet after damage ( Closes #260 )
2020-04-03 17:20:14 -05:00
RednedEpic
3aa7b2ddad
Use IntSet for JAVA_RUNTIME_WOOL_IDS
2020-04-02 18:09:09 -05:00
RednedEpic
e76b67265a
Rebase
2020-04-02 17:53:45 -05:00
RednedEpic
be9396f585
Merge branch 'master' into inventory
2020-04-02 17:01:17 -05:00
Jason Ho
3721cc084e
Add packet translators for Play, Stop, and Builtin sounds
2020-03-28 16:50:50 -07:00
Redned
4a8aeda677
Merge pull request #249 from endevrr/block-break-animations ( Closes #153 )
...
Block breaking animations
2020-03-28 13:58:44 -05:00
William Johnstone
eb707a71df
Add requested changes
2020-03-28 16:03:09 +00:00
Redned
721761cc18
Merge pull request #248 from endevrr/inventory
...
Fix waterlogged blocks
2020-03-27 22:01:25 -05:00
endevrr
20e6c7fcbf
Merge branch 'inventory' into block-break-animations
2020-03-28 00:04:53 +00:00
William Johnstone
0caee67e43
Finalise block breaking, (water calculations omitted because of no access to server api)
2020-03-27 23:39:53 +00:00
William Johnstone
a00cf75bc7
Fix waterlogged blocks
2020-03-27 23:23:26 +00:00
BuildTools
7b5bb22321
Rename BEDCOLORS to BED_COLORS
2020-03-27 14:21:34 -04:00
BuildTools
17258dcaf6
Remove debugging code
2020-03-27 13:09:40 -04:00
BuildTools
7a402c40b3
Use mappings to generate bed colors
2020-03-27 13:08:21 -04:00
RednedEpic
5222232e72
Add rest of fixes for operator bug
2020-03-26 23:00:52 -05:00
BuildTools
e5766ef96a
Store bed colors in Object2ByteOpenHashMap
2020-03-26 18:34:54 -04:00
BuildTools
545ab0f268
Move bed-specific code to BedBlockEntityTranslator.java
2020-03-26 10:22:44 -04:00
BuildTools
5301c8c3f6
Implement bed colors
...
Java Edition includes the bed color in the namespaced ID; in Bedrock edition it's one of the tag values as a block entity. This code involves creating a table between block states and bed color numbers and looking that up on chunk load or block update.
2020-03-25 22:03:46 -04:00
Ender
f8407eeb5a
Add requested changes to PR
2020-03-25 00:55:09 -05:00
Ender
bbf6683bd8
Make all translators annotation based
2020-03-23 23:24:17 -05:00
Ender
13a58dc825
Begin making translators annotation based
...
Also, rename TranslatorsInit to Translators; makes alot more sense.
2020-03-23 23:03:33 -05:00
William Johnstone
60662ae06c
Moved break time checks to BlockUtils class, Created ItemUtils and added helper function to get enchantment levels on items, implemented a entity effect cache, added haste and mining fatigue check for block breaking animations, fixed block breaking animations for blocks with speeds that are not affected by tools.
2020-03-22 22:59:34 +00:00
William Johnstone
4b40b07bf8
Refactor code and improve sword breaking
2020-03-21 21:37:55 +00:00
William Johnstone
09cdcbdf94
Add block breaking animations that actually work (still incomplete, doesn't take enchantments or player effects into account, also doesn't account for being in the air or underwater)
2020-03-21 20:14:09 +00:00
William Johnstone
350bb28c7c
revert last commit as I'm starting over
2020-03-20 21:28:20 +00:00
William Johnstone
650a1e2ab1
Start block breaking animations (inventory is broken)
2020-03-20 20:34:16 +00:00
Redned
62b183a387
Update bedrock protocol lib and remove trove
2020-03-18 16:10:28 -05:00
RednedEpic
51050e3868
Merge remote-tracking branch 'origin/master'
2020-03-17 11:43:28 -05:00
RednedEpic
21dc2e8362
Add Geyser reload command and commands for platforms ( Closes #141 )
2020-03-17 11:43:09 -05:00
RednedEpic
1bcee8d36f
Merge branch 'master' into inventory
2020-03-15 13:21:37 -05:00
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
105ce2b3b5
Add effect translations
2020-03-10 19:40:51 -05:00
RednedEpic
6eac178305
Merge branch 'master' into inventory
2020-03-10 18:46:27 -05:00
RednedEpic
9e203d48aa
Fix running Geyser commands ingame
2020-03-06 19:37:35 -06:00
AJ Ferguson
f71c70224b
Only translate full chunks
2020-03-05 17:55:22 -09:00
RednedEpic
418026dbe6
Merge branch 'block-entities' into inventory
2020-03-05 20:00:14 -06: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
6b22bcec2b
Merge branch 'master' into inventory
2020-03-04 21:35:20 -06:00