|
| 1 | +# v0.10.4 |
| 2 | + |
| 3 | +Released 3rd July 2025. |
| 4 | + |
| 5 | +This version includes protocol support for 1.21.93. |
| 6 | + |
| 7 | +## Changes |
| 8 | +- Packets are now processed in batches, allowing for up to 256 packets to be processed in a single world transaction. This provides a big boost in performance however if you notice this causing any problems, please create an issue on GitHub. |
| 9 | +- Creative items are now registered on startup, allowing users to register vanilla items and retain order in the inventory. |
| 10 | + |
| 11 | +### **item** |
| 12 | +- `Stack.WithValue()` now sets data to nil when last value is removed, fixing comparable checks. |
| 13 | +- Implemented the `OffHand` interface for vanilla items that can be held in the off-hand. |
| 14 | +- Added `DiscTears()` and `DiscLavaChicken()` music disc types. |
| 15 | + |
| 16 | +### **item/inventory** |
| 17 | +- Added support for slot validation to restrict items that can be placed in the off-hand inventory. |
| 18 | + |
| 19 | +### **player** |
| 20 | +- Added the following methods relating to debug shapes: |
| 21 | + - `AddDebugShape(debug.Shape)` |
| 22 | + - `RemoveDebugShape(debug.Shape)` |
| 23 | + - `VisibleDebugShapes() []debug.Shape` |
| 24 | + - `RemoveAllDebugShapes()` |
| 25 | +- Added the following methods relating to on-screen HUD elements: |
| 26 | + - `ShowHudElement(hud.Element)` |
| 27 | + - `HideHudElement(hud.Element)` |
| 28 | + - `HudElementHidden(hud.Element) bool` |
| 29 | + |
| 30 | +### **player/debug** |
| 31 | +- Added a new package implementing debug shapes which can be sent to a player to be drawn in the world. |
| 32 | +- The following types have been added: |
| 33 | + - `interface Shape` |
| 34 | + - `struct Arrow` |
| 35 | + - `struct Box` |
| 36 | + - `struct Circle` |
| 37 | + - `struct Line` |
| 38 | + - `struct Sphere` |
| 39 | + - `struct Text` |
| 40 | + |
| 41 | +### **player/hud** |
| 42 | +- Added a new package implementing on-screen HUD elements that can be hidden/shown to players. |
| 43 | +- The following functions have been added: |
| 44 | + - `PaperDoll() Element` |
| 45 | + - `Armour() Element` |
| 46 | + - `ToolTips() Element` |
| 47 | + - `TouchControls() Element` |
| 48 | + - `Crosshair() Element` |
| 49 | + - `HotBar() Element` |
| 50 | + - `Health() Element` |
| 51 | + - `ProgressBar() Element` |
| 52 | + - `Hunger() Element` |
| 53 | + - `AirBubbles() Element` |
| 54 | + - `HorseHealth() Element` |
| 55 | + - `StatusEffects() Element` |
| 56 | + - `ItemText() Element` |
| 57 | + |
| 58 | +### **world** |
| 59 | +- Added a `IgnoreTotem() bool` method to the `DamageSource` interface, allowing for void damage to ignore Totems of Undying. |
| 60 | + |
| 61 | +### **world/sound** |
| 62 | +- Added `LightningExplode` and `LightningThunder` sound types. |
| 63 | + |
| 64 | +## Bug Fixes |
| 65 | +- Fixed a rare edge case where blocks due to false collision detections. |
| 66 | +- UI Inventory is resent after every update to prevent desync. |
| 67 | +- Removed extra velocity updates to firework trails causing them to go in front of the player. |
| 68 | +- Effects are deleted from the EffectManager before ending, fixing invisibility issues. |
| 69 | +- Remove unsetting of invisible flag when in Spectator mode. |
| 70 | +- Players can no longer attack dead entities. |
0 commit comments