Commit 17b1c69c by Jonathan Thomas

Extended click sounds to 12 blocks away (from 8)

parent ada10af7
Pipeline #12671 passed with stages
in 2 minutes 4 seconds
...@@ -7,20 +7,21 @@ All notable changes to **CreatureChat** are documented in this file. The format ...@@ -7,20 +7,21 @@ All notable changes to **CreatureChat** are documented in this file. The format
## [Unreleased] ## [Unreleased]
### Added ### Added
- New whitelist / blacklist Minecraft commands, to show and hide chat bubbles based on entity type - New **whitelist / blacklist** Minecraft **commands**, to show and hide chat bubbles based on entity type
- New S2C packets to send whitelist / blacklist changes on login and after commands are executed - New **S2C packets** to send whitelist / blacklist changes on login and after commands are executed
- Added UNFLEE behavior (to stop fleeing from a player) - Added **UNFLEE behavior** (to stop fleeing from a player)
- Added support for non path aware entities to FLEE (i.e. Ghast) - Added support for **non path aware** entities to **FLEE** (i.e. Ghast)
- Added new LLM tests for UNFLEE - Added **new LLM tests** for UNFLEE
### Changed ### Changed
- Chat Bubble rendering & interacting is now dependent on whitelist / blacklist config - Chat Bubble **rendering** & interacting is now dependent on **whitelist / blacklist** config
- Improved client render performance (only query nearby entities every 3rd call) - Improved client **render performance** (only query nearby entities every 3rd call)
- Fixed a **crash with FLEE** when non-path aware entities (i.e. Ghast) attempted to flee. - Fixed a **crash with FLEE** when non-path aware entities (i.e. Ghast) attempted to flee.
- Fixed certain behaviors from colliding with others (i.e. mutual exclusive ones) - Extended **click sounds** to 12 blocks away (from 8)
- Fixed certain **behaviors** from colliding with others (i.e. **mutual exclusive** ones)
- Updated README.md with new video thumbnail, and simplified text, added spoiler to install instructions - Updated README.md with new video thumbnail, and simplified text, added spoiler to install instructions
- Large refactor of Minecraft commands (and how --config args are parsed) - Large **refactor** of Minecraft **commands** (and how --config args are parsed)
- Fixed CurseForge deploy script to be much faster, and correctly lookup valid Type and Version IDs - Fixed **CurseForge deploy script** to be much faster, and correctly lookup valid Type and Version IDs
## [1.0.7] - 2024-07-03 ## [1.0.7] - 2024-07-03
......
...@@ -214,7 +214,7 @@ public class ClientPackets { ...@@ -214,7 +214,7 @@ public class ClientPackets {
private static void playNearbyUISound(MinecraftClient client, Entity player, float maxVolume) { private static void playNearbyUISound(MinecraftClient client, Entity player, float maxVolume) {
// Play sound with volume based on distance // Play sound with volume based on distance
int distance_squared = 64; int distance_squared = 144;
if (client.player != null) { if (client.player != null) {
double distance = client.player.squaredDistanceTo(player.getX(), player.getY(), player.getZ()); double distance = client.player.squaredDistanceTo(player.getX(), player.getY(), player.getZ());
if (distance <= distance_squared) { if (distance <= distance_squared) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment