Commit Graph
22 Commits
Author SHA1 Message Date
froslanz 5b678dbd60 stuff 2026-10-30 16:51:26 -04:00
froslanz b9a80b6347 add Replenish module
Ported from Sydney-Legacy ReplenishModule:
- Switch modes Pickup (3-click), Swap and Quick (quick-move)
- Threshold / MinimumCount settings scaled by stack max size
- skipped while inventory, creative, container or shulker screens are open
- refill paced by ServerManager.getPingDelay()
2026-10-30 15:38:37 -04:00
froslanz 0a8957b477 add AutoTotem module
Ported from Sydney-Legacy AutoTotemModule:
- offhand modes Totem/Crystal/Gapple with health, elytra, fall,
  gapple, lethal-override, tick-abort, smart-mine and anti-mace checks
- own-totem pop resets the tick-abort interval via entity event 35
- three-click pickup move into offhand container slot 45
- ServerManager.getPingDelay() added for lag-scaled action pacing

Substitutions: no Suicide/SpeedMine modules in fros, so those branches
are dropped; SmartMine uses vanilla isDestroying() as the mining proxy;
sword/axe check via ItemTags.SWORDS/AXES (no SwordItem/AxeItem classes)
2026-10-30 15:38:12 -04:00
froslanz 2d6b4fb04b add NoRender module with entity/network hooks 2026-10-30 15:19:10 -04:00
froslanz 06386c9bbc add EntityListSetting with entity picker screen 2026-10-30 15:17:31 -04:00
froslanz 4adb232811 hud: port Potions and Direction from Sydney
- Potions: one row per active effect (icon + name + amplifier + duration),
  Icons toggle, Sorting mode None/Width/Alphabetical, Color mode
  Vanilla (effect color) or Client (theme color). Duration comes from
  MobEffectUtil.formatDuration at the world tick rate, infinite shown as
  **:** like Sydney. Keeps its last bounds while no effects are active so
  it stays draggable in the editor. Sydney's Enhanced palette and its
  VanillaPotions Keep/Move/Hide handling are not ported (the latter would
  need a new Gui mixin hook)
- Direction: "North [-Z]" — facing name capitalized, axis label from
  Sydney's mapping (north -Z, east +X, south +Z, west -X)
2026-10-30 11:56:03 -04:00
froslanz 3f729f7894 hud: port Health, Durability, Speed and Uptime from Sydney
- Health: center-screen health number with Sydney's four-way black outline
  and its green->dark green->yellow->gold->red->dark red thresholds,
  absorption included
- Durability: held item's remaining points, green-to-red by fraction left
  (Sydney's formula), Label toggle, "--" while holding something unbreakable
- Speed: last-tick horizontal movement, Unit mode Meters (m/s) or
  Kilometers (km/h), Label toggle
- Uptime: HH:MM:SS since the client registered its modules, Label toggle
2026-10-30 11:56:03 -04:00
froslanz 0f8f5d3f3d hud: port Totem/Crystal/XP counters from Sydney
Three separate draggable HUD modules, one per Sydney element (TotemCounter,
CrystalCounter, XPCounter), each rendering the item icon with its stacked
count. Hidden while the count is zero, matching Sydney; the editor box keeps
its nominal 16x16 size so the element stays draggable.

Adds InventoryUtil.count(Item) covering storage, hotbar and offhand (an
offhand totem must count).
2026-10-30 11:56:03 -04:00
froslanz 0d86808824 Add Chams module
- Renders entity models through walls as translucent fill and/or
  outline in the no-depth-test global layers, drawn at Render3DEvent
- Settings: Players/Hostiles/Passives/Crystals/Friends targets,
  Mode (Fill/Outline/Both), Pulse, DamageModify, OutlineWidth and
  per-purpose colors; friends win over damage color like the reference
- MixinEntityRenderDispatcher maps render states back to entities
  (states carry no name) and opens the capture context around each
  entity's submit; prepare() resets the mapping every frame
2026-10-30 11:56:03 -04:00
froslanz d65d013a5c add ExpThrower module 2026-10-30 11:56:03 -04:00
froslanz fddeb73617 add Surround module
Alongside the InteractionUtil air-place fix it consumes: mc.hitResult may be an EntityHitResult and cannot be cast blindly.
2026-10-30 11:56:03 -04:00
froslanz 99b01ba903 turn fakeplayer from a command into a clickgui module
FakePlayer now lives under Misc: enabling spawns the dummy at your
position with your equipment, disabling removes it, and it respawns
itself after a world change. Settings replace the old subcommands -
Name for its name, Swim for the swim pose (live-toggled), PopOnSpawn
for the totem event. Drops the .fakeplayer/.fp command.
2026-10-24 19:34:50 -04:00
froslanz 4c8a7c127e add fakeplayer command
.fp [name] spawns a client-side RemotePlayer at your position with your
equipment (it lands in level.players(), so combat and nametag modules
see it), .fp pop fires the totem event on it, .fp swim toggles the
swim pose, .fp remove despawns it.
2026-10-24 19:19:19 -04:00
froslanz fe07da6c0c add Nametags module
Custom nametags for players and thrown enderpearls projected onto the
screen: name (friend colored), distance, totem pop counter fed by the
totem entity event, armor and held item icons, and gapple/turtle/strength
effect icons from the synced effect particles. Vanilla player nametags
are suppressed while the module is on; pearl owners are cached to
pearl_owners.json like any other config.
2026-10-24 19:18:16 -04:00
froslanz 18095e351d add CrystalAura combat module
Places and breaks end crystals around the nearest non-friend player,
ported from telaviv's CatAura: damage-sorted target calc with min/self
damage and anti-suicide gates, place modes (Normal/AirPlace/Support/
AutoSurroundAnchor), break delays with inhibit and anti-weakness,
silent or normal auto-switch, rotation via the rotation manager, and a
box render of the current placement.

Dropped the dead AntiFeetPlace toggle (never read upstream) and the
unused Sequence setting.
2026-10-24 18:31:25 -04:00
froslanz 5e2a86d0cd add Server HUD module
Shows the address of the server the player is on (mc.getCurrentServer),
or Singleplayer when hosting a local world.
2026-10-24 17:22:21 -04:00
froslanz 53db883d04 add TPS HUD module
Shows the server's tps from ServerManager, which already measures it
from the vanilla time-sync packet (20 ticks per packet).
2026-10-24 17:21:37 -04:00
froslanz 6593a3f089 add Armor HUD module showing worn armor durability
lists the four worn armor pieces helmet-to-boots, skipping empty slots.
with Icons on (default) each row draws the item icon with its durability
percentage beside it, vertically centered; with Icons off it draws the
item's hover name plus the percentage as plain text. the percentage is
colored by condition (green >= 60%, yellow >= 30%, red below) and shows
a dash for items without durability. width/height track the drawn rows
so the editor box matches, falling back to the constructor size when
nothing is equipped
2026-10-24 12:57:42 -04:00
froslanz 4ff4902981 fix config loading, add arraylist module info
- fullbright no longer crashes during config load (mc.options is null
  while the game is still starting, which aborted loading every module
  registered after fullbright - including killaura's keybind)
- one broken module no longer aborts loading the rest
- fix "is a directory" IOException on every startup (commandmanager
  had no file name, so it resolved to the config folder itself)
- arraylist: alignment/sort options, module info shown on the opposite
  side of the row, hides hud/disabled modules behind settings
- killaura: show target name as module info
2026-10-22 08:57:57 -04:00
froslanz 1c3e2ff39f add radar hud module 2026-10-22 07:52:26 -04:00
froslanz 2db60e4299 fullbright 2026-10-21 18:12:04 -04:00
froslanz df5b28e394 add stuff 2026-10-21 17:30:14 -04:00