Geyser/core/src/main/java/org/geysermc/geyser/translator/protocol/bedrock
David Choo b33cc512b4
Add custom skull render distance (#2751)
* Add player skull render distance

* Improve updateVisibleSkulls a bit

Avoid rechecking visibility on small movements

* Periodically despawn unused skull entities

* Don't hide skull entity for position/rotation changes

Prevents flickering for skulls that are rotating

* Update visible skulls when a skull is removed

* Only update on removal if an entity is assigned

* No need to check for skull in ChunkUtils

Update copyright year

* Avoid rechecking all skulls when a skull is added/removed

* Allow skull render distance and number to be configured

Renamed some fields to better match their values

* Compare texture property directly from GameProfile

* Remove unnecessary blockState field from SkullPlayerEntity

* Use binarySearch for insertion

Wait for player movement before loading skulls

* Allow culling to be disabled by setting max-visible-custom-skulls to -1

* Only remove skulls in inRangeSkulls when culling is enabled

* Add suggestions from review

* Merge the for loops in updateVisibleSkulls

* Fix skulls being leaked on chunk unload
2022-05-14 15:12:18 -04:00
..
entity Add custom skull render distance (#2751) 2022-05-14 15:12:18 -04:00
world We're in 2022 now 2022-01-01 20:03:05 +01:00
BedrockAdventureSettingsTranslator.java We're in 2022 now 2022-01-01 20:03:05 +01:00
BedrockAnimateTranslator.java Replicate Bedrock shield behavior more accurately 2022-03-15 13:34:56 -04:00
BedrockBlockEntityDataTranslator.java oops 2022-04-21 22:24:41 -04:00
BedrockBlockPickRequestTranslator.java We're in 2022 now 2022-01-01 20:03:05 +01:00
BedrockBookEditTranslator.java We're in 2022 now 2022-01-01 20:03:05 +01:00
BedrockCommandBlockUpdateTranslator.java We're in 2022 now 2022-01-01 20:03:05 +01:00
BedrockCommandRequestTranslator.java We're in 2022 now 2022-01-01 20:03:05 +01:00
BedrockContainerCloseTranslator.java We're in 2022 now 2022-01-01 20:03:05 +01:00
BedrockEmoteListTranslator.java We're in 2022 now 2022-01-01 20:03:05 +01:00
BedrockEntityPickRequestTranslator.java We're in 2022 now 2022-01-01 20:03:05 +01:00
BedrockFilterTextTranslator.java Fix anvils for 1.18.30 Bedrock 2022-04-20 21:39:35 -04:00
BedrockInventoryTransactionTranslator.java Add recent Paper check and new vanilla check for block placement 2022-04-04 21:03:43 -04:00
BedrockItemFrameDropItemTranslator.java We're in 2022 now 2022-01-01 20:03:05 +01:00
BedrockItemStackRequestTranslator.java We're in 2022 now 2022-01-01 20:03:05 +01:00
BedrockLecternUpdateTranslator.java We're in 2022 now 2022-01-01 20:03:05 +01:00
BedrockMapInfoRequestTranslator.java We're in 2022 now 2022-01-01 20:03:05 +01:00
BedrockMobEquipmentTranslator.java Better handling of fake cooldown 2022-03-25 20:22:39 -04:00
BedrockMoveEntityAbsoluteTranslator.java We're in 2022 now 2022-01-01 20:03:05 +01:00
BedrockNetworkStackLatencyTranslator.java We're in 2022 now 2022-01-01 20:03:05 +01:00
BedrockPacketViolationWarningTranslator.java We're in 2022 now 2022-01-01 20:03:05 +01:00
BedrockPlayerInputTranslator.java We're in 2022 now 2022-01-01 20:03:05 +01:00
BedrockPositionTrackingDBClientRequestTranslator.java Don't fully translate item data to compare net IDs 2022-01-30 11:05:29 -05:00
BedrockRequestChunkRadiusTranslator.java Send the client render distance to the server 2022-01-15 20:29:00 -05:00
BedrockRespawnTranslator.java Don't send respawn code until Java is ready 2022-01-30 11:14:51 -05:00
BedrockServerSettingsRequestTranslator.java We're in 2022 now 2022-01-01 20:03:05 +01:00
BedrockSetLocalPlayerAsInitializedTranslator.java Deprecate userAuths in favor of a saved token system 2022-03-03 18:52:26 -05:00
BedrockShowCreditsTranslator.java We're in 2022 now 2022-01-01 20:03:05 +01:00
BedrockTextTranslator.java Fix message being sent still if a single escape character is sent 2022-04-18 21:30:44 -04:00