Skip to content

v0.2.0

Choose a tag to compare

@neverforward neverforward released this 25 Sep 07:57
· 21 commits to main since this release

Added

  • Per-block extra info with one switch per adapter (extras.*), so every line can be silenced on
    its own - in the configuration screen or with /insight set extras.<name> true: breaking time,
    explosion resistance, container occupancy, chiseled bookshelf, shelf, lectern, decorated pot,
    brewing stand, the furnace family, jukebox record, sign text (front and back), banner patterns,
    item frame, flower pot, painting, piston, redstone level / repeater / comparator, dispenser,
    candle, respawn anchor, and a misc group covering doors, trapdoors, fence gates, buttons,
    levers, tripwire hooks, observers, sea pickles, cake, composters, beds, enchanting tables, bee
    nests, beacons, campfires and the crafter (its two states and its disabled slots).
  • Cooking timers (furnace / blast furnace / smoker, brewing stand, campfire) keep running while no
    container screen is open: the client keeps the last value the engine sent and advances it
    locally, moves on to the next item by itself and hides the lines once every item it knew about has
    finished. Fuel running out, or a hopper refilling while nobody looks, is the one thing a client
    cannot see, so the estimate may drift until the screen is opened again.
  • The client registers a command of its own, /cliinsight, with toggle / on / off next to
    status / reload / set / gui. The switch flips client.showOverlay through the same path
    as the hotkey, so command and key always agree and both persist the change, and the status line
    reports the display state.
  • The command description is localized (Insight's main command); unlike the messages it is
    translated once, when the command is registered.

Changed

  • Requires LeviLamina 26.40.* (Bedrock 26.40); the sources no longer compile against 26.20.
  • The client command is named /cliinsight rather than /insight, so a client and a server install
    can coexist: joining a world merges the server's command list into the client registry, which
    would otherwise make the two clash.
  • Defaults: client.anchor is top_center (was bottom_center) and client.overlayOnRemote is
    on (was off). Defaults only apply to new or incomplete config files.
  • Higher Config schema version (3), because every extras adapter became a field of its own;
    existing files are merged automatically.
  • Furnaces report only the item that is in the fire (Time left Ns, Cook progress N%), and the
    percentage uses that machine's own cook time - 200 ticks in a furnace, 100 in a blast furnace or
    smoker - instead of assuming a furnace everywhere.

Removed

  • The note block pitch/instrument and the ignite chance extras: neither is reachable through the
    26.40 API, so their switches were removed together with the code instead of showing guessed
    values.

Fixed

  • /insight was unknown on a dedicated server even though the mod was enabled: LeviLamina publishes
    its command-registration event while the server instance is still being built, but enables mods
    later, so the command is now registered directly when the mod is enabled (with a log line to
    confirm it).
  • The crafter showed only one of its two states - triggered is the Java spelling while Bedrock
    calls it triggered_bit - and its disabled slots were read from a state that does not exist
    (they live in the block entity).
  • Switching one extras adapter off could take unrelated lines down with it: turning banners off also
    silenced the furnace readout, the brewing percentage and the beehive, beacon and campfire lines.
  • /insight gui no longer exists on the server, where it could only answer that the screen is
    client-side. The subcommand is registered only where there is a screen to open.