Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- accent - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
The accent: the focused window's icon, switches that are on, selections, sliders, focused fields.
- accent() - Static method in record class dev.myriadclient.api.setting.SettingColor
-
The theme's accent at full opacity.
- accent() - Method in record class dev.myriadclient.api.ui.ThemePalette
-
Returns the value of the
accentrecord component. - accent() - Method in class dev.myriadclient.api.ui.widget.Button
-
Use the accent colour as the background: the main action of a window.
- ACCENT - Enum constant in enum class dev.myriadclient.api.setting.SettingColor.Mode
-
The theme's accent colour.
- ACCENT - Enum constant in enum class dev.myriadclient.api.ui.hud.HudStyle.Mode
-
The theme's accent.
- accepted() - Method in record class dev.myriadclient.api.service.Breaking.Attempt
-
Whether it was queued (
Breaking.Attempt.check()isBreaking.Check.OK). - accepts(T) - Method in class dev.myriadclient.api.setting.RegistryListSetting
-
Whether
tmay be picked (e.g. - accepts(T) - Method in class dev.myriadclient.api.setting.RegistrySetting
-
Whether
tmay be picked: it passes the builder's filter. - accepts(T) - Method in interface dev.myriadclient.api.ui.widget.RegistryPicker.Source
-
Whether
tmay be listed at all (a setting's filter). - acceptTargets(Set, Set) - Method in class dev.myriadclient.api.mixin.CompatMixinPlugin
- acquire(Predicate, int, List) - Static method in class dev.myriadclient.api.job.Steps
-
Makes sure your inventory holds
countitems matchingwhat: done at once if it does, else each source in turn fetches what's still missing (a source that fails is passed over), and it's done with the count held once there's enough. - action() - Method in class dev.myriadclient.api.event.events.KeyEvent
-
InputConstants.PRESS,InputConstants.RELEASEorInputConstants.REPEAT. - action() - Method in class dev.myriadclient.api.event.events.MouseButtonEvent
-
InputConstants.PRESSorInputConstants.RELEASE. - action(String, Runnable) - Method in class dev.myriadclient.api.setting.SettingGroup
-
A button that runs
actionwhen clicked (or set from a command); not saved. - ActionSetting - Class in dev.myriadclient.api.setting
-
A button: clicking it in the settings window, or setting it from a command with any value, runs its action on the render thread.
- ActionSetting(String, String, Runnable, Supplier) - Constructor for class dev.myriadclient.api.setting.ActionSetting
-
A setting as its
ActionSetting.Buildermakes it; get one fromSettingGroup.action(String, Runnable), or call this from a subclass. - ActionSetting.Builder - Class in dev.myriadclient.api.setting
-
Builds an
ActionSetting. - actionsPerTick - Variable in class dev.myriadclient.api.service.BuildingSettings
-
Deprecated.builds aren't capped per tick any more; there's nothing to set.
- activate() - Method in class dev.myriadclient.api.ui.widget.Button
- activate() - Method in class dev.myriadclient.api.ui.widget.Collapsible
- activate() - Method in class dev.myriadclient.api.ui.widget.ColorPicker
- activate() - Method in class dev.myriadclient.api.ui.widget.Dropdown
- activate() - Method in class dev.myriadclient.api.ui.widget.IconPicker
- activate() - Method in class dev.myriadclient.api.ui.widget.KeybindButton
- activate() - Method in class dev.myriadclient.api.ui.widget.RegistryPicker
- activate() - Method in class dev.myriadclient.api.ui.widget.SettingRow
- activate() - Method in class dev.myriadclient.api.ui.widget.Slider
-
Enter types an exact value.
- activate() - Method in class dev.myriadclient.api.ui.widget.StringListEditor
- activate() - Method in class dev.myriadclient.api.ui.widget.TextField
- activate() - Method in class dev.myriadclient.api.ui.widget.Toggle
- activate() - Method in class dev.myriadclient.api.ui.widget.Widget
-
Enter/Space on the selected widget.
- activated() - Method in interface dev.myriadclient.api.hook.Replacement
-
It's in use from now (the server or the player's choice changed, or the game started), for the callers its
Matchcovers. - activateSecondary() - Method in class dev.myriadclient.api.ui.widget.Widget
-
The vim
okey: a secondary action (e.g. - active(Service) - Method in interface dev.myriadclient.api.hook.Hooks
-
The replacement
serviceis using for every caller, or empty when that's core's own. - active(Class) - Static method in class dev.myriadclient.api.module.Modules
-
The module if it is registered and enabled, otherwise null.
- activeBorderFrom - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
The focused window's border, its gradient's first stop; the accent by default.
- activeBorderTo - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
The focused window's border, its gradient's second stop; the secondary colour by default.
- activeProfile() - Method in interface dev.myriadclient.api.config.ConfigManager
-
The name of the profile in use (
"default"on a fresh install). - activeWorkspace() - Method in interface dev.myriadclient.api.ui.Ui
-
The workspace shown (or shown next time the menu opens): 1-9, or
Ui.HUD_WORKSPACEwhile editing the HUD. - add(E) - Method in class dev.myriadclient.api.setting.EnumSetSetting
-
Adds
eto the player's set. - add(String) - Method in interface dev.myriadclient.api.service.Enemies
-
Adds
name(trimmed) and saves the list; false if they were an enemy already. - add(String) - Method in interface dev.myriadclient.api.service.Friends
-
Adds
name(trimmed) and saves the list; false if they were a friend already. - add(String) - Method in class dev.myriadclient.api.setting.StringListSetting
-
Adds
sto the end of the player's list, unless it's already there. - add(String, String) - Method in class dev.myriadclient.api.ui.hud.TextHudPanel.Lines
-
A "label value" line (a space goes between them).
- add(S) - Method in class dev.myriadclient.api.setting.SettingGroup
-
Adds a pre-built setting (for custom setting types).
- add(T) - Method in class dev.myriadclient.api.setting.RegistryListSetting
-
Adds
tto the player's set, if the filter accepts it. - add(W) - Method in class dev.myriadclient.api.ui.widget.Container
-
Adds
widgetas the last child and returns it, so it can be added and kept in one line. - add(W) - Method in class dev.myriadclient.api.ui.widget.HBox
-
Adds a child with weight 1; returns it.
- add(W, W) - Method in interface dev.myriadclient.api.ui.layout.LayoutState
-
Adds a window.
- Added(Entity) - Constructor for class dev.myriadclient.api.event.events.EntityEvent.Added
-
Core's; only Myriad makes these.
- addFixed(W, float) - Method in class dev.myriadclient.api.ui.widget.HBox
-
Adds a child with a fixed width in UI units (which it gives up in a narrow row, down to its least); returns it.
- addKnownServer(String) - Method in interface dev.myriadclient.api.service.AntiCheat
-
Adds a host ("2b2t.org"; lower-cased, any port dropped) to
AntiCheat.knownServers()and works the profile out again; saved globally. - addon() - Method in interface dev.myriadclient.api.addon.AddonContext
-
The addon this context belongs to.
- addon() - Method in record class dev.myriadclient.api.module.ModuleGroup
-
The mod id of the addon this group belongs to.
- addon(String) - Static method in class dev.myriadclient.api.hook.Match
-
Calls for any module (or other feature) of the addon with this mod id: its modules' ids are in its namespace, and anything else is told apart by its package.
- addon(String) - Method in interface dev.myriadclient.api.share.ConfigShares.Builder
-
Every module of the addon with this mod id.
- Addon - Class in dev.myriadclient.api.addon
-
An addon Myriad found: a mod with a
"myriad"entrypoint, Myriad core included. - Addon(ModContainer, MyriadAddon) - Constructor for class dev.myriadclient.api.addon.Addon
-
Core's: made by the addon loader for each mod with a
myriadentrypoint. - ADDON_ICON - Static variable in record class dev.myriadclient.api.module.ModuleGroup
-
The icon of an addon's own window.
- ADDON_WINDOW - Static variable in record class dev.myriadclient.api.module.ModuleGroup
-
The path of an addon's own window: the group of the modules it registers without one.
- AddonContext - Interface in dev.myriadclient.api.addon
-
Everything an addon can register, scoped to that addon: registrations are tagged with its mod id (which is also the namespace of every id it creates) and are rolled back if the addon fails to load.
- addonId() - Method in class dev.myriadclient.api.hook.Match
-
The addon a caller must belong to (
Match.addon), or null. - addons() - Static method in class dev.myriadclient.api.Myriad
-
Every addon Myriad found, including failed ones and Myriad core itself.
- addons() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.addons(). - addons() - Method in class dev.myriadclient.api.share.ConfigShare
-
The mod ids of the addons its modules come from.
- addonSettings() - Static method in class dev.myriadclient.api.Myriad
-
Every addon's own settings (see
AddonContext.settings(String)). - addonSettings() - Method in interface dev.myriadclient.api.MyriadApi
- AddonSettings - Class in dev.myriadclient.api.addon
-
Settings that belong to an addon rather than to one of its modules: display units, a chat prefix, what a window shows.
- AddonSettings(MyriadId, String) - Constructor for class dev.myriadclient.api.addon.AddonSettings
-
An empty set of settings with
idand displayname. - AddonState - Enum Class in dev.myriadclient.api.addon
-
Where an addon is in loading, from
Addon.state(). - AddonStorage - Interface in dev.myriadclient.api.addon
-
A private folder for an addon's own data, at
.minecraft/myriad/addons/<mod id>/. - AddonStorage.Upgrade - Interface in dev.myriadclient.api.addon
-
One step of
AddonStorage.readJson(String, int, Upgrade): data atfromVersion, returned at the next version. - addonWindow(String, String) - Static method in record class dev.myriadclient.api.module.ModuleGroup
-
The group of
addonId's modules registered without one, shown in a window namedaddonName. - addPilot(Elytra.Pilot) - Method in interface dev.myriadclient.api.elytra.Elytra
-
Lets
pilotfly the local player untilElytra.removePilot(Elytra.Pilot). - address() - Method in class dev.myriadclient.api.event.events.DisconnectEvent
-
The server address you were connected to (
Myriad.server().address()), or null in singleplayer. - address() - Method in interface dev.myriadclient.api.service.ServerStats
-
The server address you connected with ("play.example.net"), or null in singleplayer or the menus.
- addWeighted(W, float) - Method in class dev.myriadclient.api.ui.widget.HBox
-
Adds a child sharing leftover space by
weight(relative to the other weighted children); returns it. - adjust(int) - Method in class dev.myriadclient.api.ui.widget.Collapsible
- adjust(int) - Method in class dev.myriadclient.api.ui.widget.ColorPicker
-
h/l cycle through the theme colours.
- adjust(int) - Method in class dev.myriadclient.api.ui.widget.Dropdown
- adjust(int) - Method in class dev.myriadclient.api.ui.widget.SettingRow
- adjust(int) - Method in class dev.myriadclient.api.ui.widget.Slider
-
h/l step by a twentieth of the range (whole numbers for integer sliders); hold Shift for finer steps.
- adjust(int) - Method in class dev.myriadclient.api.ui.widget.Toggle
- adjust(int) - Method in class dev.myriadclient.api.ui.widget.Widget
-
h/l or Left/Right on the selected widget: -1 or +1.
- ADJUST - Static variable in class dev.myriadclient.api.ui.Icons
- advance() - Static method in class dev.myriadclient.api.util.Ticks
-
Core's: counts one tick, called once at the start of every client tick.
- advanced() - Method in class dev.myriadclient.api.event.events.ItemTooltipEvent
-
Whether advanced tooltips (F3+H) are on.
- ago(long) - Static method in class dev.myriadclient.api.util.Format
-
How long ago something happened, given the milliseconds since: "just now", "5s ago", "3m ago", "2h ago", "4d ago".
- AIM - Static variable in interface dev.myriadclient.api.service.Placement
-
Where to click to place a block: the face and point (core: the best face you can reach and see, near the point nearest your eyes; for an air placement, the empty space itself), or null if there's nowhere it may click.
- aimAt(LivingEntity, ItemStack, Vec3) - Static method in class dev.myriadclient.api.combat.Trajectory
-
The yaw and pitch to launch
itemat so it passes throughtarget, on the low arc (the direct shot), ignoring blocks and entities in the way; or null if it can't reach that far. - aimed() - Method in class dev.myriadclient.api.service.Placement.Click
-
Whether the look goes to the point clicked in the movement packet right after the click (
Placement.Click.aimYaw()/Placement.Click.aimPitch()): for blocks whose facing no look on them gives. - aimPitch() - Method in class dev.myriadclient.api.service.Placement.Click
-
The pitch of the look after the click, in degrees; NaN unless
Placement.Click.aimed(). - aimPoint(Entity) - Static method in class dev.myriadclient.api.player.Reach
-
The point on
entity's box closest to the eyes, where a hit or rotation should aim. - aimYaw() - Method in class dev.myriadclient.api.service.Placement.Click
-
The yaw of the look after the click, in degrees; NaN unless
Placement.Click.aimed(). - air() - Static method in interface dev.myriadclient.api.build.Target
-
The position should be empty: anything there is broken (fluids can't be, and count as done).
- air() - Method in class dev.myriadclient.api.service.Placement.Click
-
Whether it clicks the empty space itself (an air placement, through the off hand).
- Air() - Constructor for class dev.myriadclient.api.build.Target.Air
- airPlace - Variable in class dev.myriadclient.api.service.PlacementSettings
-
Air Place: place with nothing next to the block, through the off hand (off by default).
- airPlace() - Method in class dev.myriadclient.api.service.Placement.Options
-
Allow placing with no solid neighbour, through the off hand (swap, place, swing, swap back), clicking the face of the empty space that faces you.
- aliases() - Method in class dev.myriadclient.api.command.Command
-
Other names it can be typed by; unmodifiable, empty if none.
- aliases() - Method in class dev.myriadclient.api.ui.Theme
-
The ids
Theme.aliases(String...)set; empty by default. - aliases(String...) - Method in class dev.myriadclient.api.ui.Theme
-
Ids this theme replaces (from an older version or another addon), as
namespace:pathstrings; saved choices and edits carry over. - alignRight() - Method in class dev.myriadclient.api.ui.hud.HudPanel
-
True when the element sits on the right of the screen (
Window.hudAlignX()past the middle), so text should grow leftwards. - all() - Method in interface dev.myriadclient.api.control.Controls
-
Every control panel, in order; a copy, so it can be kept and iterated freely.
- all() - Static method in class dev.myriadclient.api.hook.Hook
-
Every hook declared so far (a class declares its hooks when it loads).
- all() - Static method in class dev.myriadclient.api.hook.Service
-
Every service that can be replaced, in a fixed order.
- all() - Static method in class dev.myriadclient.api.render.HighlightStyle.Fill
-
Every fill there is, the built-in ones first: the choices of a Fill option.
- all() - Static method in class dev.myriadclient.api.service.Containers.Transfer
-
Everything that matches, as far as there's room.
- all() - Method in interface dev.myriadclient.api.service.Enemies
-
Every enemy, sorted ignoring case; a copy.
- all() - Method in interface dev.myriadclient.api.service.Friends
-
Every friend, sorted ignoring case; a copy, so it can be kept and iterated freely.
- all() - Method in class dev.myriadclient.api.setting.Settings
-
Every setting of every group, in order; a copy.
- all() - Static method in class dev.myriadclient.api.ui.Icons
-
Every icon, by section, as a new unmodifiable list.
- all() - Method in interface dev.myriadclient.api.ui.widget.RegistryPicker.Source
-
Every entry there is (a registry), in its own order.
- all() - Static method in class dev.myriadclient.api.world.FakePlayers
-
The fake players in the world you're in, oldest first: a read-only live view, so copy it before spawning or removing while iterating.
- all(String, List) - Static method in class dev.myriadclient.api.job.Step
-
All at once; done when every one is, with their results in order; the first failure fails it and cancels the rest.
- allowance() - Method in class dev.myriadclient.api.service.Containers.Arrangement
-
The cap on items taken from outside the layout's slots (
Containers.Arrangement.limit(ToIntFunction)), or null for none. - alpha(float) - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
Multiplies the alpha of everything drawn until
Canvas.pop()byalpha(clamped to 0-1). - alpha(int) - Static method in class dev.myriadclient.api.util.ColorUtil
-
The alpha channel, 0..255.
- alsoTagged(Tag...) - Method in class dev.myriadclient.api.module.Module
-
Adds tags besides the main one, for a module about more than one thing (Reach: combat and world).
- ALT - Enum constant in enum class dev.myriadclient.api.ui.ThemeSettings.ModKey
-
Alt, the default: Hyprland keeps Super for itself.
- altitude(NoDurability.Owner) - Method in interface dev.myriadclient.api.elytra.Elytra
-
A flight for
ownerthat crosses open country without fireworks, for any server: it dives until fast, pulls up and eases back to level, which holds its height, about 27 blocks a second (about 18 with No Durability where Grim simulates the glide, so 2b2t's chunks come in ahead of it). - always() - Static method in class dev.myriadclient.api.hook.Match
-
Every call.
- alwaysShader() - Method in class dev.myriadclient.api.render.RenderSettings.Builder
-
For what's only ever drawn by the shader, in either mode (your hand and held items, which have no box): its shader options show whatever the mode, the box's never.
- anchor() - Method in record class dev.myriadclient.api.ui.PanelType.HudPlacement
-
Returns the value of the
anchorrecord component. - anchor(LivingEntity, BlockPos) - Static method in class dev.myriadclient.api.combat.Damage
-
Damage a respawn anchor exploding at
anchor(outside the Nether) would deal totarget; the dimension isn't checked. - ANCHOR - Static variable in class dev.myriadclient.api.ui.Icons
- anchors(int) - Static method in class dev.myriadclient.api.combat.Threats
-
The worst charged respawn anchor within
rangeblocks; 0 in the Nether, where anchors work. - and(Blueprint) - Method in interface dev.myriadclient.api.build.Blueprint
-
This blueprint with
otheron top: where both have a position,other's target counts. - ANGLE - Enum constant in enum class dev.myriadclient.api.combat.Targets.Sort
-
Smallest turn from where you're looking first.
- angleDifference(float, float) - Static method in class dev.myriadclient.api.util.MathUtil
-
Signed shortest turn in degrees from angle
ato angleb, in -180..180: positive turns clockwise (to the right) for yaws. - anglesTo(Vec3) - Method in interface dev.myriadclient.api.service.Rotations
-
Yaw and pitch, in degrees, from the player's eyes to
target, as a new array {yaw, pitch}. - anglesTo(Vec3) - Method in class dev.myriadclient.api.service.Rotations.Forwarding
- anglesTo(Vec3, Vec3) - Static method in class dev.myriadclient.api.util.MathUtil
-
[yaw, pitch]in degrees to look fromfromatto: yaw wrapped to -180..180, pitch clamped to -90..90 (positive down). - angleTo(Vec3, float, float, Vec3) - Static method in class dev.myriadclient.api.util.MathUtil
-
The angle in degrees (0..180) between where
yaw/pitchlooks fromfromand the direction toto: 0 is dead ahead. - animals - Variable in class dev.myriadclient.api.combat.TargetSettings
-
Which
Targets.Types count, one switch each; seeTargetSettings.types(). - ANIMALS - Enum constant in enum class dev.myriadclient.api.combat.Targets.Type
-
Animals, and calm neutral mobs such as wolves and bees when
onlyAngryis off. - ANIMALS - Enum constant in enum class dev.myriadclient.api.render.EntityGroups.Group
-
Passive mobs (
Entities.Kind.PASSIVE). - animateBorder - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Rotate the active border's gradient over time (
ThemeSettings.borderSpeed), while animations are on. - Animated - Class in dev.myriadclient.api.ui.draw
-
A float that eases towards its target over time.
- Animated(float) - Constructor for class dev.myriadclient.api.ui.draw.Animated
-
A value resting at
initial. - animateTo(float, float, Bezier) - Method in class dev.myriadclient.api.ui.draw.Animated
-
Animates to
targetoverdurationMs, from wherever it is now. - animations - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Whether the UI animates; off, every duration is 0 (
ThemeSettings.durationMs(DoubleSetting)). - ansi() - Method in record class dev.myriadclient.api.ui.ThemePalette
-
Returns the value of the
ansirecord component. - ansi(int) - Method in record class dev.myriadclient.api.ui.ThemePalette
-
ANSI colour
i(0-15). - answerTo(BlockPos) - Method in interface dev.myriadclient.api.network.PacketChannel
-
The server's answer to the sequenced action just sent, for the block at
pos. - antiCheat() - Static method in class dev.myriadclient.api.Myriad
-
What the server checks (Grim or nothing beyond vanilla), from the player's choice or detected per server.
- antiCheat() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.antiCheat(). - AntiCheat - Interface in dev.myriadclient.api.service
-
What the server checks, so a feature can be careful where it has to be and quick where it doesn't, without every module asking the player "is this server strict?".
- AntiCheat.BreakTiming - Enum Class in dev.myriadclient.api.service
-
How a server times block breaking.
- AntiCheat.Profile - Class in dev.myriadclient.api.service
-
What a server checks, as the answers the services act on.
- AntiCheat.ServerSeen - Record Class in dev.myriadclient.api.service
-
What detection sees: the host you joined (lower case, no port; null in singleplayer), how many of the steady pings ("transactions") the server has sent since you joined (counted up to 100; the vanilla server never sends them in game), and the protocol number of the version the server sees you as (
AntiCheat.joinedProtocol()). - anyEnabled() - Method in class dev.myriadclient.api.setting.ModuleListSetting
-
Whether any chosen module is on.
- anyOf(Block...) - Static method in interface dev.myriadclient.api.build.Target
-
Any of these blocks; when placing, the first one listed that you have.
- AnyThread - Annotation Interface in dev.myriadclient.api.annotation
-
On a method or type: safe to call from any thread.
- applied() - Method in record class dev.myriadclient.api.share.ConfigShares.Applied
-
Returns the value of the
appliedrecord component. - Applied(List, List) - Constructor for record class dev.myriadclient.api.share.ConfigShares.Applied
-
Creates an instance of a
Appliedrecord class. - applies(String, Predicate) - Static method in class dev.myriadclient.api.mixin.CompatMixinPlugin
-
The rule itself: whether a mixin at
relativeName(below the config's package) should apply. - apply() - Method in class dev.myriadclient.api.ui.Theme
-
What writes the preset's values into the theme.
- apply(float) - Method in record class dev.myriadclient.api.ui.draw.Bezier
-
Maps linear progress
t(0..1) to eased progress: 0 at or below 0, 1 at or above 1. - apply(int, JsonElement) - Method in interface dev.myriadclient.api.addon.AddonStorage.Upgrade
-
Returns
data, which is laid out asfromVersionof your data, laid out asfromVersion + 1. - apply(ConfigShare, ConfigShares.Apply) - Method in interface dev.myriadclient.api.share.ConfigShares
-
Takes
sharein. - apply(ThemeSettings) - Method in record class dev.myriadclient.api.ui.ThemePalette
-
Writes the palette into a theme: the accent, secondary, borders, text, backgrounds, surfaces, menu tint, bar and the six palette colours, each derived from the scheme (backgrounds translucent, dim text between the foreground and background).
- applyTheme(MyriadId) - Method in interface dev.myriadclient.api.ui.Ui
-
Applies a registered theme preset (or one that lists
themeamong itsTheme.aliases): every theme value is reset, then the preset and the player's saved edits to it are written, and a toast says so. - applyTheme(Theme) - Method in interface dev.myriadclient.api.ui.Ui
-
Ui.applyTheme(MyriadId)for a theme you registered. - ARCHIVE - Static variable in class dev.myriadclient.api.ui.Icons
- argb() - Method in class dev.myriadclient.api.setting.ColorSetting
-
Shortcut for
get().argb(). - argb() - Method in record class dev.myriadclient.api.setting.SettingColor
-
The colour to draw with right now.
- argb(int, int, int, int) - Static method in class dev.myriadclient.api.util.ColorUtil
-
Packs four channels (0..255; only the low 8 bits of each are kept) into an ARGB int.
- args() - Method in interface dev.myriadclient.api.ui.Window
-
The args the panel was opened with (an empty object for none).
- argument(String, ArgumentType) - Static method in class dev.myriadclient.api.command.Command
-
An argument node named
name(the nameget(ctx, name)reads it back by), parsed bytype. - Arguments - Class in dev.myriadclient.api.command.arguments
-
Every argument type Myriad provides, in one place.
- arm(Object) - Method in interface dev.myriadclient.api.elytra.GlideHold
-
Holds the next glide clear for
owner; false if another owner has it. - ARM - Enum constant in enum class dev.myriadclient.api.event.events.HighlightEvent.Hand.Part
-
The bare arm.
- armor(ItemStack, EquipmentSlot) - Static method in class dev.myriadclient.api.item.ItemInfo
-
Armour points it gives worn in
slot(a diamond chestplate gives 8); 0 for anything that isn't armour there. - ARMOR - Static variable in class dev.myriadclient.api.item.Slots
-
The armour slots, head to feet, as the inventory screen shows them.
- ARMOR_STANDS - Enum constant in enum class dev.myriadclient.api.render.EntityGroups.Group
-
Armour stands.
- armorSlot(ItemStack) - Static method in class dev.myriadclient.api.item.ItemInfo
-
The armour slot it's worn in (head, chest, legs, feet; elytra is chest), or null if it isn't armour.
- around(BlockPos, int) - Static method in class dev.myriadclient.api.world.Holes
-
Every hole with a cell within
radiusblocks (a cube) ofcenter, nearest first, each once; empty outside a world. - arrange(Containers.Arrangement) - Method in interface dev.myriadclient.api.service.Containers.View
-
Makes some of the menu's slots hold an exact layout (see
Containers.Arrangement): sorting, filling a kit, putting a hotbar back. - arrange(Containers.Arrangement) - Method in interface dev.myriadclient.api.service.Inventory
-
Arranges your own inventory as
Containers.View.arrange(Containers.Arrangement)does a container's: sorting it, say, with your inventory screen open or no screen at all. - arrange(Containers.Arrangement) - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- arrange(Containers.View, Containers.Arrangement) - Static method in class dev.myriadclient.api.job.Steps
-
Makes the container hold an exact layout; produces whether it all went in.
- arrange(Rect, float, BiConsumer) - Method in interface dev.myriadclient.api.ui.layout.LayoutState
-
Computes tile rectangles inside
areawithgapunits between tiles (outer gaps are already applied to the area), giving each window's toout. - ARROW - Static variable in record class dev.myriadclient.api.combat.Trajectory.Ballistics
-
Arrows from bows and crossbows.
- ARROW_DOWN - Static variable in class dev.myriadclient.api.ui.Icons
- ARROW_LEFT - Static variable in class dev.myriadclient.api.ui.Icons
- ARROW_RIGHT - Static variable in class dev.myriadclient.api.ui.Icons
- ARROW_UP - Static variable in class dev.myriadclient.api.ui.Icons
- ARROWS - Static variable in class dev.myriadclient.api.ui.Icons
- ARROWS_H - Static variable in class dev.myriadclient.api.ui.Icons
- ARROWS_V - Static variable in class dev.myriadclient.api.ui.Icons
- AS_CONTROL_PANEL - Enum constant in enum class dev.myriadclient.api.share.ConfigShares.Apply
-
As a new control panel of its modules that were on for the sharer (all of them if none was) and their settings, so you can try it and turn it off to have your own back (layered over yours, nothing overwritten); none for a share without modules.
- asException() - Method in class dev.myriadclient.api.job.Why
-
This reason as an exception: thrown from a
run,peekorsupplystep, it fails the step with this reason rather thanWhy.ERROR. - assertRender() - Static method in class dev.myriadclient.api.util.Threads
-
With
-Dmyriad.devset, logs (once per call site, with the stack) a call that isn't on the render thread; otherwise nothing, at no cost. - assignGroup(ModuleGroup) - Method in class dev.myriadclient.api.module.Module
-
Called by the module registry with the group it's registered into.
- assignNamespace(String) - Method in class dev.myriadclient.api.command.Command
-
Core's: gives the command its id in the registering addon's namespace.
- assignNamespace(String) - Method in class dev.myriadclient.api.module.Module
-
Called by the module registry with the registering addon's namespace.
- ASTERISK - Static variable in class dev.myriadclient.api.ui.Icons
- async() - Method in class dev.myriadclient.api.world.ChunkCache.Builder
-
Runs the compute function on Myriad's worker pool instead of within the tick budget, for scans that take long (many block types over many chunks): a chunk's blocks are read while the game may be changing them, so the function must only read the chunk (never the level or entities) and must cope with a block changing under it; a chunk that changes meanwhile is computed again.
- Async - Class in dev.myriadclient.api.util
-
A shared pool of background threads for slow work (files, network, heavy searches) so addons don't each start their own.
- at(BlockPos) - Static method in class dev.myriadclient.api.world.Holes
-
The hole
posis a cell of (the air at foot level), or null (also outside a world). - at(BlockGetter, BlockPos) - Static method in class dev.myriadclient.api.world.Holes
-
Holes.at(BlockPos)readinglevel, e.g. - AT - Static variable in class dev.myriadclient.api.ui.Icons
- attach(Window) - Method in class dev.myriadclient.api.ui.Panel
-
Core's: binds the panel to its window.
- attachChild(Widget) - Method in class dev.myriadclient.api.ui.widget.Widget
-
For custom composite widgets (outside of
Container): registers a child so it shares this widget's root (focus, pressed state, tooltips). - attack(Entity, boolean) - Static method in class dev.myriadclient.api.player.Interactions
-
Attacks
targetas a left click would, postingAttackEvent, and swings the main hand ifswing. - attackCharge() - Static method in class dev.myriadclient.api.player.Interactions
-
Attack charge, 0..1 (1 = a full-strength hit), of the item the server holds in your hand (a weapon a module holds silently counts, not the one you see): see
Inventory.attackCharge(). - attackCharge() - Method in interface dev.myriadclient.api.service.Inventory
-
The attack charge (0-1) of the item the server holds in your main hand, as the server counts it: from your last hit, or from when that item came into your hand (switching to a different item starts the charge over).
- attackCharge() - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- AttackEvent - Class in dev.myriadclient.api.event.events
-
You are about to attack an entity: posted just before the attack packet is sent, whoever sends it (vanilla clicks, a module,
Interactions.attack). - AttackEvent(Entity) - Constructor for class dev.myriadclient.api.event.events.AttackEvent
-
Core's; only Myriad makes these.
- Attempt(BlockPos, Breaking.Check, CompletableFuture) - Constructor for record class dev.myriadclient.api.service.Breaking.Attempt
-
Creates an instance of a
Attemptrecord class. - Attempt(BlockPos, Placement.Check, CompletableFuture) - Constructor for record class dev.myriadclient.api.service.Placement.Attempt
-
Creates an instance of a
Attemptrecord class. - authors() - Method in class dev.myriadclient.api.addon.Addon
-
The authors' names from
fabric.mod.json, in order; empty when it lists none. - AUTOMATION - Static variable in class dev.myriadclient.api.module.Tags
-
Modules that do a job for you on their own: eating, picking tools, walking, mending, sorting, building.
- autoTool() - Method in class dev.myriadclient.api.service.Breaking.Options
-
Mine with the fastest tool you have, held server-side only (the visible slot stays).
- available() - Method in interface dev.myriadclient.api.map.Maps
-
Whether a map mod whose waypoints Myriad reads is installed (Xaero's Minimap).
- avoidFluids() - Method in class dev.myriadclient.api.service.Building.Options
-
Don't break blocks that hold back water or lava.
- await(String, Supplier, int) - Static method in class dev.myriadclient.api.job.Step
-
Starts
futurewhen reached and waits for it: a service call that answers later (Containers.open, a placement'sresult()). - axis() - Method in record class dev.myriadclient.api.world.Holes.Hole
-
Returns the value of the
axisrecord component.
B
- backdrop(float, float, float, float, float, float) - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
Frosted glass: the blurred scene behind the box, masked to its rounded shape, at
opacity(0-1). - background() - Method in record class dev.myriadclient.api.ui.ThemePalette
-
Returns the value of the
backgroundrecord component. - backward - Variable in class dev.myriadclient.api.event.events.InputEvent
-
Whether each movement key counts as held this tick: walk forward, back, strafe left, right, jump, sneak and sprint.
- BADGE_LINE - Static variable in class dev.myriadclient.api.ui.widget.Widget
-
Marks a tooltip line drawn as a row of pills instead of text; see
Widget.badgeLine(String...). - badgeLine(String...) - Static method in class dev.myriadclient.api.ui.widget.Widget
-
A tooltip line shown as pills.
- ballistics() - Method in record class dev.myriadclient.api.combat.Trajectory.Launch
-
Returns the value of the
ballisticsrecord component. - Ballistics(double, double, double, boolean, double) - Constructor for record class dev.myriadclient.api.combat.Trajectory.Ballistics
-
Creates an instance of a
Ballisticsrecord class. - BAN - Static variable in class dev.myriadclient.api.ui.Icons
- bar - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Whether the menu shows the bar of
BarWidgets. - bar(Canvas, ItemStack, float, float, float) - Static method in class dev.myriadclient.api.ui.hud.ItemHud
-
Draws the bar under an item at (x, y) of the given size: 80% of its width, along its bottom, on a dark track.
- BAR - Enum constant in enum class dev.myriadclient.api.ui.hud.ItemHud.Durability
-
A coloured bar under the item.
- BAR_CHART - Static variable in class dev.myriadclient.api.ui.Icons
- barBackground - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
The bar's fill.
- barHeight - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
The bar's height, in UI units; windows tile in the rest of the screen.
- Baritone - Class in dev.myriadclient.api.integration
-
Drives Baritone when it's installed, without depending on it: every call is a no-op (or false) when it's missing, so a module can offer "use Baritone" options to everyone and they simply do nothing without it.
- Baritone.GoalSpot - Record Class in dev.myriadclient.api.integration
-
One place Baritone's goal names: a block (
columnfalse), or a column at any height (columntrue,ymeaningless), for drawing where it's going. - Baritone.Overrides - Class in dev.myriadclient.api.integration
-
Baritone settings changed for a while, then put back: from
Baritone.override(). - Baritone.SettingInfo - Record Class in dev.myriadclient.api.integration
-
One of Baritone's settings, as
Baritone.settings()lists them: its name (allowBreak), the class of its value (Boolean.class,List.classfor a block list, withgenericTypesaying of what) and its default. - barPosition - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Which edge the bar is on.
- BARS - Static variable in class dev.myriadclient.api.ui.Icons
- BarWidget - Class in dev.myriadclient.api.ui
-
A block in the UI's top bar (Waybar-style), shown while the menu is open and Theme → Bar is on.
- BarWidget(MyriadId, String, BarWidget.Side, int) - Constructor for class dev.myriadclient.api.ui.BarWidget
- BarWidget.Side - Enum Class in dev.myriadclient.api.ui
-
Which part of the bar a widget sits in.
- barWidgets() - Static method in class dev.myriadclient.api.Myriad
-
Every block that can go in the UI's top bar.
- barWidgets() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.barWidgets(). - bases(Vec3, double, boolean) - Static method in class dev.myriadclient.api.combat.Crystals
-
Every base a crystal could be placed on now whose block centre is within
rangeblocks offrom, nearest first. - baseSpeed() - Static method in class dev.myriadclient.api.player.Movement
-
How fast sprinting on the ground carries you, in blocks per tick: about 0.2873 normally, more with Speed or Soul Speed, less with Slowness.
- BATTERY - Static variable in class dev.myriadclient.api.ui.Icons
- bed(LivingEntity, BlockPos) - Static method in class dev.myriadclient.api.combat.Damage
-
Damage a bed exploding at
bed(in the Nether or End) would deal totarget; both halves of the bed count as gone. - BED - Static variable in class dev.myriadclient.api.ui.Icons
- BEDROCK - Enum constant in enum class dev.myriadclient.api.world.Holes.Safety
-
Every wall and the floor is unbreakable (bedrock): nobody can open it.
- beds(int) - Static method in class dev.myriadclient.api.combat.Threats
-
The worst bed within
rangeblocks; 0 in the Overworld, where beds don't explode. - BEER - Static variable in class dev.myriadclient.api.ui.Icons
- before() - Method in class dev.myriadclient.api.job.JobEvent.Changed
-
The state at the start of the tick it changed in.
- BEFORE_ACTIONS - Static variable in class dev.myriadclient.api.event.Priority
-
For a
TickEvent.Prehandler that has to reach the server before any of this tick's actions: core sends actions held over from the end of the last tick, and its own, after it. - BELL - Static variable in class dev.myriadclient.api.ui.Icons
- below() - Method in class dev.myriadclient.api.event.events.RenderEvent
-
The same, drawn under every other module's shapes in
RenderMode.SHADER: for something often right in front of you (the block under the crosshair) that would otherwise hide the highlights behind it on screen. - best() - Method in class dev.myriadclient.api.combat.Targets.Query
-
The best match, or null if nothing matches (or outside a world); cheaper than
list().getFirst(). - best(double) - Method in class dev.myriadclient.api.combat.TargetSettings
-
The preferred target within
rangeblocks, or null if there's none. - bestInHotbar(ToDoubleFunction) - Method in interface dev.myriadclient.api.service.Inventory
-
The hotbar slot whose item scores highest; items scoring 0 or less don't count, nor
sparedones. - bestInHotbar(ToDoubleFunction) - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- bestInInventory(ToDoubleFunction) - Method in interface dev.myriadclient.api.service.Inventory
-
Like
Inventory.bestInHotbar(ToDoubleFunction)over the hotbar and main inventory (0-35). - bestInInventory(ToDoubleFunction) - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- bezier - Variable in enum class dev.myriadclient.api.ui.ThemeSettings.Curve
-
The curve itself.
- bezier() - Method in class dev.myriadclient.api.ui.ThemeSettings
-
The easing curve chosen in
ThemeSettings.curve, forAnimated.animateTo(float, float, Bezier). - Bezier - Record Class in dev.myriadclient.api.ui.draw
-
A CSS/Hyprland-style cubic bezier easing curve through (0,0), (x1,y1), (x2,y2), (1,1).
- Bezier(String, float, float, float, float) - Constructor for record class dev.myriadclient.api.ui.draw.Bezier
-
Creates an instance of a
Bezierrecord class. - BICYCLE - Static variable in class dev.myriadclient.api.ui.Icons
- bind() - Method in class dev.myriadclient.api.input.KeyAction
-
The bind in effect: the player's, or the default until they change it.
- bindClient(Minecraft) - Static method in class dev.myriadclient.api.command.Command
-
Core's: binds
Command.mconce the game client exists. - bindClient(Minecraft) - Static method in class dev.myriadclient.api.module.Module
-
Core's: binds
Module.mconce the game client exists. - bindClient(Minecraft) - Static method in class dev.myriadclient.api.ui.Panel
-
Core's: binds
Panel.mconce the client exists. - binds(boolean) - Method in interface dev.myriadclient.api.share.ConfigShares.Builder
-
Also every module's keybind and hold setting (off by default: binds are personal).
- BINOCULARS - Static variable in class dev.myriadclient.api.ui.Icons
- BLAST_PROOF - Enum constant in enum class dev.myriadclient.api.world.Holes.Safety
-
Every wall and the floor survives explosions, but some can be mined (obsidian, ender chests).
- block() - Static method in class dev.myriadclient.api.command.arguments.Arguments
-
A block by id (
obsidian); read it withRegistryArgumentType.getBlock(CommandContext, String). - block() - Static method in class dev.myriadclient.api.command.arguments.RegistryArgumentType
-
A block argument.
- block() - Method in class dev.myriadclient.api.event.events.PreviewEvent
-
The block shown (from a block's item: a chest, a shulker box), or null.
- block(String, Block) - Method in class dev.myriadclient.api.setting.SettingGroup
-
A single block, e.g.
- block(BlockPos, RenderLook, int) - Method in class dev.myriadclient.api.event.events.RenderEvent.Below
-
RenderEvent.block(BlockPos, RenderLook, int), drawn underneath. - block(BlockPos, RenderLook, int) - Method in class dev.myriadclient.api.event.events.RenderEvent
-
Shows the block at
posby its shape (a chest's, a slab's; a full cube for one without). - block(BlockPos, RenderLook, int, boolean) - Method in interface dev.myriadclient.api.event.events.RenderEvent.Sink
-
Core's: a
RenderEvent.block(BlockPos, RenderLook, int)request. - block(Block) - Static method in interface dev.myriadclient.api.build.Target
-
Any state of
block. - block(Block) - Static method in class dev.myriadclient.api.ui.widget.Preview
-
A block, from its item (a chest, a shulker box, a spawner).
- Block(InteractionHand, BlockHitResult) - Constructor for class dev.myriadclient.api.event.events.InteractEvent.Block
-
Core's; only Myriad makes these.
- BLOCK_ACTION - Enum constant in enum class dev.myriadclient.api.service.PacketLimits.Kind
-
Block digging actions: starting, stopping and aborting a break, swapping hands, dropping the held item.
- BlockBreakEvent - Class in dev.myriadclient.api.event.events
-
The local player's block breaking, as vanilla does it (
MultiPlayerGameMode): your own mining and anything driving it the same way. - BlockBreakEvent(BlockPos, Direction) - Constructor for class dev.myriadclient.api.event.events.BlockBreakEvent
-
Core's; addons don't make these.
- BlockBreakEvent.Progress - Class in dev.myriadclient.api.event.events
-
Vanilla is about to advance its mining progress on a block (each tick the attack key is held).
- BlockBreakEvent.Start - Class in dev.myriadclient.api.event.events
-
The player started hitting a block.
- BlockBrokenEvent - Class in dev.myriadclient.api.event.events
-
You finished breaking a block (the client removed it; the server confirms with a
BlockUpdateEvent). - BlockBrokenEvent(BlockPos, BlockState) - Constructor for class dev.myriadclient.api.event.events.BlockBrokenEvent
-
Core's; only Myriad makes these.
- BLOCKED - Enum constant in enum class dev.myriadclient.api.build.Build.Status
-
The wrong block is there and the build isn't allowed to break it.
- BLOCKED - Static variable in class dev.myriadclient.api.job.Why
-
The wrong block is there and it mustn't be broken; the way is blocked.
- BlockInfo - Class in dev.myriadclient.api.world
-
What kind of block something is, with one answer shared by every addon: can it be broken, does it survive explosions, does it hold items, does right-clicking it open it.
- blockPos() - Static method in class dev.myriadclient.api.command.arguments.Arguments
-
x y z, with~relative to you. - blockPos() - Static method in class dev.myriadclient.api.command.arguments.BlockPosArgumentType
-
Coordinates relative to where you stand when the command is typed (the origin if not in a world).
- blockPos(String) - Method in class dev.myriadclient.api.setting.SettingGroup
-
A block position, with "set to where I'm standing".
- BlockPosArgumentType - Class in dev.myriadclient.api.command.arguments
-
Three coordinates, each a whole number or
~/~5relative to where you stand, like vanilla's. - BlockPosSetting - Class in dev.myriadclient.api.setting
-
A block position: an anchor, a schematic origin, a home.
- BlockPosSetting(String, String, BlockPos, Supplier) - Constructor for class dev.myriadclient.api.setting.BlockPosSetting
-
A setting as its
BlockPosSetting.Buildermakes it; get one fromSettingGroup.blockPos(String), or call this from a subclass. - BlockPosSetting.Builder - Class in dev.myriadclient.api.setting
-
Builds a
BlockPosSetting;0 0 0by default. - blockRange() - Static method in class dev.myriadclient.api.player.Reach
-
How far blocks can be reached from the eyes, in blocks (4.5 in survival, 5 in creative); 0 outside a world.
- BlockRenderEvent - Class in dev.myriadclient.api.event.events
-
A block state is about to be drawn: cancel to leave it out of the chunk mesh (X-ray, hiding blocks).
- BlockRenderEvent(BlockState) - Constructor for class dev.myriadclient.api.event.events.BlockRenderEvent
-
Core's; only Myriad makes these.
- BlockRules - Class in dev.myriadclient.api.build
-
What a block state is made of, for building it: which properties the placement itself decides (checked by simulating the click), which grow with more of the same item (candles, sea pickles, layers, double slabs), which a bare-hand click cycles afterwards (repeater delay, comparator mode, note, open, lever), and which the game keeps changing on its own (connections, power, age), which a build can't hold and ignores.
- blocks(String) - Static method in class dev.myriadclient.api.setting.RegistryListSetting
-
A builder for a set of blocks, not added to any group; prefer
SettingGroup.blocks(String). - blocks(String) - Method in class dev.myriadclient.api.setting.SettingGroup
-
A set of blocks (what to mine, what to highlight).
- BlockScan - Class in dev.myriadclient.api.world
-
Fast block searches over a chunk.
- BlockScan.Visitor - Interface in dev.myriadclient.api.world
-
Receives each match.
- blockShape(BlockPos, int, int, Renderer3D.ShapeMode, boolean) - Static method in class dev.myriadclient.api.render.Renderer3D
- blockShape(BlockPos, int, int, Renderer3D.ShapeMode, boolean) - Method in class dev.myriadclient.api.render.ShapeBuilder
-
The block at
posas its real shape (slabs, stairs, chests, fences), not a full cube: filled with its boxes and outlined along its edges. - blockShape(BlockPos, BlockState, int, int, Renderer3D.ShapeMode, boolean) - Method in class dev.myriadclient.api.render.ShapeBuilder
-
Like
ShapeBuilder.blockShape(BlockPos, int, int, Renderer3D.ShapeMode, boolean)with a state you already have (or want to show there); null draws a full cube. - BlockUpdateEvent - Class in dev.myriadclient.api.event.events
-
The server changed a block: single updates and multi-block updates alike, including confirmations of blocks you placed or broke.
- BlockUpdateEvent(BlockPos, BlockState, BlockState) - Constructor for class dev.myriadclient.api.event.events.BlockUpdateEvent
-
Core's; only Myriad makes these.
- blue - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
The palette's blue; also a
SettingColorrole. - blue(int) - Static method in class dev.myriadclient.api.util.ColorUtil
-
The blue channel, 0..255.
- BLUE - Enum constant in enum class dev.myriadclient.api.setting.SettingColor.Mode
-
The theme's blue.
- Blueprint - Interface in dev.myriadclient.api.build
-
The shape a build works towards: a
Targetfor each position. - blur - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Frosted-glass window backgrounds: the game blurred behind each window (
Canvas.backdrop). - blur() - Method in class dev.myriadclient.api.ui.widget.Widget
-
Gives up keyboard focus, if it has it;
Widget.onBlur()runs. - blurPasses - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
How many blur passes run; more is softer and costs more.
- blurSize - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
How far each blur pass samples; larger is blurrier.
- body() - Method in exception class dev.myriadclient.api.network.Http.StatusException
-
The response body as text (an error message, often JSON); empty if there was none.
- body() - Method in record class dev.myriadclient.api.util.ChatMessages.Parsed
-
Returns the value of the
bodyrecord component. - bold() - Method in class dev.myriadclient.api.ui.widget.Label
-
In
FontFamily.SANS_BOLD, at the size it has. - BOLT - Static variable in class dev.myriadclient.api.ui.Icons
- BOMB - Static variable in class dev.myriadclient.api.ui.Icons
- BOOK - Static variable in class dev.myriadclient.api.ui.Icons
- BOOKMARK - Static variable in class dev.myriadclient.api.ui.Icons
- bool(String) - Method in class dev.myriadclient.api.setting.SettingGroup
-
On or off: a checkbox.
- BoolSetting - Class in dev.myriadclient.api.setting
-
On or off, shown as a checkbox.
- BoolSetting(String, String, boolean, Supplier) - Constructor for class dev.myriadclient.api.setting.BoolSetting
-
A setting as its
BoolSetting.Buildermakes it; get one fromSettingGroup.bool(String), or call this from a subclass. - BoolSetting.Builder - Class in dev.myriadclient.api.setting
-
Builds a
BoolSetting; off by default. - borderAngle - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Direction of the active border's gradient, in degrees (0 left to right, 90 top to bottom).
- borderFrom() - Method in record class dev.myriadclient.api.ui.ThemePalette
-
Returns the value of the
borderFromrecord component. - borderSize - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Width of window borders, in UI units (at least one pixel when not 0); 0 draws none.
- borderSpeed - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Seconds per full turn of the active border's gradient, with
ThemeSettings.animateBorder. - borderTo() - Method in record class dev.myriadclient.api.ui.ThemePalette
-
Returns the value of the
borderTorecord component. - borrow(int) - Static method in class dev.myriadclient.api.job.Steps
-
Borrows the stack at inventory
index(9-35) into the hotbar for the steps that follow and produces the hotbar slot; it goes back to that inventory slot (whatever is in the hotbar slot by then) when the enclosing step ends. - borrow(Object, int, Predicate) - Method in interface dev.myriadclient.api.service.Inventory
-
Borrows the item at
inventoryIndexforowner: likeInventory.pullToHotbar(int, Predicate), but the item goes back to that inventory slot (and whatever it made room for back to the hotbar) once you're done with it, so using a tool or weapon from the inventory leaves the hotbar as it was. - borrow(Object, int, Predicate) - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- Borrowing and masking - Section in interface dev.myriadclient.api.service.Inventory
- bosses - Variable in class dev.myriadclient.api.combat.TargetSettings
-
Which
Targets.Types count, one switch each; seeTargetSettings.types(). - BOSSES - Enum constant in enum class dev.myriadclient.api.combat.Targets.Type
-
The wither, wardens and the ender dragon.
- BOTH - Enum constant in enum class dev.myriadclient.api.render.Renderer3D.ShapeMode
-
Faces and outline.
- BOTH - Enum constant in enum class dev.myriadclient.api.ui.hud.ItemHud.Durability
-
The bar and the percentage.
- bottom() - Method in record class dev.myriadclient.api.ui.Rect
-
y + h. - BOTTOM - Enum constant in enum class dev.myriadclient.api.ui.PanelType.Anchor
-
The middle of the bottom edge.
- BOTTOM - Enum constant in enum class dev.myriadclient.api.ui.ThemeSettings.BarPosition
-
Along the bottom edge.
- BOTTOM_LEFT - Enum constant in enum class dev.myriadclient.api.ui.PanelType.Anchor
-
The bottom-left corner.
- BOTTOM_RIGHT - Enum constant in enum class dev.myriadclient.api.ui.PanelType.Anchor
-
The bottom-right corner.
- BOTTOM_UP - Enum constant in enum class dev.myriadclient.api.service.Building.Order
-
Lowest first, then nearest: each block has the one under it to go against.
- bounds() - Method in class dev.myriadclient.api.render.WorldMesh
-
Core's: the box around every shape, in world coordinates, for culling; null while empty.
- bounds() - Method in interface dev.myriadclient.api.ui.layout.LayoutState.Splitter
-
The area a press grabs it in, in screen UI units.
- bounds() - Method in interface dev.myriadclient.api.ui.Window
-
Current on-screen bounds (including the border and title bar), in UI units, as animated this frame.
- box() - Method in class dev.myriadclient.api.event.events.PreviewEvent
-
The subject's box in the preview's coordinates: an entity's hitbox from its feet, a block's cube from the origin.
- box() - Method in record class dev.myriadclient.api.world.Holes.Hole
-
The cells as one box, one block high.
- box(ShapeBuilder, AABB, int) - Method in interface dev.myriadclient.api.render.RenderLook
- box(BlockPos, BlockPos, Target) - Static method in interface dev.myriadclient.api.build.Blueprint
-
Every position in the box between two corners (inclusive), all with the same target.
- box(BlockPos, BlockPos, Vec3) - Static method in class dev.myriadclient.api.world.Positions
-
Every block between two corners (inclusive), nearest to
sortFromfirst (or in order if null). - box(AABB, int) - Method in interface dev.myriadclient.api.world.ChunkCache.BoxSink
-
One box in world coordinates, in an ARGB colour.
- box(AABB, int, int, Renderer3D.ShapeMode, boolean) - Static method in class dev.myriadclient.api.render.Renderer3D
-
A box with a translucent fill and/or outline.
- box(AABB, int, int, Renderer3D.ShapeMode, boolean) - Method in class dev.myriadclient.api.render.ShapeBuilder
-
A box with a translucent fill and/or outline, as
modesays; each part is skipped if its colour is fully transparent. - box(AABB, RenderLook, int) - Method in class dev.myriadclient.api.event.events.RenderEvent.Below
-
RenderEvent.box(AABB, RenderLook, int), drawn underneath. - box(AABB, RenderLook, int) - Method in class dev.myriadclient.api.event.events.RenderEvent
-
Shows
box(world coordinates). - box(AABB, RenderLook, int, boolean) - Method in interface dev.myriadclient.api.event.events.RenderEvent.Sink
-
Core's: a
RenderEvent.box(AABB, RenderLook, int)request. - BOX - Enum constant in enum class dev.myriadclient.api.render.RenderMode
-
Boxes of lines and translucent faces, cheaper on a weak GPU.
- boxes(ChunkCache.Boxes, RenderLook) - Method in class dev.myriadclient.api.world.ChunkCache.Builder
-
Each chunk's value as boxes in colours, shown in
lookin theRenderModethat's on: hand the cache toRenderEvent#chunkseach frame. - boxes(T, ChunkCache.BoxSink) - Method in interface dev.myriadclient.api.world.ChunkCache.Boxes
-
Hands each box of
valuetoout. - boxFill(int) - Method in interface dev.myriadclient.api.render.RenderLook
-
colorfor a box's faces inRenderMode.BOX(fade a thing by its colour's alpha); 0 for no faces. - boxFill(int) - Method in class dev.myriadclient.api.render.RenderSettings
-
colorfor a box's faces inRenderMode.BOX: at the fill opacity, or clear with no fill. - boxFill(AABB, int, boolean) - Method in class dev.myriadclient.api.render.ShapeBuilder
-
The six faces of a box.
- boxLine(int) - Method in interface dev.myriadclient.api.render.RenderLook
-
colorfor a box's edges inRenderMode.BOX; 0 for no edges. - boxLine(int) - Method in class dev.myriadclient.api.render.RenderSettings
-
colorfor a box's edges inRenderMode.BOX; clear with no line width. - boxLines(AABB, int, boolean) - Method in class dev.myriadclient.api.render.ShapeBuilder
-
The twelve edges of a box.
- BREAK - Enum constant in enum class dev.myriadclient.api.build.Build.Status
-
Will be broken (or is queued to be).
- breakBlock(Object, BlockPos, int, Breaking.Options) - Method in interface dev.myriadclient.api.service.Breaking
-
Queues
posto be broken forowner. - breakBlock(Object, BlockPos, int, Breaking.Options) - Method in class dev.myriadclient.api.service.Breaking.Forwarding
- breakBlock(BlockPos, int, Breaking.Options) - Static method in class dev.myriadclient.api.job.Steps
-
Breaks the block at
posthrough the breaking service (tool, rotation, timing); done at once if there's nothing there. - breaking - Variable in class dev.myriadclient.api.service.BuildingSettings
-
Mode and Double Break for the build's breaks, shown only while Break Wrong Blocks is on.
- breaking() - Static method in class dev.myriadclient.api.Myriad
-
Shared block breaking: queued by priority, instant breaks batched, tool and rotation handled, server-confirmed.
- breaking() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.breaking(). - breaking() - Method in class dev.myriadclient.api.service.Building.Options
-
How blocks are broken.
- Breaking - Interface in dev.myriadclient.api.service
-
Shared block breaking for Nuker, tunnellers, speed mine, auto city and anything else that breaks blocks.
- BREAKING - Static variable in class dev.myriadclient.api.hook.Service
-
Myriad.breaking(): mining blocks. - Breaking.Attempt - Record Class in dev.myriadclient.api.service
-
One break.
- Breaking.Check - Enum Class in dev.myriadclient.api.service
-
Whether a block could be broken now, and if not, why not.
- Breaking.Forwarding - Class in dev.myriadclient.api.service
-
The base for a replacement of this service (
Service.BREAKING): hands every call to the service it wraps (core's), so override only what you do differently. - Breaking.Mode - Enum Class in dev.myriadclient.api.service
-
How a block is mined: how long it takes, and how the tool and your hand are used.
- Breaking.Options - Class in dev.myriadclient.api.service
-
How blocks are broken.
- BreakingSettings - Class in dev.myriadclient.api.service
-
The standard breaking settings, Mode and Double Break, so every module that mines offers the same choice.
- BreakingSettings(SettingGroup) - Constructor for class dev.myriadclient.api.service.BreakingSettings
-
Adds Mode and Double Break to
group. - BreakingSettings(SettingGroup, Supplier) - Constructor for class dev.myriadclient.api.service.BreakingSettings
-
Adds Mode and Double Break to
group, shown only whilevisiblesays so. - BreakingSettings.Mode - Enum Class in dev.myriadclient.api.service
-
The choice the Mode setting offers.
- breakTiming() - Method in class dev.myriadclient.api.service.AntiCheat.Profile
-
How breaks are timed;
Breaking.Options.forServer()mines by it. - breakWrong - Variable in class dev.myriadclient.api.service.BuildingSettings
-
Break Wrong Blocks: break what's in the way of the build; off, it's left and shown as blocked.
- breakWrong() - Method in class dev.myriadclient.api.service.Building.Options
-
Break blocks that are in the way of a placement; off for builds that should only fill empty space (surround shouldn't dig up your base).
- BRIEFCASE - Static variable in class dev.myriadclient.api.ui.Icons
- budget() - Method in interface dev.myriadclient.api.job.JobContext
-
How long this step may still work this tick: stop when it's spent and carry on next tick.
- budget(double) - Method in class dev.myriadclient.api.world.ChunkCache.Builder
-
Milliseconds of work per tick (default 2).
- buffer(int) - Method in class dev.myriadclient.api.render.WorldMesh
-
Core's: one layer's vertex buffer, null if the layer is empty.
- BUG - Static variable in class dev.myriadclient.api.ui.Icons
- build() - Method in class dev.myriadclient.api.control.ControlPreset.Builder
-
The finished preset, immutable; the builder can go on to make another.
- build() - Method in class dev.myriadclient.api.render.RenderSettings.Builder
-
Adds the options to the group, in the order the Render group shows them, and returns the look they make.
- build() - Method in class dev.myriadclient.api.setting.Setting.Builder
-
Makes the setting and, for a builder from a
SettingGroup, adds it to the group. - build() - Method in interface dev.myriadclient.api.share.ConfigShares.Builder
-
The share as put together so far, with the current settings of everything in it.
- build() - Method in class dev.myriadclient.api.ui.PanelType.Builder
-
The panel type.
- build() - Method in class dev.myriadclient.api.world.ChunkCache.Builder
-
The cache.
- build(double, double, double, Consumer) - Method in class dev.myriadclient.api.render.WorldMesh
-
Replaces the mesh's shapes, stored relative to
origin. - build(LiteralArgumentBuilder) - Method in class dev.myriadclient.api.command.Command
-
Add arguments and executors to the literal for
Command.name()(and every alias). - build(Blueprint, Building.Options) - Static method in class dev.myriadclient.api.job.Steps
-
Builds
blueprintthrough the building service and is done when it's complete. - build(Settings) - Static method in class dev.myriadclient.api.ui.widget.SettingsView
-
Every group of
settingsas a foldable section (named after the group, folded as the group remembers, its count of visible settings shown while folded) holding a row per setting. - build(VBox) - Method in class dev.myriadclient.api.ui.WidgetPanel
-
Adds the panel's widgets to
content, a column with 4 units between widgets and the panel's padding around them. - build(Consumer) - Method in class dev.myriadclient.api.render.WorldMesh
-
Replaces the mesh's shapes with what
shapesadds, stored relative to the camera's block. - Build - Interface in dev.myriadclient.api.build
-
A running build from
Myriad.building().start(...): the plan for what's in reach, how much is left, and a way to stop it. - Build.Status - Enum Class in dev.myriadclient.api.build
-
Where one position stands.
- Build.Step - Record Class in dev.myriadclient.api.build
-
One position of the plan.
- builder() - Method in interface dev.myriadclient.api.share.ConfigShares
-
A new, empty builder.
- builder(MyriadId, String) - Static method in class dev.myriadclient.api.ui.PanelType
-
Starts a panel type.
- builder(SettingGroup) - Static method in class dev.myriadclient.api.render.RenderSettings
-
Starts the options, which
RenderSettings.Builder.build()adds togroup(usually the module's "Render" group). - builder(String) - Static method in class dev.myriadclient.api.control.ControlPreset
-
Starts a preset called
name, the name players see (they can rename it). - Builder(String) - Constructor for class dev.myriadclient.api.setting.BlockPosSetting.Builder
-
A builder for a setting called
name; preferSettingGroup.blockPos(String), which adds it to the group. - Builder(String) - Constructor for class dev.myriadclient.api.setting.BoolSetting.Builder
-
A builder for a setting called
name; preferSettingGroup.bool(String), which adds it to the group. - Builder(String) - Constructor for class dev.myriadclient.api.setting.ColorSetting.Builder
-
A builder for a setting called
name; preferSettingGroup.color(String), which adds it to the group. - Builder(String) - Constructor for class dev.myriadclient.api.setting.DoubleSetting.Builder
-
A builder for a setting called
name; preferSettingGroup.decimal(String), which adds it to the group. - Builder(String) - Constructor for class dev.myriadclient.api.setting.FileSetting.Builder
-
A builder for a setting called
name; preferSettingGroup.file(String), which adds it to the group. - Builder(String) - Constructor for class dev.myriadclient.api.setting.IconSetting.Builder
-
A builder for a setting called
name; preferSettingGroup.icon(String), which adds it to the group. - Builder(String) - Constructor for class dev.myriadclient.api.setting.IntListSetting.Builder
-
A builder for a setting called
name; preferSettingGroup.intList(String), which adds it to the group. - Builder(String) - Constructor for class dev.myriadclient.api.setting.IntSetting.Builder
-
A builder for a setting called
name; preferSettingGroup.integer(String), which adds it to the group. - Builder(String) - Constructor for class dev.myriadclient.api.setting.KeybindSetting.Builder
-
A builder for a setting called
name; preferSettingGroup.keybind(String), which adds it to the group. - Builder(String) - Constructor for class dev.myriadclient.api.setting.ModuleListSetting.Builder
-
A builder for a setting called
name; preferSettingGroup.modules(String), which adds it to the group. - Builder(String) - Constructor for class dev.myriadclient.api.setting.StringListSetting.Builder
-
A builder for a setting called
name; preferSettingGroup.stringList(String), which adds it to the group. - Builder(String) - Constructor for class dev.myriadclient.api.setting.StringSetting.Builder
-
A builder for a setting called
name; preferSettingGroup.string(String), which adds it to the group. - Builder(String, E) - Constructor for class dev.myriadclient.api.setting.EnumSetting.Builder
-
A builder for a setting called
name; preferSettingGroup.oneOf(String, Enum), which adds it to the group. - Builder(String, Class) - Constructor for class dev.myriadclient.api.setting.EnumSetSetting.Builder
-
A builder for a setting called
name; preferSettingGroup.enumSet(String, Class), which adds it to the group. - Builder(String, Runnable) - Constructor for class dev.myriadclient.api.setting.ActionSetting.Builder
-
A builder for a button called
name; preferSettingGroup.action(String, Runnable), which adds it to the group. - Builder(String, Supplier) - Constructor for class dev.myriadclient.api.setting.ChoiceSetting.Builder
-
A builder for a setting called
name; preferSettingGroup.choice(String, Supplier), which adds it to the group. - Builder(String, Registry) - Constructor for class dev.myriadclient.api.setting.RegistryListSetting.Builder
-
A builder for a setting called
name; preferSettingGroup.registryList(String, Registry), which adds it to the group. - Builder(String, Registry, T) - Constructor for class dev.myriadclient.api.setting.RegistrySetting.Builder
-
A builder for a setting called
name; preferSettingGroup.registry(String, Registry, T), which adds it to the group. - Builder(String, T) - Constructor for class dev.myriadclient.api.setting.Setting.Builder
-
A builder for a setting called
name, with the type's own default value. - building() - Static method in class dev.myriadclient.api.Myriad
-
Builds blueprints: describe the shape, and the planner breaks and places what's in reach in a working order.
- building() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.building(). - Building - Interface in dev.myriadclient.api.service
- BUILDING - Static variable in class dev.myriadclient.api.ui.Icons
- Building.Options - Class in dev.myriadclient.api.service
-
How a blueprint is built.
- Building.Order - Enum Class in dev.myriadclient.api.service
-
Which of the placements in reach go first.
- BuildingSettings - Class in dev.myriadclient.api.service
-
The standard building settings, so every module that builds offers the same ones:
PlacementSettings's Range and Air Place, Break Wrong Blocks, andBreakingSettings' Mode and Double Break for those breaks. - BuildingSettings(SettingGroup) - Constructor for class dev.myriadclient.api.service.BuildingSettings
-
Adds the settings to
group, with Break Wrong Blocks off by default. - BuildingSettings(SettingGroup, boolean) - Constructor for class dev.myriadclient.api.service.BuildingSettings
-
As
BuildingSettings(SettingGroup), with Break Wrong Blocks on or off by default. - BULLHORN - Static variable in class dev.myriadclient.api.ui.Icons
- BULLSEYE - Static variable in class dev.myriadclient.api.ui.Icons
- button() - Method in class dev.myriadclient.api.event.events.ContainerScreenEvent.Click
-
The mouse button (0 left, 1 right), or the hotbar key's index for a swap, as vanilla's click packet carries it.
- button() - Method in class dev.myriadclient.api.event.events.MouseButtonEvent
-
Which button:
InputConstants.MOUSE_BUTTON_LEFT,_RIGHT,_MIDDLE, or higher (side buttons). - button() - Method in record class dev.myriadclient.api.service.Containers.Click
-
Returns the value of the
buttonrecord component. - button(Supplier, Runnable, Supplier) - Static method in class dev.myriadclient.api.ui.TitleControl
-
A Nerd Font icon (
Icons) that runsactionwhen clicked. - Button - Class in dev.myriadclient.api.ui.widget
-
A push button one row tall, its label centred (cut short to fit, except a lone icon).
- Button(String, Runnable) - Constructor for class dev.myriadclient.api.ui.widget.Button
-
A button labelled
labelthat runsaction. - Button(Supplier, Runnable) - Constructor for class dev.myriadclient.api.ui.widget.Button
-
A button labelled by
label(asked every frame) that runsaction. - byHand() - Method in interface dev.myriadclient.api.service.Containers.View
-
Whether you opened it yourself (or the server did), rather than code through
Containers.open(BlockPos, int). - byId(int) - Method in class dev.myriadclient.api.job.JobEngine
- byId(int) - Method in interface dev.myriadclient.api.job.Jobs
-
An active job by id, root or not; empty once it has ended.
- byName(String) - Method in interface dev.myriadclient.api.control.Controls
-
The first panel called
name, ignoring case and surrounding spaces; empty if none is. - byName(String) - Method in interface dev.myriadclient.api.module.ModuleRegistry
-
Finds a module by display name ("Kill Aura", "killaura"), id path ("kill_aura") or full id, ignoring case and spaces; the first registered wins when two addons have modules of the same name.
- byName(String) - Static method in class dev.myriadclient.api.render.HighlightStyle.Fill
-
The fill named
name(asHighlightStyle.Fill.name()gives it, any case), or null. - byName(String) - Static method in record class dev.myriadclient.api.ui.draw.Bezier
-
The preset called
name(ignoring case), orBezier.EASE_OUT_QUINTif none is.
C
- CALCULATOR - Static variable in class dev.myriadclient.api.ui.Icons
- CALENDAR - Static variable in class dev.myriadclient.api.ui.Icons
- call(Hook, Object, I, Function) - Method in interface dev.myriadclient.api.hook.Hooks
-
Core's: what
Hook.call(Object, I, Function)goes through. - call(Object, I, Function) - Method in class dev.myriadclient.api.hook.Hook
-
The answer for
input: the matching contributions', most specific first, elsefallback's. - caller() - Method in interface dev.myriadclient.api.hook.HookCall
-
The module (or other feature) the call is for, by id: null when the caller has no id, or there's no caller.
- caller(MyriadId) - Static method in class dev.myriadclient.api.hook.Match
-
Calls for the module (or other feature) with this id.
- caller(Class) - Static method in class dev.myriadclient.api.hook.Match
-
Calls for an instance of
type(your own module's class, or a shared base class). - caller(String) - Static method in class dev.myriadclient.api.hook.Match
-
Calls for the module with this id (
"myriad-essentials:recast"). - callerAddon() - Method in interface dev.myriadclient.api.hook.HookCall
-
The mod id of the addon the caller belongs to (its id's namespace, else by its class), or null if not known.
- callerId() - Method in class dev.myriadclient.api.hook.Match
-
The caller's id it requires (
Match.caller(MyriadId)), or null. - callerType() - Method in class dev.myriadclient.api.hook.Match
-
The class a caller must be an instance of (
Match.caller(Class)), or null. - camera() - Method in class dev.myriadclient.api.event.events.Render3DEvent
-
The camera the frame is drawn from.
- camera() - Static method in class dev.myriadclient.api.render.Projection
-
The camera position of the last frame, in world coordinates;
Vec3.ZERObefore the first. - CAMERA - Static variable in class dev.myriadclient.api.ui.Icons
- CameraEvent - Class in dev.myriadclient.api.event.events
-
Hooks into the camera, for modules like Freecam and FreeLook.
- CameraEvent.Detached - Class in dev.myriadclient.api.event.events
-
Whether the local player's own body is drawn (true in third person).
- CameraEvent.Hand - Class in dev.myriadclient.api.event.events
-
About to draw the first-person hand and held item.
- CameraEvent.Position - Class in dev.myriadclient.api.event.events
-
The camera's position this frame, as it follows its entity; overwrite x/y/z to move it.
- CameraEvent.Rotation - Class in dev.myriadclient.api.event.events
-
The camera's rotation this frame; overwrite yaw/pitch to look elsewhere without turning the player.
- canBreak(BlockPos) - Static method in class dev.myriadclient.api.world.BlockInfo
-
Whether there's something at
posa survival player can mine: not air, holding no fluid (so waterlogged blocks don't count either), and not unbreakable. - cancel() - Method in class dev.myriadclient.api.event.Cancellable
-
Cancels the event: what it announces won't happen (or happens as the event says).
- cancel() - Method in interface dev.myriadclient.api.job.Job
-
Cancels this job and everything under it: children first, then what each held.
- cancel(JobContext) - Method in interface dev.myriadclient.api.job.Step.Run
-
The step is being cancelled (by the player, a failure above, a race lost, the owner turning off): let go.
- cancel(Object) - Method in interface dev.myriadclient.api.service.Placement
-
Drops
owner's placements and clicks that haven't been sent yet; their results complete with false. - cancel(Object) - Method in class dev.myriadclient.api.service.Placement.Forwarding
- cancel(Object) - Method in class dev.myriadclient.api.job.JobEngine
- cancel(Object) - Method in interface dev.myriadclient.api.job.Jobs
-
Cancels every root job
ownerstarted, with everything under it: withWhy.OWNER_OFFwhen the owner is a module that's off, elseWhy.CANCELLED. - cancel(Object) - Method in interface dev.myriadclient.api.service.Breaking
-
Stops and forgets every break
ownerasked for; their results complete with false. - cancel(Object) - Method in class dev.myriadclient.api.service.Breaking.Forwarding
- cancel(BlockPos) - Method in interface dev.myriadclient.api.service.Breaking
-
Stops the break at
pos, whoever asked for it; its result completes with false. - cancel(BlockPos) - Method in class dev.myriadclient.api.service.Breaking.Forwarding
- cancelAll(Why) - Method in class dev.myriadclient.api.job.JobEngine
-
Ends every job: leaving the world.
- Cancellable - Class in dev.myriadclient.api.event
-
Base class for events whose default behaviour can be prevented.
- Cancellable() - Constructor for class dev.myriadclient.api.event.Cancellable
- CANCELLED - Enum constant in enum class dev.myriadclient.api.job.Job.State
-
Ended from outside: the player, a parent failing, a lost race, the owner turning off, leaving the world.
- CANCELLED - Static variable in class dev.myriadclient.api.job.Why
-
The player cancelled it, or it lost a race.
- canGlide() - Method in interface dev.myriadclient.api.elytra.ChestSwap
-
Whether a glide could start: an elytra is worn, or ready to be swapped on, that isn't one hit from breaking (the server refuses a glide start with that one).
- canGlide(ItemStack) - Static method in class dev.myriadclient.api.item.ItemInfo
-
Whether you could glide with it worn on your chest now: a glider that isn't about to break.
- canHarvest(BlockState, int) - Static method in class dev.myriadclient.api.player.Mining
-
Whether breaking
statewith the item intoolSlotdrops it (and breaks at the faster rate): always for blocks that need no tool, else only with a correct one. - canInstaBreak(BlockPos, int) - Static method in class dev.myriadclient.api.world.BlockInfo
-
Whether the item in inventory slot
toolSlot(-1 for bare hands) breaks the block atposin a single tick, asMining.delta(BlockState, BlockPos, int)works it out. - canPlace(BlockPos, boolean) - Static method in class dev.myriadclient.api.combat.Crystals
-
Whether a crystal can be placed on
basenow: a base block, air above, and nothing in the way. - canPlace(BlockPos, boolean, Predicate) - Static method in class dev.myriadclient.api.combat.Crystals
-
Like
Crystals.canPlace(BlockPos, boolean), not counting entitiesignoreaccepts: a crystal you're breaking this tick, or items that will be gone by the time the placement arrives. - canPlace(BlockPos, Placement.Options) - Method in interface dev.myriadclient.api.service.Placement
- canPlaceWith(int) - Method in interface dev.myriadclient.api.service.Placement
-
Whether a placement with hotbar
hotbarSlot's item can go now, as far as the off hand goes (seePlacement.offHandSlot()). - canPlaceWith(int) - Method in class dev.myriadclient.api.service.Placement.Forwarding
- canReach(BlockPos) - Static method in class dev.myriadclient.api.player.Reach
-
Whether the server would accept interacting with the block at
pos: the nearest point of its block space is within block reach of the eyes. - canReach(BlockPos, double) - Static method in class dev.myriadclient.api.player.Reach
-
Reach.canReach(BlockPos)with a reach ofrange. - canReach(Entity) - Static method in class dev.myriadclient.api.player.Reach
-
Whether the server would accept hitting
entity(its box within entity reach). - canReach(Vec3) - Static method in class dev.myriadclient.api.player.Reach
-
Whether
pointis within block reach of the eyes; false outside a world. - canRebreak(BlockPos) - Method in interface dev.myriadclient.api.service.Breaking
-
Whether a block at
poscan be broken now by packet mining's rebreak (a single finish packet): it's where the last block was mined, and enough time has passed since for the server (and Grim, where it times breaks). - canRebreak(BlockPos) - Method in class dev.myriadclient.api.service.Breaking.Forwarding
- canSee(BlockHitResult) - Static method in class dev.myriadclient.api.player.Reach
-
Whether a look from your eyes at
hit's point would land on that face of that block: the face points towards you (you're past the plane it's in, a slab's top half way up) and nothing comes first, neither another block nor another face of this one (from above, a look at the top of a side face enters through the top). - canSee(Vec3) - Static method in class dev.myriadclient.api.player.Reach
-
Whether nothing solid lies between the eyes and
point. - canSee(Vec3, Vec3) - Static method in class dev.myriadclient.api.player.Reach
-
Whether nothing solid lies between two points: a ray against blocks' collision shapes, fluids ignored (so grass and other blocks you walk through don't block it).
- canSend(PacketLimits.Kind, int) - Method in interface dev.myriadclient.api.service.PacketLimits
-
Whether
packetsmore ofkindfit in the budget right now. - canvas() - Method in class dev.myriadclient.api.event.events.Render2DEvent
-
Myriad's canvas for this frame, in scaled GUI pixels.
- Canvas - Interface in dev.myriadclient.api.ui.draw
-
Myriad's 2D drawing surface: anti-aliased SDF shapes, gradient borders, drop shadows, frosted-glass backdrops and crisp TTF text, all batched into a few draw calls.
- capturesKeyboard() - Method in class dev.myriadclient.api.ui.Panel
-
True while the panel wants all keyboard input (a focused text field): keys come to it before the UI's shortcuts, single-key shortcuts are suppressed, and typed characters are delivered to
Panel.charTyped(char, int). - capturesKeyboard() - Method in class dev.myriadclient.api.ui.WidgetPanel
-
True while typing in a text field or binding a key, so UI shortcuts and Escape go to the widget.
- CAR - Static variable in class dev.myriadclient.api.ui.Icons
- CATEGORY - Enum constant in enum class dev.myriadclient.api.ui.hud.HudStyle.Mode
-
The module's category colour (module lists); other elements fall back to the accent.
- cause() - Method in class dev.myriadclient.api.job.Why
-
What was thrown, for
Why.ERROR(and reasons read from a failed future); null otherwise. - cells() - Method in record class dev.myriadclient.api.world.Holes.Hole
-
The air blocks you stand in.
- center() - Method in record class dev.myriadclient.api.world.Holes.Hole
-
Where to stand in it: the middle of its floor.
- CENTER - Enum constant in enum class dev.myriadclient.api.ui.BarWidget.Side
-
Centred together as a group.
- CENTER - Enum constant in enum class dev.myriadclient.api.ui.PanelType.Anchor
-
The screen's centre.
- centered() - Method in class dev.myriadclient.api.ui.widget.Label
-
Each line centred in the width rather than left-aligned.
- centerX() - Method in record class dev.myriadclient.api.ui.Rect
-
The x of the middle,
x + w / 2. - centerY() - Method in record class dev.myriadclient.api.ui.Rect
-
The y of the middle,
y + h / 2. - CERTIFICATE - Static variable in class dev.myriadclient.api.ui.Icons
- chain(Hook, Object) - Method in interface dev.myriadclient.api.hook.Hooks
-
The contributions that would handle a call of
hookforcallernow (on, not failed, matching), first to run first; empty when the hook's default would answer. - changed() - Method in class dev.myriadclient.api.setting.Setting
-
Runs the listeners with the value in effect and has the owner saved.
- changed(String) - Method in class dev.myriadclient.api.integration.Baritone.Overrides
-
Whether
namewas changed here (Baritone is installed and has it). - Changed(Job, Job.State) - Constructor for class dev.myriadclient.api.job.JobEvent.Changed
-
Core's; only Myriad makes these.
- CharEvent - Class in dev.myriadclient.api.event.events
-
A character was typed (text input, after the keyboard layout and dead keys were applied), in a screen or not.
- CharEvent(int, int) - Constructor for class dev.myriadclient.api.event.events.CharEvent
-
Core's; only Myriad makes these.
- charTyped(char, int) - Method in class dev.myriadclient.api.ui.Panel
-
A typed character, to the focused window's panel.
- charTyped(char, int) - Method in class dev.myriadclient.api.ui.widget.TextField
- charTyped(char, int) - Method in class dev.myriadclient.api.ui.widget.Widget
-
A character typed while this widget is focused.
- charTyped(char, int) - Method in class dev.myriadclient.api.ui.widget.WidgetRoot
-
A typed character, to the focused widget; false with none focused.
- charTyped(char, int) - Method in class dev.myriadclient.api.ui.WidgetPanel
- chat(Component) - Static method in class dev.myriadclient.api.Myriad
-
Prints a client-side chat message with the Myriad prefix (also mirrored in the console panel).
- chat(Component) - Method in interface dev.myriadclient.api.MyriadApi
- chat(Component, String) - Static method in class dev.myriadclient.api.Myriad
-
Like
Myriad.chat(Component), replacing the previous message sent with the sameidinstead of adding another line: progress ("Printer: 120/450"), status changes, repeated warnings. - chat(Component, String) - Method in interface dev.myriadclient.api.MyriadApi
- chatFeedback - Variable in class dev.myriadclient.api.module.Module
-
Whether toggling the module says so in chat (not for
Module.holdModeor silent toggles). - ChatMessages - Class in dev.myriadclient.api.util
-
Works out who a chat line is from, and whether it's a whisper, across vanilla and the common plugin formats (Essentials, 2b2t-style, rank prefixes).
- ChatMessages.Kind - Enum Class in dev.myriadclient.api.util
-
What kind of chat line a
ChatMessages.Parsedis. - ChatMessages.Parsed - Record Class in dev.myriadclient.api.util
-
A chat line taken apart.
- ChatReceiveEvent - Class in dev.myriadclient.api.event.events
-
A line is about to be added to the chat: from the server, another player, or the client itself.
- ChatReceiveEvent(Component) - Constructor for class dev.myriadclient.api.event.events.ChatReceiveEvent
-
Core's; only Myriad makes these.
- ChatSendEvent - Class in dev.myriadclient.api.event.events
-
You are about to send a chat message (not a
/command): typed in the chat box or sent by code through vanilla's chat sending. - ChatSendEvent(String) - Constructor for class dev.myriadclient.api.event.events.ChatSendEvent
-
Core's; only Myriad makes these.
- check() - Method in record class dev.myriadclient.api.service.Breaking.Attempt
-
Returns the value of the
checkrecord component. - check() - Method in record class dev.myriadclient.api.service.Placement.Attempt
-
Returns the value of the
checkrecord component. - check() - Method in class dev.myriadclient.api.service.Placement.Solution
-
Placement.Check.OKwith a click; otherwise why not:Placement.Check.WRONG_ANGLE(no click from here makes it come out right),Placement.Check.NOT_VISIBLE,Placement.Check.OUT_OF_RANGE,Placement.Check.NO_SUPPORT(nothing it can stay on yet),Placement.Check.OCCUPIED(something else is there),Placement.Check.UNAVAILABLE(not a block item). - check(BlockPos, Breaking.Options) - Method in interface dev.myriadclient.api.service.Breaking
-
Whether
poscould be broken now, or why not. - check(BlockPos, Breaking.Options) - Method in class dev.myriadclient.api.service.Breaking.Forwarding
- check(BlockPos, Placement.Options) - Method in interface dev.myriadclient.api.service.Placement
-
Whether a block could go at
posnow:Placement.Check.OK, or the reason it can't. - check(BlockPos, Placement.Options) - Method in class dev.myriadclient.api.service.Placement.Forwarding
- CHECK - Static variable in class dev.myriadclient.api.ui.Icons
- CHECKED - Enum constant in enum class dev.myriadclient.api.service.AntiCheat.BreakTiming
-
The anti-cheat times each break from its start (Grim's FastBreak): the full time, with small allowances for an early finish and a quick next start.
- checksLookOnActions() - Method in class dev.myriadclient.api.service.AntiCheat.Profile
-
Every click is checked against the rotation the server last got, so placements turn first (
Placement.Options.forServer()rotates; a building also turns for its breaks and places one block a tick, one turn each). - checksPacketOrder() - Method in class dev.myriadclient.api.service.AntiCheat.Profile
-
The server checks the order of packets within a tick (Grim's PacketOrder checks): a held slot swapped in for an action goes back at the start of the next tick, an off-hand swap for an air placement too.
- checksSwings() - Method in class dev.myriadclient.api.service.AntiCheat.Profile
-
The server wants a swing with each placement and item use (Grim, NoCheatPlus: a click without one is flagged).
- CHEST - Static variable in class dev.myriadclient.api.item.Slots
-
The armour slots' inventory indexes, feet (36) to head (39).
- chestplateAtHand(boolean) - Method in interface dev.myriadclient.api.elytra.NoDurability
-
Whether the chestplate (or, while it's worn, the elytra) is at hand to swap with, bringing it into the hotbar if not (see
ChestSwap.ensurePair(boolean)); warns the owner once when it can't be. - chestSwap() - Method in interface dev.myriadclient.api.elytra.Elytra
-
The chest swapper, shared by every flight.
- ChestSwap - Interface in dev.myriadclient.api.elytra
-
Swapping the worn elytra with a chestplate held in the off hand or hotbar, in mid-air: how
NoDurabilityand a bounce keep the server from gliding long enough to wear the elytra. - ChestSwap.Need - Enum Class in dev.myriadclient.api.elytra
-
What
ChestSwap.ensurePair(boolean)found. - CHILD - Static variable in class dev.myriadclient.api.ui.Icons
- children - Variable in class dev.myriadclient.api.ui.widget.Container
-
The children, in order; subclasses read it, and should change it only through
Container.add(W)andContainer.clear(). - children() - Method in interface dev.myriadclient.api.job.Job
-
The jobs under this one that are running now.
- children() - Method in class dev.myriadclient.api.ui.widget.Container
-
The children, in order, as a read-only view.
- choice() - Method in interface dev.myriadclient.api.service.AntiCheat
-
The profile the player chose, or null for Auto (
AntiCheat.detected()). - choice(String, Supplier) - Method in class dev.myriadclient.api.setting.SettingGroup
-
One of a list of names supplied at runtime (files, kits), shown as a dropdown.
- choice(Supplier) - Static method in class dev.myriadclient.api.command.arguments.Arguments
-
One of
choices(asked at each parse), rejecting anything else; read it withChoiceArgumentType.get(CommandContext, String). - ChoiceArgumentType - Class in dev.myriadclient.api.command.arguments
-
A name from a list you supply at runtime (waypoints, saved kits, schematic files), with suggestions.
- ChoiceSetting - Class in dev.myriadclient.api.setting
-
One of a list of names that's only known at runtime (schematic files, kits, profiles), shown as a dropdown.
- ChoiceSetting(String, String, String, Supplier, Supplier) - Constructor for class dev.myriadclient.api.setting.ChoiceSetting
-
A setting as its
ChoiceSetting.Buildermakes it; get one fromSettingGroup.choice(String, Supplier), or call this from a subclass. - ChoiceSetting.Builder - Class in dev.myriadclient.api.setting
-
Builds a
ChoiceSetting; empty (nothing chosen) by default. - choose(AntiCheat.Profile) - Method in interface dev.myriadclient.api.service.AntiCheat
-
Chooses the profile, or null for Auto (
AntiCheat.detected()). - choose(String, Supplier) - Static method in class dev.myriadclient.api.job.Step
-
The step
choicepicks when reached: for decisions that depend on the world then, not when the step was built. - chunk() - Method in class dev.myriadclient.api.event.events.ChunkEvent.Loaded
-
The chunk as the client now holds it.
- ChunkAge - Class in dev.myriadclient.api.world
-
Which chunks the server generated just now, as you came near (so nobody had been there), and which it had saved before.
- ChunkCache<T> - Class in dev.myriadclient.api.world
-
Something worked out once per chunk and kept until that chunk changes: the storage blocks in it, its safe holes, the ores of a search.
- ChunkCache.Boxes<T> - Interface in dev.myriadclient.api.world
-
A chunk's value as boxes, each in a colour (ARGB), for
ChunkCache.Builder.boxes. - ChunkCache.BoxSink - Interface in dev.myriadclient.api.world
-
Takes a chunk's boxes (
ChunkCache.Boxes), in world coordinates. - ChunkCache.Builder<T> - Class in dev.myriadclient.api.world
-
Configures a
ChunkCache; fromChunkCache.of(Module, ChunkCache.Compute)orChunkCache.standalone(ChunkCache.Compute). - ChunkCache.Compute<T> - Interface in dev.myriadclient.api.world
-
Works out the value for a loaded chunk, or null to keep nothing for it.
- ChunkCache.Mesher<T> - Interface in dev.myriadclient.api.world
-
Draws a chunk's value into its mesh, in world coordinates.
- ChunkEvent - Class in dev.myriadclient.api.event.events
-
Chunks arriving from and leaving the client world.
- ChunkEvent(ChunkPos) - Constructor for class dev.myriadclient.api.event.events.ChunkEvent
-
Core's; addons don't make these.
- ChunkEvent.Loaded - Class in dev.myriadclient.api.event.events
-
A chunk's blocks and block entities arrived.
- ChunkEvent.Unloaded - Class in dev.myriadclient.api.event.events
-
A chunk is about to be dropped from the client (out of view distance, or the server unloaded it); still readable.
- chunks(ChunkCache) - Method in class dev.myriadclient.api.event.events.RenderEvent
-
Shows the boxes of a cache built with
ChunkCache.Builder.boxes: its meshes stay on the GPU and are made again only when its chunks, its look or the mode change, so thousands of blocks cost about what a few do. - chunks(ChunkCache) - Method in interface dev.myriadclient.api.event.events.RenderEvent.Sink
-
Core's: a
RenderEvent.chunks(ChunkCache)request. - chunksLate() - Method in interface dev.myriadclient.api.elytra.NoDurability
-
Whether swaps had to wait for chunks Grim doesn't count as yours lately: a fast flight should slow down.
- circle(float, float, float, int) - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
Fills a circle centred at (
cx,cy). - circle(Vec3, double, int, boolean) - Static method in class dev.myriadclient.api.render.Renderer3D
-
A flat ring around
center(e.g. - circle(Vec3, double, int, boolean) - Method in class dev.myriadclient.api.render.ShapeBuilder
-
A flat ring of lines at
center's height,radiusblocks round it (e.g. - CIRCLE - Static variable in class dev.myriadclient.api.ui.Icons
- city(Entity) - Static method in class dev.myriadclient.api.world.Holes
-
entity's surround blocks that survive explosions but can be mined: breaking one lets a crystal reach its feet. - clear() - Method in class dev.myriadclient.api.render.FadeMap
-
Removes everything at once, without fading.
- clear() - Method in class dev.myriadclient.api.render.WorldMesh
-
Removes every shape (and frees the GPU memory).
- clear() - Method in class dev.myriadclient.api.ui.widget.Container
-
Removes every child; keyboard focus on one of them (or inside one) goes too.
- clear() - Method in class dev.myriadclient.api.ui.widget.HBox
- clear() - Method in class dev.myriadclient.api.util.RateCounter
-
Forgets every event counted so far.
- clear() - Static method in class dev.myriadclient.api.world.FakePlayers
-
Removes every fake player.
- clear(Object) - Method in interface dev.myriadclient.api.service.TickSpeed
-
Clears
owner's multiplier; done for a module when it's turned off. - cleared(Object) - Method in interface dev.myriadclient.api.elytra.GlideHold
-
Whether a clear has come in (held or exposed), so the next start may go.
- clearHeld(Object) - Method in interface dev.myriadclient.api.elytra.GlideHold
-
Whether the server has stopped the glide and the client kept gliding through it (Grim doesn't know yet).
- click() - Method in class dev.myriadclient.api.service.Placement.Solution
-
The click, or null when none was found (
Placement.Solution.check()says why). - click() - Method in class dev.myriadclient.api.ui.TitleControl
-
Core's: a click on it.
- click(int, int, ContainerInput) - Method in interface dev.myriadclient.api.service.Containers.View
-
Any click, with a raw screen slot id (
-999for outside the window), button and input, ashandleContainerInputtakes them. - Click(int, int, ContainerInput) - Constructor for record class dev.myriadclient.api.service.Containers.Click
-
Creates an instance of a
Clickrecord class. - Click(AbstractContainerScreen, Slot, int, int, ContainerInput) - Constructor for class dev.myriadclient.api.event.events.ContainerScreenEvent.Click
-
Core's; only Myriad makes these.
- Click(BlockPos, BlockHitResult, boolean, boolean, float, float, boolean, float, float, BlockState, int) - Constructor for class dev.myriadclient.api.service.Placement.Click
-
Core's: clicks come from
Placement.solve(BlockPos, BlockState, int, Placement.Options). - CLICK_READY - Static variable in interface dev.myriadclient.api.service.Inventory
-
Whether an inventory click may go out now (
Inventory.safeToClick()). - clickKeepsFacing(BlockState, float) - Static method in class dev.myriadclient.api.build.BlockRules
-
Whether a hand click on
currentby a player facingyawkeeps its facing. - ClickMoment(boolean, boolean, boolean) - Constructor for record class dev.myriadclient.api.service.Inventory.ClickMoment
-
Creates an instance of a
ClickMomentrecord class. - clickPoints(BlockPos, Direction, boolean) - Static method in class dev.myriadclient.api.player.Reach
-
Points where the block at
poscan really be clicked on its side facingface: on its outline (a slab's top is half way up, a candle is a sliver in the middle, a stair has two tops), not the cube around it, and only where no other part of the block covers it. - Clicks - Section in interface dev.myriadclient.api.service.Inventory
- clickSettings() - Method in class dev.myriadclient.api.service.Building.Options
-
Whether settings are clicked; see
Building.Options.withClickSettings(boolean). - clicksOnlyWhileStill() - Method in class dev.myriadclient.api.service.AntiCheat.Profile
-
Inventory clicks are refused while you move or sprint (Grim's MultiActions), so clicks that can wait, wait for
Inventory.safeToClick(). - clicksToMatch(BlockState, BlockState) - Static method in class dev.myriadclient.api.build.BlockRules
-
Bare-hand clicks that turn
currentintotarget's setting: repeater delay, comparator mode, note, open or closed, a lever's position and a daylight detector's inversion each cycle by one per click. - clickTargets(BlockPos) - Method in interface dev.myriadclient.api.service.Placement
-
Every neighbour face that could be clicked to put a block at
pos: faces you can see first, then nearest to the eyes. - clickTargets(BlockPos) - Method in class dev.myriadclient.api.service.Placement.Forwarding
- clickWaiting() - Method in interface dev.myriadclient.api.service.Inventory
-
Whether a click (yours from a screen, or a module's) is waiting for a still tick: the keys the server judges were held (see
Inventory.prepareClick(); sprint alone never makes a click wait). - clickWaiting() - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- Client - Class in dev.myriadclient.api.util
-
The game's player, world, connection and interaction manager, never null: each returns the one there is, or throws an
IllegalStateExceptionnaming the method that asked outside a world. - climb(double) - Method in interface dev.myriadclient.api.elytra.Flight
-
Control: climb (or, negative, come down) at this many blocks a second instead of holding
Flight.height(double), and without minding the ground ahead; NaN, the default, holds the height again. - CLIMBING - Enum constant in enum class dev.myriadclient.api.elytra.Flight.State
-
Taking off, opening the elytra, or climbing to a height it should be at (or over ground ahead).
- clip(float, float, float, float) - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
Clips drawing to the box, intersected with the current clip.
- CLOCK - Static variable in class dev.myriadclient.api.ui.Icons
- CLONE - Static variable in class dev.myriadclient.api.ui.Icons
- close() - Method in class dev.myriadclient.api.integration.Baritone.Overrides
-
Puts back what each setting had before it was first set here, if it still has the value set here.
- close() - Method in class dev.myriadclient.api.render.WorldMesh
-
Frees the mesh for good; building it afterwards throws
IllegalStateException. - close() - Method in interface dev.myriadclient.api.service.Containers
-
Closes the open container (and its screen), if any, at a moment the server takes it: Grim flags a close made while you move just as it refuses a click then (MultiActionsD), so where clicks have to wait for a still moment (
Inventory.prepareClick()), so does the close, first thing in a coming tick. - close() - Method in interface dev.myriadclient.api.service.Containers.View
-
Containers.close()if this is still the open container; otherwise nothing. - close() - Method in interface dev.myriadclient.api.ui.Ui
-
Shuts the menu if it's open, back to the game.
- close() - Method in interface dev.myriadclient.api.ui.Window
-
Closes it: it leaves its workspace, its panel's
Panel.onClose()runs, and it fades out. - closeContainer() - Static method in class dev.myriadclient.api.job.Steps
-
Closes the open container when the server takes a close (standing still, where Grim checks), and is done once it's closed.
- Closed(Containers.View) - Constructor for class dev.myriadclient.api.event.events.ContainerEvent.Closed
-
Core's; only Myriad makes these.
- closestPoint(AABB, Vec3) - Static method in class dev.myriadclient.api.util.MathUtil
-
The point in
boxclosest topoint(pointitself if it's inside). - CLOUD - Static variable in class dev.myriadclient.api.ui.Icons
- code() - Method in record class dev.myriadclient.api.input.Keybind
-
Returns the value of the
coderecord component. - code() - Method in class dev.myriadclient.api.job.Why
-
The code, to match on (
Why.is(Why.Code)). - code() - Method in record class dev.myriadclient.api.share.ConfigShares.Published
-
Returns the value of the
coderecord component. - Code(MyriadId) - Constructor for record class dev.myriadclient.api.job.Why.Code
-
A code with this id.
- CODE - Static variable in class dev.myriadclient.api.ui.Icons
- codePoint() - Method in class dev.myriadclient.api.event.events.CharEvent
-
The Unicode code point typed (
Character.toChars(codePoint())for the text). - COFFEE - Static variable in class dev.myriadclient.api.ui.Icons
- COG - Static variable in class dev.myriadclient.api.ui.Icons
- COGS - Static variable in class dev.myriadclient.api.ui.Icons
- Collapsible - Class in dev.myriadclient.api.ui.widget
-
A titled section whose body can be folded away: click the header (or Enter, or h/l with the keyboard selection on it) to fold or unfold it, with an animation.
- Collapsible(String, Widget) - Constructor for class dev.myriadclient.api.ui.widget.Collapsible
-
A section that starts unfolded and remembers its state itself (until the widgets are rebuilt).
- Collapsible(Supplier, Widget, Supplier, Consumer) - Constructor for class dev.myriadclient.api.ui.widget.Collapsible
-
A section whose folded state lives elsewhere (a setting group's, say):
expandedis read every frame andsetExpandedcalled when the player folds or unfolds it. - collectNavigable(List) - Method in class dev.myriadclient.api.ui.widget.Collapsible
- collectNavigable(List) - Method in class dev.myriadclient.api.ui.widget.Container
- collectNavigable(List) - Method in class dev.myriadclient.api.ui.widget.ScrollView
- collectNavigable(List) - Method in class dev.myriadclient.api.ui.widget.Widget
-
Adds the navigable widgets currently on screen, in visual order.
- CollisionShapeEvent - Class in dev.myriadclient.api.event.events
-
The collision shape of a block, as the local player's movement sees it.
- CollisionShapeEvent(BlockState, BlockPos, VoxelShape) - Constructor for class dev.myriadclient.api.event.events.CollisionShapeEvent
-
Core's; only Myriad makes these.
- color - Variable in enum class dev.myriadclient.api.render.EntityGroups.Group
-
The theme colour the group defaults to.
- color() - Method in record class dev.myriadclient.api.event.events.HighlightEvent.EntityHighlight
-
Returns the value of the
colorrecord component. - color() - Method in class dev.myriadclient.api.event.events.HighlightEvent.Hand
-
Core's: the colour a handler asked for.
- color() - Method in class dev.myriadclient.api.event.events.PreviewEvent
-
Core's: the colour
PreviewEvent.render(RenderLook, int)was given. - color() - Method in record class dev.myriadclient.api.module.Tag
-
The tag's colour right now (ARGB).
- color() - Method in record class dev.myriadclient.api.render.WorldLabel.Segment
-
Returns the value of the
colorrecord component. - color() - Method in record class dev.myriadclient.api.setting.SettingColor
-
Returns the value of the
colorrecord component. - color(int) - Method in interface dev.myriadclient.api.render.MergedBoxes.Paint
-
The ARGB colour for blocks of
group(never 0: those aren't drawn at all). - color(int, int) - Method in class dev.myriadclient.api.ui.hud.HudStyle
-
Value colour for line
indexofcount, with no category (CATEGORY mode gives the accent). - color(int, int, int) - Method in class dev.myriadclient.api.ui.hud.HudStyle
-
Value colour (ARGB) for line
indexofcount;category(an ARGB colour, 0 for none) is used in CATEGORY mode. - color(int, int, Module) - Method in class dev.myriadclient.api.ui.hud.HudStyle
-
Value colour for line
indexofcount, where CATEGORY mode usesmodule's tag colour. - color(String) - Method in class dev.myriadclient.api.setting.SettingGroup
-
A colour, a theme role or a rainbow, with a picker.
- color(IntSupplier) - Method in class dev.myriadclient.api.ui.widget.Label
-
Its ARGB colour, asked every frame (the theme's text colour by default).
- color(IntSupplier) - Method in class dev.myriadclient.api.ui.widget.Note
-
Its tint, an ARGB colour asked every frame (the accent by default).
- color(Entity) - Method in class dev.myriadclient.api.render.EntityGroups
-
The ARGB colour to draw
ein, or 0 when it isn't selected (dead, invisible with Invisibles off, or in no group that's on nor the Others list). - colored(String, int) - Static method in class dev.myriadclient.api.util.Texts
-
textin an ARGB colour (e.g. - ColorPicker - Class in dev.myriadclient.api.ui.widget
-
Inline HSB colour picker: saturation/brightness square, hue and alpha bars, a row of theme colours, mode buttons (static / rainbow) and a hex field.
- ColorPicker(Supplier, Consumer) - Constructor for class dev.myriadclient.api.ui.widget.ColorPicker
- ColorSetting - Class in dev.myriadclient.api.setting
-
A colour: a fixed ARGB colour, a rainbow, or a theme role that follows the theme (see
SettingColor), with a picker. - ColorSetting(String, String, SettingColor, Supplier) - Constructor for class dev.myriadclient.api.setting.ColorSetting
-
A setting as its
ColorSetting.Buildermakes it; get one fromSettingGroup.color(String), or call this from a subclass. - ColorSetting.Builder - Class in dev.myriadclient.api.setting
-
Builds a
ColorSetting; opaque white by default. - ColorUtil - Class in dev.myriadclient.api.util
-
Helpers for packed ARGB ints (
0xAARRGGBB), the colour format used throughout Myriad. - column() - Method in record class dev.myriadclient.api.integration.Baritone.GoalSpot
-
Returns the value of the
columnrecord component. - COMBAT - Static variable in class dev.myriadclient.api.module.Tags
-
Fighting: aim, attack, crystals, totems, armour.
- command(String) - Static method in class dev.myriadclient.api.integration.Baritone
-
Runs a Baritone command, without its prefix ("goto 0 64 0", "mine diamond_ore").
- command(String, String) - Static method in class dev.myriadclient.api.util.Texts
-
label, which runs the Myriad commandcommand(without the prefix) when clicked. - Command - Class in dev.myriadclient.api.command
-
A chat command (run with the prefix,
.by default) built on Brigadier. - Command(String, String, String...) - Constructor for class dev.myriadclient.api.command.Command
- commandPrefix() - Method in interface dev.myriadclient.api.config.ConfigManager
-
What starts a Myriad command in chat,
"."by default. - commands() - Static method in class dev.myriadclient.api.Myriad
-
Every registered chat command.
- commands() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.commands(). - COMMENT - Static variable in class dev.myriadclient.api.ui.Icons
- COMMENTS - Static variable in class dev.myriadclient.api.ui.Icons
- compact(long) - Static method in class dev.myriadclient.api.util.Format
-
A count shortened for a small space: "999", "1.2k", "45k", "3.1M", "2B"; negative numbers keep their sign.
- compareTo(MyriadId) - Method in record class dev.myriadclient.api.registry.MyriadId
-
By namespace, then path.
- COMPASS - Static variable in class dev.myriadclient.api.ui.Icons
- CompatMixinPlugin - Class in dev.myriadclient.api.mixin
-
Applies mixins only when another mod is (or isn't) installed, decided by package name, so one addon can carry hooks for Sodium, Iris, Lithium or Baritone without crashing when they're missing.
- CompatMixinPlugin() - Constructor for class dev.myriadclient.api.mixin.CompatMixinPlugin
- compute(LevelChunk) - Method in interface dev.myriadclient.api.world.ChunkCache.Compute
-
The value for
chunk, a fully loaded chunk; null to keep nothing. - config() - Static method in class dev.myriadclient.api.Myriad
-
Profiles, saving, and the command prefix.
- config() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.config(). - ConfigManager - Interface in dev.myriadclient.api.config
-
Profiles and persistence.
- ConfigShare - Class in dev.myriadclient.api.share
-
A shared config: the modules, control panels, wheels and theme someone shared, with their settings (never protected ones), plus how each looked in their menu, so the website can show it.
- ConfigShares - Interface in dev.myriadclient.api.share
-
Sharing configs (
Myriad.shares()): put together what to share, publish it for a code, take a code in. - ConfigShares.Applied - Record Class in dev.myriadclient.api.share
-
What a share took in.
- ConfigShares.Apply - Enum Class in dev.myriadclient.api.share
-
How to take a share in.
- ConfigShares.Builder - Interface in dev.myriadclient.api.share
-
Puts a share together.
- ConfigShares.Published - Record Class in dev.myriadclient.api.share
-
A share published from this computer (the key that deletes it is kept here, not in this record).
- confirm(String, String, Runnable) - Method in interface dev.myriadclient.api.ui.Ui
-
Ui.confirm(String, String, String, Runnable, Runnable)with a "Confirm" button and nothing on cancel. - confirm(String, String, String, Runnable, Runnable) - Method in interface dev.myriadclient.api.ui.Ui
-
Asks the player to confirm something ("Delete 40 waypoints?") in a small floating window, opening the menu if it's closed (on workspace 1 if the HUD is being edited).
- conflictsWith(Class...) - Method in class dev.myriadclient.api.module.Module
-
Modules that can't be on at the same time as this one (two flight modules, Freecam and Free Look): turning this one on turns them off.
- connection() - Static method in class dev.myriadclient.api.util.Client
-
The connection to the server, for sending packets and reading the tab list; throws
IllegalStateExceptionwhen not connected. - container() - Method in class dev.myriadclient.api.addon.Addon
-
The Fabric mod container: the mod's files (
findPath) and metadata. - container(BlockPos) - Static method in interface dev.myriadclient.api.job.MaterialSource
-
The container at
pos(a chest, a barrel): opened, taken from, closed. - Container - Class in dev.myriadclient.api.ui.widget
-
A widget with children.
- Container() - Constructor for class dev.myriadclient.api.ui.widget.Container
- ContainerEvent - Class in dev.myriadclient.api.event.events
-
A container (chest, shulker, furnace, villager trade, …) opening, receiving its contents, and closing.
- ContainerEvent(Containers.View) - Constructor for class dev.myriadclient.api.event.events.ContainerEvent
-
Core's; addons don't make these.
- ContainerEvent.Closed - Class in dev.myriadclient.api.event.events
-
The container closed (by you, the server, or a new screen replacing it).
- ContainerEvent.Loaded - Class in dev.myriadclient.api.event.events
-
The container's contents arrived; slots are now accurate.
- ContainerEvent.Opened - Class in dev.myriadclient.api.event.events
-
The server opened a container screen.
- ContainerEvent.SlotUpdated - Class in dev.myriadclient.api.event.events
-
One slot changed while the container is open (an item moved, a furnace finished smelting).
- containerOpen() - Method in interface dev.myriadclient.api.service.Inventory
-
Whether a container's screen is open (a chest, a furnace, a villager's trades), so a click meant for your own inventory would land in it: modules that click on their own (totems, armour) wait until it's closed.
- containerOpen() - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- containers() - Static method in class dev.myriadclient.api.Myriad
-
Opening containers, reading them and moving items.
- containers() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.containers(). - Containers - Interface in dev.myriadclient.api.service
-
Containers (chests, barrels, shulkers, furnaces, …): opening one at a position, reading it once its contents have arrived, and moving items.
- Containers.Arrangement - Class in dev.myriadclient.api.service
-
A layout for
Containers.View.arrange(Containers.Arrangement): what each of some menu slots should hold, where the items may come from, and where what doesn't belong goes. - Containers.Click - Record Class in dev.myriadclient.api.service
-
One click in a menu: screen slot id, button, input, as
handleContainerInputtakes them. - Containers.ItemSession - Interface in dev.myriadclient.api.service
-
A shulker box or ender chest from your inventory, placed and open (
Containers.openItem(Object, int, int, Placement.Options)). - Containers.NoWayBack - Enum Class in dev.myriadclient.api.service
-
What a box does when the container it came from can't be opened again to put it back (
Containers.noWayBack(Object, Containers.NoWayBack)). - Containers.Planner - Interface in dev.myriadclient.api.service
-
Clicks worked out one at a time from the menu as it is, for
Containers.View.run(Containers.Planner). - Containers.Transfer - Class in dev.myriadclient.api.service
-
How much a
Containers.View.take(Predicate, Containers.Transfer)orContainers.View.put(Predicate, Containers.Transfer)moves, and whether your hotbar takes part. - Containers.View - Interface in dev.myriadclient.api.service
-
A container that's open (or was), from
Containers.current()orContainers.open(BlockPos, int): usable whileContainers.View.isOpen(), and a stale handle after (its clicks do nothing and the futures it starts fail). - containerScreen(int, int) - Static method in class dev.myriadclient.api.item.Slots
-
Slot id in a container screen whose own slots number
containerSize, for a hotbar or main inventory index. - ContainerScreenEvent - Class in dev.myriadclient.api.event.events
-
Inventory and container screens: drawing over slots (item highlights, shulker icons), replacing the tooltip (content previews) and taking over clicks (opening a shulker from your inventory).
- ContainerScreenEvent(AbstractContainerScreen) - Constructor for class dev.myriadclient.api.event.events.ContainerScreenEvent
-
Core's; addons don't make these.
- ContainerScreenEvent.Click - Class in dev.myriadclient.api.event.events
-
A slot was clicked in the screen, by the player (or by code going through the screen): cancel to handle it yourself (nothing is sent to the server then).
- ContainerScreenEvent.SlotDrawn - Class in dev.myriadclient.api.event.events
-
A slot has been drawn, every frame, for each slot; draw over it with
ContainerScreenEvent.SlotDrawn.graphics()(Myriad.ui().draw(graphics, canvas -> ...)for the canvas). - ContainerScreenEvent.Tooltip - Class in dev.myriadclient.api.event.events
-
The tooltip for the hovered slot is about to be drawn, every frame the screen draws one: cancel after drawing your own, and vanilla's isn't drawn.
- containerSlots(AbstractContainerMenu) - Static method in class dev.myriadclient.api.item.Slots
-
The slot ids of
menu's own slots (a chest's, a furnace's): those that don't show your inventory and come before it, as every vanilla menu lays them out (slots another mod adds after yours aren't counted). - contains(double, double) - Method in record class dev.myriadclient.api.ui.Rect
-
Whether the point is inside: the left and top edges count, the right and bottom ones don't.
- contains(int) - Method in class dev.myriadclient.api.setting.IntListSetting
-
Whether the list in effect has
v. - contains(Module) - Method in class dev.myriadclient.api.setting.ModuleListSetting
-
Whether
moduleis chosen (in the set in effect). - contains(MyriadId) - Method in interface dev.myriadclient.api.registry.Registry
-
Whether an entry has
id. - contains(E) - Method in class dev.myriadclient.api.setting.EnumSetSetting
-
Whether
eis in the set in effect. - contains(BlockPos) - Method in record class dev.myriadclient.api.world.Holes.Hole
-
Whether
posis one of its cells. - contains(LevelChunk, Predicate) - Static method in class dev.myriadclient.api.world.BlockScan
-
True if any block in
chunkmatches, checking palettes first and stopping at the first match. - contains(T) - Method in class dev.myriadclient.api.setting.RegistryListSetting
-
Whether
tis in the set in effect. - contains(T) - Method in interface dev.myriadclient.api.ui.widget.RegistryPicker.Source
-
Whether
tis picked now. - content() - Method in class dev.myriadclient.api.ui.widget.WidgetRoot
-
The top of the tree.
- contents(ItemStack) - Static method in class dev.myriadclient.api.item.ItemInfo
-
What's stored in a container item (a shulker box, or any item carrying contents), slot by slot; empty if it has none.
- context() - Method in class dev.myriadclient.api.event.events.Render2DEvent
-
Vanilla's GUI drawing context for this frame.
- continueBreaking(BlockPos, Direction) - Static method in class dev.myriadclient.api.player.Interactions
-
Continues breaking
pos, as holding left click does each tick (starting over if it's another block than the one being broken). - Contribution - Interface in dev.myriadclient.api.hook
-
A hook handler or service replacement an addon contributed.
- contributions() - Method in interface dev.myriadclient.api.hook.Hooks
-
Every contribution, hooks' and services', on or off, in the order they were made.
- contributions(MyriadId) - Method in interface dev.myriadclient.api.hook.Hooks
-
The contributions to the hook or service with this id.
- control(NoDurability.Owner) - Method in interface dev.myriadclient.api.elytra.Elytra
-
A flight for
ownerthat flies straight along its heading at a set speed, holding a height, only where the server doesn't simulate the glide (AntiCheat.Profile#simulatesGlide()false: NoCheatPlus, singleplayer); Grim sets it back from the first tick. - CONTROL_PANEL - Enum constant in enum class dev.myriadclient.api.setting.Setting.Layer
-
A control panel, while it's on.
- controlPanel(ControlPanel) - Method in interface dev.myriadclient.api.share.ConfigShares.Builder
-
A control panel, with the settings it saves (its member modules aren't added; add them too to share theirs).
- ControlPanel - Interface in dev.myriadclient.api.control
-
A named set of modules switched together.
- controlPanels() - Method in class dev.myriadclient.api.share.ConfigShare
-
The names of the control panels in it.
- ControlPreset - Class in dev.myriadclient.api.control
-
A control panel an addon ships (
AddonContext.registerControlPanel(ControlPreset)): the modules it switches and, for each, settings they take while it's on. - ControlPreset.Builder - Class in dev.myriadclient.api.control
-
Builds a
ControlPreset; each module is listed once, however often it's added. - ControlPreset.ModuleSettings - Class in dev.myriadclient.api.control
-
The settings one module takes while the panel is on.
- controls() - Static method in class dev.myriadclient.api.Myriad
-
Control panels: sets of modules switched together by one bind, each with the settings it takes while on.
- controls() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.controls(). - Controls - Interface in dev.myriadclient.api.control
-
The control panels of the active profile (
Myriad.controls()): the player's own and those addons ship. - Conventions - Section in package dev.myriadclient.api
- coords(BlockPos) - Static method in class dev.myriadclient.api.util.Format
-
A block position as "x y z", the form commands take.
- coords(BlockPos) - Static method in class dev.myriadclient.api.util.Texts
-
"x y z" in grey, copied when clicked.
- coords(Vec3) - Static method in class dev.myriadclient.api.util.Format
-
A position as "x y z" to one decimal place.
- copy(String, String) - Static method in class dev.myriadclient.api.util.Texts
-
label, which copiesvalueto the clipboard when clicked. - copy(List) - Method in class dev.myriadclient.api.setting.IntListSetting
- copy(List) - Method in class dev.myriadclient.api.setting.StringListSetting
- copy(Set) - Method in class dev.myriadclient.api.setting.ModuleListSetting
- copy(Set) - Method in class dev.myriadclient.api.setting.EnumSetSetting
- copy(Set) - Method in class dev.myriadclient.api.setting.RegistryListSetting
- copy(T) - Method in class dev.myriadclient.api.setting.Setting
-
Copy a value so the default is never mutated.
- COPY - Static variable in class dev.myriadclient.api.ui.Icons
- core - Variable in class dev.myriadclient.api.service.Breaking.Forwarding
-
The service this one wraps: core's own.
- core - Variable in class dev.myriadclient.api.service.Inventory.Forwarding
-
The service this one wraps: core's own.
- core - Variable in class dev.myriadclient.api.service.Placement.Forwarding
-
The service this one wraps: core's own.
- core - Variable in class dev.myriadclient.api.service.Rotations.Forwarding
-
The service this one wraps: core's own.
- core(Service) - Method in interface dev.myriadclient.api.hook.Hooks
-
Core's own implementation of
service, whatever is in use. - count() - Method in class dev.myriadclient.api.service.Containers.Transfer
-
The most items to move;
Integer.MAX_VALUEforContainers.Transfer.all(). - count() - Method in class dev.myriadclient.api.service.Placement.Click
-
How many of the block there are once it's clicked (a second candle, the other half of a slab: 2).
- count() - Method in class dev.myriadclient.api.util.RateCounter
-
Events in the last window (a second by default).
- count(PacketLimits.Kind, int) - Method in interface dev.myriadclient.api.service.PacketLimits
-
Counts
packetsofkindyou sent past where core counts them: inventory clicks are counted in the game's click handler, so clicks you send as packets yourself need this, or the budget doesn't know about them. - count(Predicate) - Method in interface dev.myriadclient.api.service.Containers.View
-
Total count of matching items in the container.
- count(Predicate) - Method in interface dev.myriadclient.api.service.Inventory
-
Total item count matching across the hotbar, main inventory and off hand (armour isn't counted); 0 outside a world.
- count(Predicate) - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- count(BlockState) - Static method in class dev.myriadclient.api.build.BlockRules
-
How many of the block the state holds: the counted property's value, 2 for a double slab, else 1.
- COUNTED - Static variable in class dev.myriadclient.api.build.BlockRules
-
Properties that count up as the same item is used on the block again.
- create() - Static method in class dev.myriadclient.api.render.WorldMesh
-
A mesh you manage yourself: drawn whenever it has shapes, until
WorldMesh.close()d. - create() - Method in class dev.myriadclient.api.setting.ActionSetting.Builder
- create() - Method in class dev.myriadclient.api.setting.BlockPosSetting.Builder
- create() - Method in class dev.myriadclient.api.setting.BoolSetting.Builder
- create() - Method in class dev.myriadclient.api.setting.ChoiceSetting.Builder
- create() - Method in class dev.myriadclient.api.setting.ColorSetting.Builder
- create() - Method in class dev.myriadclient.api.setting.DoubleSetting.Builder
- create() - Method in class dev.myriadclient.api.setting.EnumSetSetting.Builder
- create() - Method in class dev.myriadclient.api.setting.EnumSetting.Builder
- create() - Method in class dev.myriadclient.api.setting.FileSetting.Builder
- create() - Method in class dev.myriadclient.api.setting.IconSetting.Builder
- create() - Method in class dev.myriadclient.api.setting.IntListSetting.Builder
- create() - Method in class dev.myriadclient.api.setting.IntSetting.Builder
- create() - Method in class dev.myriadclient.api.setting.KeybindSetting.Builder
- create() - Method in class dev.myriadclient.api.setting.ModuleListSetting.Builder
- create() - Method in class dev.myriadclient.api.setting.RegistryListSetting.Builder
- create() - Method in class dev.myriadclient.api.setting.RegistrySetting.Builder
- create() - Method in class dev.myriadclient.api.setting.Setting.Builder
-
Makes the setting from the builder's fields;
Setting.Builder.build()does the rest. - create() - Method in class dev.myriadclient.api.setting.StringListSetting.Builder
- create() - Method in class dev.myriadclient.api.setting.StringSetting.Builder
- create(JsonObject) - Method in class dev.myriadclient.api.ui.PanelType
-
Creates an instance; returns null if
argsdon't resolve (e.g. - create(Module) - Static method in class dev.myriadclient.api.render.WorldMesh
-
A mesh drawn only while
owneris enabled. - create(Setting) - Method in interface dev.myriadclient.api.ui.SettingWidgets
-
Builds the row (name and editor, a
SettingRow) for a setting, or null if no widget is registered for its class or any superclass. - create(String) - Method in interface dev.myriadclient.api.control.Controls
-
A new, empty control panel of the player's own, saved with the profile.
- createdAt() - Method in record class dev.myriadclient.api.share.ConfigShares.Published
-
Returns the value of the
createdAtrecord component. - createState() - Method in interface dev.myriadclient.api.ui.layout.Layout
-
A new, empty tiling for one workspace.
- creative(boolean) - Method in class dev.myriadclient.api.combat.Targets.Query
-
Include players in creative mode (on by default).
- creepers(double) - Static method in class dev.myriadclient.api.combat.Threats
-
The worst blast from a creeper within
rangethat's about to explode (swelling, or lit with flint and steel). - CROSSHAIRS - Static variable in class dev.myriadclient.api.ui.Icons
- CRUISING - Enum constant in enum class dev.myriadclient.api.elytra.Flight.State
-
Flying along the heading.
- crystal(LivingEntity, Vec3) - Static method in class dev.myriadclient.api.combat.Damage
- crystal(LivingEntity, Vec3, int, Predicate) - Static method in class dev.myriadclient.api.combat.Damage
-
Crystal damage against where
targetwill be inpredictTicksticks (Entities.predict(Entity, int)), with the blocksasAiraccepts treated as gone. - crystals(double, boolean) - Static method in class dev.myriadclient.api.combat.Threats
-
Damage from the worst end crystal whose entity is within
rangeblocks of your box, or all of them added up whensum. - Crystals - Class in dev.myriadclient.api.combat
-
Where end crystals can go, as the server decides it: on obsidian or bedrock, with air above and no entity in the crystal's space.
- CRYSTALS - Enum constant in enum class dev.myriadclient.api.render.EntityGroups.Group
-
End crystals.
- CTRL - Enum constant in enum class dev.myriadclient.api.ui.ThemeSettings.ModKey
-
Control.
- cube(BlockPos, int) - Static method in class dev.myriadclient.api.world.Positions
-
Every block in the cube
radiusblocks out fromcenterin each direction, nearest first. - CUBE - Static variable in class dev.myriadclient.api.ui.Icons
- CUBES - Static variable in class dev.myriadclient.api.ui.Icons
- current() - Static method in enum class dev.myriadclient.api.render.RenderMode
-
The mode that's on, as the player chose it.
- current() - Method in interface dev.myriadclient.api.service.Containers
-
The open container, if one is open (the player's own inventory doesn't count): by hand, by the server or through
Containers.open(BlockPos, int), with its screen showing or not. - current() - Static method in class dev.myriadclient.api.util.Ticks
-
Client ticks since the game started (20 a second while the game runs at full speed).
- current(Service) - Method in interface dev.myriadclient.api.hook.Hooks
-
The implementation of
serviceevery caller uses unless one scoped to them applies: the replacement for everyone, or core's. - current(Service, Object) - Method in interface dev.myriadclient.api.hook.Hooks
-
The implementation of
servicethat servescaller(a module, usually): a replacement scoped to it, elseHooks.current(Service). - curve - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
The easing of window and workspace animations; see
ThemeSettings.bezier(). - custom(Identifier) - Static method in class dev.myriadclient.api.render.HighlightStyle.Fill
-
An addon's own fill, drawn by its fragment shader at
assets/<namespace>/shaders/<path>.fsh. - custom(Identifier, String) - Static method in class dev.myriadclient.api.render.HighlightStyle.Fill
-
HighlightStyle.Fill.custom(Identifier)with the name it's listed under in Fill options (a fill's name must be its own: one already taken gets the addon's namespace in brackets after it). - CUSTOM - Enum constant in enum class dev.myriadclient.api.ui.hud.HudStyle.Mode
-
A colour the player picks.
- CUTLERY - Static variable in class dev.myriadclient.api.ui.Icons
- cyan - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Friends; also a
SettingColorrole. - CYAN - Enum constant in enum class dev.myriadclient.api.setting.SettingColor.Mode
-
The theme's cyan.
- cycle(int) - Method in class dev.myriadclient.api.setting.EnumSetting
-
Sets the player's value
dirconstants on from it (negative goes back), wrapping around at the ends.
D
- damage() - Method in class dev.myriadclient.api.event.events.HealthEvent
-
Health lost (0 if none).
- Damage - Class in dev.myriadclient.api.combat
-
Client-side estimates of damage the server would deal, for predicting lethal hits.
- danger() - Method in class dev.myriadclient.api.ui.widget.Button
-
Something that can't be undone (Delete): its text and hover are red, so it isn't pressed in passing.
- DATABASE - Static variable in class dev.myriadclient.api.ui.Icons
- deactivated() - Method in interface dev.myriadclient.api.hook.Replacement
-
It's no longer in use: let go of anything you hold (rotations, held slots, queued actions).
- decimal(String) - Method in class dev.myriadclient.api.setting.SettingGroup
-
A number with decimals: a slider over
range, or a box to type in (typed()). - decimals() - Method in class dev.myriadclient.api.setting.DoubleSetting
-
How many decimal places values are rounded to and shown with.
- decimals(int) - Method in class dev.myriadclient.api.setting.DoubleSetting.Builder
-
How many decimal places to round to and show; 2 by default.
- decode(JsonElement) - Method in class dev.myriadclient.api.setting.Setting
-
The value
jsonstands for, read the waySetting.fromJson(JsonElement)reads it, without changing this setting. - decode(String) - Method in class dev.myriadclient.api.setting.Setting
-
The value
inputstands for, read the waySetting.parse(String)reads it (null if it isn't valid), without changing this setting. - decorate(Preview.Decoration) - Method in class dev.myriadclient.api.ui.widget.Preview
-
Draws
decorationon the preview each frame; several are drawn in the order added. - decorations() - Method in class dev.myriadclient.api.ui.widget.Preview
-
What
Preview.decorate(Preview.Decoration)added, in order. - DECOYABLE - Enum constant in enum class dev.myriadclient.api.service.AntiCheat.BreakTiming
-
Timed as
AntiCheat.BreakTiming.CHECKED, by a build of it that a start for the same spot far above the world fools: it then times air, which breaks at once, so a break may finish at 70% of its time (Breaking.Mode.FAST_GRIM), and a second block can be mined meanwhile. - DEFAULT - Static variable in class dev.myriadclient.api.service.Breaking.Options
-
Mines as holding the attack button does (
Breaking.Mode.VANILLA), fastest tool, no rotation, 4.5 blocks. - DEFAULT - Static variable in class dev.myriadclient.api.service.Building.Options
-
Lenient servers:
Placement.Options.DEFAULTandBreaking.Options.DEFAULT, up to 4 placements a tick, wrong blocks broken, fluids kept back, settings clicked, bottom up, finishing once done. - DEFAULT - Static variable in class dev.myriadclient.api.service.Placement.Options
-
Lenient servers: no rotation, any face.
- DEFAULT_LINE_WIDTH - Static variable in class dev.myriadclient.api.render.ShapeBuilder
-
The line width in pixels a builder starts with.
- defaultBind() - Method in class dev.myriadclient.api.input.KeyAction
-
The bind it was registered with.
- defaultFont() - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
The theme's font (
ThemeSettings.fontFamily()), whatCanvas.text(String, float, float, int)uses. - defaultFontSize() - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
The theme's font size in UI units (
ThemeSettings.fontSize); scale it for smaller or larger text. - defaultHud() - Method in class dev.myriadclient.api.ui.PanelType
-
If set, a fresh install places this panel on the HUD at this position; null otherwise.
- defaultHud(PanelType.Anchor, float, float) - Method in class dev.myriadclient.api.ui.PanelType.Builder
-
Makes it a HUD element that a fresh install puts on the HUD at
anchor, offset in UI units. - defaults(HighlightStyle) - Method in class dev.myriadclient.api.render.RenderSettings.Builder
-
The look the options start from, in both modes (its fill, fill opacity and through walls are shared).
- DEFAULTS - Static variable in class dev.myriadclient.api.module.Tags
-
Every shared tag, the ones core registers.
- defaultValue - Variable in class dev.myriadclient.api.setting.Setting.Builder
-
From
Setting.Builder.defaultValue; each type starts with its own (false, 0, empty). - defaultValue - Variable in class dev.myriadclient.api.setting.Setting
-
The value it starts at and
Setting.reset()goes back to. - defaultValue() - Method in record class dev.myriadclient.api.integration.Baritone.SettingInfo
-
Returns the value of the
defaultValuerecord component. - defaultValue() - Method in class dev.myriadclient.api.setting.Setting
-
The value it starts at and
Setting.reset()goes back to. - defaultValue(double) - Method in class dev.myriadclient.api.setting.DoubleSetting.Builder
-
Accepts int literals too, e.g.
- defaultValue(int) - Method in class dev.myriadclient.api.setting.ColorSetting.Builder
-
A fixed ARGB colour as the default (
0xFF7FD8AE). - defaultValue(int...) - Method in class dev.myriadclient.api.setting.IntListSetting.Builder
-
The numbers it starts with, in order.
- defaultValue(E...) - Method in class dev.myriadclient.api.setting.EnumSetSetting.Builder
-
The constants it starts with.
- defaultValue(String...) - Method in class dev.myriadclient.api.setting.ModuleListSetting.Builder
-
Modules chosen by default, by id ("myriad-essentials:freecam").
- defaultValue(String...) - Method in class dev.myriadclient.api.setting.StringListSetting.Builder
-
The entries it starts with, in order.
- defaultValue(T) - Method in class dev.myriadclient.api.setting.Setting.Builder
-
The value it starts at, and goes back to on reset.
- defaultValue(T...) - Method in class dev.myriadclient.api.setting.RegistryListSetting.Builder
-
The entries it starts with.
- delay(int) - Static method in class dev.myriadclient.api.job.Step
-
Waits
ticksticks (0: done at once). - delete(ControlPanel) - Method in interface dev.myriadclient.api.control.Controls
-
Turns it off and removes it; nothing happens if it isn't one of these.
- delete(String, String) - Static method in class dev.myriadclient.api.network.Http
-
DELETEs
url, authorised withbearerToken(none if null), and returns the response body. - deleteProfile(String) - Method in interface dev.myriadclient.api.config.ConfigManager
-
Deletes the profile
nameand its files. - delta(BlockState, BlockPos, int) - Static method in class dev.myriadclient.api.player.Mining
-
Fraction of the block at
posbroken per tick with the tool intoolSlot; 0 for unbreakable blocks. - delta(BlockState, BlockPos, int, int) - Static method in class dev.myriadclient.api.player.Mining
-
Mining.delta(BlockState, BlockPos, int)with Efficiency atefficiency(seeMining.speed(BlockState, int, int)). - deltaX() - Method in class dev.myriadclient.api.event.events.MouseLookEvent
-
Horizontal look delta in vanilla units (multiply by 0.15 for degrees).
- deltaY() - Method in class dev.myriadclient.api.event.events.MouseLookEvent
-
Vertical look delta in vanilla units (multiply by 0.15 for degrees; positive turns down).
- describe() - Method in class dev.myriadclient.api.build.Target.Air
- describe() - Method in interface dev.myriadclient.api.build.Target
-
A short description for debugging and plan overlays.
- describe() - Method in class dev.myriadclient.api.build.Target.Exact
- describe() - Method in class dev.myriadclient.api.build.Target.Solid
- describe() - Method in record class dev.myriadclient.api.job.Why.Code
-
"no schematic": the path, for people.
- description - Variable in class dev.myriadclient.api.setting.Setting.Builder
-
From
Setting.Builder.description; empty by default. - description - Variable in class dev.myriadclient.api.setting.Setting
-
The tooltip text; empty for none.
- description() - Method in class dev.myriadclient.api.addon.Addon
-
The description from
fabric.mod.json; empty when it has none. - description() - Method in class dev.myriadclient.api.command.Command
-
The one-sentence description given to the constructor.
- description() - Method in class dev.myriadclient.api.hook.Hook
-
What it decides, for the Hooks window; empty if none was given.
- description() - Method in class dev.myriadclient.api.module.Module
-
The one-sentence description given to the constructor.
- description() - Method in class dev.myriadclient.api.setting.Setting
-
The tooltip text; empty for none.
- description() - Method in class dev.myriadclient.api.share.ConfigShare
-
Its description, empty if it has none.
- description(String) - Method in class dev.myriadclient.api.setting.Setting.Builder
-
The tooltip: one sentence on what the setting does.
- description(String) - Method in interface dev.myriadclient.api.share.ConfigShares.Builder
-
A longer description shown on its page (none if not given).
- deserialize(String) - Static method in record class dev.myriadclient.api.input.Keybind
-
Reads a bind
Keybind.serialize()wrote, binds saved before 26.3 included;Keybind.NONEfor anything else. - Detached(boolean) - Constructor for class dev.myriadclient.api.event.events.CameraEvent.Detached
-
Core's; only Myriad makes these.
- detail() - Method in class dev.myriadclient.api.job.Why
-
For people: "cobblestone", "the chest at 12 64 -3 closed".
- DETECT - Static variable in interface dev.myriadclient.api.service.AntiCheat
-
Works out what the server checks, when you join and as it shows itself.
- detected() - Method in interface dev.myriadclient.api.service.AntiCheat
-
What this server looks like (
AntiCheat.DETECT);AntiCheat.Profile.VANILLAin singleplayer and before anything shows. - dev.myriadclient.api - package dev.myriadclient.api
-
Myriad's public API: what addons build on.
- dev.myriadclient.api.addon - package dev.myriadclient.api.addon
-
An addon's entrypoint (
MyriadAddon), what it can register (AddonContext) and its own storage (AddonStorage). - dev.myriadclient.api.annotation - package dev.myriadclient.api.annotation
-
The threading contract, as annotations on API types and methods:
RenderThread(call it on the game's own thread only, the default for everything) andAnyThread(safe from any thread, or an event that may arrive off it). - dev.myriadclient.api.build - package dev.myriadclient.api.build
-
Blueprints for
Myriad.building(): describe a shape asTargets and the planner breaks and places what's in reach. - dev.myriadclient.api.combat - package dev.myriadclient.api.combat
-
Combat helpers: finding targets, damage after armour, dangers around you, crystal placement and projectile paths.
- dev.myriadclient.api.command - package dev.myriadclient.api.command
-
Commands (
Command, built on Brigadier) and argument types for them. - dev.myriadclient.api.command.arguments - package dev.myriadclient.api.command.arguments
-
Argument types for commands: block positions, registry entries, modules, settings, players, durations and choices.
- dev.myriadclient.api.config - package dev.myriadclient.api.config
-
Profiles and saving (
ConfigManager). - dev.myriadclient.api.control - package dev.myriadclient.api.control
-
Control panels: named sets of modules switched together by one bind, each module optionally with settings it takes while the panel is on (
Controls,Myriad.controls()). - dev.myriadclient.api.dev - package dev.myriadclient.api.dev
-
Tools for developing and testing Myriad and addons, present only in dev runs.
- dev.myriadclient.api.elytra - package dev.myriadclient.api.elytra
-
Elytra flight:
Elytra(Myriad.elytra()) with No Durability, chest swaps, the glide hold and pilots, shared by every flight module. - dev.myriadclient.api.event - package dev.myriadclient.api.event
-
The event bus (
Myriad.events()):Subscribehandlers on a subscribed object or class,lambda listeners,prioritiesandcancellableevents. - dev.myriadclient.api.event.events - package dev.myriadclient.api.event.events
-
Every event Myriad posts.
- dev.myriadclient.api.hook - package dev.myriadclient.api.hook
-
Hooks: places where an addon can change how Myriad (or another addon) behaves, without changing its code.
- dev.myriadclient.api.input - package dev.myriadclient.api.input
- dev.myriadclient.api.integration - package dev.myriadclient.api.integration
-
Other mods, driven when they're installed and quietly absent when they're not, so a module can offer them to everyone without depending on them:
Baritone. - dev.myriadclient.api.item - package dev.myriadclient.api.item
- dev.myriadclient.api.job - package dev.myriadclient.api.job
- dev.myriadclient.api.map - package dev.myriadclient.api.map
-
The map mods players fly by: waypoints from Xaero's Minimap, when it's installed (
Myriad.maps()). - dev.myriadclient.api.mixin - package dev.myriadclient.api.mixin
-
Help for addons' own mixins, such as mixins that only apply when another mod is installed.
- dev.myriadclient.api.module - package dev.myriadclient.api.module
-
Modules: toggleable features with settings, their tags and the groups they show in.
- dev.myriadclient.api.network - package dev.myriadclient.api.network
- dev.myriadclient.api.player - package dev.myriadclient.api.player
-
The local player's actions and reach, measured and done the way the server sees them:
Interactions(use, attack, swing, the way vanilla does them),Reach(what you can reach and see, from the eyes),Movement(which way the keys point, speed along it) andMining(break times as the server works them out). - dev.myriadclient.api.registry - package dev.myriadclient.api.registry
- dev.myriadclient.api.render - package dev.myriadclient.api.render
-
Drawing in the world: highlights and the standard look options (
RenderSettings,HighlightStyle,RenderMode), shapes for one frame (Renderer3D) or kept on the GPU (WorldMesh), merged boxes, fades, labels over the world, entity groups, ghosts and model shapes. - dev.myriadclient.api.service - package dev.myriadclient.api.service
-
The services addons share instead of fighting over the same state: rotations, inventory, placing, breaking, building, containers, packet limits, tick speed, server facts, notifications, friends and enemies, and the anti-cheat profile.
- dev.myriadclient.api.setting - package dev.myriadclient.api.setting
-
Settings: typed, saved values grouped per module or panel, with the builders to declare them and
SavedSettingsto migrate them across versions. - dev.myriadclient.api.share - package dev.myriadclient.api.share
-
Shared configs: a set of modules (and control panels, a theme) with their settings, turned into a short code (
myriad_JS3k4d) others take in, or view on the website. - dev.myriadclient.api.ui - package dev.myriadclient.api.ui
-
The UI: Myriad's tiling window manager, modelled on Hyprland.
- dev.myriadclient.api.ui.draw - package dev.myriadclient.api.ui.draw
-
2D drawing for panels, HUD elements and screens: the
Canvas(shapes, gradients, shadows, frosted glass, text), its fonts (FontFamily, andThemeFontfor text Minecraft draws), animation helpers (Animated,Easing,Bezier) and theMyriadLogo. - dev.myriadclient.api.ui.hud - package dev.myriadclient.api.ui.hud
-
HUD elements: panels that live on the UI's HUD workspace and are drawn in game, sized to their content.
- dev.myriadclient.api.ui.layout - package dev.myriadclient.api.ui.layout
-
Tiling layouts for workspaces: a
Layoutmakes oneLayoutStateper workspace, which places its tiled windows. - dev.myriadclient.api.ui.widget - package dev.myriadclient.api.ui.widget
-
Widgets for building panels (
WidgetPanel): labels, buttons, toggles, sliders, text fields, pickers, foldable sections and the boxes that lay them out. - dev.myriadclient.api.util - package dev.myriadclient.api.util
-
General helpers with no better home: threads and timing, colours, formatting, search and chat text.
- dev.myriadclient.api.world - package dev.myriadclient.api.world
-
The world around you: what blocks and entities are (
BlockInfo,Entities), positions around a point (Positions), per-chunk caches and fast searches (ChunkCache,BlockScan), holes and surrounds (Holes), freshly generated chunks (ChunkAge) and dummy players for testing (FakePlayers). - devSteps() - Static method in class dev.myriadclient.api.Myriad
-
Core's dev console steps, for test frameworks and tools that drive a dev client; empty in a released game (present in a development environment, or with
-Dmyriad.devConsole). - devSteps() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.devSteps(). - DevSteps - Interface in dev.myriadclient.api.dev
-
Core's dev console steps, for test frameworks and tools driving a dev client: the same script language the console reads from
-Dmyriad.devConsole=<file>, one step at a time. - DIAMOND - Static variable in class dev.myriadclient.api.ui.Icons
- Died(Entity, int) - Constructor for class dev.myriadclient.api.event.events.EntityEvent.Died
-
Core's; only Myriad makes these.
- dim() - Method in class dev.myriadclient.api.ui.widget.Label
-
In the theme's dim text colour, for secondary text.
- dimension() - Method in record class dev.myriadclient.api.map.Waypoint
-
Returns the value of the
dimensionrecord component. - dimInactive - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Darken unfocused windows: the opacity of black drawn over them, 0 for none.
- direction() - Method in class dev.myriadclient.api.event.events.BlockBreakEvent
-
The face being hit.
- direction(float, float) - Static method in class dev.myriadclient.api.util.MathUtil
-
Unit vector for a look direction given as yaw and pitch in degrees (yaw 0 = +Z, pitch 90 = straight down).
- directory() - Method in interface dev.myriadclient.api.addon.AddonStorage
-
The addon's folder,
.minecraft/myriad/addons/<mod id>/. - directory() - Method in class dev.myriadclient.api.setting.FileSetting
-
Where the picker starts, or null for the system default.
- directory(Supplier) - Method in class dev.myriadclient.api.setting.FileSetting.Builder
-
Where the picker opens, e.g.
- disable() - Method in interface dev.myriadclient.api.elytra.NoDurability
-
Stops, with the elytra back on and the glide started again if the server had stopped it.
- disable() - Method in class dev.myriadclient.api.module.Module
-
Shortcut for
setEnabled(false). - disarm(Object) - Method in interface dev.myriadclient.api.elytra.GlideHold
-
Lets go: any held answers are sent, and nothing more is held for
owner. - DisconnectEvent - Class in dev.myriadclient.api.event.events
-
The connection to a server ended, with the reason the server gave (or the client's own, for a timeout).
- DisconnectEvent(Component, String) - Constructor for class dev.myriadclient.api.event.events.DisconnectEvent
-
Core's; only Myriad makes these.
- displayName() - Method in record class dev.myriadclient.api.input.Keybind
-
The bind for people, modifiers first:
"Ctrl+Shift+T","RMB","Mouse5","None". - displayName(Enum) - Static method in class dev.myriadclient.api.setting.EnumSetting
-
efor people: itstoString()if the enum overrides it, otherwise its name in Title Case. - distance() - Method in class dev.myriadclient.api.event.events.TeleportEvent
-
How far you're moved.
- distance(double) - Static method in class dev.myriadclient.api.util.Format
-
A distance in blocks as "12m", "350m", "1.4km" (one block is a metre; km from 1000 blocks).
- DISTANCE - Enum constant in enum class dev.myriadclient.api.combat.Targets.Sort
-
Closest first (to the nearest point of the hitbox).
- distanceScale(Vec3) - Static method in class dev.myriadclient.api.render.WorldLabel
-
Size multiplier that shrinks labels a little with distance (down to half size at 50+ blocks).
- distanceScaling() - Method in class dev.myriadclient.api.render.HighlightStyle
-
Whether the outline and glow get thinner with distance, so far things aren't buried under a border as thick as a near one's: full width within 10.0f blocks, then shrinking with the square root of the distance down to half width (at four times that distance), and never below one pixel.
- distanceTo(AABB, Vec3) - Static method in class dev.myriadclient.api.util.MathUtil
-
Distance in blocks from
pointto the nearest point ofbox; 0 if it's inside. - divider() - Static method in class dev.myriadclient.api.ui.widget.Spacer
-
A faint horizontal line with a little room above and below (7 units tall).
- done() - Static method in class dev.myriadclient.api.job.Progress
-
done(null)for aRun<Void>. - done() - Method in interface dev.myriadclient.api.service.Containers.Planner
-
Whether the goal is reached (asked again once the server has said what it has).
- done(T) - Static method in class dev.myriadclient.api.job.Progress
-
Finished, producing
value. - DONE - Enum constant in enum class dev.myriadclient.api.build.Build.Status
-
Already what the blueprint wants.
- DONE - Enum constant in enum class dev.myriadclient.api.job.Job.State
-
Finished;
Job.result()has completed with the result. - DOT_CIRCLE - Static variable in class dev.myriadclient.api.ui.Icons
- DOTS - Static variable in class dev.myriadclient.api.render.HighlightStyle.Fill
-
A grid of round dots (
HighlightStyle.dotSpacing(),HighlightStyle.dotSize()) that moves with what's highlighted. - dotSize() - Method in class dev.myriadclient.api.render.HighlightStyle
-
HighlightStyle.Fill.DOTS: dot diameter, in scaled pixels. - dotSpacing() - Method in class dev.myriadclient.api.render.HighlightStyle
-
HighlightStyle.Fill.DOTS: distance between dot centres, in scaled pixels. - DOUBLE - Enum constant in enum class dev.myriadclient.api.world.Holes.Shape
-
Two blocks side by side.
- doubleBreak - Variable in class dev.myriadclient.api.service.BreakingSettings
-
Double Break: mine a second block while the server finishes the first, where blocks finish early (on by default; shown only where it can apply).
- doubleBreak() - Method in class dev.myriadclient.api.service.Breaking.Options
-
Breaking.Mode.FASTandBreaking.Mode.FAST_GRIMonly: mine a second block while the server finishes the first. - DoubleSetting - Class in dev.myriadclient.api.setting
-
A number with decimals, set with a slider or typed into a box (
DoubleSetting.Builder.typed()). - DoubleSetting(String, String, double, Supplier, double, double, double, double, int) - Constructor for class dev.myriadclient.api.setting.DoubleSetting
-
A setting as its
DoubleSetting.Buildermakes it; get one fromSettingGroup.decimal(String), or call this from a subclass. - DoubleSetting.Builder - Class in dev.myriadclient.api.setting
-
Builds a
DoubleSetting; 0, unbounded and 2 decimals by default. - DOWN - Enum constant in enum class dev.myriadclient.api.elytra.Flight.State
-
Down on the ground after landing, or not started.
- DOWN - Enum constant in enum class dev.myriadclient.api.ui.Side
-
The bottom half.
- DOWNLOAD - Static variable in class dev.myriadclient.api.ui.Icons
- drag() - Method in record class dev.myriadclient.api.combat.Trajectory.Ballistics
-
Returns the value of the
dragrecord component. - drag(float, float) - Method in interface dev.myriadclient.api.ui.layout.LayoutState.Splitter
-
Moves the boundary to follow the mouse at (
mouseX,mouseY), in screen UI units. - draw(ShapeBuilder, Iterable, MergedBoxes.Lookup, MergedBoxes.Paint, MergedBoxes.Paint, boolean) - Static method in class dev.myriadclient.api.render.MergedBoxes
-
Draws the merged shape of
cellsintoout: faces infill's colour and lines inline's (either may return 0 to skip). - draw(ShapeBuilder, AABB, Entity) - Method in interface dev.myriadclient.api.ui.widget.Preview.Decoration
-
Draws this frame's shapes with
shapes; called every frame the preview is drawn, on the render thread. - draw(Canvas, float, float, float, int, int) - Static method in class dev.myriadclient.api.ui.draw.MyriadLogo
-
Draws the logo in a
size×sizebox at (x,y), in the canvas's units. - draw(Canvas, FontFamily, float, String, float, float, int, boolean) - Static method in class dev.myriadclient.api.ui.hud.HudStyle
-
Draws text with an optional HUD-style drop shadow (translucent black, 0.6 units down and right).
- draw(Canvas, UUID, float, float, float) - Static method in class dev.myriadclient.api.render.PlayerHeads
-
Draws the face of the player with this UUID, untinted; see
PlayerHeads.skin(UUID). - draw(Canvas, Identifier, float, float, float, int) - Static method in class dev.myriadclient.api.render.PlayerHeads
-
Draws the face of
skinwith its top-left corner at (x, y),sizeunits square, tinted by an ARGB colour (0xFFFFFFFF for none). - draw(Canvas, Player, float, float, float) - Static method in class dev.myriadclient.api.render.PlayerHeads
-
Draws
player's face, untinted; seePlayerHeads.draw(Canvas, Identifier, float, float, float, int). - draw(Canvas, Vec3, float, List, WorldLabel.Background, int, int, boolean) - Static method in class dev.myriadclient.api.render.WorldLabel
-
Draws
segmentsside by side, centred onworldwith the label's bottom edge there, atscaletimes the default font size, onbgin ARGBfillwith an ARGBoutline(0 for none). - draw(GuiGraphicsExtractor, Consumer) - Method in interface dev.myriadclient.api.ui.Ui
-
Draws with Myriad's canvas inside any vanilla rendering (a screen, a tooltip, a HUD hook).
- drawContext() - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
The vanilla GUI context, for things the canvas doesn't cover.
- drop(int, boolean) - Method in interface dev.myriadclient.api.service.Containers.View
-
Drops a container slot's stack (or one item).
- drop(int, boolean) - Method in interface dev.myriadclient.api.service.Inventory
-
Throws the item at
inventoryIndexon the ground, the whole stack or one of it, as the drop key does: one click. - drop(int, boolean) - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- Dropdown<T> - Class in dev.myriadclient.api.ui.widget
-
Pick one of several values: click to expand the options inline (the widget grows, pushing what's below down).
- Dropdown(Supplier, Supplier, Consumer, Function) - Constructor for class dev.myriadclient.api.ui.widget.Dropdown
- dumps() - Method in class dev.myriadclient.api.service.Containers.Arrangement
-
Where what doesn't belong goes (
Containers.Arrangement.dumpTo(int...); the layout's own slots unless set). - dumpTo(int...) - Method in class dev.myriadclient.api.service.Containers.Arrangement
-
Where what doesn't belong, or is in the way, goes.
- durability(ItemStack) - Static method in class dev.myriadclient.api.item.ItemInfo
-
Uses left before it breaks;
Integer.MAX_VALUEfor items that don't wear out. - durabilityColor(float) - Static method in class dev.myriadclient.api.ui.hud.ItemHud
-
Red at 0%, yellow at 50%, green at 100% (
percentas a 0-1 fraction), opaque ARGB. - durabilityFraction(ItemStack) - Static method in class dev.myriadclient.api.item.ItemInfo
-
Durability left as 0..1 (1 for items that don't wear out).
- durabilityText(Canvas, ItemHud.Durability, ItemStack, float, float, float, float, boolean) - Static method in class dev.myriadclient.api.ui.hud.ItemHud
-
Draws the text
modeshows over an item (ItemHud.Durability.NUMBER's uses left, otherwise the percentage). - duration() - Static method in class dev.myriadclient.api.command.arguments.Arguments
-
Milliseconds, typed as
10s,5m,20t,1m30s; read it withDurationArgumentType.get(CommandContext, String). - duration() - Static method in class dev.myriadclient.api.command.arguments.DurationArgumentType
-
A duration argument.
- duration(long) - Static method in class dev.myriadclient.api.util.Format
-
A duration in milliseconds as "45s", "3m 05s", "2h 14m"; rounds down, negative counts as 0.
- DurationArgumentType - Class in dev.myriadclient.api.command.arguments
-
A length of time, as milliseconds:
500ms,20t(ticks of 50 ms),10s,5m,2h,1d, or combined (1m30s). - DurationArgumentType() - Constructor for class dev.myriadclient.api.command.arguments.DurationArgumentType
- durationMs(DoubleSetting) - Method in class dev.myriadclient.api.ui.ThemeSettings
-
Animation duration in ms for a Hyprland-style speed (tenths of a second), or 0 if animations are off.
- dynamic(Supplier) - Static method in interface dev.myriadclient.api.build.Blueprint
-
Positions worked out again every tick, for shapes that follow you or react to the world (surround, scaffold).
E
- ease(double) - Method in enum class dev.myriadclient.api.ui.draw.Easing
-
Eased progress for linear progress
t. - EASE_IN_OUT_CUBIC - Enum constant in enum class dev.myriadclient.api.ui.ThemeSettings.Curve
-
Bezier.EASE_IN_OUT_CUBIC: slow at both ends. - EASE_IN_OUT_CUBIC - Static variable in record class dev.myriadclient.api.ui.draw.Bezier
-
Slow at both ends.
- EASE_OUT_EXPO - Enum constant in enum class dev.myriadclient.api.ui.ThemeSettings.Curve
-
Bezier.EASE_OUT_EXPO: faster start, sharper stop. - EASE_OUT_EXPO - Static variable in record class dev.myriadclient.api.ui.draw.Bezier
-
Faster start, sharper stop.
- EASE_OUT_QUINT - Enum constant in enum class dev.myriadclient.api.ui.ThemeSettings.Curve
-
Bezier.EASE_OUT_QUINT: fast start, long gentle stop. - EASE_OUT_QUINT - Static variable in record class dev.myriadclient.api.ui.draw.Bezier
-
Fast start, long gentle stop: the UI's default.
- Easing - Enum Class in dev.myriadclient.api.ui.draw
-
Easing curves for module animations (0..1 in, 0..1 out), as closed formulas: cheaper than a
Bezier, for modules that ease many values each frame. - edit(T) - Method in class dev.myriadclient.api.setting.Setting
-
An edit from the UI: to the override in effect if it takes edits (a control panel saving what you tune while it's on), otherwise to the player's value.
- editsTakeEffect() - Method in class dev.myriadclient.api.setting.Setting
-
Whether
Setting.edit(T)would change the value in effect: no override lies on it, or the one in effect takes edits. - efficiency(ItemStack) - Static method in class dev.myriadclient.api.player.Mining
-
The Efficiency level on
stack, 0 without it. - elapsedMs() - Method in class dev.myriadclient.api.util.Timer
-
Milliseconds since the last
Timer.reset()(on a monotonic clock); huge before the first reset. - ellipsize(FontFamily, float, String, float) - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
textas is if it fits inmaxWidthUI units, or cut short with an ellipsis so it does (just the ellipsis if nothing else fits). - elytra() - Static method in class dev.myriadclient.api.Myriad
-
Elytra flight shared by every flight module: No Durability, chest swaps, the glide hold, and pilots that fly the local player by their own rotation.
- elytra() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.elytra(). - Elytra - Interface in dev.myriadclient.api.elytra
-
Elytra flight the way strict servers check it, shared by every flight module so that two of them never fight over the glide (each would otherwise hold back the same pings and swap the same chest slot):
NoDurability: gliding without wearing the elytra, and catching a glide dropped in mid-air;ChestSwap: swapping the worn elytra with a chestplate in mid-air;GlideHold: riding out a moment the server stops the glide, unseen by Grim;Elytra.Pilot: a flight module flying the local player by its own rotation, and holding the glide open;Flight: a flight that flies itself along a heading (Elytra.altitude(NoDurability.Owner),Elytra.control(NoDurability.Owner)). To change the glide's movement itself (fly it at a set speed, boost it), listen toGlideEvent. - Elytra.Pilot - Interface in dev.myriadclient.api.elytra
-
A flight module flying the local player.
- elytraWorn() - Method in interface dev.myriadclient.api.elytra.ChestSwap
-
Whether an elytra is worn.
- emitLine(boolean, float, float, float, float, float, float, int, int, float) - Method in class dev.myriadclient.api.render.MeshBuilder
- emitLine(boolean, float, float, float, float, float, float, int, int, float) - Method in class dev.myriadclient.api.render.ShapeBuilder
-
A line with ends relative to the origin.
- emitQuad(boolean, float, float, float, float, float, float, float, float, float, float, float, float, int) - Method in class dev.myriadclient.api.render.MeshBuilder
- emitQuad(boolean, float, float, float, float, float, float, float, float, float, float, float, float, int) - Method in class dev.myriadclient.api.render.ShapeBuilder
-
A face with corners relative to the origin, seen only from the side its corners run anticlockwise around: a box's faces point out, so a see-through box shows its front faces and not its back ones through them.
- emptySlot() - Method in interface dev.myriadclient.api.service.Containers.View
-
First empty container slot, or -1 if it's full.
- EmptyState - Class in dev.myriadclient.api.ui.widget
-
Stands in for a list with nothing in it yet: an icon, what's missing, and how it gets filled, centred and wrapped.
- EmptyState(String, String, String) - Constructor for class dev.myriadclient.api.ui.widget.EmptyState
- enable() - Method in interface dev.myriadclient.api.elytra.NoDurability
-
Starts watching the glide; listens for input, item use and setbacks on its own from now.
- enable() - Method in class dev.myriadclient.api.module.Module
-
Shortcut for
setEnabled(true). - enabled() - Method in record class dev.myriadclient.api.event.events.ModuleToggleEvent
-
Returns the value of the
enabledrecord component. - enabled() - Method in interface dev.myriadclient.api.hook.Contribution
-
Whether the player left it on (saved).
- enabled() - Method in interface dev.myriadclient.api.module.ModuleRegistry
-
The modules that are on, in registration order; a copy.
- enchantmentLevel(ItemStack, ResourceKey) - Static method in class dev.myriadclient.api.item.ItemInfo
-
The level of
enchantment(e.g. - encode(T) - Method in class dev.myriadclient.api.setting.Setting
-
vas JSON, the waySetting.toJson()writes it. - end() - Method in record class dev.myriadclient.api.combat.Trajectory.Path
-
Where it ends: the hit, or the last point simulated.
- ENDER_CHEST - Enum constant in enum class dev.myriadclient.api.service.Containers.NoWayBack
-
From an ender chest: one from your inventory is put down to put it back through, and picked up again (a Silk Touch pickaxe needed); without one it isn't taken out.
- enemies() - Static method in class dev.myriadclient.api.Myriad
-
The players marked as enemies, for modules that pick them out.
- enemies() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.enemies(). - Enemies - Interface in dev.myriadclient.api.service
-
The players you've marked as enemies (
.enemy add <name>), fromMyriad.enemies(): kept asFriendsare, inmyriad/enemies.json, for modules that pick them out (a colour of their own in the player list, targets first). - ensureInHotbar(Predicate, int) - Static method in class dev.myriadclient.api.job.Steps
-
Brings an item matching
whatinto the hotbar (there already, or moved from the inventory when a click is safe) and produces its slot. - ensureInHotbar(Predicate, int) - Method in interface dev.myriadclient.api.service.Inventory
-
The hotbar slot holding a matching item, moving one in from the main inventory if needed: into
preferredSlot, or the first empty hotbar slot when that's -1 (falling back to the selected slot). - ensureInHotbar(Predicate, int) - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- ensurePair(boolean) - Method in interface dev.myriadclient.api.elytra.ChestSwap
-
Makes sure the counterpart of what's worn is at hand, bringing it into the hotbar from the inventory if it isn't (at most one click every half second, never while a swap is on its way).
- ensureVisible(float, float) - Method in class dev.myriadclient.api.ui.widget.ScrollView
-
Scrolls (smoothly) so the span [top, bottom] (panel coordinates) is inside the viewport, with a small margin.
- Entities - Class in dev.myriadclient.api.world
-
Entity helpers for combat and render features: classifying entities the same way everywhere (so "hostiles" means the same thing in every addon), friend checks, and render-time interpolation.
- Entities.Kind - Enum Class in dev.myriadclient.api.world
-
The broad classes
Entities.kind(Entity)sorts entities into. - entity() - Method in class dev.myriadclient.api.event.events.EntityEvent
- entity() - Method in class dev.myriadclient.api.event.events.EntityRenderEvent.Nametag
-
The entity whose name tag it is.
- entity() - Method in class dev.myriadclient.api.event.events.EntityRenderEvent.Visible
-
The entity about to be drawn.
- entity() - Method in record class dev.myriadclient.api.event.events.HighlightEvent.EntityHighlight
-
Returns the value of the
entityrecord component. - entity() - Method in class dev.myriadclient.api.event.events.InteractEvent.EntityTarget
-
The entity clicked.
- entity() - Method in class dev.myriadclient.api.event.events.PreviewEvent
-
The entity shown (a mob, or a player looking as you do), or null.
- entity(EntityRenderState) - Method in interface dev.myriadclient.api.render.Rendering
-
Core's: what
RenderStates.entity(EntityRenderState)reads. - entity(EntityRenderState) - Static method in class dev.myriadclient.api.render.RenderStates
-
The entity
statewas last built from, or null for states not made by an entity renderer. - entity(Entity, RenderLook, int) - Method in class dev.myriadclient.api.event.events.RenderEvent
-
Shows
entity: its exact shape (armour, held items, capes) as a shader highlight, its hitbox as a box. - entity(Entity, RenderLook, int) - Method in interface dev.myriadclient.api.event.events.RenderEvent.Sink
-
Core's: an
RenderEvent.entity(Entity, RenderLook, int)request. - entity(EntityType) - Static method in class dev.myriadclient.api.ui.widget.Preview
-
An entity of
type(a zombie, an end crystal). - ENTITY_HIGHLIGHT - Static variable in class dev.myriadclient.api.event.events.HighlightEvent
-
How each entity shown through
RenderEvent.entity(Entity, RenderLook, int)ends up, in either render mode, after the modules had their say (the input): change the style or colour, or return a null style to not show it. - ENTITY_IN_WAY - Enum constant in enum class dev.myriadclient.api.build.Build.Status
-
An entity (or you) stands in the way.
- ENTITY_IN_WAY - Enum constant in enum class dev.myriadclient.api.service.Placement.Check
-
An entity (or you) stands in the way.
- ENTITY_IN_WAY - Static variable in class dev.myriadclient.api.job.Why
-
An entity, or you, stands in the way.
- EntityEvent - Class in dev.myriadclient.api.event.events
-
Entities entering and leaving the client world, popping totems and dying.
- EntityEvent(Entity) - Constructor for class dev.myriadclient.api.event.events.EntityEvent
-
Core's; addons don't make these.
- EntityEvent.Added - Class in dev.myriadclient.api.event.events
-
An entity was added to the world (spawned, or came into view).
- EntityEvent.Died - Class in dev.myriadclient.api.event.events
-
A living entity died (the server shows the death to everyone near), with the totems it had used before.
- EntityEvent.Removed - Class in dev.myriadclient.api.event.events
-
An entity is about to be removed; it's still in the world while handlers run.
- EntityEvent.TotemPopped - Class in dev.myriadclient.api.event.events
-
A living entity used a totem of undying (the server shows the pop to everyone near).
- EntityGroups - Class in dev.myriadclient.api.render
-
The standard way to pick entities to show (players, friends, monsters, crystals, pearls, …), each group with an on/off setting and a colour from the theme, plus a list of extra entity types for anything the groups don't cover.
- EntityGroups(Settings, Set) - Constructor for class dev.myriadclient.api.render.EntityGroups
-
Adds an "Entities" group of toggles (one per
EntityGroups.Group, then Invisibles and an Others list) and a "Colors" group tosettings, with the groups inonByDefaultswitched on. - EntityGroups.Group - Enum Class in dev.myriadclient.api.render
-
The groups, each with its setting name and default theme colour.
- EntityHighlight(Entity, HighlightStyle, int) - Constructor for record class dev.myriadclient.api.event.events.HighlightEvent.EntityHighlight
-
Creates an instance of a
EntityHighlightrecord class. - entityRange() - Static method in class dev.myriadclient.api.player.Reach
-
How far entities can be hit from the eyes, in blocks (3 in survival, 5 in creative); 0 outside a world.
- EntityRenderEvent - Class in dev.myriadclient.api.event.events
-
Entities being drawn, once per entity per frame.
- EntityRenderEvent() - Constructor for class dev.myriadclient.api.event.events.EntityRenderEvent
- EntityRenderEvent.Model - Class in dev.myriadclient.api.event.events
-
A living entity's model has just been submitted, with everything needed to submit it again another way: chams, wireframes, glows.
- EntityRenderEvent.Nametag - Class in dev.myriadclient.api.event.events
-
entity's vanilla name tag is about to be drawn: cancel to draw your own instead (hides the score line under it too). - EntityRenderEvent.Visible - Class in dev.myriadclient.api.event.events
-
entityis about to be drawn: cancel to hide it (and its name, shadow and fire). - EntitySubject(EntityType) - Constructor for record class dev.myriadclient.api.ui.widget.Preview.EntitySubject
-
Throws
NullPointerExceptionfor a null type. - EntityTarget(InteractionHand, Entity) - Constructor for class dev.myriadclient.api.event.events.InteractEvent.EntityTarget
-
Core's; only Myriad makes these.
- entityType() - Static method in class dev.myriadclient.api.command.arguments.Arguments
-
An entity type by id (
creeper); read it withRegistryArgumentType.getEntityType(CommandContext, String). - entityType() - Static method in class dev.myriadclient.api.command.arguments.RegistryArgumentType
-
An entity type argument.
- entityTypes(String) - Static method in class dev.myriadclient.api.setting.RegistryListSetting
-
A builder for a set of entity types, not added to any group; prefer
SettingGroup.entityTypes(String). - entityTypes(String) - Method in class dev.myriadclient.api.setting.SettingGroup
-
A set of entity types (what to target, what to draw).
- entrypoint() - Method in class dev.myriadclient.api.addon.Addon
-
The instance of the addon's
MyriadAddonentrypoint class that Myriad created and runs. - EnumArgumentType<E> - Class in dev.myriadclient.api.command.arguments
-
One of an enum's constants, typed in any case and with or without underscores (
fast_place,FastPlace,fast-place); suggests them in lower case. - enumSet(String, Class) - Method in class dev.myriadclient.api.setting.SettingGroup
-
Any number of an enum's constants ("which of these").
- EnumSetSetting<E> - Class in dev.myriadclient.api.setting
-
Any number of an enum's constants ("which of these"): sound kinds to block, what to notify about, which parts to draw.
- EnumSetSetting(String, String, Class, Set, Supplier) - Constructor for class dev.myriadclient.api.setting.EnumSetSetting
-
A setting as its
EnumSetSetting.Buildermakes it; get one fromSettingGroup.enumSet(String, Class), or call this from a subclass. - EnumSetSetting.Builder<E> - Class in dev.myriadclient.api.setting
-
Builds an
EnumSetSetting; empty by default. - EnumSetting<E> - Class in dev.myriadclient.api.setting
-
One of an enum's constants.
- EnumSetting(String, String, E, Supplier) - Constructor for class dev.myriadclient.api.setting.EnumSetting
-
A setting as its
EnumSetting.Buildermakes it; get one fromSettingGroup.oneOf(String, Enum), or call this from a subclass. - EnumSetting.Builder<E> - Class in dev.myriadclient.api.setting
-
Builds an
EnumSetting, starting at the default given to the constructor. - enumValue(Class) - Static method in class dev.myriadclient.api.command.arguments.Arguments
-
One of
type's constants, in any case; read it withEnumArgumentType.get(CommandContext, String, Class). - ENVELOPE - Static variable in class dev.myriadclient.api.ui.Icons
- equals(Object) - Method in class dev.myriadclient.api.hook.Match
- equals(Object) - Method in class dev.myriadclient.api.job.Why
- equals(Object) - Method in class dev.myriadclient.api.render.HighlightStyle
-
Equal when every property is (the gradient colour only counts when there is a gradient).
- equals(Object) - Method in class dev.myriadclient.api.service.AntiCheat.Profile
- equals(Object) - Method in class dev.myriadclient.api.service.Breaking.Options
- equals(Object) - Method in class dev.myriadclient.api.service.Building.Options
- equals(Object) - Method in class dev.myriadclient.api.service.Placement.Options
- equals(Object) - Method in class dev.myriadclient.api.service.Rotations.Options
- equals(Object) - Method in record class dev.myriadclient.api.build.Build.Step
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.combat.Trajectory.Ballistics
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.combat.Trajectory.Launch
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.combat.Trajectory.Path
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.event.events.HighlightEvent.EntityHighlight
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.event.events.ModuleToggleEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.event.events.NotificationEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.event.events.WindowResizeEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.input.Keybind
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.integration.Baritone.GoalSpot
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.integration.Baritone.SettingInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.job.Why.Code
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.map.Waypoint
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.module.ModuleGroup
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.module.Tag
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.registry.MyriadId
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.render.WorldLabel.Placed
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.render.WorldLabel.Segment
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.service.AntiCheat.ServerSeen
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.service.Breaking.Attempt
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.service.Containers.Click
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.service.Inventory.ClickMoment
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.service.Placement.Attempt
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.service.Placement.Target
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.service.Rotations.Turn
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.setting.SettingColor
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.share.ConfigShares.Applied
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.share.ConfigShares.Published
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.ui.draw.Bezier
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.ui.draw.FontFamily
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.ui.Icons.Icon
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.ui.PanelType.HudPlacement
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.ui.Rect
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.ui.ThemePalette
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.ui.widget.Preview.EntitySubject
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.ui.widget.Preview.ItemSubject
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.ui.widget.Preview.PlayerSubject
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.ui.widget.Preview.ViewModelSubject
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.util.ChatMessages.Parsed
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.myriadclient.api.world.Holes.Hole
-
Indicates whether some other object is "equal to" this one.
- equipBeforeStart() - Method in interface dev.myriadclient.api.elytra.NoDurability.Owner
-
For long fast glides (an Altitude-style cycle): each start of the glide waits for the server to have the elytra back on.
- ERASER - Static variable in class dev.myriadclient.api.ui.Icons
- error() - Method in class dev.myriadclient.api.ui.widget.Note
-
A failure: tinted with the theme's red.
- error(String) - Method in class dev.myriadclient.api.command.Command
-
Prints
messagein red in chat with the Myriad prefix. - error(String) - Method in class dev.myriadclient.api.module.Module
-
Shows an error notification titled with the module's name.
- error(String, String) - Method in interface dev.myriadclient.api.service.Notifications
-
Shows an error for 5 seconds.
- error(Throwable) - Static method in class dev.myriadclient.api.job.Why
-
A step threw:
Why.ERRORwith the throwable as the cause and its message as the detail. - ERROR - Enum constant in enum class dev.myriadclient.api.service.Notifications.Level
-
Something failed; red.
- ERROR - Static variable in class dev.myriadclient.api.job.Why
-
A step threw; see
Why.cause(). - EventBus - Interface in dev.myriadclient.api.event
-
Myriad's event bus (
Myriad.events()): delivers each posted event to every handler of its class or a supertype, highestPriorityfirst and, among equals, in the order they subscribed. - events() - Method in interface dev.myriadclient.api.addon.AddonContext
-
The event bus, the same one as
Myriad.events(). - events() - Static method in class dev.myriadclient.api.Myriad
-
The event bus: post events, and subscribe handlers that aren't on a module.
- events() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.events(). - every(Object, int, Runnable) - Method in class dev.myriadclient.api.job.JobEngine
- every(Object, int, Runnable) - Method in interface dev.myriadclient.api.job.Jobs
-
Runs
actionat the coming job tick and then everyintervalTicksticks (at least 1), as a job ofowner's that never ends on its own: cancel it (or turn the owning module off) to stop it. - exact(BlockState) - Static method in interface dev.myriadclient.api.build.Target
-
stateas near exactly as a build can make it: its block, placed the way it faces (facing, half, axis, hinge, attachment, rotation), as many of it (candles, sea pickles, layers, a double slab), and clicked into its setting by hand (a repeater's delay, a comparator's mode, a note, open or closed, a lever) unless the build's options leave settings be (Building.Options.withClickSettings). - EXACT - Enum constant in enum class dev.myriadclient.api.item.ItemMatch
-
Same item and components: what stacks together.
- EXCHANGE - Static variable in class dev.myriadclient.api.ui.Icons
- EXCLAMATION - Static variable in class dev.myriadclient.api.ui.Icons
- executor() - Static method in class dev.myriadclient.api.util.Async
-
The shared pool itself (half the processors, between 2 and 6 daemon threads named "Myriad Worker n"), for APIs that take an
Executor. - exists() - Method in class dev.myriadclient.api.setting.FileSetting
-
Whether a file is chosen and exists.
- EXPERIENCE_BOTTLE - Static variable in record class dev.myriadclient.api.combat.Trajectory.Ballistics
-
Bottles o' enchanting.
- expire() - Method in class dev.myriadclient.api.util.Timer
-
Makes the next
Timer.passed(long)check succeed regardless of the delay. - explosion(LivingEntity, Vec3, float) - Static method in class dev.myriadclient.api.combat.Damage
-
Damage an explosion of
power(a crystal 6, a bed or anchor 5, a creeper 3) atcenterwould deal totargetafter armour and effects, scaled by difficulty for players; 0 beyond twice the power in blocks. - explosion(LivingEntity, Vec3, AABB, Vec3, float, Predicate) - Static method in class dev.myriadclient.api.combat.Damage
-
The full form: the target standing at
targetPoswith boxtargetBox(pass a predicted position fromEntities.predictto aim where a player is going), andasAirnaming blocks to treat as gone when working out how much of the blast reaches them ("what if I break this surround block first?"). - exposed(Object) - Method in interface dev.myriadclient.api.elytra.GlideHold
-
Whether a clear came in that Grim already knows about (its ping was answered before it could be held, or a teleport sent the answers): the glide has to be started again at once.
- extensions() - Method in class dev.myriadclient.api.setting.FileSetting
-
File extensions the picker offers, without dots (empty = any).
- extensions(String...) - Method in class dev.myriadclient.api.setting.FileSetting.Builder
-
e.g.
- EYE - Static variable in class dev.myriadclient.api.ui.Icons
- EYE_SLASH - Static variable in class dev.myriadclient.api.ui.Icons
- EYEDROPPER - Static variable in class dev.myriadclient.api.ui.Icons
- eyes() - Static method in class dev.myriadclient.api.player.Reach
-
The player's eye position this tick (not interpolated for the frame), where reach is measured from;
Vec3.ZEROoutside a world. - Eyes(Vec3, float) - Constructor for class dev.myriadclient.api.event.events.PlayerViewEvent.Eyes
-
Core's; only Myriad makes these.
F
- face(float, float, Rotations.Options) - Static method in class dev.myriadclient.api.job.Steps
- faceCenter(BlockPos, Direction) - Static method in class dev.myriadclient.api.world.Positions
-
The middle of one face of the block at
pos. - faceExposed(BlockPos, Direction) - Static method in class dev.myriadclient.api.player.Reach
-
Whether
faceof the block atpospoints towards the eyes (the eyes are past its plane). - factory(Function) - Method in class dev.myriadclient.api.ui.PanelType.Builder
-
Factory for parameterised panels; return null when args are invalid.
- factory(Supplier) - Method in class dev.myriadclient.api.ui.PanelType.Builder
-
Factory for panels that take no args: every window gets a new panel from it.
- fade(int, float) - Static method in class dev.myriadclient.api.util.ColorUtil
-
Multiplies the colour's alpha by
f(0..1). - FADE - Enum constant in enum class dev.myriadclient.api.ui.ThemeSettings.WorkspaceAnimation
-
The old workspace fades out as the new one fades in.
- FadeMap<K> - Class in dev.myriadclient.api.render
-
Highlights that fade in when they appear and fade out when they go, keyed by whatever you highlight (block positions, entity ids).
- FadeMap(long, long) - Constructor for class dev.myriadclient.api.render.FadeMap
-
A map whose keys take
fadeInMsto fade in andfadeOutMsto fade out (at least 1 ms each). - fail(Why) - Static method in class dev.myriadclient.api.job.Step
- failed() - Method in interface dev.myriadclient.api.hook.Contribution
-
Whether it threw and was turned off until the game restarts.
- failed(Job, Why) - Method in interface dev.myriadclient.api.job.JobEngine.Host
-
A root failed and nothing took the failure: tell the player.
- failed(Why) - Static method in class dev.myriadclient.api.job.Progress
-
Can't ever finish from here, for
why; it goes up until arecoverorretrytakes it. - FAILED - Enum constant in enum class dev.myriadclient.api.addon.AddonState
-
A phase threw: its registrations were removed and its later phases skipped, while the game and the other addons keep running.
- FAILED - Enum constant in enum class dev.myriadclient.api.job.Job.State
-
Couldn't finish;
Job.why()says why. - failure() - Method in class dev.myriadclient.api.addon.Addon
-
What the addon threw in the phase it failed in, or null unless its
Addon.state()isAddonState.FAILED. - FakePlayers - Class in dev.myriadclient.api.world
-
Client-side dummy players for testing combat and render features in singleplayer: they stand where you do, wear a copy of your gear, and count as players for targeting, damage maths and rendering.
- fall() - Static method in class dev.myriadclient.api.combat.Threats
-
Damage from the fall you're in if you landed now; 0 under 3 blocks fallen.
- fall(LivingEntity, float) - Static method in class dev.myriadclient.api.combat.Damage
-
Fall damage for falling
distanceblocks onto a normal block, after the safe fall distance (Jump Boost included), Feather Falling and Protection; 0 for a short fall. - fallback() - Method in class dev.myriadclient.api.setting.IconSetting
-
What the picker shows for "the default", if its owner said; empty otherwise.
- fallback(String) - Method in class dev.myriadclient.api.setting.IconSetting.Builder
-
The glyph its owner shows without a choice, for the picker to show as "the default".
- fallback(Supplier) - Method in class dev.myriadclient.api.ui.widget.IconPicker
-
The icon shown for Default: what it's for has without a choice.
- falls(BlockGetter, BlockPos, BlockState) - Static method in class dev.myriadclient.api.build.BlockRules
-
Whether
stateneeds something solid under it to stay (sand, gravel, concrete powder, anvils) and has nothing. - FAST - Enum constant in enum class dev.myriadclient.api.service.Breaking.Mode
-
Finishes the moment the vanilla server would accept it (70% of the time), with no pause between blocks and optional
Breaking.Options.doubleBreak. - FAST - Enum constant in enum class dev.myriadclient.api.service.BreakingSettings.Mode
-
Every block at 70% of its time.
- FAST - Static variable in class dev.myriadclient.api.service.Breaking.Options
-
For servers that don't check break times:
Breaking.Mode.FASTwith double break. - FAST_GRIM - Enum constant in enum class dev.myriadclient.api.service.Breaking.Mode
-
Breaking.Mode.PACKETthat never waits for Grim: once its allowance runs out, a start for the same spot far above the world goes first (the server ignores it as out of reach, but Grim, on servers with ViaVersion such as 2b2t, then times air, which breaks at once), and the finish follows the next tick. - FAST_GRIM - Static variable in class dev.myriadclient.api.service.Breaking.Options
-
Fast mining past Grim on servers with ViaVersion (2b2t), with double break; experimental.
- fastestSlot(BlockState, int, int) - Static method in class dev.myriadclient.api.player.Mining
-
The inventory slot in [from, to) whose item mines
statefastest (by the item's speed and Efficiency, ties to the first), or -1 if the range is empty or every item in it is spared. - FEET - Static variable in class dev.myriadclient.api.item.Slots
-
The armour slots' inventory indexes, feet (36) to head (39).
- fetch(String) - Method in interface dev.myriadclient.api.share.ConfigShares
-
Downloads the share with this code (
myriad_JS3k4d, or text containing one such as its website link). - fetch(Predicate, int) - Method in interface dev.myriadclient.api.job.MaterialSource
-
A step that moves up to
countitems matchingwhatinto your inventory, producing how many it moved: 0 when this source has none. - FIGHTER_JET - Static variable in class dev.myriadclient.api.ui.Icons
- file(String) - Method in class dev.myriadclient.api.setting.SettingGroup
-
A file on disk, from the system's file picker.
- FileSetting - Class in dev.myriadclient.api.setting
-
A file on disk (a schematic, a song, a list to import), chosen with the system's file picker or typed in.
- FileSetting(String, String, String, Supplier, List, Supplier) - Constructor for class dev.myriadclient.api.setting.FileSetting
-
A setting as its
FileSetting.Buildermakes it; get one fromSettingGroup.file(String), or call this from a subclass. - FileSetting.Builder - Class in dev.myriadclient.api.setting
-
Builds a
FileSetting; no file by default. - fill - Variable in class dev.myriadclient.api.render.RenderSettings
-
The fill's name (
HighlightStyle.Fill.name()); read it as a fill withRenderSettings.fill(). - fill() - Method in class dev.myriadclient.api.render.HighlightStyle
-
What's drawn inside the silhouette.
- fill() - Method in class dev.myriadclient.api.render.RenderSettings
-
The fill chosen; none if it names one that's gone (an addon's, uninstalled).
- fill(SubmitNodeCollector, PoseStack, Model, S, int, boolean) - Static method in class dev.myriadclient.api.render.ModelShapes
-
The model drawn again in one translucent colour (ARGB).
- FILL - Enum constant in enum class dev.myriadclient.api.render.Renderer3D.ShapeMode
-
Only the translucent faces.
- fillOpacity - Variable in class dev.myriadclient.api.render.RenderSettings
-
How opaque the fill is, 0..1, times the colour's own alpha.
- fillOpacity() - Method in class dev.myriadclient.api.render.HighlightStyle
-
The fill's opacity (0..1), multiplied with the highlight colour's alpha.
- fillOptions - Variable in class dev.myriadclient.api.render.RenderSettings
-
Opens the Render window at the fill's own options, when the fill picked has any (
HighlightStyle.Fill.options). - FILM - Static variable in class dev.myriadclient.api.ui.Icons
- filter(Predicate) - Method in class dev.myriadclient.api.combat.Targets.Query
-
An extra condition of your own; several calls add up (all must pass).
- filter(Predicate) - Method in class dev.myriadclient.api.setting.RegistryListSetting.Builder
-
Only entries passing
filtercan be picked (e.g. - filter(Predicate) - Method in class dev.myriadclient.api.setting.RegistrySetting.Builder
-
Only entries passing
filtercan be picked. - FILTER - Static variable in class dev.myriadclient.api.ui.Icons
- finallyDo(Runnable) - Method in class dev.myriadclient.api.job.Step
-
Runs when this ends: done, failed or cancelled.
- find(MyriadId, JsonObject) - Method in interface dev.myriadclient.api.ui.Ui
-
The open window of this type with args equal to
args(null: none), on any workspace. - find(Predicate) - Method in interface dev.myriadclient.api.service.Containers.View
-
First container slot whose stack matches (empty slots are skipped), or -1.
- findInHotbar(Predicate) - Method in interface dev.myriadclient.api.service.Inventory
-
First hotbar slot matching, or -1.
- findInHotbar(Predicate) - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- findInInventory(Predicate) - Method in interface dev.myriadclient.api.service.Inventory
-
First main-inventory slot (9-35) matching, or -1.
- findInInventory(Predicate) - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- finish() - Method in interface dev.myriadclient.api.service.Containers.ItemSession
-
Closes it, breaks it (with the Silk Touch pickaxe for an ender chest), picks it up and puts it back where it came from: your inventory, wherever it lands, or the container it was opened from, opened again for it, into the first free slot there (your inventory if that's full); completes once it's back, or fails saying where it was left.
- finishAll(List) - Method in interface dev.myriadclient.api.service.Containers
-
Puts
boxesback together, as the swap bar does once you close a screen: broken one after another (the lowest first), picked up as they fall, then each container they came from opened once for all of its own. - finished() - Method in interface dev.myriadclient.api.build.Build
-
Completes with true when the build finishes (it isn't kept up, and everything is done) and false when it's stopped first.
- Finished(Job) - Constructor for class dev.myriadclient.api.job.JobEvent.Finished
-
Core's; only Myriad makes these.
- Finished(ItemStack) - Constructor for class dev.myriadclient.api.event.events.ItemUseEvent.Finished
-
Core's; only Myriad makes these.
- finishWhenClosed() - Method in interface dev.myriadclient.api.service.Containers.ItemSession
-
Leaves it standing until you close a screen yourself, then
Containers.ItemSession.finish()es it: switching to another container meanwhile (the swap bar over themed screens, where it has a tab, or opening one by hand) keeps it there to open again. - FIRE - Static variable in class dev.myriadclient.api.ui.Icons
- FIREWORK - Static variable in record class dev.myriadclient.api.combat.Trajectory.Ballistics
-
A firework from a crossbow: straight ahead, no gravity.
- flag(Class) - Method in interface dev.myriadclient.api.event.EventBus
-
A flag that stays equal to
EventBus.hasListeners(Class)forevent, kept current as listeners come and go: one volatile read for hooks that run thousands of times a tick (collision shapes, block render shapes), where even a map lookup is too much. - FLAG - Static variable in class dev.myriadclient.api.ui.Icons
- FLAG_CHECKERED - Static variable in class dev.myriadclient.api.ui.Icons
- FLASK - Static variable in class dev.myriadclient.api.ui.Icons
- flatModel(boolean) - Static method in class dev.myriadclient.api.render.RenderLayers
-
Entity models in a flat colour: pass to
submitModelwith the colour as the tint. - Flight - Interface in dev.myriadclient.api.elytra
-
An elytra flight that flies itself along a heading:
Elytra.altitude(NoDurability.Owner)crosses open country holding its height without fireworks,Elytra.control(NoDurability.Owner)flies straight at a set speed where the server doesn't simulate the glide. - Flight.State - Enum Class in dev.myriadclient.api.elytra
-
What the flight is doing, from
Flight.state(). - FLUID - Enum constant in enum class dev.myriadclient.api.build.Build.Status
-
Breaking it would let a fluid flow in, and the build avoids that.
- FLUID - Static variable in class dev.myriadclient.api.job.Why
-
Breaking it would let a fluid in.
- flush() - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
Submits batched geometry now, so what's drawn after (by vanilla, say) lands above it.
- fly(Flight, Predicate) - Static method in class dev.myriadclient.api.job.Steps
-
Flies
flight: starts it, then once a tick askskeepFlying, which may steer it (heading,speed,height) and says whether to go on. - focus() - Method in class dev.myriadclient.api.ui.widget.Widget
-
Takes keyboard focus: keys and typed characters now come here, and the panel captures the keyboard.
- focus() - Method in interface dev.myriadclient.api.ui.Window
-
Makes it its workspace's focused window: a floating window comes to the front, a tiled one is scrolled into view (in layouts that scroll).
- focused() - Method in interface dev.myriadclient.api.ui.Ui
-
The active workspace's focused window, if it has one.
- focused() - Method in class dev.myriadclient.api.ui.widget.WidgetRoot
-
The widget with keyboard focus (a text field being typed in, a key bind listening), or null.
- FOLDER - Static variable in class dev.myriadclient.api.ui.Icons
- font - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
The UI's text font; see
ThemeSettings.fontFamily(). - font(FontFamily, float) - Method in class dev.myriadclient.api.ui.widget.Label
-
In
fontatsizeUI units (0 or less: the theme's size). - FONT - Static variable in class dev.myriadclient.api.ui.draw.ThemeFont
-
The font description to put in a
Style(style.withFont(ThemeFont.FONT)):myriad:ui. - fontFamily() - Method in class dev.myriadclient.api.ui.ThemeSettings
-
The font family for
ThemeSettings.font: what the canvas draws text in by default. - FontFamily - Record Class in dev.myriadclient.api.ui.draw
-
A font family known to the UI renderer.
- FontFamily(String) - Constructor for record class dev.myriadclient.api.ui.draw.FontFamily
-
Creates an instance of a
FontFamilyrecord class. - fontSize - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Size of the UI's text, in UI units:
Canvas.defaultFontSize(). - fontSize(Canvas) - Method in class dev.myriadclient.api.ui.hud.HudPanel
-
The theme font size times
HudPanel.scale, in UI units. - food(ItemStack) - Static method in class dev.myriadclient.api.item.ItemInfo
-
Hunger and saturation, or null if it isn't food.
- footprint(Entity) - Static method in class dev.myriadclient.api.world.Holes
-
The blocks at foot level that
entity's bounding box overlaps (one to four for a player). - forEach(String, Supplier, Function) - Static method in class dev.myriadclient.api.job.Step
-
bodyfor each item, in order (itemsis read when the step starts). - forEach(BiConsumer) - Method in class dev.myriadclient.api.render.FadeMap
-
Calls
drawwith each key and its opacity (0..1), advancing the fades by the time since the last call and dropping keys that have faded out. - forEach(BiConsumer) - Method in interface dev.myriadclient.api.build.Blueprint
-
Calls
actionfor every position. - forEach(Consumer) - Method in class dev.myriadclient.api.world.ChunkCache
-
Runs
actionon every chunk's value (chunks without one are skipped). - forEach(LevelChunk, Predicate, BlockScan.Visitor) - Static method in class dev.myriadclient.api.world.BlockScan
-
Visits every block in
chunkwhose state matchesfilter, bottom to top. - forEachMesh(Consumer) - Method in class dev.myriadclient.api.world.ChunkCache
-
Each chunk's mesh that has something in it.
- foreground() - Method in record class dev.myriadclient.api.ui.ThemePalette
-
Returns the value of the
foregroundrecord component. - Format - Class in dev.myriadclient.api.util
-
Text for numbers people read, so every addon writes distances, times and amounts the same way.
- FORMAT - Static variable in class dev.myriadclient.api.share.ConfigShare
-
The document format this core writes and reads.
- formerIds() - Method in class dev.myriadclient.api.module.Module
-
The ids this module was saved under before, from
Module.formerNames; only once it's registered. - formerNames(String...) - Method in class dev.myriadclient.api.module.Module
-
Names (or full ids,
"other-addon:old_name") this module was saved under before, so a renamed or moved module keeps its settings, keybind and on/off state. - forServer() - Static method in class dev.myriadclient.api.service.Breaking.Options
-
Packet mining with your hand free, as fast as the server allows:
Breaking.Options.PACKETwhere an anti-cheat times breaks (AntiCheat.BreakTiming.CHECKED),Breaking.Options.FAST_GRIMwith double break where a decoy start fools its timing (AntiCheat.BreakTiming.DECOYABLE, 2b2t), otherwiseBreaking.Options.FAST. - forServer() - Static method in class dev.myriadclient.api.service.Building.Options
-
What the server in effect takes (
AntiCheat.inEffect()): where it checks the look of each click, one placement a tick with a turn for each, and breaks turned too; placements asPlacement.Options.forServer(). - forServer() - Static method in class dev.myriadclient.api.service.Placement.Options
-
What the server in effect takes (
AntiCheat.inEffect()): turned first where it checks the look of each click, visible faces only where it requires them. - forServer() - Static method in class dev.myriadclient.api.service.Rotations.Options
-
Rotations.Options.MOVE_FIXwhere the server simulates movement against rotations (AntiCheat.Profile.simulatesMovement()), elseRotations.Options.INSTANT. - forward - Variable in class dev.myriadclient.api.event.events.InputEvent
-
Whether each movement key counts as held this tick: walk forward, back, strafe left, right, jump, sneak and sprint.
- FORWARD - Static variable in class dev.myriadclient.api.ui.Icons
- Forwarding(Breaking) - Constructor for class dev.myriadclient.api.service.Breaking.Forwarding
-
Wraps
core, the service handed to your replacement's factory. - Forwarding(Inventory) - Constructor for class dev.myriadclient.api.service.Inventory.Forwarding
-
Wraps
core, the service handed to your replacement's factory. - Forwarding(Placement) - Constructor for class dev.myriadclient.api.service.Placement.Forwarding
-
Wraps
core, the service handed to your replacement's factory. - Forwarding(Rotations) - Constructor for class dev.myriadclient.api.service.Rotations.Forwarding
-
Wraps
core, the service handed to your replacement's factory. - found() - Method in class dev.myriadclient.api.service.Placement.Solution
-
Whether there's a click (
Placement.Solution.click()isn't null). - frame() - Method in interface dev.myriadclient.api.render.Rendering
-
The frame count, for work done at most once a frame.
- framebufferHeight() - Method in record class dev.myriadclient.api.event.events.WindowResizeEvent
-
Returns the value of the
framebufferHeightrecord component. - framebufferWidth() - Method in record class dev.myriadclient.api.event.events.WindowResizeEvent
-
Returns the value of the
framebufferWidthrecord component. - frameDeltaMs() - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
Milliseconds since the previous frame, for animations (at most 100).
- freeLater(AutoCloseable) - Method in interface dev.myriadclient.api.render.Rendering
-
Frees a GPU buffer a few frames from now, once no frame in flight can still use it.
- friends - Variable in class dev.myriadclient.api.combat.TargetSettings
-
The query's options:
onlyAngry(on by default, shown while hostiles are on),ignoreInvisibles,ignoreNamed,ignoreCreative,friends(all off by default) andthroughWalls(on). - friends() - Static method in class dev.myriadclient.api.Myriad
-
The players marked as friends, whom combat modules leave alone.
- friends() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.friends(). - friends(boolean) - Method in class dev.myriadclient.api.combat.Targets.Query
-
Include friends (off by default).
- Friends - Interface in dev.myriadclient.api.service
-
The players you've marked as friends (
.friend add <name>, or the Friends window), fromMyriad.friends(). - FRIENDS - Enum constant in enum class dev.myriadclient.api.render.EntityGroups.Group
-
Players on your friends list.
- from() - Method in class dev.myriadclient.api.event.events.TeleportEvent
-
Where you were.
- from() - Method in record class dev.myriadclient.api.service.Rotations.Turn
-
Returns the value of the
fromrecord component. - from(int...) - Method in class dev.myriadclient.api.service.Containers.Arrangement
-
Where the items come from (any of them may be in the layout's slots too: only what doesn't belong is taken).
- fromJson(JsonElement) - Method in class dev.myriadclient.api.setting.ActionSetting
- fromJson(JsonElement) - Method in class dev.myriadclient.api.setting.BlockPosSetting
- fromJson(JsonElement) - Method in class dev.myriadclient.api.setting.BoolSetting
- fromJson(JsonElement) - Method in class dev.myriadclient.api.setting.ChoiceSetting
- fromJson(JsonElement) - Method in class dev.myriadclient.api.setting.ColorSetting
- fromJson(JsonElement) - Method in class dev.myriadclient.api.setting.DoubleSetting
- fromJson(JsonElement) - Method in class dev.myriadclient.api.setting.EnumSetSetting
- fromJson(JsonElement) - Method in class dev.myriadclient.api.setting.EnumSetting
- fromJson(JsonElement) - Method in class dev.myriadclient.api.setting.FileSetting
- fromJson(JsonElement) - Method in class dev.myriadclient.api.setting.IntListSetting
- fromJson(JsonElement) - Method in class dev.myriadclient.api.setting.IntSetting
- fromJson(JsonElement) - Method in class dev.myriadclient.api.setting.KeybindSetting
- fromJson(JsonElement) - Method in class dev.myriadclient.api.setting.ModuleListSetting
- fromJson(JsonElement) - Method in class dev.myriadclient.api.setting.RegistryListSetting
- fromJson(JsonElement) - Method in class dev.myriadclient.api.setting.RegistrySetting
- fromJson(JsonElement) - Method in class dev.myriadclient.api.setting.Setting
-
Load from JSON; invalid input must leave the value unchanged rather than throw.
- fromJson(JsonElement) - Method in class dev.myriadclient.api.setting.StringListSetting
- fromJson(JsonElement) - Method in class dev.myriadclient.api.setting.StringSetting
- fromJson(JsonObject) - Method in class dev.myriadclient.api.setting.Settings
-
Loads known groups/ids.
- FULL_WIDTH_DISTANCE - Static variable in class dev.myriadclient.api.render.HighlightStyle
-
How far the highlight is drawn at full width, in blocks; see
HighlightStyle.distanceScaling(). - FuzzyMatch - Class in dev.myriadclient.api.util
-
Search scoring for short names (modules, panels, themes).
- fx() - Method in enum class dev.myriadclient.api.ui.PanelType.Anchor
-
0, 0.5 or 1 for the horizontal position: left, middle, right.
- fy() - Method in enum class dev.myriadclient.api.ui.PanelType.Anchor
-
0, 0.5 or 1 for the vertical position: top, middle, bottom.
G
- gameMode(Player) - Static method in class dev.myriadclient.api.world.Entities
-
player's game mode from the tab list, or null if unknown. - GAMEPAD - Static variable in class dev.myriadclient.api.ui.Icons
- GameReadyEvent - Class in dev.myriadclient.api.event.events
-
Posted once, on the render thread, when the game has finished starting: the window and render system are ready, so fonts, textures and shaders can be created.
- GameReadyEvent() - Constructor for class dev.myriadclient.api.event.events.GameReadyEvent
- gap(float) - Static method in class dev.myriadclient.api.ui.widget.Spacer
-
Empty space
sizeunits tall (or, in a row, a weighted spacer pushing its neighbours apart). - gapsIn - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Gap between tiled windows, in UI units.
- gapsOut - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Gap between the tiled windows and the screen edge (and the bar), in UI units.
- gather(int) - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- gather(int) - Method in interface dev.myriadclient.api.service.Inventory
-
Fills the stack at
inventoryIndex(hotbar or main inventory) from the main inventory's stacks of the same item with a double click: picked up, gathered, put back, three clicks for any number of stacks. - GAVEL - Static variable in class dev.myriadclient.api.ui.Icons
- genericType() - Method in record class dev.myriadclient.api.integration.Baritone.SettingInfo
-
Returns the value of the
genericTyperecord component. - get() - Method in class dev.myriadclient.api.setting.Setting
-
The value in effect: the topmost override's, or the player's.
- get() - Method in class dev.myriadclient.api.ui.draw.Animated
-
The value now: eased between where the animation started and its target, or the target once it's done.
- get() - Method in class dev.myriadclient.api.util.TickCached
-
The value for this tick, computed on the first read of the tick.
- get(int, int) - Method in class dev.myriadclient.api.world.ChunkCache
-
The value for a chunk (chunk coordinates: block x and z divided by 16), or null if it has none (yet).
- get(CommandContext, String) - Static method in class dev.myriadclient.api.command.arguments.BlockPosArgumentType
-
The position parsed for the argument
name. - get(CommandContext, String) - Static method in class dev.myriadclient.api.command.arguments.ChoiceArgumentType
-
The name parsed for the argument
name, without quotes. - get(CommandContext, String) - Static method in class dev.myriadclient.api.command.arguments.DurationArgumentType
-
The duration parsed for the argument
name, in milliseconds. - get(CommandContext, String) - Static method in class dev.myriadclient.api.command.arguments.ModuleArgumentType
-
The module parsed for the argument
name. - get(CommandContext, String, Class) - Static method in class dev.myriadclient.api.command.arguments.EnumArgumentType
-
The constant parsed for the argument
name. - get(CommandContext, String, Class) - Static method in class dev.myriadclient.api.command.arguments.RegistryArgumentType
-
The entry parsed for the argument
name, astype. - get(CommandContext, String, String) - Static method in class dev.myriadclient.api.command.arguments.SettingArgumentType
-
The setting named by the argument
name, of the module parsed for the argumentmoduleArg. - get(MyriadId) - Method in interface dev.myriadclient.api.control.Controls
-
The panel with
id; empty if there's none (or it was deleted). - get(MyriadId) - Method in interface dev.myriadclient.api.registry.Registry
-
The entry with
id; empty if there's none. - get(Class) - Method in interface dev.myriadclient.api.registry.Registry
-
The entry whose class is exactly
type(not a subclass); empty if there's none. - get(Class) - Static method in class dev.myriadclient.api.module.Modules
-
The registered instance of
type, or null if it isn't registered (yet). - get(String) - Static method in class dev.myriadclient.api.network.Http
-
GETs
urland returns the body as text. - get(String) - Method in class dev.myriadclient.api.setting.Settings
-
Looks up
group.setting, or a bare setting id (first match), by id and ignoring case; empty if none matches. - get(String, String) - Method in class dev.myriadclient.api.setting.SavedSettings
-
The saved value of
settingingroup; empty if it's at its default (not saved). - get(BlockPos) - Method in class dev.myriadclient.api.world.ChunkCache
-
The value for the chunk holding
pos, or null if it has none (yet). - getBlock(CommandContext, String) - Static method in class dev.myriadclient.api.command.arguments.RegistryArgumentType
-
The block parsed for the argument
name. - getBytes(String) - Static method in class dev.myriadclient.api.network.Http
-
GETs
urland returns the raw body, for images and other files. - getEntityType(CommandContext, String) - Static method in class dev.myriadclient.api.command.arguments.RegistryArgumentType
-
The entity type parsed for the argument
name. - getExamples() - Method in class dev.myriadclient.api.command.arguments.BlockPosArgumentType
- getFloat() - Method in class dev.myriadclient.api.setting.DoubleSetting
-
Setting.get()as a float. - getItem(CommandContext, String) - Static method in class dev.myriadclient.api.command.arguments.RegistryArgumentType
-
The item parsed for the argument
name. - getJson(String) - Static method in class dev.myriadclient.api.network.Http
-
GETs
urland parses the body as JSON; the future fails if it isn't JSON. - getMixins() - Method in class dev.myriadclient.api.mixin.CompatMixinPlugin
- getOr(String) - Method in class dev.myriadclient.api.setting.IconSetting
-
The picked icon, or
fallbackwhen none is. - getOrNull(Class) - Method in interface dev.myriadclient.api.module.ModuleRegistry
-
Registry.get(Class)without the Optional: the module of exactly that class, or null when it isn't registered. - getRefMapperConfig() - Method in class dev.myriadclient.api.mixin.CompatMixinPlugin
- getSetting(String) - Static method in class dev.myriadclient.api.integration.Baritone
-
The current value of one of Baritone's settings by its name (
"allowPlace","acceptableThrowawayItems", ...); null if Baritone isn't installed or has no such setting. - ghost(Render3DEvent, LivingEntityRenderState, Vec3, float, HighlightStyle, int) - Method in interface dev.myriadclient.api.render.Rendering
-
Core's: what
Ghosts.submit(Render3DEvent, LivingEntityRenderState, Vec3, float)draws through;stylenull for no highlight. - Ghosts - Class in dev.myriadclient.api.render
-
A living entity drawn again as a see-through copy of itself, wherever you like: its skin, armour, cape and elytra faded to
alpha(held items stay solid), posed as its render state says. - GIFT - Static variable in class dev.myriadclient.api.ui.Icons
- giveBack(Object) - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- giveBack(Object) - Method in interface dev.myriadclient.api.service.Inventory
-
Puts back what
ownerborrowed as soon as a click can go, instead of waiting; with a container you opened yourself, through its menu (which shows your inventory too), so it needn't close first. - GlideEvent - Class in dev.myriadclient.api.event.events
-
The local player's glide is about to move it this tick, by vanilla's elytra physics (
GlideEvent.movement()). - GlideEvent(Vec3) - Constructor for class dev.myriadclient.api.event.events.GlideEvent
-
Core's; only Myriad makes these.
- glideHold() - Method in interface dev.myriadclient.api.elytra.Elytra
-
The glide hold, shared by every flight; one owner arms it at a time.
- GlideHold - Interface in dev.myriadclient.api.elytra
-
Keeps the local player gliding through a moment the server stops the glide, without Grim noticing: the trick behind
NoDurabilityand a bounce. - glidingSince(long) - Method in interface dev.myriadclient.api.elytra.GlideHold
-
Whether the server has said it glides you since
ms(System.currentTimeMillis()). - GLOBE - Static variable in class dev.myriadclient.api.ui.Icons
- glow - Variable in class dev.myriadclient.api.render.RenderSettings
-
Shader mode: how far a soft glow reaches beyond the outline, in pixels; 0 for none.
- glow() - Method in class dev.myriadclient.api.render.HighlightStyle
-
How far the glow reaches beyond the outline, in scaled pixels; 0 draws no glow.
- GLOW - Static variable in class dev.myriadclient.api.render.HighlightStyle
-
A thin outline with a soft 8 px glow, through walls.
- glowStrength() - Method in class dev.myriadclient.api.render.HighlightStyle
-
How opaque the glow is where it starts (0..1); it fades out towards
HighlightStyle.glow(). - glyph() - Method in record class dev.myriadclient.api.ui.Icons.Icon
-
Returns the value of the
glyphrecord component. - GoalSpot(int, int, int, boolean) - Constructor for record class dev.myriadclient.api.integration.Baritone.GoalSpot
-
Creates an instance of a
GoalSpotrecord class. - goalSpots() - Static method in class dev.myriadclient.api.integration.Baritone
-
Where Baritone's goal is: one spot for a goal at a block or a column, several for a goal of several, none for goals with no place (a height to reach, running away) or when it has no goal.
- gradient - Variable in class dev.myriadclient.api.render.RenderSettings
-
Shader mode: whether the colour fades to
RenderSettings.gradientColortowards the bottom. - gradient() - Method in class dev.myriadclient.api.render.HighlightStyle
-
The gradient's bottom colour (ARGB); its alpha is multiplied with the highlight colour's.
- GRADIENT - Enum constant in enum class dev.myriadclient.api.ui.hud.HudStyle.Mode
-
From the active border's first stop on the first line to its second on the last.
- gradientColor - Variable in class dev.myriadclient.api.render.RenderSettings
-
Shader mode: the colour a gradient fades to.
- gradientOutline(float, float, float, float, float, float, int, int, float) - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
A border whose colour runs from
fromtotoalongangle(Hyprland's border gradient). - gradientRect(float, float, float, float, float, int, int, float) - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
Fills a rounded box with a linear gradient from
fromtoto, running alongangle. - GRADUATION_CAP - Static variable in class dev.myriadclient.api.ui.Icons
- graphics() - Method in class dev.myriadclient.api.event.events.ContainerScreenEvent.SlotDrawn
-
Vanilla's drawing context, translated to the container area.
- graphics() - Method in class dev.myriadclient.api.event.events.ContainerScreenEvent.Tooltip
-
Vanilla's drawing context, in screen coordinates.
- gravity() - Method in record class dev.myriadclient.api.combat.Trajectory.Ballistics
-
Returns the value of the
gravityrecord component. - green - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Success, passive mobs, the Player category; also a
SettingColorrole. - green(int) - Static method in class dev.myriadclient.api.util.ColorUtil
-
The green channel, 0..255.
- GREEN - Enum constant in enum class dev.myriadclient.api.setting.SettingColor.Mode
-
The theme's green.
- GRIM - Static variable in class dev.myriadclient.api.service.AntiCheat.Profile
-
Grim, or another anti-cheat that simulates movement and checks every action against the rotation the server last saw (they work alike): rotate before acting, click visible faces, move along the sent rotation, break at the times it allows, click in the inventory only while standing still, and glide as vanilla does.
- GRIM_2B2T - Static variable in class dev.myriadclient.api.service.AntiCheat.Profile
-
2b2t's Grim: Grim's answers, but it lets placements and item uses go without a swing, and a slot swapped in for one go back in the same tick, so your hand never shows the item (checked against live captures: no setback, nothing refused); and its break timing is fooled by a decoy start (
AntiCheat.BreakTiming.DECOYABLE). - group() - Method in class dev.myriadclient.api.module.Module
-
The group the module shows in, in the menu: the one its addon registered it into, or the addon's own window (
ModuleGroup.isAddonWindow()). - group() - Method in class dev.myriadclient.api.setting.Setting
-
The group it was built into or added to; null for a setting made on its own.
- group(ModuleGroup) - Method in interface dev.myriadclient.api.share.ConfigShares.Builder
-
The modules of
group: one of the menu's windows. - group(String) - Method in class dev.myriadclient.api.addon.AddonSettings
-
Shortcut for
settings().group(name): the group calledname, made if it doesn't exist yet. - group(String) - Method in class dev.myriadclient.api.setting.Settings
-
Returns the group with this name, creating it if needed (exact name, case and all).
- group(BlockPos) - Method in interface dev.myriadclient.api.render.MergedBoxes.Lookup
-
Which group the block belongs to (blocks of one group merge), or 0 for nothing to draw.
- groups() - Method in interface dev.myriadclient.api.module.ModuleRegistry
-
Every group with modules, each one window in the menu: addons in the order their modules were registered, each addon's groups in the order it declared them, then its own window.
- groups() - Static method in class dev.myriadclient.api.Myriad
-
The module groups addons declared.
- groups() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.groups(). - groups() - Method in class dev.myriadclient.api.setting.Settings
-
The groups in the order they were made; unmodifiable, and follows later additions.
- guard(Module, Runnable) - Static method in class dev.myriadclient.api.module.Modules
-
Runs
body, code a mixin runs formodule, so that an exception in it can't crash the game. - guard(Module, Supplier, T) - Static method in class dev.myriadclient.api.module.Modules
-
Modules.guard(Module, Runnable)for code that answers: whatbodyreturns, orfallbackif it throws or for a null module. - gutter(float) - Method in class dev.myriadclient.api.ui.widget.ScrollView
-
The width kept free for the bar, 4 unless given: less if the child's own padding already leaves the room.
H
- h() - Method in record class dev.myriadclient.api.ui.Rect
-
Returns the value of the
hrecord component. - hand() - Method in class dev.myriadclient.api.event.events.HighlightEvent.Hand
-
The hand it's in: main or off.
- hand() - Method in class dev.myriadclient.api.event.events.InteractEvent
-
The hand used: main or off (vanilla tries the main hand first, then the off hand).
- Hand() - Constructor for class dev.myriadclient.api.event.events.CameraEvent.Hand
- Hand() - Constructor for class dev.myriadclient.api.event.events.HighlightEvent.Hand
-
Core's; only Myriad makes these.
- HAND_PAPER - Static variable in class dev.myriadclient.api.ui.Icons
- HAND_POINTER - Static variable in class dev.myriadclient.api.ui.Icons
- HAND_ROCK - Static variable in class dev.myriadclient.api.ui.Icons
- handBreakProgress(BlockPos) - Static method in class dev.myriadclient.api.player.Interactions
-
How far your own hand has got breaking the block at
pos, 0 to 1; 0 if it isn't breaking that block. - handle(HookCall) - Method in interface dev.myriadclient.api.hook.HookHandler
-
The answer for
call. - handle(HookHandler) - Method in interface dev.myriadclient.api.hook.HookBuilder
-
Registers
handler, which starts handling calls at once (unless the player turned it off before). - handler() - Method in interface dev.myriadclient.api.service.Containers.View
-
The game's menu for it, with every slot of its screen (the container's own, then your inventory's).
- HandlerThread - Enum Class in dev.myriadclient.api.event
-
Which thread a
Subscribehandler is called on. - hasCaller() - Method in class dev.myriadclient.api.hook.Match
-
Whether it names who's calling: a module, a class or an addon.
- hasEnchantment(ItemStack, ResourceKey) - Static method in class dev.myriadclient.api.item.ItemInfo
-
Whether the stack has
enchantmentapplied, at any level. - hasFocus() - Method in class dev.myriadclient.api.ui.widget.TextField
-
Whether the keyboard is typing here.
- hasGradient() - Method in class dev.myriadclient.api.render.HighlightStyle
-
Whether the colour fades from the highlight's colour at the top to
HighlightStyle.gradient()at the bottom, across the outline, glow and fill alike. - hashCode() - Method in record class dev.myriadclient.api.build.Build.Step
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.myriadclient.api.combat.Trajectory.Ballistics
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.myriadclient.api.combat.Trajectory.Launch
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.myriadclient.api.combat.Trajectory.Path
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.myriadclient.api.event.events.HighlightEvent.EntityHighlight
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.myriadclient.api.event.events.ModuleToggleEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.myriadclient.api.event.events.NotificationEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.myriadclient.api.event.events.WindowResizeEvent
-
Returns a hash code value for this object.
- hashCode() - Method in class dev.myriadclient.api.hook.Match
- hashCode() - Method in record class dev.myriadclient.api.input.Keybind
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.myriadclient.api.integration.Baritone.GoalSpot
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.myriadclient.api.integration.Baritone.SettingInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.myriadclient.api.job.Why.Code
-
Returns a hash code value for this object.
- hashCode() - Method in class dev.myriadclient.api.job.Why
- hashCode() - Method in record class dev.myriadclient.api.map.Waypoint
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.myriadclient.api.module.ModuleGroup
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.myriadclient.api.module.Tag
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.myriadclient.api.registry.MyriadId
-
Returns a hash code value for this object.
- hashCode() - Method in class dev.myriadclient.api.render.HighlightStyle
- hashCode() - Method in record class dev.myriadclient.api.render.WorldLabel.Placed
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.myriadclient.api.render.WorldLabel.Segment
-
Returns a hash code value for this object.
- hashCode() - Method in class dev.myriadclient.api.service.AntiCheat.Profile
- hashCode() - Method in record class dev.myriadclient.api.service.AntiCheat.ServerSeen
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.myriadclient.api.service.Breaking.Attempt
-
Returns a hash code value for this object.
- hashCode() - Method in class dev.myriadclient.api.service.Breaking.Options
- hashCode() - Method in class dev.myriadclient.api.service.Building.Options
- hashCode() - Method in record class dev.myriadclient.api.service.Containers.Click
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.myriadclient.api.service.Inventory.ClickMoment
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.myriadclient.api.service.Placement.Attempt
-
Returns a hash code value for this object.
- hashCode() - Method in class dev.myriadclient.api.service.Placement.Options
- hashCode() - Method in record class dev.myriadclient.api.service.Placement.Target
-
Returns a hash code value for this object.
- hashCode() - Method in class dev.myriadclient.api.service.Rotations.Options
- hashCode() - Method in record class dev.myriadclient.api.service.Rotations.Turn
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.myriadclient.api.setting.SettingColor
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.myriadclient.api.share.ConfigShares.Applied
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.myriadclient.api.share.ConfigShares.Published
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.myriadclient.api.ui.draw.Bezier
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.myriadclient.api.ui.draw.FontFamily
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.myriadclient.api.ui.Icons.Icon
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.myriadclient.api.ui.PanelType.HudPlacement
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.myriadclient.api.ui.Rect
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.myriadclient.api.ui.ThemePalette
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.myriadclient.api.ui.widget.Preview.EntitySubject
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.myriadclient.api.ui.widget.Preview.ItemSubject
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.myriadclient.api.ui.widget.Preview.PlayerSubject
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.myriadclient.api.ui.widget.Preview.ViewModelSubject
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.myriadclient.api.util.ChatMessages.Parsed
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.myriadclient.api.world.Holes.Hole
-
Returns a hash code value for this object.
- HASHTAG - Static variable in class dev.myriadclient.api.ui.Icons
- hasInput() - Static method in class dev.myriadclient.api.player.Movement
-
True while movement keys are held that don't cancel out (forward and back together count as none).
- hasListeners(Class) - Method in interface dev.myriadclient.api.event.EventBus
-
Whether anything listens for
eventor a supertype: check it before building an event nobody would hear. - hasTag(Tag) - Method in class dev.myriadclient.api.module.Module
-
Whether the module has
tag, as its main tag or one added withModule.alsoTagged(Tag...). - hasTheme() - Method in class dev.myriadclient.api.share.ConfigShare
-
Whether it carries a theme.
- hasTime() - Method in class dev.myriadclient.api.util.TickBudget
-
Whether there's time left; cheap enough to ask every iteration (one clock read).
- HBox - Class in dev.myriadclient.api.ui.widget
-
Lays children out left to right.
- HBox() - Constructor for class dev.myriadclient.api.ui.widget.HBox
-
A row with 4 units between children.
- HBox(float) - Constructor for class dev.myriadclient.api.ui.widget.HBox
-
A row with
spacingUI units between children. - HEAD - Static variable in class dev.myriadclient.api.item.Slots
-
The armour slots' inventory indexes, feet (36) to head (39).
- heading(float) - Method in interface dev.myriadclient.api.elytra.Flight
-
The yaw to fly (degrees), followed at once; until it's given, the way the player faces when it starts.
- Heading - Class in dev.myriadclient.api.ui.widget
-
What starts a part of a window that doesn't fold: its name, a hairline running on from it, and dim text at the end (how many there are, say).
- Heading(String) - Constructor for class dev.myriadclient.api.ui.widget.Heading
-
A heading named
title. - Heading(Supplier) - Constructor for class dev.myriadclient.api.ui.widget.Heading
-
A heading named by
title, asked every frame. - HEADPHONES - Static variable in class dev.myriadclient.api.ui.Icons
- health() - Static method in class dev.myriadclient.api.combat.Threats
-
Your health including absorption.
- health(Entity) - Static method in class dev.myriadclient.api.combat.Targets
-
Health plus absorption; 0 for non-living entities.
- HEALTH - Enum constant in enum class dev.myriadclient.api.combat.Targets.Sort
-
Lowest health (with absorption) first.
- HealthEvent - Class in dev.myriadclient.api.event.events
-
The server set your health (and food): posted on the render thread with the values before and after, every time the health packet arrives, whether or not anything changed.
- HealthEvent(float, float, int, int) - Constructor for class dev.myriadclient.api.event.events.HealthEvent
-
Core's; only Myriad makes these.
- HEART - Static variable in class dev.myriadclient.api.ui.Icons
- HEARTBEAT - Static variable in class dev.myriadclient.api.ui.Icons
- height - Variable in class dev.myriadclient.api.ui.widget.Widget
-
Where the parent put this widget and how big it is, in panel-local UI units.
- height() - Method in record class dev.myriadclient.api.render.WorldLabel.Placed
-
Returns the value of the
heightrecord component. - height() - Method in class dev.myriadclient.api.ui.widget.Widget
-
Its height, from the last layout (0 while hidden).
- height(double) - Method in interface dev.myriadclient.api.elytra.Flight
-
The height to fly at.
- height(float) - Method in class dev.myriadclient.api.ui.widget.Preview
-
The preview's height in UI units (120 by default, at least 40); it takes the width it's given.
- held() - Method in interface dev.myriadclient.api.service.Containers
-
The container held open (
Containers.hold(Containers.View)), whether its screen shows or not. - heldModifiers() - Static method in record class dev.myriadclient.api.input.Keybind
-
The modifier keys held right now (
InputConstants.MOD_bits ofKeybind.MODIFIERS), either side counting: for input that doesn't carry its own (typed characters, a mouse button pressed with Ctrl). - hide(K) - Method in class dev.myriadclient.api.render.FadeMap
-
Starts fading
keyout; it's dropped once invisible. - hideAll() - Method in class dev.myriadclient.api.render.FadeMap
-
Fades everything out.
- HIGH - Static variable in class dev.myriadclient.api.event.Priority
-
Before the default.
- HIGHEST - Static variable in class dev.myriadclient.api.event.Priority
-
Before almost every other handler: to see an event first, or to cancel it before others act on it.
- highlight(HighlightStyle, int) - Method in class dev.myriadclient.api.event.events.HighlightEvent.Hand
-
Highlights the part in
styleandcolor(ARGB). - HighlightEvent - Class in dev.myriadclient.api.event.events
-
Shader highlights outside
RenderEvent: your first-person hand and held items (HighlightEvent.Hand), which have no box and are highlighted by the shader in either render mode, and theHighlightEvent.ENTITY_HIGHLIGHThook, which has the last word on how each entity is shown. - HighlightEvent() - Constructor for class dev.myriadclient.api.event.events.HighlightEvent
- HighlightEvent.EntityHighlight - Record Class in dev.myriadclient.api.event.events
-
How an entity is highlighted this frame, for
HighlightEvent.ENTITY_HIGHLIGHT: a null style for not at all. - HighlightEvent.Hand - Class in dev.myriadclient.api.event.events
-
A part of your first-person view model is being drawn this frame: call
HighlightEvent.Hand.highlight(HighlightStyle, int)to highlight it. - HighlightEvent.Hand.Part - Enum Class in dev.myriadclient.api.event.events
-
What's being drawn.
- HighlightStyle - Class in dev.myriadclient.api.render
-
How a highlight looks: an outline traced around the silhouette of what's highlighted, an optional soft glow beyond the outline, and an optional fill inside.
- HighlightStyle.Fill - Class in dev.myriadclient.api.render
-
What fills the silhouette: one of the built-in fills, or an addon's own (
HighlightStyle.Fill.custom(Identifier)). - hint(Supplier) - Method in class dev.myriadclient.api.ui.widget.Collapsible
-
Dim text at the right of the header (e.g.
- hint(Supplier) - Method in class dev.myriadclient.api.ui.widget.Heading
-
Dim text at the right, asked every frame; null or empty shows none.
- HISTORY - Static variable in class dev.myriadclient.api.ui.Icons
- hit() - Method in record class dev.myriadclient.api.combat.Trajectory.Path
-
Returns the value of the
hitrecord component. - hit() - Method in class dev.myriadclient.api.event.events.InteractEvent.Block
-
The block, face and point clicked.
- hit() - Method in class dev.myriadclient.api.service.Placement.Click
-
The face and point clicked.
- hitBlock() - Method in record class dev.myriadclient.api.combat.Trajectory.Path
-
The block it lands on, or null if it hits an entity or nothing.
- hitEntity() - Method in record class dev.myriadclient.api.combat.Trajectory.Path
-
The entity it hits, or null if it hits a block or nothing.
- hitFor(BlockPos, boolean) - Static method in class dev.myriadclient.api.player.Reach
-
Reach.hitFor(BlockPos, boolean, double)within block reach. - hitFor(BlockPos, boolean, double) - Static method in class dev.myriadclient.api.player.Reach
-
A click on the block at
posfor opening, breaking or using it: the nearest point withinrangeon the nearest face of its real outline (a slab's top is half way up), preferring faces you can see. - hold(Containers.View) - Method in interface dev.myriadclient.api.service.Containers
-
Keeps the open container
viewopen on the server when its screen closes: no close goes out, the screen goes, and the container stays the one the server has, its contents kept up to date. - hold(Object, int, int) - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- hold(Object, int, int) - Method in interface dev.myriadclient.api.service.Inventory
-
Holds the server-side slot on
hotbarSlotacross ticks without changing the visible slot, untilInventory.release(Object)ormaxTicksticks pass (at least one). - holdMode - Variable in class dev.myriadclient.api.module.Module
-
Whether the module is on only while
Module.keybindis held, instead of toggling on each press. - holdsGlide() - Method in interface dev.myriadclient.api.elytra.Elytra.Pilot
-
Whether the local player counts as gliding although the elytra has closed (a bounce touching the ground).
- holdWeakly(Object, int, int) - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- holdWeakly(Object, int, int) - Method in interface dev.myriadclient.api.service.Inventory
-
Like
Inventory.hold(Object, int, int), but any other module'sInventory.hold(Object, int, int)takes it over: for holding something just in case (a weapon charging before a target is in reach) without keeping others from what they need now. - Hole(BlockPos, Holes.Shape, Direction.Axis, Holes.Safety) - Constructor for record class dev.myriadclient.api.world.Holes.Hole
-
Creates an instance of a
Holerecord class. - holeOf(Entity) - Static method in class dev.myriadclient.api.world.Holes
-
The hole
entitystands in (its whole footprint inside one), or null. - Holes - Class in dev.myriadclient.api.world
-
Holes and surrounds: the questions crystal PvP modules keep asking about the blocks around a player's feet.
- Holes.Hole - Record Class in dev.myriadclient.api.world
-
A hole.
- Holes.Safety - Enum Class in dev.myriadclient.api.world
-
How safe a hole is.
- Holes.Shape - Enum Class in dev.myriadclient.api.world
-
A hole's size.
- HOME - Static variable in class dev.myriadclient.api.ui.Icons
- homepage() - Method in class dev.myriadclient.api.addon.Addon
-
The website from
contact.homepagein fabric.mod.json. - hook(Hook) - Method in interface dev.myriadclient.api.addon.AddonContext
-
Handles a hook (core's, like
Rotations.TURN, or another addon's): seeHookBuilder. - Hook<I,
O> - Class in dev.myriadclient.api.hook -
One decision that addons can make instead of the code that owns it: the owner calls the hook with what it knows and its own answer as the default, and contributions (
AddonContext.hook(Hook)) that match the call give theirs. - HookBuilder<I,
O> - Interface in dev.myriadclient.api.hook -
Handles a hook (
AddonContext.hook(Hook)): name it, say when it applies, then give the handler, which registers it. - HookCall<I,
O> - Interface in dev.myriadclient.api.hook -
One call of a
Hook, as aHookHandlersees it: the input, who it's for, where you are, and the way on to the next handler. - hooked() - Method in class dev.myriadclient.api.hook.Hook
-
Whether any contribution is on for this hook: skip building an expensive input when not.
- hooked(Hook) - Method in interface dev.myriadclient.api.hook.Hooks
-
Core's: what
Hook.hooked()goes through. - HookHandler<I,
O> - Interface in dev.myriadclient.api.hook -
Handles a
Hook: gives its answer for a call, or asks the next handler (HookCall.proceed()) and adjusts what it says. - hooks() - Static method in class dev.myriadclient.api.Myriad
-
Hook contributions and service replacements (see
dev.myriadclient.api.hook). - hooks() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.hooks(). - Hooks - Interface in dev.myriadclient.api.hook
-
What's hooked (
Myriad.hooks()): the contributions addons made, which of them would handle a call, and which replacement each service is using. - horizontal() - Method in class dev.myriadclient.api.event.events.MouseScrollEvent
-
Horizontal scroll, in wheel steps (positive is right; touchpads give fractions).
- horizontalDirection(float) - Static method in class dev.myriadclient.api.util.MathUtil
-
Unit vector along the ground (y = 0) for
yawin degrees: 0 gives +Z, 90 gives -X. - horizontalDistance(Vec3, Vec3) - Static method in class dev.myriadclient.api.util.MathUtil
-
Distance in blocks between
aandbon the ground plane, ignoring y. - horizontalNeighbours(BlockPos) - Static method in class dev.myriadclient.api.world.Positions
-
The four positions beside
pos, in the order north, east, south, west (not by distance). - horizontalSpeed() - Static method in class dev.myriadclient.api.player.Movement
-
Current speed along the ground (the velocity's x and z), in blocks per tick; 0 outside a world.
- host() - Method in record class dev.myriadclient.api.service.AntiCheat.ServerSeen
-
Returns the value of the
hostrecord component. - HOSTILE - Enum constant in enum class dev.myriadclient.api.world.Entities.Kind
-
Monsters: anything vanilla treats as one, including phantoms, slimes, ghasts and shulkers.
- hostiles - Variable in class dev.myriadclient.api.combat.TargetSettings
-
Which
Targets.Types count, one switch each; seeTargetSettings.types(). - HOSTILES - Enum constant in enum class dev.myriadclient.api.combat.Targets.Type
-
Monsters, and neutral mobs while angry (endermen and zombified piglins always, without
onlyAngry). - hostOf(String) - Static method in interface dev.myriadclient.api.service.ServerStats
-
The host part of a server address: lower case, without the port or a trailing dot (
"Play.Example.net:25570"gives "play.example.net"; an IPv6 address keeps its colons). - hotbar() - Method in class dev.myriadclient.api.service.Containers.Transfer
-
Whether the hotbar takes part (it does unless
Containers.Transfer.withoutHotbar()). - HOTBAR_END - Static variable in class dev.myriadclient.api.item.Slots
-
Inventory index ranges, start inclusive and end exclusive: the hotbar is
0..8, the main inventory9..35;OFF_HANDis the off hand's index, 40. - HOTBAR_START - Static variable in class dev.myriadclient.api.item.Slots
-
Inventory index ranges, start inclusive and end exclusive: the hotbar is
0..8, the main inventory9..35;OFF_HANDis the off hand's index, 40. - HOURGLASS - Static variable in class dev.myriadclient.api.ui.Icons
- hover(Component, Component) - Static method in class dev.myriadclient.api.util.Texts
-
A copy of
textthat showstooltipon hover;textitself isn't changed. - hovered() - Method in class dev.myriadclient.api.event.events.ContainerScreenEvent.Tooltip
-
The slot under the mouse, or null.
- hsb(float, float, float, int) - Static method in class dev.myriadclient.api.util.ColorUtil
-
A colour from hue, saturation and brightness, each 0..1 (the hue wraps, so 1.2 is 0.2), with
alpha0..255. - Http - Class in dev.myriadclient.api.network
-
Simple web requests on Myriad's worker threads.
- Http.StatusException - Exception Class in dev.myriadclient.api.network
-
A response that wasn't a success (not 2xx): its status, body, and how long the server asked you to wait.
- hud() - Method in class dev.myriadclient.api.ui.PanelType.Builder
-
Makes it a HUD element: it lives on the HUD workspace, sized to
Panel.preferredSize(Canvas), drawn in game. - HUD_WORKSPACE - Static variable in interface dev.myriadclient.api.ui.Ui
-
The HUD workspace's number: its windows are HUD elements, drawn in game while the menu is shut.
- hudAlignX() - Method in interface dev.myriadclient.api.ui.Window
-
For HUD elements: 0 when anchored to the left third of the screen, 0.5 in the middle, 1 on the right.
- hudBackground - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Draw a translucent card (frosted, in
ThemeSettings.windowBackground) behind each HUD element. - hudInfo() - Method in class dev.myriadclient.api.module.Module
-
Extra text shown next to the module in the module list HUD, e.g.
- hudPadding - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
How far HUD elements stay from the screen edges, in UI units: their anchor points are inset by it.
- HudPanel - Class in dev.myriadclient.api.ui.hud
-
A base for HUD elements: a title and icon, a settings group named after the element with a
HudPanel.scaleoption, and helpers for the things every HUD element deals with. - HudPanel(String, String) - Constructor for class dev.myriadclient.api.ui.hud.HudPanel
-
An element with scale 1 by default.
- HudPanel(String, String, double) - Constructor for class dev.myriadclient.api.ui.hud.HudPanel
- HudPlacement(PanelType.Anchor, float, float) - Constructor for record class dev.myriadclient.api.ui.PanelType.HudPlacement
-
Creates an instance of a
HudPlacementrecord class. - HudStyle - Class in dev.myriadclient.api.ui.hud
-
The colour options every text HUD element shares, as a "Colors" settings group: how values are coloured, a separate colour for labels, the text shadow, and rainbow tuning.
- HudStyle(Settings, HudStyle.Mode, boolean) - Constructor for class dev.myriadclient.api.ui.hud.HudStyle
-
Adds the "Colors" group to
settings(a panel'ssettings). - HudStyle.Mode - Enum Class in dev.myriadclient.api.ui.hud
-
How a HUD element colours its values.
I
- icon() - Method in interface dev.myriadclient.api.control.ControlPanel
-
Its icon (one of
Icons, or the sliders it shows without one). - icon() - Method in record class dev.myriadclient.api.module.ModuleGroup
-
Returns the value of the
iconrecord component. - icon() - Method in record class dev.myriadclient.api.module.Tag
-
Returns the value of the
iconrecord component. - icon() - Method in class dev.myriadclient.api.ui.hud.HudPanel
- icon() - Method in class dev.myriadclient.api.ui.Panel
-
A Nerd Font glyph (
Icons) shown in the title bar and launcher, or null for the panel type's own icon. - icon() - Method in class dev.myriadclient.api.ui.PanelType
-
The Nerd Font glyph shown for it (launcher, title bar when the panel has no icon of its own), or null.
- icon() - Method in class dev.myriadclient.api.ui.TitleControl
-
Core's: a button's glyph, empty for a switch.
- icon(String) - Method in class dev.myriadclient.api.setting.SettingGroup
-
An icon picked from
Icons; empty for the default. - icon(String) - Method in class dev.myriadclient.api.ui.PanelType.Builder
-
The Nerd Font glyph shown for it (
Icons). - icon(String) - Method in class dev.myriadclient.api.ui.widget.Note
-
A glyph (
Icons) before the text, in the tint. - icon(String) - Method in class dev.myriadclient.api.ui.widget.TextField
-
A glyph at the left of the field: a search box's magnifier.
- icon(T) - Method in interface dev.myriadclient.api.ui.widget.RegistryPicker.Source
-
The icon drawn beside
t: blocks and items show their item, anything elseItemStack.EMPTY(none). - Icon(String, String, String, String) - Constructor for record class dev.myriadclient.api.ui.Icons.Icon
-
Creates an instance of a
Iconrecord class. - iconPath() - Method in class dev.myriadclient.api.addon.Addon
-
The path inside the mod's jar of its icon closest to 64 pixels wide, from
iconin fabric.mod.json. - IconPicker - Class in dev.myriadclient.api.ui.widget
-
Inline icon picker over
Icons, opening like a dropdown: shut, it shows the icon and its name; open, a search box, the icons by section in a grid that fills the width and scrolls, and a line naming the one pointed at. - IconPicker(Supplier, Consumer) - Constructor for class dev.myriadclient.api.ui.widget.IconPicker
- Icons - Class in dev.myriadclient.api.ui
-
Ready-made icons: glyphs of the icon font the UI draws with (Font Awesome, in the bundled Nerd Font), each with a name and words to find it by.
- Icons.Icon - Record Class in dev.myriadclient.api.ui
-
One icon: its glyph, a name, the section it's listed under, and more words to find it by.
- IconSetting - Class in dev.myriadclient.api.setting
-
An icon the player picks from
Icons(a glyph of the UI's icon font). - IconSetting(String, String, String, Supplier) - Constructor for class dev.myriadclient.api.setting.IconSetting
-
A setting as its
IconSetting.Buildermakes it; get one fromSettingGroup.icon(String), or call this from a subclass. - IconSetting.Builder - Class in dev.myriadclient.api.setting
-
Builds an
IconSetting; empty (the default icon) by default. - id - Variable in class dev.myriadclient.api.setting.Setting
-
Setting.namein snake_case: the key in config files. - id() - Method in class dev.myriadclient.api.addon.Addon
-
The mod id, which is also the namespace of every id the addon registers (
"myriad-essentials"). - id() - Method in class dev.myriadclient.api.addon.AddonSettings
-
<mod id>:<name in snake_case>: the key the profile saves these settings under. - id() - Method in class dev.myriadclient.api.command.Command
-
<addon id>:<name as an id path>, given when the command is registered. - id() - Method in interface dev.myriadclient.api.control.ControlPanel
-
Its id: the addon's own for one an addon ships,
myriad:control_nfor one the player made. - id() - Method in class dev.myriadclient.api.event.events.PlaySoundEvent
-
The sound event's id, e.g.
- id() - Method in class dev.myriadclient.api.hook.Hook
-
The id it was declared with.
- id() - Method in class dev.myriadclient.api.hook.Service
-
Its id (
myriad:rotations): what aContribution.target()names. - id() - Method in class dev.myriadclient.api.input.KeyAction
-
<mod id>:<name in snake_case>: the key the bind is saved under. - id() - Method in interface dev.myriadclient.api.job.Job
-
Unique while the game runs; what
.job cancel <id>takes. - id() - Method in record class dev.myriadclient.api.job.Why.Code
-
Returns the value of the
idrecord component. - id() - Method in class dev.myriadclient.api.module.Module
-
<addon id>:<name in snake_case>, given when the module is registered. - id() - Method in record class dev.myriadclient.api.module.ModuleGroup
-
Returns the value of the
idrecord component. - id() - Method in record class dev.myriadclient.api.module.Tag
-
Returns the value of the
idrecord component. - id() - Method in interface dev.myriadclient.api.registry.Identified
-
The id,
<mod id of the addon that registered it>:<path>; it doesn't change once registered. - id() - Method in class dev.myriadclient.api.render.HighlightStyle.Fill
-
A stable name, for saving and commands: "none", "solid", "dots", or a custom fill's shader id.
- id() - Method in class dev.myriadclient.api.service.AntiCheat.Profile
-
The id it's registered and saved under (
myriad:grim); profiles with the same id are equal. - id() - Method in class dev.myriadclient.api.setting.Setting
-
Stable key used in config files: the name in snake_case.
- id() - Method in class dev.myriadclient.api.setting.SettingGroup
-
SettingGroup.name()in snake_case: the key the group's settings are saved under. - id() - Method in class dev.myriadclient.api.ui.BarWidget
- id() - Method in record class dev.myriadclient.api.ui.draw.FontFamily
-
Returns the value of the
idrecord component. - id() - Method in class dev.myriadclient.api.ui.PanelType
- id() - Method in class dev.myriadclient.api.ui.Theme
- id(String) - Method in interface dev.myriadclient.api.addon.AddonContext
-
An id in your namespace,
<your mod id>:<path>;pathis used as given. - id(T) - Method in interface dev.myriadclient.api.ui.widget.RegistryPicker.Source
-
Matched by the search box besides the name.
- Identified - Interface in dev.myriadclient.api.registry
-
Anything that lives in a
Registry: it has an id, unique in its registry. - ignoreCreative - Variable in class dev.myriadclient.api.combat.TargetSettings
-
The query's options:
onlyAngry(on by default, shown while hostiles are on),ignoreInvisibles,ignoreNamed,ignoreCreative,friends(all off by default) andthroughWalls(on). - ignoreInvisibles - Variable in class dev.myriadclient.api.combat.TargetSettings
-
The query's options:
onlyAngry(on by default, shown while hostiles are on),ignoreInvisibles,ignoreNamed,ignoreCreative,friends(all off by default) andthroughWalls(on). - ignoreNamed - Variable in class dev.myriadclient.api.combat.TargetSettings
-
The query's options:
onlyAngry(on by default, shown while hostiles are on),ignoreInvisibles,ignoreNamed,ignoreCreative,friends(all off by default) andthroughWalls(on). - in(int) - Method in enum class dev.myriadclient.api.ui.ThemeSettings.ModKey
-
Whether it was held with an input whose modifier bits are
modifiers(a click's, say). - IN_OUT_CUBIC - Enum constant in enum class dev.myriadclient.api.ui.draw.Easing
-
Slow at both ends, cubic.
- IN_OUT_QUAD - Enum constant in enum class dev.myriadclient.api.ui.draw.Easing
-
Slow at both ends, quadratic.
- IN_QUAD - Enum constant in enum class dev.myriadclient.api.ui.draw.Easing
-
Starts slow, quadratic.
- inactiveBorder - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
The border of windows that aren't focused.
- inactiveBorder() - Method in record class dev.myriadclient.api.ui.ThemePalette
-
Returns the value of the
inactiveBorderrecord component. - inactiveOpacity - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Opacity of unfocused windows, 1 for fully opaque.
- INBOX - Static variable in class dev.myriadclient.api.ui.Icons
- indent(float) - Method in class dev.myriadclient.api.ui.widget.Collapsible
-
Indents the body by
indentUI units and draws a guide line down its left edge, so nested sections read as a tree. - indexCount(int) - Method in class dev.myriadclient.api.render.WorldMesh
-
Core's: how many indices one layer draws.
- INDUSTRY - Static variable in class dev.myriadclient.api.ui.Icons
- inEffect() - Static method in interface dev.myriadclient.api.service.AntiCheat
-
AntiCheat.profile()from anywhere, including before Myriad has started (thenAntiCheat.Profile.GRIM). - info(String) - Method in class dev.myriadclient.api.command.Command
-
Prints
messagein chat with the Myriad prefix. - info(String) - Method in interface dev.myriadclient.api.elytra.NoDurability.Owner
-
Hears a message for the player about how it's going (a module passes it to its own
info). - info(String) - Method in class dev.myriadclient.api.module.Module
-
Shows an info notification titled with the module's name.
- info(String, String) - Method in interface dev.myriadclient.api.service.Notifications
-
Shows an info notification for 3 seconds.
- info(Component) - Method in class dev.myriadclient.api.command.Command
-
Prints
messagein chat with the Myriad prefix, keeping its formatting. - INFO - Enum constant in enum class dev.myriadclient.api.service.Notifications.Level
-
Something worth knowing; the theme's accent colour.
- INFO - Static variable in class dev.myriadclient.api.ui.Icons
- inGame() - Element in annotation interface dev.myriadclient.api.event.Subscribe
-
Only call the handler while there's a player in a world, so it needn't check.
- inGame() - Static method in class dev.myriadclient.api.module.Module
-
True when a world and player exist.
- inGame() - Static method in class dev.myriadclient.api.util.Client
-
Whether there's a player in a world.
- inGroup(ModuleGroup) - Method in interface dev.myriadclient.api.module.ModuleRegistry
-
The modules of
group, in registration order (their order in its window); a copy. - inItem(int, Function) - Static method in class dev.myriadclient.api.job.Steps
-
Works in the shulker box (or ender chest) at inventory index
index: put down beside you, opened, handed towork, then closed, broken, picked up and put back in its slot, howeverworkends (cancelled too: putting it back is Myriad's own job, so it finishes anyway). - initialize(AddonContext) - Method in interface dev.myriadclient.api.addon.MyriadAddon
-
Register modules, commands, panels, setting types, layouts, themes, keybinds and listeners.
- input() - Method in class dev.myriadclient.api.event.events.ContainerScreenEvent.Click
-
The kind of click: pick up, quick move (shift), swap, clone, throw, drag or double click.
- input() - Method in interface dev.myriadclient.api.hook.HookCall
-
What the hook was called with.
- input() - Method in record class dev.myriadclient.api.service.Containers.Click
-
Returns the value of the
inputrecord component. - InputEvent - Class in dev.myriadclient.api.event.events
-
The player's movement input for this tick, right after the keyboard was read.
- InputEvent(boolean, boolean, boolean, boolean, boolean, boolean, boolean) - Constructor for class dev.myriadclient.api.event.events.InputEvent
-
Core's; only Myriad makes these.
- inputYaw() - Static method in class dev.myriadclient.api.player.Movement
-
The yaw the movement keys point in (the camera's yaw + 90 while holding only D, for example), or
NaNwith no input or outside a world. - inputYaw(float) - Static method in class dev.myriadclient.api.player.Movement
-
Like
Movement.inputYaw()relative toyawinstead of where the camera faces (e.g. - inRenderDistance(BlockPos) - Static method in class dev.myriadclient.api.world.Entities
-
Whether
pos's chunk is within the client's render distance of yours, a square of chunks (chunks there are normally loaded and drawn, though one may not have arrived yet); false outside a world. - inScreen() - Method in class dev.myriadclient.api.event.events.KeyEvent
-
Whether a screen was open when the key changed.
- inScreen() - Method in class dev.myriadclient.api.event.events.MouseButtonEvent
-
Whether a screen was open when the button changed.
- insertBeside(W, W, Side) - Method in interface dev.myriadclient.api.ui.layout.LayoutState
-
Moves
windownext totarget, on itsside:target's tile is split,windowtaking the side towardsside(a window dropped near another's edge). - inset(float) - Method in record class dev.myriadclient.api.ui.Rect
-
This box shrunk by
don every side (grown for a negatived); its size never goes below zero. - inset(float, float, float, float) - Method in record class dev.myriadclient.api.ui.Rect
-
This box shrunk by a different amount on each side; its size never goes below zero.
- install(MyriadApi) - Static method in class dev.myriadclient.api.Myriad
-
Core's: installs the implementation behind every accessor here (null in tests to uninstall it).
- INSTANCE - Static variable in class dev.myriadclient.api.event.events.GameReadyEvent
-
The one instance.
- INSTANCE - Static variable in class dev.myriadclient.api.event.events.MovementPacketsEvent.Post
-
The one instance, posted every tick.
- INSTANCE - Static variable in class dev.myriadclient.api.event.events.ShutdownEvent
-
The one instance.
- INSTANCE - Static variable in class dev.myriadclient.api.event.events.TickEvent.Post
-
The one instance, posted every tick.
- INSTANCE - Static variable in class dev.myriadclient.api.event.events.TickEvent.Pre
-
The one instance, posted every tick.
- INSTANCE - Static variable in class dev.myriadclient.api.event.events.WorldEvent.Join
-
The one instance, posted at every join.
- INSTANCE - Static variable in class dev.myriadclient.api.event.events.WorldEvent.Leave
-
The one instance, posted at every leave.
- INSTANT - Static variable in class dev.myriadclient.api.service.Rotations.Options
-
Snaps to the rotation at once, movement unchanged.
- integer(String) - Method in class dev.myriadclient.api.setting.SettingGroup
-
A whole number: a slider over
range, or a box to type in (typed()). - INTERACT - Enum constant in enum class dev.myriadclient.api.service.PacketLimits.Kind
-
Using items and using them on blocks (placing); not attacks or using items on entities, which Paper doesn't limit.
- interactBlock(BlockHitResult, InteractionHand, boolean) - Static method in class dev.myriadclient.api.player.Interactions
-
Right-clicks a block face (placing, opening, pressing) with the item in
hand, swinging ifswingand the click did something. - InteractEvent - Class in dev.myriadclient.api.event.events
-
The local player is about to right-click: a block, an item in the air, or an entity.
- InteractEvent(InteractionHand) - Constructor for class dev.myriadclient.api.event.events.InteractEvent
-
Core's; addons don't make these.
- InteractEvent.Block - Class in dev.myriadclient.api.event.events
-
Right-clicking a block face (placing, opening, using).
- InteractEvent.EntityTarget - Class in dev.myriadclient.api.event.events
-
Right-clicking an entity (trading, mounting, naming).
- InteractEvent.Item - Class in dev.myriadclient.api.event.events
-
Using the held item without a block (eating, throwing, shooting).
- interaction() - Static method in class dev.myriadclient.api.util.Client
-
The interaction manager (
mc.gameMode): what clicks blocks and entities and moves items; throwsIllegalStateExceptionoutside a world. - interactionBudget() - Method in class dev.myriadclient.api.service.AntiCheat.Profile
-
How many uses and placements fit in 300 ms (
PacketLimits.Kind.INTERACT). - Interactions - Class in dev.myriadclient.api.player
-
The player's actions, done the way vanilla does them (cooldowns reset, sequence numbers kept, events posted), plus the timers vanilla keeps for them.
- intersects(AABB, Predicate) - Static method in class dev.myriadclient.api.world.Entities
-
Whether any living (not removed) entity matching
filteroverlapsbox(e.g. - intList(String) - Method in class dev.myriadclient.api.setting.SettingGroup
-
A list of whole numbers (slots, ids, levels).
- IntListSetting - Class in dev.myriadclient.api.setting
-
A list of whole numbers: hotbar slots, entity ids, y levels.
- IntListSetting(String, String, List, Supplier, int, int) - Constructor for class dev.myriadclient.api.setting.IntListSetting
-
A setting as its
IntListSetting.Buildermakes it; get one fromSettingGroup.intList(String), or call this from a subclass. - IntListSetting.Builder - Class in dev.myriadclient.api.setting
-
Builds an
IntListSetting; empty and unbounded by default. - IntSetting - Class in dev.myriadclient.api.setting
-
A whole number, set with a slider or typed into a box (
IntSetting.Builder.typed()). - IntSetting(String, String, int, Supplier, int, int, int, int) - Constructor for class dev.myriadclient.api.setting.IntSetting
-
A setting as its
IntSetting.Buildermakes it; get one fromSettingGroup.integer(String), or call this from a subclass. - IntSetting.Builder - Class in dev.myriadclient.api.setting
-
Builds an
IntSetting; 0 and unbounded by default. - invalidate() - Method in class dev.myriadclient.api.util.TickCached
-
Forgets the value, so the next read computes it again this tick.
- invalidate(int, int) - Method in class dev.myriadclient.api.world.ChunkCache
-
Recomputes one chunk on a coming tick; nothing happens for a chunk the cache doesn't cover.
- invalidate(BlockPos) - Method in class dev.myriadclient.api.world.ChunkCache
-
Recomputes the chunk holding
pos. - invalidateAll() - Method in class dev.myriadclient.api.world.ChunkCache
-
Recomputes every chunk: call it when a setting changes what the compute function finds.
- inventory() - Static method in class dev.myriadclient.api.Myriad
-
The player's inventory, shared between modules: the held slot, hotbar swaps, and clicks that move items.
- inventory() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.inventory(). - Inventory - Interface in dev.myriadclient.api.service
-
The player's one inventory, shared between every module that wants it: which hotbar slot the server holds, which items sit in the hotbar, and the clicks that move them.
- INVENTORY - Enum constant in enum class dev.myriadclient.api.service.Containers.NoWayBack
-
Taken out anyway: it goes back into your inventory.
- INVENTORY - Enum constant in enum class dev.myriadclient.api.service.PacketLimits.Kind
-
Clicks in inventories and containers.
- INVENTORY - Static variable in class dev.myriadclient.api.hook.Service
-
Myriad.inventory(): slots, clicks, holds and borrows. - Inventory.ClickMoment - Record Class in dev.myriadclient.api.service
-
The last movement the server saw, for
Inventory.CLICK_READY: whether it had sprint on, a movement key or jump down, and sneak. - Inventory.Forwarding - Class in dev.myriadclient.api.service
-
The base for a replacement of this service (
Service.INVENTORY): hands every call to the service it wraps (core's), so override only what you do differently. - inventoryIndex(EquipmentSlot) - Static method in class dev.myriadclient.api.item.ItemInfo
-
The inventory index (
Slots.HEADetc.) for an armour slot, orSlots.OFF_HANDfor the off hand; throwsIllegalArgumentExceptionfor the main hand and non-player slots. - inverseLerp(double, double, double) - Static method in class dev.myriadclient.api.util.MathUtil
-
Where
valuesits betweenfromandto, as 0..1 (unclamped); 0 when the range is empty. - invisibles(boolean) - Method in class dev.myriadclient.api.combat.Targets.Query
-
Include invisible entities (on by default).
- is(Why.Code) - Method in class dev.myriadclient.api.job.Why
-
Whether its code is
code. - isActive() - Method in interface dev.myriadclient.api.control.ControlPanel
-
Whether it's on.
- isActive() - Method in enum class dev.myriadclient.api.job.Job.State
-
Queued, running, stuck or paused: not over.
- isActive(Class) - Static method in class dev.myriadclient.api.module.Modules
-
Whether the module of exactly
typeis registered and on:active(type) != null. - isAddonWindow() - Method in record class dev.myriadclient.api.module.ModuleGroup
-
Whether this is an addon's own window, for the modules it didn't put in a group.
- isAliveTarget(Entity) - Static method in class dev.myriadclient.api.world.Entities
-
Alive, not dying, and not the local player.
- isAnimating() - Method in class dev.myriadclient.api.ui.draw.Animated
-
Whether an animation is still under way.
- isAtLeast(String) - Static method in class dev.myriadclient.api.Myriad
-
Whether the running core is
versionor newer: for using something added in a later core version while still supporting older ones (declare the oldest you support infabric.mod.json'sdepends). - isAvailable() - Static method in class dev.myriadclient.api.integration.Baritone
-
Whether Baritone is installed and ready (it has a primary instance once a world is loaded).
- isBase(BlockState) - Static method in class dev.myriadclient.api.combat.Crystals
-
Obsidian or bedrock: what a crystal can be placed on.
- isBlastResistant(BlockPos) - Static method in class dev.myriadclient.api.world.BlockInfo
-
BlockInfo.isBlastResistant(BlockState)for the block atpos. - isBlastResistant(BlockState) - Static method in class dev.myriadclient.api.world.BlockInfo
-
Survives explosions: obsidian, crying obsidian, ender chests, anvils, netherite blocks, bedrock…
- isBound(ItemStack) - Static method in class dev.myriadclient.api.item.ItemInfo
-
Whether it has Curse of Binding (or anything else that keeps worn armour from being taken off).
- isBusy(Object) - Method in class dev.myriadclient.api.job.JobEngine
- isBusy(Object) - Method in interface dev.myriadclient.api.job.Jobs
-
Whether
ownerhas an active root job. - isCancelled() - Method in class dev.myriadclient.api.event.Cancellable
-
Whether a handler so far cancelled it.
- isChanged() - Method in class dev.myriadclient.api.event.events.GlideEvent
-
Whether a listener before you already flies this tick (a lower priority boost would keep out of it).
- isChestplate(ItemStack) - Static method in class dev.myriadclient.api.item.ItemInfo
-
Whether it's armour for the chest that isn't a glider: a chestplate.
- isClickable(BlockState) - Static method in class dev.myriadclient.api.world.BlockInfo
-
Right-clicking it does something (opens, toggles, cycles, eats), so clicking it to place a block against it would interact instead unless the player sneaks.
- isCode(String) - Static method in interface dev.myriadclient.api.share.ConfigShares
-
Whether
textis exactly a share code (myriad_and six letters or digits); false for null. - isCore() - Method in class dev.myriadclient.api.addon.Addon
-
Whether this is Myriad core itself (mod id
"myriad"), which is listed as an addon like any other. - isCrystal(Entity) - Static method in class dev.myriadclient.api.combat.Crystals
-
Whether
eis an end crystal. - isCustom() - Method in class dev.myriadclient.api.render.HighlightStyle.Fill
-
Whether this is an addon's fill (
HighlightStyle.Fill.custom(Identifier)). - isDefault() - Method in class dev.myriadclient.api.setting.Setting
-
Whether the player's value is the default (then it isn't written to config).
- isDone() - Method in interface dev.myriadclient.api.build.Build
-
Whether everything in the blueprint is done (as of the last full check).
- isDone() - Method in class dev.myriadclient.api.job.Progress
-
Whether it's
Progress.done(T). - isDown() - Method in enum class dev.myriadclient.api.ui.ThemeSettings.ModKey
-
Whether it's held now, on either side: as the window's key events last said, or its key state (some compositors keep the window from seeing a held modifier in the key state).
- isEating() - Static method in class dev.myriadclient.api.player.Interactions
-
Whether you're eating or drinking right now (using a food or drink item); false outside a world.
- isEmpty() - Method in class dev.myriadclient.api.render.FadeMap
-
Whether nothing is showing or still fading out.
- isEmpty() - Method in class dev.myriadclient.api.render.WorldMesh
-
Whether it holds no shapes: never built, cleared, or built with nothing.
- isEmpty() - Method in class dev.myriadclient.api.share.ConfigShare
-
Whether it has nothing in it.
- isEnabled() - Method in class dev.myriadclient.api.module.Module
-
Whether the module is on right now (false while it's suspended).
- isEnabled(Class) - Method in interface dev.myriadclient.api.module.ModuleRegistry
-
Whether the module of exactly
typeis registered and on. - isEnemy(String) - Method in interface dev.myriadclient.api.service.Enemies
-
Whether
nameis an enemy, ignoring case. - isEnemy(Player) - Method in interface dev.myriadclient.api.service.Enemies
-
Whether
playeris an enemy, by their profile name. - isExpanded() - Method in class dev.myriadclient.api.setting.SettingGroup
-
Whether the group shows open in the settings window: the first group of a set starts open, the rest folded.
- isFacing(float, float, float) - Method in interface dev.myriadclient.api.service.Rotations
-
Whether the server already believes you face
yaw/pitch, withintolerancedegrees per axis. - isFailed() - Method in class dev.myriadclient.api.job.Progress
-
Whether it's
Progress.failed(Why). - isFake(Entity) - Static method in class dev.myriadclient.api.world.FakePlayers
-
Whether
entityis one of these fake players. - isFloating() - Method in interface dev.myriadclient.api.ui.Window
-
Whether it floats above the tiling (always true on the HUD workspace).
- isFocused() - Method in class dev.myriadclient.api.ui.widget.Widget
-
Whether this widget has keyboard focus.
- isFood(ItemStack) - Static method in class dev.myriadclient.api.item.ItemInfo
-
Whether it can be eaten (it has food properties), whether or not you're hungry enough to eat it now.
- isFresh() - Method in class dev.myriadclient.api.event.events.ChunkEvent.Loaded
-
Whether the server generated the chunk just now, as you came near, rather than loading it saved: see
ChunkAge. - isFresh(int, int) - Static method in class dev.myriadclient.api.world.ChunkAge
-
Whether the server generated the chunk as it was sent to you (taken when it arrived, while someone used this).
- isFresh(LevelChunk) - Static method in class dev.myriadclient.api.world.ChunkAge
-
Whether more of the chunk's sections look freshly generated than look loaded from disk (reads it now).
- isFriend(String) - Method in interface dev.myriadclient.api.service.Friends
-
Whether
nameis a friend, ignoring case. - isFriend(Entity) - Static method in class dev.myriadclient.api.world.Entities
-
A player on the user's friends list.
- isFriend(Player) - Method in interface dev.myriadclient.api.service.Friends
-
Whether
playeris a friend, by their profile name. - isFromSelf(ChatMessages.Parsed) - Static method in class dev.myriadclient.api.util.ChatMessages
-
Whether
parsedis your own public message. - isFullscreen() - Method in interface dev.myriadclient.api.ui.Window
-
Whether it fills the workspace's area (everything but the bar), with no title bar or rounding.
- isGlider(ItemStack) - Static method in class dev.myriadclient.api.item.ItemInfo
-
Whether it's something to glide with (an elytra), worn out or not.
- isHighlighted() - Method in class dev.myriadclient.api.event.events.HighlightEvent.Hand
-
Whether a handler before this one highlighted it.
- isHolding() - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- isHolding() - Method in interface dev.myriadclient.api.service.Inventory
-
Whether any module is holding a slot.
- isHost(String, String) - Static method in interface dev.myriadclient.api.service.ServerStats
- isHostile(Entity) - Static method in class dev.myriadclient.api.world.Entities
-
Whether
Entities.kind(Entity)saysEntities.Kind.HOSTILE. - isHotbar(int) - Static method in class dev.myriadclient.api.item.Slots
-
Whether an inventory index is a hotbar slot (0-8).
- isHovered(float, float) - Method in class dev.myriadclient.api.ui.widget.Widget
-
Whether the point is in this widget's box (as of the last layout) and inside the visible part of the panel, and the widget shows.
- isHud() - Method in class dev.myriadclient.api.ui.PanelType
-
Whether this panel is a HUD element: it lives on the HUD workspace only, drawn in game without window chrome.
- isInstant() - Method in class dev.myriadclient.api.service.Rotations.Options
-
Whether it snaps at once (
Rotations.Options.turnSpeed()is 0). - isKeyboardMode() - Method in class dev.myriadclient.api.ui.widget.WidgetRoot
-
Whether the keyboard selection is showing: a navigation key was pressed since the last click.
- isKick() - Method in class dev.myriadclient.api.event.events.DisconnectEvent
-
Whether the server said so (a kick, a ban, a restart), rather than the connection dropping.
- isLagging(long) - Method in interface dev.myriadclient.api.service.ServerStats
-
Whether the server has sent nothing for
msmilliseconds: pause actions it would ignore anyway. - isLethal(float) - Static method in class dev.myriadclient.api.combat.Threats
-
Whether
Threats.worst()plusmargincould take all your health (including absorption). - isListed() - Method in class dev.myriadclient.api.ui.PanelType
-
Whether the launcher offers this panel (false for panels that need args).
- isLoaded() - Method in interface dev.myriadclient.api.service.Containers.View
-
Whether the contents have arrived.
- isMining() - Static method in class dev.myriadclient.api.player.Interactions
-
Whether your hand is breaking a block right now (holding attack on one, or a module breaking through vanilla's way).
- isMirror() - Method in class dev.myriadclient.api.module.Module
-
True for a module that mirrors a feature of another mod (a bridge to another client, say): its on/off state, settings and keybind belong to that mod, which saves them and handles the key.
- isMoving() - Method in class dev.myriadclient.api.event.events.InputEvent
-
Whether the keys walk somewhere: forward or back, left or right, without the opposite key cancelling it.
- isNavigable() - Method in class dev.myriadclient.api.ui.widget.Button
- isNavigable() - Method in class dev.myriadclient.api.ui.widget.Collapsible
- isNavigable() - Method in class dev.myriadclient.api.ui.widget.ColorPicker
- isNavigable() - Method in class dev.myriadclient.api.ui.widget.Dropdown
- isNavigable() - Method in class dev.myriadclient.api.ui.widget.IconPicker
- isNavigable() - Method in class dev.myriadclient.api.ui.widget.KeybindButton
- isNavigable() - Method in class dev.myriadclient.api.ui.widget.RegistryPicker
- isNavigable() - Method in class dev.myriadclient.api.ui.widget.SettingRow
- isNavigable() - Method in class dev.myriadclient.api.ui.widget.Slider
- isNavigable() - Method in class dev.myriadclient.api.ui.widget.StringListEditor
- isNavigable() - Method in class dev.myriadclient.api.ui.widget.TextField
- isNavigable() - Method in class dev.myriadclient.api.ui.widget.Toggle
- isNavigable() - Method in class dev.myriadclient.api.ui.widget.Widget
-
Whether the keyboard selection (j/k, arrows) can land on this widget.
- isOn() - Method in class dev.myriadclient.api.ui.TitleControl
-
Core's: a switch's state.
- isOn(EntityGroups.Group) - Method in class dev.myriadclient.api.render.EntityGroups
-
Whether group
g's toggle is on. - isOpen() - Method in interface dev.myriadclient.api.service.Containers.View
-
Whether this container is still the one open (the server can close it, or another can open over it).
- isOpen() - Method in interface dev.myriadclient.api.ui.Ui
-
Whether the menu is Minecraft's current screen.
- isOpen(AbstractContainerMenu) - Static method in class dev.myriadclient.api.item.Slots
-
Whether
menuis the one open (your own inventory's counts while no other is). - isOverridden() - Method in class dev.myriadclient.api.setting.Setting
-
Whether any override lies on the player's value (so
Setting.get()may differ fromSetting.playerValue()). - isPassive(Entity) - Static method in class dev.myriadclient.api.world.Entities
-
Whether
Entities.kind(Entity)saysEntities.Kind.PASSIVE. - isPathing() - Static method in class dev.myriadclient.api.integration.Baritone
-
Whether Baritone is walking a path right now.
- isPausedBy(Object) - Static method in class dev.myriadclient.api.integration.Baritone
-
Whether
ownerhas paused Baritone and not yet resumed it. - isPending(BlockPos) - Method in class dev.myriadclient.api.service.Breaking.Forwarding
- isPending(BlockPos) - Method in interface dev.myriadclient.api.service.Breaking
-
True while a break at
posis queued, being mined, or waiting for the server. - isPending(BlockPos) - Method in class dev.myriadclient.api.service.Placement.Forwarding
- isPending(BlockPos) - Method in interface dev.myriadclient.api.service.Placement
-
True while a placement at
pos, or a click using the block there, is waiting to be sent or for the server's answer. - isPreset() - Method in interface dev.myriadclient.api.control.ControlPanel
-
Whether it came with an addon (as opposed to one the player made).
- isPress() - Method in class dev.myriadclient.api.event.events.KeyEvent
-
Whether the key went down (not a repeat).
- isPress() - Method in class dev.myriadclient.api.event.events.MouseButtonEvent
-
Whether the button went down.
- isPressed() - Method in record class dev.myriadclient.api.input.Keybind
-
Whether the key or button is held down right now (modifiers are not checked).
- isProtected() - Method in class dev.myriadclient.api.setting.Setting
-
Whether this setting's value is private to the player (a webhook URL, coordinates, a password a macro types): shared configs leave it out, and taking one in leaves the player's own value as it is.
- isReady() - Static method in class dev.myriadclient.api.Myriad
-
Whether Myriad has started, so the accessors below can be called; false only while the game is still loading.
- isRelease() - Method in class dev.myriadclient.api.event.events.KeyEvent
-
Whether the key came up.
- isRender() - Static method in class dev.myriadclient.api.util.Threads
-
Whether this is the render thread (true before the game has a client, when there's only the one).
- isReplaceable(BlockPos) - Static method in class dev.myriadclient.api.world.BlockInfo
-
Whether the block at
posis air, water, grass or anything else a placed block replaces. - isRoot() - Method in class dev.myriadclient.api.job.JobEvent
-
Whether this is a root job (one
Jobs.start(Object, Step)made) rather than a step under one. - isRotating() - Method in class dev.myriadclient.api.service.Rotations.Forwarding
- isRotating() - Method in interface dev.myriadclient.api.service.Rotations
-
Whether a rotation other than your real one was sent last tick (including while easing back).
- isRunning() - Method in interface dev.myriadclient.api.build.Build
-
Whether it's still going: false once it has finished or been stopped.
- isRunning() - Method in class dev.myriadclient.api.job.Progress
-
Whether it's
Progress.running(). - isRunning() - Method in class dev.myriadclient.api.world.ChunkCache
-
Whether it's listening and computing: between
ChunkCache.start()andChunkCache.stop(), or while its module is on. - isSerializable() - Method in class dev.myriadclient.api.setting.ActionSetting
- isSerializable() - Method in class dev.myriadclient.api.setting.Setting
-
Whether this setting is written to config (actions aren't).
- isSet() - Method in interface dev.myriadclient.api.event.ListenerFlag
-
Whether at least one handler listens for the event (or a supertype) right now.
- isSet() - Method in record class dev.myriadclient.api.input.Keybind
-
Whether this is a bind at all (not
Keybind.NONE). - isShulkerBox(ItemStack) - Static method in class dev.myriadclient.api.item.ItemInfo
-
Whether it's a shulker box of any colour.
- isSingleplayer() - Method in interface dev.myriadclient.api.service.ServerStats
-
Whether you're playing a singleplayer world (the integrated server).
- isSpared(ItemStack) - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- isSpared(ItemStack) - Method in interface dev.myriadclient.api.service.Inventory
-
Whether a module asked for
stackto be left alone (Inventory.spare(Object, Predicate)). - isStorage(BlockPos) - Static method in class dev.myriadclient.api.world.BlockInfo
-
BlockInfo.isStorage(BlockState)for the block atpos. - isStorage(BlockState) - Static method in class dev.myriadclient.api.world.BlockInfo
-
Holds items players put in and take out: chests, barrels, shulkers, ender chests, hoppers, furnaces…
- isStrict() - Method in interface dev.myriadclient.api.service.AntiCheat
-
Whether the profile in effect simulates movement (
AntiCheat.Profile.simulatesMovement()), as Grim does. - isStuck() - Method in class dev.myriadclient.api.job.Progress
-
Whether it's
Progress.stuck(Why). - isSubscribed(Object) - Method in interface dev.myriadclient.api.event.EventBus
-
Whether
listener(an object, or a class subscribed for its static handlers) is subscribed now. - issues() - Method in class dev.myriadclient.api.addon.Addon
-
Where to report problems, from
contact.issuesin fabric.mod.json. - isSurrounded(Entity) - Static method in class dev.myriadclient.api.world.Holes
-
Whether every
Holes.surround(Entity)position ofentitysurvives explosions. - isSuspended() - Method in class dev.myriadclient.api.module.Module
-
Whether something holds the module off (
Modules.suspend(Object, Module)) while the player has it on: it comes back on by itself once the last suspender lets go, and saves as on meanwhile. - isThemeRole() - Method in enum class dev.myriadclient.api.setting.SettingColor.Mode
-
Whether this is a theme role (not
SettingColor.Mode.STATICorSettingColor.Mode.RAINBOW). - isToggle() - Method in class dev.myriadclient.api.ui.TitleControl
-
Core's: whether this is a switch rather than a button.
- isTool(ItemStack) - Static method in class dev.myriadclient.api.item.ItemInfo
-
Whether it's a mining tool: a pickaxe, axe, shovel, hoe or shears (axes are both weapon and tool).
- isTranslated() - Method in interface dev.myriadclient.api.service.AntiCheat
-
Whether ViaFabricPlus translates this connection to another version than the game's own.
- isUnbreakable(BlockPos) - Static method in class dev.myriadclient.api.world.BlockInfo
-
BlockInfo.isUnbreakable(BlockState)for the block atpos. - isUnbreakable(BlockState) - Static method in class dev.myriadclient.api.world.BlockInfo
-
Bedrock, barriers, end portal frames and the like: nothing a survival player can mine.
- isVisible() - Method in class dev.myriadclient.api.render.WorldMesh
-
Whether it's shown (
WorldMesh.setVisible(boolean)); a visible mesh still draws nothing while empty or its module is off. - isVisible() - Method in class dev.myriadclient.api.setting.Setting
-
Whether the settings window shows it right now, from the builder's
Setting.Builder.visible. - isVisible() - Method in class dev.myriadclient.api.ui.TitleControl
-
Core's: whether it shows this frame.
- isVisible() - Method in class dev.myriadclient.api.ui.widget.Widget
-
Whether it shows now: hidden widgets take no room, draw nothing and get no input.
- isWeapon(ItemStack) - Static method in class dev.myriadclient.api.item.ItemInfo
-
Whether it's a melee weapon: a sword, axe, trident or mace.
- isWhisper() - Method in record class dev.myriadclient.api.util.ChatMessages.Parsed
-
Whether it's a whisper either way (
ChatMessages.Kind.WHISPER_INorChatMessages.Kind.WHISPER_OUT). - item() - Static method in class dev.myriadclient.api.command.arguments.Arguments
-
An item by id (
diamond_pickaxe); read it withRegistryArgumentType.getItem(CommandContext, String). - item() - Static method in class dev.myriadclient.api.command.arguments.RegistryArgumentType
-
An item argument.
- item() - Method in class dev.myriadclient.api.event.events.HighlightEvent.Hand
-
The held item; empty for
HighlightEvent.Hand.Part.ARM. - item() - Method in record class dev.myriadclient.api.render.WorldLabel.Segment
-
Returns the value of the
itemrecord component. - item(String, Item) - Method in class dev.myriadclient.api.setting.SettingGroup
-
A single item, e.g.
- item(ItemStack) - Static method in record class dev.myriadclient.api.render.WorldLabel.Segment
-
An item icon, drawn the height of the text (e.g.
- item(ItemStack) - Static method in class dev.myriadclient.api.ui.widget.Preview
-
An item as a 3D model.
- item(ItemStack) - Static method in class dev.myriadclient.api.util.Texts
-
The item's name, showing its full tooltip on hover.
- item(ItemStack, float, float, float) - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
Draws an item icon with its count and durability bar,
sizeunits square. - item(ItemStack, float, float, float, boolean) - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
Draws an item icon
sizeunits square, with Minecraft's item renderer;overlayadds the vanilla count and durability bar. - item(BlockState) - Static method in class dev.myriadclient.api.build.BlockRules
-
The item that places
target: a torch for a wall torch, redstone for redstone wire, string for tripwire. - Item(InteractionHand) - Constructor for class dev.myriadclient.api.event.events.InteractEvent.Item
-
Core's; only Myriad makes these.
- ITEM - Enum constant in enum class dev.myriadclient.api.event.events.HighlightEvent.Hand.Part
-
The item held in the hand.
- ITEM - Enum constant in enum class dev.myriadclient.api.item.ItemMatch
-
Same item, whatever its enchantments, name or wear.
- ITEM_FRAMES - Enum constant in enum class dev.myriadclient.api.render.EntityGroups.Group
-
Item frames, glowing ones included.
- ItemHud - Class in dev.myriadclient.api.ui.hud
-
Durability bars, percentages and colours for HUD elements that show items, so they all look alike.
- ItemHud.Durability - Enum Class in dev.myriadclient.api.ui.hud
-
How an element shows an item's durability: an option for players.
- ItemInfo - Class in dev.myriadclient.api.item
-
Questions about item stacks that features keep asking: enchantments, food, contents, durability, gear kind, armour.
- ItemMatch - Enum Class in dev.myriadclient.api.item
-
When two stacks count as the same item for a layout (a kit, a sort): stacks that stack together always do.
- items(String) - Static method in class dev.myriadclient.api.setting.RegistryListSetting
-
A builder for a set of items, not added to any group; prefer
SettingGroup.items(String). - items(String) - Method in class dev.myriadclient.api.setting.SettingGroup
-
A set of items (what to keep, what to throw).
- ITEMS - Enum constant in enum class dev.myriadclient.api.render.EntityGroups.Group
-
Dropped items.
- ItemSubject(ItemStack) - Constructor for record class dev.myriadclient.api.ui.widget.Preview.ItemSubject
-
Keeps a copy of
stack, so later changes to it don't show. - ItemTooltipEvent - Class in dev.myriadclient.api.event.events
-
An item's tooltip lines were built.
- ItemTooltipEvent(ItemStack, List, TooltipFlag) - Constructor for class dev.myriadclient.api.event.events.ItemTooltipEvent
-
Core's; only Myriad makes these.
- itemUseCooldown() - Static method in class dev.myriadclient.api.player.Interactions
-
Ticks until right-click can be used again (vanilla waits 4 between uses).
- ItemUseEvent - Class in dev.myriadclient.api.event.events
-
The local player stopped using an item: food eaten, potion drunk, bow released.
- ItemUseEvent(ItemStack) - Constructor for class dev.myriadclient.api.event.events.ItemUseEvent
-
Core's; addons don't make these.
- ItemUseEvent.Finished - Class in dev.myriadclient.api.event.events
-
The use completed (eating or drinking finished).
- ItemUseEvent.Stopped - Class in dev.myriadclient.api.event.events
-
The use was let go early (releasing a bow or trident, stopping eating).
J
- job() - Method in interface dev.myriadclient.api.job.JobContext
-
The job this step runs in: pass it as the
ownerto every service (Myriad.placement().place(ctx.job(), ...)), so that cancelling the job cancels what the step asked for, and two jobs of one module don't cancel each other's. - job() - Method in class dev.myriadclient.api.job.JobEvent
-
The job it's about.
- Job<T> - Interface in dev.myriadclient.api.job
-
A step being run (or finished): what
Jobs.start(Object, Step)hands back, what the Jobs window lists, what another addon sees throughJobEvent. - Job.JobException - Exception Class in dev.myriadclient.api.job
-
A failed or cancelled job's reason, as an exception for
Job.result(). - Job.State - Enum Class in dev.myriadclient.api.job
-
Where a job stands.
- JobContext - Interface in dev.myriadclient.api.job
-
What a
Step.Runmay use while it runs. - JobEngine - Class in dev.myriadclient.api.job
-
The job runner's engine: the tree of jobs, ticked once per tick by core, with no game behind it so the semantics are tested on their own.
- JobEngine(JobEngine.Host) - Constructor for class dev.myriadclient.api.job.JobEngine
-
Core's: an engine wired to the game through
host. - JobEngine.Host - Interface in dev.myriadclient.api.job
-
What the engine needs from the game.
- JobEvent - Class in dev.myriadclient.api.job
-
Jobs starting, changing and finishing, on the bus: for UIs, and for addons that react to another addon's work (a Discord addon posting when a search lands).
- JobEvent.Changed - Class in dev.myriadclient.api.job
-
Its state, reason, status or progress changed.
- JobEvent.Finished - Class in dev.myriadclient.api.job
-
Done, failed or cancelled;
Job.state()andJob.why()say which. - JobEvent.Started - Class in dev.myriadclient.api.job
-
A job (root or child) started.
- JobException(Why) - Constructor for exception class dev.myriadclient.api.job.Job.JobException
-
Core's; only Myriad makes these.
- jobs() - Static method in class dev.myriadclient.api.Myriad
-
Long-running work as jobs: start a
Stepfor your module and the runner ticks it, shows it in the Jobs window, and cancels it when the module turns off. - jobs() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.jobs(). - Jobs - Interface in dev.myriadclient.api.job
-
Runs steps as jobs (
Myriad.jobs()). - JOBS - Static variable in class dev.myriadclient.api.event.Priority
-
Where jobs tick (
Myriad.jobs()): after actions held over from the last tick have gone out (1000), before the services send this tick's (inventory 960, rotations 900, placement 890, breaking 880), so what a step asks for goes out in this tick's packets. - Join() - Constructor for class dev.myriadclient.api.event.events.WorldEvent.Join
- joinedProtocol() - Method in interface dev.myriadclient.api.service.AntiCheat
-
The protocol number of the version the server sees you as: the one ViaFabricPlus translates to when it does (1.20.4 is 765), otherwise this game's own; -1 if it can't be told.
- joinedVersion() - Method in interface dev.myriadclient.api.service.AntiCheat
-
That version as players name it: "1.20.4", "26.2"; "unknown" if it can't be told.
- json() - Method in class dev.myriadclient.api.setting.SavedSettings
-
The underlying JSON, for changes the helpers don't cover.
- json() - Method in class dev.myriadclient.api.share.ConfigShare
-
The document, as JSON (a copy).
- jump - Variable in class dev.myriadclient.api.event.events.InputEvent
-
Whether each movement key counts as held this tick: walk forward, back, strafe left, right, jump, sneak and sprint.
K
- keepKeys() - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- keepKeys() - Method in interface dev.myriadclient.api.service.Inventory
-
Keeps your keys as they are this tick although a click is waiting (
Inventory.prepareClick()would let go of them): for a module that needs them this tick (a jump it can't miss) and gives the click a still tick itself soon (seeInventory.clickWaiting()). - keepUp() - Method in class dev.myriadclient.api.service.Building.Options
-
Keep running when everything is done, putting back what changes (surround); otherwise the build finishes once the blueprint is done.
- keepUp(Blueprint, Building.Options) - Static method in class dev.myriadclient.api.job.Steps
-
Keeps
blueprintas it is (a surround): never done; cancel it. - key() - Method in class dev.myriadclient.api.event.events.KeyEvent
-
Which key, by its position on the keyboard: an
InputConstants.KEY_*value (Q is where a US layout has it). - key(int) - Static method in record class dev.myriadclient.api.input.Keybind
-
A bind on the key
key(InputConstants.KEY_*) with no modifiers. - key(int, int) - Static method in record class dev.myriadclient.api.input.Keybind
-
A bind on the key
keywithmodifiers(InputConstants.MOD_*bits) held. - KEY - Static variable in class dev.myriadclient.api.ui.Icons
- KeyAction - Class in dev.myriadclient.api.input
-
A named, rebindable global key action (e.g.
- KeyAction(MyriadId, String, Keybind, Runnable) - Constructor for class dev.myriadclient.api.input.KeyAction
-
A key action bound to
defaultBinduntil the player rebinds it. - keyActions() - Static method in class dev.myriadclient.api.Myriad
-
Every global key action (Open Menu, and addons' own), rebindable in the Keybinds panel.
- keyActions() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.keyActions(). - keybind - Variable in class dev.myriadclient.api.module.Module
-
The key that toggles the module (or holds it on, with
Module.holdMode); unbound by default. - keybind() - Method in interface dev.myriadclient.api.control.ControlPanel
-
The bind that turns it on and off in game (
Keybind.NONEif it has none). - keybind() - Method in class dev.myriadclient.api.control.ControlPreset
-
The bind it starts with;
Keybind.NONEunless the builder gave one. - keybind(Keybind) - Method in class dev.myriadclient.api.control.ControlPreset.Builder
-
Its default bind (none unless given).
- keybind(String) - Method in class dev.myriadclient.api.setting.SettingGroup
-
A key or mouse button, for an action inside a module.
- Keybind - Record Class in dev.myriadclient.api.input
-
A key or mouse button with optional modifiers (
InputConstants.MOD_*bits). - Keybind(int, boolean, int) - Constructor for record class dev.myriadclient.api.input.Keybind
-
Keeps
modifiersasKeybind.pairs(int)gives them, so either side of a modifier matches. - KeybindButton - Class in dev.myriadclient.api.ui.widget
-
Click, then press a key or mouse button (middle/side) to bind, with any modifiers held.
- KeybindButton(Supplier, Consumer) - Constructor for class dev.myriadclient.api.ui.widget.KeybindButton
- KeybindSetting - Class in dev.myriadclient.api.setting
-
A key or mouse button.
- KeybindSetting(String, String, Keybind, Supplier) - Constructor for class dev.myriadclient.api.setting.KeybindSetting
-
A setting as its
KeybindSetting.Buildermakes it; get one fromSettingGroup.keybind(String), or call this from a subclass. - KeybindSetting.Builder - Class in dev.myriadclient.api.setting
-
Builds a
KeybindSetting; unbound (Keybind.NONE) by default. - KEYBOARD - Static variable in class dev.myriadclient.api.ui.Icons
- keyEvent(int, int) - Static method in enum class dev.myriadclient.api.ui.ThemeSettings.ModKey
-
Core's: a key event from the window (KeyboardHandlerMixin), pressed or released, if it's one of the modifier keys.
- KeyEvent - Class in dev.myriadclient.api.event.events
-
A keyboard key was pressed, released or repeated (held down) in the game window, in a screen or not.
- KeyEvent(int, int, int, int, boolean) - Constructor for class dev.myriadclient.api.event.events.KeyEvent
-
Core's; only Myriad makes these.
- keyName(int) - Static method in record class dev.myriadclient.api.input.Keybind
-
The game's name for the key
keyin its language ("T","Left Shift"), or"Key <n>". - keyOf(Setting) - Method in class dev.myriadclient.api.setting.Settings
-
The shortest key that identifies
setting: its id, orgroup.idif another group reuses the id. - keyPressed(int, int, int) - Method in class dev.myriadclient.api.ui.Panel
-
A key pressed while this window is focused.
- keyPressed(int, int, int) - Method in class dev.myriadclient.api.ui.widget.KeybindButton
- keyPressed(int, int, int) - Method in class dev.myriadclient.api.ui.widget.TextField
- keyPressed(int, int, int) - Method in class dev.myriadclient.api.ui.widget.Widget
-
A key pressed while this widget is focused:
keyis its position (anInputConstants.KEY_*value),scancodewhat it types on the player's layout (asKeyEvent);modifiersareInputConstants.MOD_*bits. - keyPressed(int, int, int) - Method in class dev.myriadclient.api.ui.widget.WidgetRoot
-
A key: to the focused widget if there is one, else to keyboard navigation.
- keyPressed(int, int, int) - Method in class dev.myriadclient.api.ui.WidgetPanel
- keys() - Method in record class dev.myriadclient.api.service.Inventory.ClickMoment
-
Returns the value of the
keysrecord component. - keywords() - Method in record class dev.myriadclient.api.ui.Icons.Icon
-
Returns the value of the
keywordsrecord component. - kind() - Method in record class dev.myriadclient.api.util.ChatMessages.Parsed
-
Returns the value of the
kindrecord component. - kind(Entity) - Static method in class dev.myriadclient.api.world.Entities
-
Players; hostiles (anything vanilla treats as a monster, including phantoms, slimes, ghasts and shulkers); passives; the rest.
- knob() - Method in class dev.myriadclient.api.ui.TitleControl
-
Core's: a switch's knob animation.
- knownServers() - Method in interface dev.myriadclient.api.service.AntiCheat
-
Hosts known to run Grim, for detection to take as
AntiCheat.Profile.GRIMfrom the moment you join (subdomains included), lower case without ports.
L
- label() - Method in interface dev.myriadclient.api.hook.Contribution
-
What it does, as the addon put it ("Smooth turns").
- label() - Method in class dev.myriadclient.api.ui.hud.HudStyle
-
Label colour (the theme's dim text when this style has no label option).
- label() - Method in interface dev.myriadclient.api.ui.widget.RegistryPicker.Source
-
The collapsed row's text, e.g.
- Label - Class in dev.myriadclient.api.ui.widget
-
Text, wrapped to the available width (or cut short with "…", see
Label.oneLine), in the theme's text colour, font and size unless told otherwise. - Label(String) - Constructor for class dev.myriadclient.api.ui.widget.Label
-
A label showing
text. - Label(Supplier) - Constructor for class dev.myriadclient.api.ui.widget.Label
-
A label showing what
textreturns, asked every frame. - land() - Method in interface dev.myriadclient.api.elytra.Flight
-
Comes down to land where it is;
Flight.onLanded(Consumer)hears null once down. - LANDING - Enum constant in enum class dev.myriadclient.api.elytra.Flight.State
-
Coming down to land: told to, or it can't go on (
Flight.why()says which). - LANGUAGE - Static variable in class dev.myriadclient.api.ui.Icons
- lastAddress() - Method in interface dev.myriadclient.api.service.ServerStats
-
The address of the last server you joined this session (the one you're on, if any), or null if none.
- lasting(long) - Method in class dev.myriadclient.api.service.Notifications.Toast
-
How long it stays up, in milliseconds.
- later(Object, int, Runnable) - Method in class dev.myriadclient.api.job.JobEngine
- later(Object, int, Runnable) - Method in interface dev.myriadclient.api.job.Jobs
-
Runs
actionafterticksticks (0 or less: at the coming job tick), at the start of that tick, as a job ofowner's; cancel the job to call it off. - launch(LivingEntity, ItemStack, float, float) - Static method in class dev.myriadclient.api.combat.Trajectory
-
How
shooterwould launchitemfacingyaw/pitch: bows at their current draw (full when not drawing), charged crossbows, tridents, snowballs, eggs, pearls, splash and lingering potions, bottles o' enchanting and wind charges. - Launch(Vec3, Vec3, Trajectory.Ballistics) - Constructor for record class dev.myriadclient.api.combat.Trajectory.Launch
-
Creates an instance of a
Launchrecord class. - layer(Rendering.Layer, boolean) - Method in interface dev.myriadclient.api.render.Rendering
-
Core's: what
RenderLayershands out. - layout() - Method in class dev.myriadclient.api.service.Containers.Arrangement
-
What each of
Containers.Arrangement.slots()should hold, in the same order; null entries are left be. - layout(Canvas, float, float, float) - Method in class dev.myriadclient.api.ui.widget.Widget
-
Lays the widget out at (x, y) with the given width; returns its height (0 while it's hidden, without measuring).
- Layout - Interface in dev.myriadclient.api.ui.layout
-
A tiling algorithm.
- layouts() - Static method in class dev.myriadclient.api.Myriad
-
Every tiling layout the UI's workspaces can use.
- layouts() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.layouts(). - LayoutState<W> - Interface in dev.myriadclient.api.ui.layout
-
The tiling of one workspace.
- LayoutState.Splitter - Interface in dev.myriadclient.api.ui.layout
-
A resizable boundary:
boundsis the hit area;LayoutState.Splitter.drag(float, float)receives the mouse position. - LEAF - Static variable in class dev.myriadclient.api.ui.Icons
- Leave() - Constructor for class dev.myriadclient.api.event.events.WorldEvent.Leave
- left - Variable in class dev.myriadclient.api.event.events.InputEvent
-
Whether each movement key counts as held this tick: walk forward, back, strafe left, right, jump, sneak and sprint.
- LEFT - Enum constant in enum class dev.myriadclient.api.ui.BarWidget.Side
-
From the left edge rightwards.
- LEFT - Enum constant in enum class dev.myriadclient.api.ui.PanelType.Anchor
-
The middle of the left edge.
- LEFT - Enum constant in enum class dev.myriadclient.api.ui.Side
-
The left half.
- LEFT_WORLD - Static variable in class dev.myriadclient.api.job.Why
-
You left the world; every job ends with this.
- LEGS - Static variable in class dev.myriadclient.api.item.Slots
-
The armour slots' inventory indexes, feet (36) to head (39).
- lerp(double, Vec3, Vec3) - Static method in class dev.myriadclient.api.util.MathUtil
-
The point
tof the way fromatob(0 = a, 1 = b), unclamped. - lerp(int, int, float) - Static method in class dev.myriadclient.api.util.ColorUtil
-
Blends every channel, alpha included, from
a(t = 0) tob(t = 1);tis clamped to 0..1. - lerp(Rect, float) - Method in record class dev.myriadclient.api.ui.Rect
-
The box
tof the way from this one too(0: this, 1:o), each field linearly. - lerpedBox(Entity, float) - Static method in class dev.myriadclient.api.world.Entities
-
The entity's bounding box at render time, interpolated between last tick's position and this tick's by
tickDelta(0..1, the frame's partial tick), so boxes drawn every frame move smoothly. - lerpedCenter(Entity, float) - Static method in class dev.myriadclient.api.world.Entities
-
The centre of
Entities.lerpedBox(Entity, float). - letsGlideDrop() - Method in interface dev.myriadclient.api.elytra.NoDurability.Owner
-
Whether the owner lets the glide drop and opens it again itself (a bounce): the catch keeps out of it.
- letter(int) - Static method in record class dev.myriadclient.api.input.Keybind
-
key(a key's position) as the letter it types on the player's keyboard layout, for letter shortcuts, so Ctrl+V is the key labelled V: theKEY_constant that letter has on a US layout; other keys unchanged. - level() - Method in record class dev.myriadclient.api.event.events.NotificationEvent
-
Returns the value of the
levelrecord component. - level() - Static method in class dev.myriadclient.api.util.Client
-
The world you're in (
mc.level); throwsIllegalStateExceptionoutside a world. - level(Notifications.Level) - Method in class dev.myriadclient.api.service.Notifications.Toast
-
How it's marked (
Notifications.Level.INFOunless set). - LEVEL_DOWN - Static variable in class dev.myriadclient.api.ui.Icons
- LEVEL_UP - Static variable in class dev.myriadclient.api.ui.Icons
- LIFE_RING - Static variable in class dev.myriadclient.api.ui.Icons
- LIGHTBULB - Static variable in class dev.myriadclient.api.ui.Icons
- limit(PacketLimits.Kind) - Method in interface dev.myriadclient.api.service.PacketLimits
-
How many packets of
kindthe budget allows per window (PacketLimits.windowMs(Kind)). - limit(ToIntFunction) - Method in class dev.myriadclient.api.service.Containers.Arrangement
-
Caps how many of each item may come into the layout's slots from sources outside them:
allowancesays how many of an item (a layout's stack) may be taken, counted from the start. - limits() - Static method in class dev.myriadclient.api.Myriad
-
The shared budget for packets servers count (block actions, interactions, inventory clicks).
- limits() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.limits(). - line(double, double, double, double, double, double, int, int, boolean) - Method in class dev.myriadclient.api.render.ShapeBuilder
-
A line from (x1, y1, z1) to (x2, y2, z2) fading from
fromColortotoColor, with no vectors made. - line(float, float, float, float, float, int) - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
A straight line
thicknessUI units wide (at least one pixel), with square ends. - line(Vec3, Vec3, int, boolean) - Static method in class dev.myriadclient.api.render.Renderer3D
-
A line between two points, in the current
Renderer3D.lineWidth(float). - line(Vec3, Vec3, int, boolean) - Method in class dev.myriadclient.api.render.ShapeBuilder
-
A line between two points in one colour, in the current
ShapeBuilder.lineWidth(). - line(Vec3, Vec3, int, int, boolean) - Static method in class dev.myriadclient.api.render.Renderer3D
-
A line whose colour fades from
fromColortotoColor. - line(Vec3, Vec3, int, int, boolean) - Method in class dev.myriadclient.api.render.ShapeBuilder
-
A line fading from
fromColortotoColor. - LINE_CHART - Static variable in class dev.myriadclient.api.ui.Icons
- LINEAR - Enum constant in enum class dev.myriadclient.api.ui.draw.Easing
-
Constant speed.
- LINEAR - Enum constant in enum class dev.myriadclient.api.ui.ThemeSettings.Curve
-
Bezier.LINEAR: constant speed. - LINEAR - Static variable in record class dev.myriadclient.api.ui.draw.Bezier
-
Constant speed.
- lines() - Method in class dev.myriadclient.api.event.events.ItemTooltipEvent
-
The tooltip's lines, which you may change: what's left after every handler is what shows.
- lines(boolean) - Static method in class dev.myriadclient.api.render.RenderLayers
-
Lines (position, colour, normal = direction, line width).
- lines(TextHudPanel.Lines) - Method in class dev.myriadclient.api.ui.hud.TextHudPanel
-
Called every frame (twice: to size the element and to draw it): add this frame's lines to
out, which starts empty. - Lines() - Constructor for class dev.myriadclient.api.ui.hud.TextHudPanel.Lines
- LINES - Enum constant in enum class dev.myriadclient.api.render.Renderer3D.ShapeMode
-
Only the outline.
- LINES - Enum constant in enum class dev.myriadclient.api.render.Rendering.Layer
-
Core's:
RenderLayers.lines(boolean). - lineWidth - Variable in class dev.myriadclient.api.render.RenderSettings
-
Box mode: the width of a box's edges in pixels, 0 for faces only.
- lineWidth - Variable in class dev.myriadclient.api.render.ShapeBuilder
-
The width in pixels of lines added now; see
ShapeBuilder.lineWidth(float). - lineWidth() - Method in interface dev.myriadclient.api.render.RenderLook
-
A box's edge width in pixels in
RenderMode.BOX. - lineWidth() - Method in class dev.myriadclient.api.render.RenderSettings
-
The Line Width option.
- lineWidth() - Method in class dev.myriadclient.api.render.ShapeBuilder
-
The width in pixels of lines added now.
- lineWidth(float) - Static method in class dev.myriadclient.api.render.Renderer3D
-
Line width in pixels for the lines queued after this call.
- lineWidth(float) - Method in class dev.myriadclient.api.render.RenderSettings.Builder
-
The box edges' width the options start from (1.5 unless set; 0 for faces only).
- lineWidth(float) - Method in class dev.myriadclient.api.render.ShapeBuilder
-
Line width in pixels for the lines added after this call; returns this builder.
- LINK - Static variable in class dev.myriadclient.api.ui.Icons
- list() - Method in class dev.myriadclient.api.combat.Targets.Query
-
Every match among the entities the client has, best first; a new list, empty outside a world.
- LIST - Static variable in class dev.myriadclient.api.ui.Icons
- listed(boolean) - Method in class dev.myriadclient.api.ui.PanelType.Builder
-
Whether the launcher offers it; true unless
PanelType.Builder.factory(Function)was used. - listen(Class, int, Consumer) - Method in interface dev.myriadclient.api.event.EventBus
- listen(Class, Consumer) - Method in interface dev.myriadclient.api.event.EventBus
- listen(Class, Consumer) - Method in interface dev.myriadclient.api.job.JobEngine.Host
-
Core's: listens on the event bus.
- ListenerFlag - Interface in dev.myriadclient.api.event
-
Whether anything listens for an event, kept current by the bus; see
EventBus.flag(Class). - listSuggestions(CommandContext, SuggestionsBuilder) - Method in class dev.myriadclient.api.command.arguments.BlockPosArgumentType
- listSuggestions(CommandContext, SuggestionsBuilder) - Method in class dev.myriadclient.api.command.arguments.ChoiceArgumentType
- listSuggestions(CommandContext, SuggestionsBuilder) - Method in class dev.myriadclient.api.command.arguments.DurationArgumentType
- listSuggestions(CommandContext, SuggestionsBuilder) - Method in class dev.myriadclient.api.command.arguments.EnumArgumentType
- listSuggestions(CommandContext, SuggestionsBuilder) - Method in class dev.myriadclient.api.command.arguments.ModuleArgumentType
- listSuggestions(CommandContext, SuggestionsBuilder) - Method in class dev.myriadclient.api.command.arguments.PlayerArgumentType
- listSuggestions(CommandContext, SuggestionsBuilder) - Method in class dev.myriadclient.api.command.arguments.ProfileArgumentType
- listSuggestions(CommandContext, SuggestionsBuilder) - Method in class dev.myriadclient.api.command.arguments.RegistryArgumentType
- listSuggestions(CommandContext, SuggestionsBuilder) - Method in class dev.myriadclient.api.command.arguments.SettingArgumentType
- listSuggestions(CommandContext, SuggestionsBuilder) - Method in class dev.myriadclient.api.command.arguments.SettingValueArgumentType
- literal(String) - Static method in class dev.myriadclient.api.command.Command
-
A literal word node, for sub-commands (
literal("add")). - live() - Method in class dev.myriadclient.api.ui.Theme
-
What
Theme.live(Supplier)set, or null for a theme that doesn't follow anything. - live(Service) - Method in interface dev.myriadclient.api.hook.Hooks
-
Every replacement of
servicerunning here: the one for everyone and those for some callers. - live(Supplier) - Method in class dev.myriadclient.api.ui.Theme
-
Makes the theme follow something that changes outside the game.
- load(JsonObject) - Method in class dev.myriadclient.api.ui.Panel
-
Reads back what
Panel.save(JsonObject)wrote, when the window is restored;inis empty if nothing was saved. - load(JsonObject, Function) - Method in interface dev.myriadclient.api.ui.layout.LayoutState
-
Restores what
LayoutState.save(Function)wrote into this empty state;windowsresolves keys (returning null for windows that no longer exist, or were placed already), and those are skipped. - Loaded(Containers.View) - Constructor for class dev.myriadclient.api.event.events.ContainerEvent.Loaded
-
Core's; only Myriad makes these.
- Loaded(LevelChunk) - Constructor for class dev.myriadclient.api.event.events.ChunkEvent.Loaded
-
Core's; only Myriad makes these.
- LOADED - Enum constant in enum class dev.myriadclient.api.addon.AddonState
-
Every phase ran without throwing: its modules, commands and the rest are registered.
- LOADING - Enum constant in enum class dev.myriadclient.api.addon.AddonState
-
Found, and going through its
MyriadAddonphases; also the state of every addon while the game starts. - LOCATION_ARROW - Static variable in class dev.myriadclient.api.ui.Icons
- LOCK - Static variable in class dev.myriadclient.api.ui.Icons
- log(Job, String) - Method in interface dev.myriadclient.api.job.JobEngine.Host
-
Core's: writes a line attributed to
jobto the log. - log(String) - Method in interface dev.myriadclient.api.job.JobContext
-
A line in the log, attributed to the job ("Printer › Build wall: ...").
- logger() - Method in interface dev.myriadclient.api.addon.AddonContext
-
An SLF4J logger named after the addon's display name, for its messages in the game log.
- look() - Method in class dev.myriadclient.api.world.ChunkCache
-
Built with
ChunkCache.Builder.boxes: its look, or null. - Look(Vec3, float) - Constructor for class dev.myriadclient.api.event.events.PlayerViewEvent.Look
-
Core's; only Myriad makes these.
- lookAt(Object, Vec3, int) - Method in interface dev.myriadclient.api.service.Rotations
-
Requests the look from your eyes to
targetfor this tick, applied instantly (Rotations.request(Object, float, float, int)). - lookAt(Object, Vec3, int, Rotations.Options) - Method in interface dev.myriadclient.api.service.Rotations
-
Requests the look from your eyes to
targetfor this tick, applied asoptionssay (Rotations.request(Object, float, float, int)). - lookAt(Vec3, Rotations.Options) - Static method in class dev.myriadclient.api.job.Steps
-
Turns the server-side look onto
targetand is done once the rotation has gone out (asked for each tick until then). - lookAtHit() - Method in class dev.myriadclient.api.service.Placement.Click
-
Whether the click lands where that look meets the block, rather than exactly on
Placement.Click.hit(). - LOOSE - Enum constant in enum class dev.myriadclient.api.item.ItemMatch
-
Same item and the same components, except wear, the anvil cost and the name: a kit's sword with its enchantments, worn or not.
- LOW - Static variable in class dev.myriadclient.api.event.Priority
-
After the default: to react to what other handlers left.
- LOWEST - Static variable in class dev.myriadclient.api.event.Priority
-
After almost every other handler: to have the last word on what an event carries.
M
- magenta - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
The palette's magenta; also a
SettingColorrole. - MAGENTA - Enum constant in enum class dev.myriadclient.api.setting.SettingColor.Mode
-
The theme's magenta.
- MAGIC - Static variable in class dev.myriadclient.api.ui.Icons
- MAGNET - Static variable in class dev.myriadclient.api.ui.Icons
- MAIN_END - Static variable in class dev.myriadclient.api.item.Slots
-
Inventory index ranges, start inclusive and end exclusive: the hotbar is
0..8, the main inventory9..35;OFF_HANDis the off hand's index, 40. - MAIN_START - Static variable in class dev.myriadclient.api.item.Slots
-
Inventory index ranges, start inclusive and end exclusive: the hotbar is
0..8, the main inventory9..35;OFF_HANDis the off hand's index, 40. - map(double, double, double, double, double) - Static method in class dev.myriadclient.api.util.MathUtil
-
Maps
valuefrom one range to another (unclamped). - map(String, String, UnaryOperator) - Method in class dev.myriadclient.api.setting.SavedSettings
-
Rewrites a saved value, e.g.
- MAP - Static variable in class dev.myriadclient.api.ui.Icons
- MAP_MARKER - Static variable in class dev.myriadclient.api.ui.Icons
- MAP_PIN - Static variable in class dev.myriadclient.api.ui.Icons
- MAP_SIGNS - Static variable in class dev.myriadclient.api.ui.Icons
- maps() - Static method in class dev.myriadclient.api.Myriad
-
The map mods installed alongside Myriad (Xaero's Minimap): their waypoints, empty without one.
- maps() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.maps(). - Maps - Interface in dev.myriadclient.api.map
-
The map mods installed alongside Myriad, read without depending on them: everything is empty when none is.
- markDirty() - Method in interface dev.myriadclient.api.config.ConfigManager
-
Asks for a save: the profile is written about two seconds after the first change since the last save, so a burst of changes costs one write.
- markFailed(Throwable) - Method in class dev.myriadclient.api.addon.Addon
-
Core's: the addon threw while loading; what it registered has been rolled back.
- markLoaded() - Method in class dev.myriadclient.api.addon.Addon
-
Core's: the addon's initialize and postInitialize ran without throwing.
- mask(Object, long, int...) - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- mask(Object, long, int...) - Method in interface dev.myriadclient.api.service.Inventory
-
Keeps the slots
inventoryIndexeslooking as they do now whileownermoves items among them, for a swap the player needn't see (a chestplate in and out of the chest slot several times a second, say). - match() - Method in interface dev.myriadclient.api.hook.Contribution
-
When it applies: for which callers, on which anti-cheat profile and server.
- match() - Method in class dev.myriadclient.api.service.Containers.Arrangement
-
When a stack counts as the layout's item (
Containers.Arrangement.match(ItemMatch)). - match(ItemMatch) - Method in class dev.myriadclient.api.service.Containers.Arrangement
-
When a stack counts as the layout's item (default
ItemMatch.EXACT). - Match - Class in dev.myriadclient.api.hook
-
When a contribution applies: for which module (the caller), on which anti-cheat profile, on which server.
- matches(String) - Method in record class dev.myriadclient.api.ui.Icons.Icon
-
Whether every word of
querystarts a word of the name, section or keywords, ignoring case (a hyphen in the icon's words counts as a space). - matches(String, String) - Static method in class dev.myriadclient.api.util.FuzzyMatch
-
Whether
querymatchestextin any tier, for filtering without ranking. - matches(BlockState, BlockState, boolean) - Static method in class dev.myriadclient.api.build.BlockRules
-
Whether
currentalready istargetas far as a build can make it: the same block, placed the same way, with as many of it, and (withsettings) clicked into the same setting. - matches(BlockGetter, BlockPos, BlockState) - Method in class dev.myriadclient.api.build.Target.Air
- matches(BlockGetter, BlockPos, BlockState) - Method in class dev.myriadclient.api.build.Target.Exact
- matches(BlockGetter, BlockPos, BlockState) - Method in interface dev.myriadclient.api.build.Target
-
Whether
stateatposalready is what this target wants. - matches(BlockGetter, BlockPos, BlockState) - Method in class dev.myriadclient.api.build.Target.Solid
- matchesKey(int, int) - Method in record class dev.myriadclient.api.input.Keybind
-
Whether a key event for
keywithmodsheld (as the event gives them) is this bind: a key bind on that key, with every modifier of the bind held. - matchesMouse(int, int) - Method in record class dev.myriadclient.api.input.Keybind
-
Keybind.matchesKey(int, int)for a mouse button event: a mouse bind onbutton, with its modifiers held. - MaterialSource - Interface in dev.myriadclient.api.job
-
Somewhere items can be fetched from, for
Steps.acquire(Predicate, int, List): a chest at a place, the shulker boxes you carry, or whatever an addon knows of (its own memory of a storage room). - MathUtil - Class in dev.myriadclient.api.util
-
Angles, directions and geometry.
- matrices() - Method in class dev.myriadclient.api.event.events.Render3DEvent
-
The world's pose stack for this frame.
- max() - Method in class dev.myriadclient.api.setting.DoubleSetting
-
The highest value it takes; anything higher is lowered to it.
- max() - Method in class dev.myriadclient.api.setting.IntListSetting
-
The highest value an entry takes; higher ones are lowered to it.
- max() - Method in class dev.myriadclient.api.setting.IntSetting
-
The highest value it takes; anything higher is lowered to it.
- MAX_OPTIONS - Static variable in class dev.myriadclient.api.render.HighlightStyle.Fill
-
How many options a fill's shader can read (
HighlightStyle.Fill.options(SettingGroup)). - mc - Static variable in class dev.myriadclient.api.command.Command
-
The game client.
- mc - Static variable in class dev.myriadclient.api.module.Module
-
The game client.
- mc - Static variable in class dev.myriadclient.api.ui.Panel
-
The game client.
- measure(Canvas, float) - Method in class dev.myriadclient.api.ui.widget.Button
- measure(Canvas, float) - Method in class dev.myriadclient.api.ui.widget.Collapsible
- measure(Canvas, float) - Method in class dev.myriadclient.api.ui.widget.ColorPicker
- measure(Canvas, float) - Method in class dev.myriadclient.api.ui.widget.Dropdown
- measure(Canvas, float) - Method in class dev.myriadclient.api.ui.widget.EmptyState
- measure(Canvas, float) - Method in class dev.myriadclient.api.ui.widget.HBox
- measure(Canvas, float) - Method in class dev.myriadclient.api.ui.widget.Heading
- measure(Canvas, float) - Method in class dev.myriadclient.api.ui.widget.IconPicker
- measure(Canvas, float) - Method in class dev.myriadclient.api.ui.widget.KeybindButton
- measure(Canvas, float) - Method in class dev.myriadclient.api.ui.widget.Label
- measure(Canvas, float) - Method in class dev.myriadclient.api.ui.widget.Note
- measure(Canvas, float) - Method in class dev.myriadclient.api.ui.widget.Preview
- measure(Canvas, float) - Method in class dev.myriadclient.api.ui.widget.RegistryPicker
- measure(Canvas, float) - Method in class dev.myriadclient.api.ui.widget.ScrollView
- measure(Canvas, float) - Method in class dev.myriadclient.api.ui.widget.SettingRow
- measure(Canvas, float) - Method in class dev.myriadclient.api.ui.widget.Slider
- measure(Canvas, float) - Method in class dev.myriadclient.api.ui.widget.Spacer
- measure(Canvas, float) - Method in class dev.myriadclient.api.ui.widget.StringListEditor
- measure(Canvas, float) - Method in class dev.myriadclient.api.ui.widget.TextField
- measure(Canvas, float) - Method in class dev.myriadclient.api.ui.widget.Toggle
- measure(Canvas, float) - Method in class dev.myriadclient.api.ui.widget.VBox
- measure(Canvas, float) - Method in class dev.myriadclient.api.ui.widget.Widget
-
Compute height for
widthand position children. - MEDKIT - Static variable in class dev.myriadclient.api.ui.Icons
- melee(Player, LivingEntity) - Static method in class dev.myriadclient.api.combat.Damage
-
A rough melee hit from
attackerontargetright now: its attack damage and Sharpness, scaled by its attack charge, times 1.5 if it would crit, aftertarget's armour. - menuSlot(AbstractContainerMenu, int) - Static method in class dev.myriadclient.api.item.Slots
-
The slot id in
menushowing your inventory indexindex(0-35; also 36-40 in your own inventory's menu), found by what each slot shows, so it works for any menu; -1 if the menu doesn't show it. - menuTint - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Drawn over the game behind the menu (not while editing the HUD).
- merge(int, int) - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- merge(int, int) - Method in interface dev.myriadclient.api.service.Inventory
-
Tops up the stack at
tofrom the stack atfromwhen they stack together: as much as fits moves over and the rest stays atfrom. - MergedBoxes - Class in dev.myriadclient.api.render
-
Draws touching blocks of the same group as one shape: a wall of chests becomes one outline instead of a box per chest.
- MergedBoxes.Lookup - Interface in dev.myriadclient.api.render
-
What's at a block.
- MergedBoxes.Paint - Interface in dev.myriadclient.api.render
-
The colour for a group; 0 (or fully transparent) draws none.
- mesh(ChunkCache.Mesher) - Method in class dev.myriadclient.api.world.ChunkCache.Builder
-
Draws each chunk's value into a mesh kept on the GPU.
- mesh(T, MeshBuilder) - Method in interface dev.myriadclient.api.world.ChunkCache.Mesher
-
Draws
value(never null: chunks without a value get no mesh) intomesh. - MeshBuilder - Class in dev.myriadclient.api.render
-
Records shapes for a
WorldMesh. - meshStamp() - Method in interface dev.myriadclient.api.render.RenderLook
-
Changes whenever something a kept mesh of boxes in this look depends on does: the mode, and the box's faces, edges and through walls (
ChunkCacheremeshes on it). - message() - Method in class dev.myriadclient.api.event.events.ChatReceiveEvent
-
The line as it will show: as received, or what an earlier handler set.
- message() - Method in class dev.myriadclient.api.event.events.ChatSendEvent
-
The text to send: what was typed, or what an earlier handler set.
- message() - Method in record class dev.myriadclient.api.event.events.NotificationEvent
-
Returns the value of the
messagerecord component. - metadata() - Method in class dev.myriadclient.api.addon.Addon
-
The full Fabric metadata, for what the accessors above don't cover.
- MICROCHIP - Static variable in class dev.myriadclient.api.ui.Icons
- MICROPHONE - Static variable in class dev.myriadclient.api.ui.Icons
- migrate(SavedSettings, String, String) - Static method in class dev.myriadclient.api.render.RenderSettings
-
Carries saved options of the looks before this one (a
BoxStyleand aHighlightSettingsin groupgroup, their names afternameif any) over to aRenderSettingsthere, for a module'smigrateSettings: the fill, which both modes share, is the shader one's if it was saved, else the box's (its Shape: edges only means no fill, faces only means no edges); Dot Spacing and Dot Size become the pattern's. - migrateSettings(int, SavedSettings) - Method in class dev.myriadclient.api.module.Module
-
Updates saved settings from
fromVersiontofromVersion + 1. - min() - Method in class dev.myriadclient.api.setting.DoubleSetting
-
The lowest value it takes; anything lower is raised to it.
- min() - Method in class dev.myriadclient.api.setting.IntListSetting
-
The lowest value an entry takes; lower ones are raised to it.
- min() - Method in class dev.myriadclient.api.setting.IntSetting
-
The lowest value it takes; anything lower is raised to it.
- Mining - Class in dev.myriadclient.api.player
-
Block breaking maths that mirrors the server, for mining with packets.
- MINUS - Static variable in class dev.myriadclient.api.ui.Icons
- minWidth(Canvas) - Method in class dev.myriadclient.api.ui.widget.Button
-
Its text with a little room; an icon alone keeps a square.
- minWidth(Canvas) - Method in class dev.myriadclient.api.ui.widget.Dropdown
- minWidth(Canvas) - Method in class dev.myriadclient.api.ui.widget.Heading
- minWidth(Canvas) - Method in class dev.myriadclient.api.ui.widget.IconPicker
- minWidth(Canvas) - Method in class dev.myriadclient.api.ui.widget.KeybindButton
-
The key's name, and enough for "Press a key…" not to lose too much.
- minWidth(Canvas) - Method in class dev.myriadclient.api.ui.widget.Label
-
Enough for a short text whole; a long one can wrap, but not so narrow that it breaks inside a word.
- minWidth(Canvas) - Method in class dev.myriadclient.api.ui.widget.Note
- minWidth(Canvas) - Method in class dev.myriadclient.api.ui.widget.RegistryPicker
- minWidth(Canvas) - Method in class dev.myriadclient.api.ui.widget.Slider
- minWidth(Canvas) - Method in class dev.myriadclient.api.ui.widget.Spacer
- minWidth(Canvas) - Method in class dev.myriadclient.api.ui.widget.TextField
- minWidth(Canvas) - Method in class dev.myriadclient.api.ui.widget.Toggle
- minWidth(Canvas) - Method in class dev.myriadclient.api.ui.widget.Widget
-
The narrowest this is still usable at, for a row deciding whether to shrink it or wrap (
HBox), or -1 if it has no opinion: a row then keeps a fixed child at its width and gives a shared one a small default. - MISC - Static variable in class dev.myriadclient.api.module.Tags
-
Anything the other tags don't cover: chat, connection, client utilities.
- missing() - Method in record class dev.myriadclient.api.share.ConfigShares.Applied
-
Returns the value of the
missingrecord component. - MISSING - Enum constant in enum class dev.myriadclient.api.elytra.ChestSwap.Need
-
There's no counterpart anywhere (for a while: not just a swap's moment): say so.
- MOD_ID - Static variable in class dev.myriadclient.api.Myriad
-
Myriad core's mod id, which is also the namespace of core's own ids (
myriad:combat). - mode - Variable in class dev.myriadclient.api.service.BreakingSettings
-
Mode: how fast blocks are broken (
BreakingSettings.Mode.PACKETby default). - mode() - Method in class dev.myriadclient.api.event.events.RenderEvent
-
The mode things are drawn in this frame (for what a module draws itself; the requests here need nothing).
- mode() - Method in interface dev.myriadclient.api.render.Rendering
-
The render mode every module draws in: the player's choice.
- mode() - Method in class dev.myriadclient.api.service.Breaking.Options
-
How blocks are mined; see
Breaking.Mode. - mode() - Method in record class dev.myriadclient.api.setting.SettingColor
-
Returns the value of the
moderecord component. - mode() - Method in class dev.myriadclient.api.ui.hud.HudStyle
-
The colour mode chosen.
- model() - Method in class dev.myriadclient.api.event.events.EntityRenderEvent.Model
-
The model just submitted, posed for this frame.
- Model(LivingEntityRenderState, Model, PoseStack, SubmitNodeCollector) - Constructor for class dev.myriadclient.api.event.events.EntityRenderEvent.Model
-
Core's; only Myriad makes these.
- MODEL - Enum constant in enum class dev.myriadclient.api.render.Rendering.Layer
-
Core's:
RenderLayers.flatModel(boolean). - ModelShapes - Class in dev.myriadclient.api.render
-
An entity's model as shapes, posed and animated like the model: a flat-colour fill or a wireframe of its boxes.
- modifiers() - Method in class dev.myriadclient.api.event.events.CharEvent
-
The modifier keys held as it was typed (
InputConstants.MOD_bits, asKeybind.heldModifiers()). - modifiers() - Method in class dev.myriadclient.api.event.events.KeyEvent
-
The modifier keys held, as
InputConstants.MOD_*bits (MOD_SHIFT,MOD_CONTROL...). - modifiers() - Method in class dev.myriadclient.api.event.events.MouseButtonEvent
-
The modifier keys held, as
InputConstants.MOD_*bits (MOD_SHIFT,MOD_CONTROL...). - modifiers() - Method in record class dev.myriadclient.api.input.Keybind
-
Returns the value of the
modifiersrecord component. - MODIFIERS - Static variable in record class dev.myriadclient.api.input.Keybind
-
The modifiers a bind can hold, any number of them (Ctrl+Alt+T): not Caps Lock or Num Lock.
- modKey - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
The modifier for menu shortcuts; see
ThemeSettings.ModKey. - module() - Static method in class dev.myriadclient.api.command.arguments.Arguments
-
A module, by name or id; read it with
ModuleArgumentType.get(CommandContext, String). - module() - Static method in class dev.myriadclient.api.command.arguments.ModuleArgumentType
-
A module argument.
- module() - Method in record class dev.myriadclient.api.event.events.ModuleToggleEvent
-
Returns the value of the
modulerecord component. - module(Module) - Method in class dev.myriadclient.api.control.ControlPreset.Builder
-
One of your modules it switches (registered already).
- module(Module) - Method in interface dev.myriadclient.api.share.ConfigShares.Builder
-
One module, with its settings and whether it's on.
- module(Module, Consumer) - Method in class dev.myriadclient.api.control.ControlPreset.Builder
-
One of your modules it switches, with the settings it takes while the panel is on.
- module(String) - Method in class dev.myriadclient.api.control.ControlPreset.Builder
-
A module it switches, by id (
namespace:path): it needn't be installed. - module(String, Consumer) - Method in class dev.myriadclient.api.control.ControlPreset.Builder
-
A module it switches, by id, with the settings it takes while the panel is on (as
.settakes them). - Module - Class in dev.myriadclient.api.module
-
A toggleable feature.
- Module(Tag, String, String) - Constructor for class dev.myriadclient.api.module.Module
- MODULE - Enum constant in enum class dev.myriadclient.api.setting.Setting.Layer
-
A module or addon that needs this one to behave a certain way while it uses it.
- ModuleArgumentType - Class in dev.myriadclient.api.command.arguments
-
A registered module, typed as one word: its name without spaces (
KillAura), id path (kill_aura) or full id, in any case (seeModuleRegistry.byName(String)). - ModuleArgumentType() - Constructor for class dev.myriadclient.api.command.arguments.ModuleArgumentType
- ModuleGroup - Record Class in dev.myriadclient.api.module
-
Some of one addon's modules, together in one window of the menu, as the addon's author thinks best: one group for a small addon, several for clear separation in a big one ("Travel", "Building & Mining").
- ModuleGroup(MyriadId, String, String) - Constructor for record class dev.myriadclient.api.module.ModuleGroup
-
Creates an instance of a
ModuleGrouprecord class. - ModuleListSetting - Class in dev.myriadclient.api.setting
-
A set of modules, e.g.
- ModuleListSetting(String, String, Set, Supplier) - Constructor for class dev.myriadclient.api.setting.ModuleListSetting
-
A setting as its
ModuleListSetting.Buildermakes it; get one fromSettingGroup.modules(String), or call this from a subclass. - ModuleListSetting.Builder - Class in dev.myriadclient.api.setting
-
Builds a
ModuleListSetting; empty by default. - ModuleRegistry - Interface in dev.myriadclient.api.module
-
Every registered module, from
Myriad.modules(): aRegistrywith lookups by class, name, tag and window. - modules() - Method in interface dev.myriadclient.api.control.ControlPanel
-
Its modules that are installed, in order.
- modules() - Method in class dev.myriadclient.api.control.ControlPreset
-
Module ids (
namespace:path), in order. - modules() - Static method in class dev.myriadclient.api.Myriad
-
Every registered module, with lookups by class, name, tag and group (see also
Modules). - modules() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.modules(). - modules() - Method in class dev.myriadclient.api.setting.ModuleListSetting
-
The chosen modules that are installed, in the order chosen; a copy.
- modules() - Method in class dev.myriadclient.api.share.ConfigShare
-
The ids of the modules in it.
- modules(String) - Method in class dev.myriadclient.api.setting.SettingGroup
-
A set of modules, kept by id.
- modules(Collection) - Method in interface dev.myriadclient.api.share.ConfigShares.Builder
-
Several modules, as
ConfigShares.Builder.module(Module)each. - Modules - Class in dev.myriadclient.api.module
-
Typed access to registered modules, safe to call from anywhere: mixins, other addons, before Myriad has started, or when the module's addon isn't installed (you get null rather than an exception).
- ModuleToggleEvent - Record Class in dev.myriadclient.api.event.events
-
A module was turned on or off, by the player, a bind, a command or code.
- ModuleToggleEvent(Module, boolean) - Constructor for record class dev.myriadclient.api.event.events.ModuleToggleEvent
-
Creates an instance of a
ModuleToggleEventrecord class. - MONEY - Static variable in class dev.myriadclient.api.ui.Icons
- MONO - Enum constant in enum class dev.myriadclient.api.ui.ThemeSettings.Font
-
JetBrains Mono (
FontFamily.MONO). - MONO - Static variable in record class dev.myriadclient.api.ui.draw.FontFamily
-
JetBrains Mono Nerd Font: numbers that shouldn't jiggle, and icon glyphs (
Icons). - MONSTERS - Enum constant in enum class dev.myriadclient.api.render.EntityGroups.Group
-
Hostile mobs (
Entities.Kind.HOSTILE). - MOON - Static variable in class dev.myriadclient.api.ui.Icons
- mouse() - Method in record class dev.myriadclient.api.input.Keybind
-
Returns the value of the
mouserecord component. - mouse(int) - Static method in record class dev.myriadclient.api.input.Keybind
-
A bind on the mouse button
button(InputConstants.MOUSE_BUTTON_*, left is 1) with no modifiers. - MOUSE_POINTER - Static variable in class dev.myriadclient.api.ui.Icons
- MouseButtonEvent - Class in dev.myriadclient.api.event.events
-
A mouse button was pressed or released in the game window, in a screen or not.
- MouseButtonEvent(int, int, int, boolean) - Constructor for class dev.myriadclient.api.event.events.MouseButtonEvent
-
Core's; only Myriad makes these.
- mouseClicked(float, float, int) - Method in class dev.myriadclient.api.ui.BarWidget
-
A mouse press inside the widget's slot; coordinates are relative to the slot's top-left, in UI units, and
buttonis a GLFW button (InputConstants.MOUSE_BUTTON_*). - mouseClicked(float, float, int) - Method in class dev.myriadclient.api.ui.Panel
-
A mouse press in the content area, in content coordinates and UI units;
buttonis a GLFW button (InputConstants.MOUSE_BUTTON_*). - mouseClicked(float, float, int) - Method in class dev.myriadclient.api.ui.widget.Button
- mouseClicked(float, float, int) - Method in class dev.myriadclient.api.ui.widget.Collapsible
- mouseClicked(float, float, int) - Method in class dev.myriadclient.api.ui.widget.ColorPicker
- mouseClicked(float, float, int) - Method in class dev.myriadclient.api.ui.widget.Container
- mouseClicked(float, float, int) - Method in class dev.myriadclient.api.ui.widget.Dropdown
- mouseClicked(float, float, int) - Method in class dev.myriadclient.api.ui.widget.IconPicker
- mouseClicked(float, float, int) - Method in class dev.myriadclient.api.ui.widget.KeybindButton
- mouseClicked(float, float, int) - Method in class dev.myriadclient.api.ui.widget.Preview
- mouseClicked(float, float, int) - Method in class dev.myriadclient.api.ui.widget.RegistryPicker
- mouseClicked(float, float, int) - Method in class dev.myriadclient.api.ui.widget.ScrollView
- mouseClicked(float, float, int) - Method in class dev.myriadclient.api.ui.widget.SettingRow
- mouseClicked(float, float, int) - Method in class dev.myriadclient.api.ui.widget.Slider
- mouseClicked(float, float, int) - Method in class dev.myriadclient.api.ui.widget.StringListEditor
- mouseClicked(float, float, int) - Method in class dev.myriadclient.api.ui.widget.TextField
- mouseClicked(float, float, int) - Method in class dev.myriadclient.api.ui.widget.Toggle
- mouseClicked(float, float, int) - Method in class dev.myriadclient.api.ui.widget.Widget
-
A mouse press at (
mouseX,mouseY);buttonis a GLFW button (InputConstants.MOUSE_BUTTON_*). - mouseClicked(float, float, int) - Method in class dev.myriadclient.api.ui.widget.WidgetRoot
-
A press: hides the keyboard selection (moving it to the widget pressed), hands the press to the tree, and takes focus away from the focused widget if nothing took the press.
- mouseClicked(float, float, int) - Method in class dev.myriadclient.api.ui.WidgetPanel
- mouseDragged(float, float, int, float, float) - Method in class dev.myriadclient.api.ui.Panel
-
The mouse moving with a button down after a press that went to
Panel.mouseClicked(float, float, int), in content coordinates;dx/dyis how far it moved since the last drag event (or the press), in UI units. - mouseDragged(float, float, int, float, float) - Method in class dev.myriadclient.api.ui.widget.ColorPicker
- mouseDragged(float, float, int, float, float) - Method in class dev.myriadclient.api.ui.widget.Preview
- mouseDragged(float, float, int, float, float) - Method in class dev.myriadclient.api.ui.widget.Slider
- mouseDragged(float, float, int, float, float) - Method in class dev.myriadclient.api.ui.widget.Widget
-
The mouse moving with a button down after a press this widget took.
- mouseDragged(float, float, int, float, float) - Method in class dev.myriadclient.api.ui.widget.WidgetRoot
-
A drag, to the widget that took the press (if any).
- mouseDragged(float, float, int, float, float) - Method in class dev.myriadclient.api.ui.WidgetPanel
- MouseLookEvent - Class in dev.myriadclient.api.event.events
-
Mouse movement is about to turn the player.
- MouseLookEvent(double, double) - Constructor for class dev.myriadclient.api.event.events.MouseLookEvent
-
Core's; only Myriad makes these.
- mouseReleased(float, float, int) - Method in class dev.myriadclient.api.ui.Panel
-
The release of a press that went to
Panel.mouseClicked(float, float, int), in content coordinates (possibly outside the area). - mouseReleased(float, float, int) - Method in class dev.myriadclient.api.ui.widget.ColorPicker
- mouseReleased(float, float, int) - Method in class dev.myriadclient.api.ui.widget.Preview
- mouseReleased(float, float, int) - Method in class dev.myriadclient.api.ui.widget.Slider
- mouseReleased(float, float, int) - Method in class dev.myriadclient.api.ui.widget.Widget
-
The release of a press this widget took, wherever the mouse is now.
- mouseReleased(float, float, int) - Method in class dev.myriadclient.api.ui.widget.WidgetRoot
-
The release, to the widget that took the press (if any).
- mouseReleased(float, float, int) - Method in class dev.myriadclient.api.ui.WidgetPanel
- mouseScrolled(float, float, float) - Method in class dev.myriadclient.api.ui.Panel
-
The wheel over the content, in content coordinates;
amountis in notches, positive when the wheel turns up (scroll towards the top). - mouseScrolled(float, float, float) - Method in class dev.myriadclient.api.ui.widget.Collapsible
- mouseScrolled(float, float, float) - Method in class dev.myriadclient.api.ui.widget.Container
- mouseScrolled(float, float, float) - Method in class dev.myriadclient.api.ui.widget.Dropdown
-
The wheel scrolls the window, never the value: scrolling down a list of settings mustn't change the ones it passes.
- mouseScrolled(float, float, float) - Method in class dev.myriadclient.api.ui.widget.IconPicker
- mouseScrolled(float, float, float) - Method in class dev.myriadclient.api.ui.widget.Preview
- mouseScrolled(float, float, float) - Method in class dev.myriadclient.api.ui.widget.RegistryPicker
- mouseScrolled(float, float, float) - Method in class dev.myriadclient.api.ui.widget.ScrollView
- mouseScrolled(float, float, float) - Method in class dev.myriadclient.api.ui.widget.SettingRow
- mouseScrolled(float, float, float) - Method in class dev.myriadclient.api.ui.widget.Widget
-
The wheel,
amountnotches (positive turning up), while over the widget. - mouseScrolled(float, float, float) - Method in class dev.myriadclient.api.ui.widget.WidgetRoot
-
The wheel, to the tree.
- mouseScrolled(float, float, float) - Method in class dev.myriadclient.api.ui.WidgetPanel
- MouseScrollEvent - Class in dev.myriadclient.api.event.events
-
The mouse wheel (or a touchpad) scrolled in the game window, in a screen or not.
- MouseScrollEvent(double, double) - Constructor for class dev.myriadclient.api.event.events.MouseScrollEvent
-
Core's; only Myriad makes these.
- mouseX() - Method in class dev.myriadclient.api.event.events.ContainerScreenEvent.Tooltip
-
The mouse's x in scaled GUI pixels.
- mouseY() - Method in class dev.myriadclient.api.event.events.ContainerScreenEvent.Tooltip
-
The mouse's y in scaled GUI pixels.
- move(int, int) - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- move(int, int) - Method in interface dev.myriadclient.api.service.Inventory
-
Moves the stack at
fromtoto, swapping with whatever is there (merging if they stack). - move(String, String, String, String) - Method in class dev.myriadclient.api.setting.SavedSettings
-
Moves a value to another setting, in the same group or another.
- MOVE_FIX - Static variable in class dev.myriadclient.api.service.Rotations.Options
-
Snaps to the rotation at once, with
Rotations.Options.moveFix(): what Grim expects. - moveFix() - Method in class dev.myriadclient.api.service.Rotations.Options
-
Makes your movement match the sent yaw, as anti-cheats that simulate movement (Grim) expect: the movement keys are re-pressed relative to the sent yaw to go the way you're steering as closely as 8 directions allow, and walking, jumping and sprinting use the sent yaw.
- movement() - Method in class dev.myriadclient.api.event.events.GlideEvent
-
This tick's movement in blocks: vanilla's, or what an earlier handler set.
- movement() - Method in class dev.myriadclient.api.event.events.PlayerMoveEvent
-
The movement about to be made, in blocks: what vanilla worked out, or what an earlier handler set.
- Movement - Class in dev.myriadclient.api.player
-
The local player's movement: which way the keys point, and setting speed along it.
- MOVEMENT - Static variable in class dev.myriadclient.api.module.Tags
-
Getting around: speed, flight, elytra, stepping, sprinting.
- MovementPacketsEvent - Class in dev.myriadclient.api.event.events
-
Posted on the render thread just before the player sends its movement packet each tick (at the end of its tick), with the values about to go out.
- MovementPacketsEvent(double, double, double, float, float, boolean) - Constructor for class dev.myriadclient.api.event.events.MovementPacketsEvent
-
Core's; only Myriad makes these.
- MovementPacketsEvent.Post - Class in dev.myriadclient.api.event.events
-
Posted on the render thread right after the movement packet was sent (or vanilla decided none was needed).
- movesFirst() - Method in record class dev.myriadclient.api.combat.Trajectory.Ballistics
-
Returns the value of the
movesFirstrecord component. - moveToHotbar(int, int) - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- moveToHotbar(int, int) - Method in interface dev.myriadclient.api.service.Inventory
-
Swaps the item at
inventoryIndex(0-35, seeSlots) into hotbar slothotbarSlot, as pressing a number key over it would: one click. - moveToWorkspace(int) - Method in interface dev.myriadclient.api.ui.Window
-
Moves it to workspace
workspace(clamped to 0-9), keeping it floating or tiled. - msSinceLastPacket() - Method in interface dev.myriadclient.api.service.ServerStats
-
Milliseconds since the server last sent anything.
- msSinceRubberband() - Method in interface dev.myriadclient.api.service.ServerStats
-
Milliseconds since the server last set your position (a rubberband, or a teleport); very large if never.
- multiplier() - Method in interface dev.myriadclient.api.service.TickSpeed
-
The combined multiplier the client is running at: every owner's multiplied together, 1 when none is set.
- MUSIC - Static variable in class dev.myriadclient.api.ui.Icons
- Myriad - Class in dev.myriadclient.api
-
Static entry point to everything Myriad exposes to addons.
- MyriadAddon - Interface in dev.myriadclient.api.addon
-
Entry point of a Myriad addon.
- MyriadApi - Interface in dev.myriadclient.api
- myriadCape - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Wear Myriad's cape and elytra, seen by you and by Myriad players near you; turning it on or off tells the server at once.
- MyriadId - Record Class in dev.myriadclient.api.registry
-
A namespaced identifier (
namespace:path). - MyriadId(String, String) - Constructor for record class dev.myriadclient.api.registry.MyriadId
-
Creates an instance of a
MyriadIdrecord class. - MyriadLogo - Class in dev.myriadclient.api.ui.draw
-
The Myriad mark (two interlocked rounded squares) drawn with SDF outlines, so it is crisp at any size.
N
- name - Variable in class dev.myriadclient.api.setting.Setting.Builder
-
The name given to the builder.
- name - Variable in class dev.myriadclient.api.setting.Setting
-
The display name, as given to the builder.
- name() - Method in class dev.myriadclient.api.addon.Addon
-
The display name from
fabric.mod.json(the mod id when it gives none). - name() - Method in class dev.myriadclient.api.addon.AddonSettings
-
The name given to
AddonContext.settings(String), shown as a heading in the Addons panel. - name() - Method in class dev.myriadclient.api.command.Command
-
The name it's typed by, given to the constructor.
- name() - Method in interface dev.myriadclient.api.control.ControlPanel
-
Its name, as the UI shows it.
- name() - Method in class dev.myriadclient.api.control.ControlPreset
-
The name it starts with.
- name() - Method in class dev.myriadclient.api.hook.Hook
-
The name the Hooks window shows; also the default label of a contribution to it.
- name() - Method in class dev.myriadclient.api.hook.Service
-
Its name for people ("Rotations"); also the default label of a replacement.
- name() - Method in class dev.myriadclient.api.input.KeyAction
-
The name the Keybinds panel shows.
- name() - Method in record class dev.myriadclient.api.integration.Baritone.SettingInfo
-
Returns the value of the
namerecord component. - name() - Method in interface dev.myriadclient.api.job.Job
-
The step's name, as the Jobs window shows it (a live name from
Step.named(Supplier)as of now). - name() - Method in class dev.myriadclient.api.job.Step
-
Its name, as the Jobs window shows it: what
Step.named(String)gave it, or what made it. - name() - Method in record class dev.myriadclient.api.map.Waypoint
-
Returns the value of the
namerecord component. - name() - Method in class dev.myriadclient.api.module.Module
-
The display name given to the constructor.
- name() - Method in record class dev.myriadclient.api.module.ModuleGroup
-
Returns the value of the
namerecord component. - name() - Method in record class dev.myriadclient.api.module.Tag
-
Returns the value of the
namerecord component. - name() - Method in interface dev.myriadclient.api.registry.Registry
-
What the registry holds, for messages ("module", "theme").
- name() - Method in class dev.myriadclient.api.render.HighlightStyle.Fill
-
What it's called in Fill options.
- name() - Method in class dev.myriadclient.api.service.AntiCheat.Profile
-
For people: "Grim", "NoCheatPlus".
- name() - Method in class dev.myriadclient.api.setting.Setting
-
The display name, as given to the builder.
- name() - Method in class dev.myriadclient.api.setting.SettingGroup
-
The heading shown in the settings window.
- name() - Method in class dev.myriadclient.api.ui.BarWidget
-
The name players see for it.
- name() - Method in record class dev.myriadclient.api.ui.draw.Bezier
-
Returns the value of the
namerecord component. - name() - Method in record class dev.myriadclient.api.ui.Icons.Icon
-
Returns the value of the
namerecord component. - name() - Method in interface dev.myriadclient.api.ui.layout.Layout
-
The name players see when choosing a layout ("Dwindle").
- name() - Method in class dev.myriadclient.api.ui.PanelType
-
The name players see in the launcher and the HUD's element list.
- name() - Method in class dev.myriadclient.api.ui.Theme
-
The name players see.
- name(String) - Method in class dev.myriadclient.api.world.ChunkCache.Builder
-
A name for log messages.
- name(T) - Method in interface dev.myriadclient.api.ui.widget.RegistryPicker.Source
-
What
tis called on screen. - named(boolean) - Method in class dev.myriadclient.api.combat.Targets.Query
-
Include mobs with name tags (on by default; players always count).
- named(String) - Method in interface dev.myriadclient.api.hook.HookBuilder
-
What the player sees in the Hooks window (default: the hook's name).
- named(String) - Method in interface dev.myriadclient.api.hook.ReplacementBuilder
-
What the player sees in the Hooks window (default: the service's name).
- named(String) - Method in class dev.myriadclient.api.job.Step
-
The name shown in the Jobs window and the tree (default: what the factory gave it).
- named(String) - Method in class dev.myriadclient.api.render.RenderSettings.Builder
-
A name before each option's ("Hand" makes "Hand Fill", "Hand Glow"), for several looks in one group.
- named(String, float) - Method in class dev.myriadclient.api.ui.widget.IconPicker
-
Its own name at the left, in a column
insetUI units wide, as a setting's row would show it. - named(String, String) - Method in class dev.myriadclient.api.service.AntiCheat.Profile
-
This profile's answers under another id (
"my-addon:my_server") and name, to register as a profile of its own. - named(Supplier) - Method in class dev.myriadclient.api.job.Step
-
A name that changes as it runs ("Visiting chest 3 of 8"); a null from
liveshows the step's own name. - namespace() - Method in interface dev.myriadclient.api.addon.AddonContext
-
Shortcut for
addon().id(). - namespace() - Method in record class dev.myriadclient.api.registry.MyriadId
-
Returns the value of the
namespacerecord component. - Nametag(Entity) - Constructor for class dev.myriadclient.api.event.events.EntityRenderEvent.Nametag
-
Core's; only Myriad makes these.
- navHeight() - Method in class dev.myriadclient.api.ui.widget.Collapsible
-
Navigation only reaches the header's own row.
- navHeight() - Method in class dev.myriadclient.api.ui.widget.IconPicker
- navHeight() - Method in class dev.myriadclient.api.ui.widget.SettingRow
- navHeight() - Method in class dev.myriadclient.api.ui.widget.Widget
-
Height of the part the selection outline should surround (headers of expandable widgets override it).
- NCP - Static variable in class dev.myriadclient.api.service.AntiCheat.Profile
-
NoCheatPlus (6b6t runs a fork of it).
- near(Vec3, double, BiConsumer) - Method in interface dev.myriadclient.api.build.Blueprint
-
Calls
actionfor every position whose block centre is withinrangeblocks ofcenter, in no particular order. - nearest(Vec3) - Static method in class dev.myriadclient.api.world.Positions
-
Orders positions by how far their block's centre is from
to, nearest first. - NEAREST - Enum constant in enum class dev.myriadclient.api.service.Building.Order
-
Nearest first, whatever the height: what's beside you as you walk past, before it's out of reach.
- neighbours() - Method in class dev.myriadclient.api.world.ChunkCache.Builder
-
Recompute a chunk when the chunks beside it load or change at the shared edge too: for computes that look one block past the chunk (holes, which check the blocks around them).
- neighbours(BlockPos) - Static method in class dev.myriadclient.api.world.Positions
-
The six positions touching
pos, inDirectionorder (down, up, north, south, west, east). - newFood() - Method in class dev.myriadclient.api.event.events.HealthEvent
-
Your food level as the server set it (0 to 20).
- newHealth() - Method in class dev.myriadclient.api.event.events.HealthEvent
-
Your health as the server set it, in half hearts.
- newState() - Method in class dev.myriadclient.api.event.events.BlockUpdateEvent
-
What the server says is there now.
- next() - Method in interface dev.myriadclient.api.service.Containers.Planner
-
The next click, or null when there's nothing more to do (see
Containers.Planner.stuck()). - NO_CONTAINER - Static variable in class dev.myriadclient.api.job.Why
-
Nothing to open there.
- NO_ELYTRA - Static variable in class dev.myriadclient.api.job.Why
-
No usable elytra to fly with.
- NO_ITEM - Enum constant in enum class dev.myriadclient.api.build.Build.Status
-
No item in the inventory fits.
- NO_ITEM - Static variable in class dev.myriadclient.api.job.Why
-
Nothing in the inventory fits.
- NO_MATCH - Static variable in class dev.myriadclient.api.util.FuzzyMatch
-
What
FuzzyMatch.score(String, String)returns when the query doesn't match at all. - NO_PATHING - Static variable in class dev.myriadclient.api.job.Why
-
Baritone isn't installed.
- NO_ROOM - Enum constant in enum class dev.myriadclient.api.elytra.ChestSwap.Need
-
There is one, in the inventory, but no hotbar slot to bring it into.
- NO_ROOM - Static variable in class dev.myriadclient.api.job.Why
-
Nowhere beside you to place it, or the container or your inventory is full.
- NO_SLOT - Enum constant in enum class dev.myriadclient.api.build.Build.Status
-
No hotbar slot can take its block: every one but the one you hold is held by a module or has something borrowed in it.
- NO_SLOT - Static variable in class dev.myriadclient.api.job.Why
-
No hotbar slot to put it in.
- NO_SUPPORT - Enum constant in enum class dev.myriadclient.api.build.Build.Status
-
Nothing to place against yet; it waits for a neighbour to be placed first.
- NO_SUPPORT - Enum constant in enum class dev.myriadclient.api.service.Placement.Check
-
Nothing solid touches the position to click against, and air placement is off.
- NO_SUPPORT - Static variable in class dev.myriadclient.api.job.Why
-
Nothing to place against yet.
- noDurability() - Method in interface dev.myriadclient.api.elytra.NoDurability.Owner
-
Whether to keep the elytra from wearing now (the catch runs either way).
- noDurability(NoDurability.Owner) - Method in interface dev.myriadclient.api.elytra.Elytra
-
A new No Durability engine for
owner's flight:enableit when the flight starts. - NoDurability - Interface in dev.myriadclient.api.elytra
-
No Durability for an elytra, and a catch of a glide dropped in mid-air: one engine per flight (
Elytra.noDurability(NoDurability.Owner)), enabled while it flies. - NoDurability.Owner - Interface in dev.myriadclient.api.elytra
-
Who runs it: whether swapping is on, and where its messages go.
- none(Placement.Check) - Static method in class dev.myriadclient.api.service.Placement.Solution
-
Core's: no solution, for
why. - NONE - Enum constant in enum class dev.myriadclient.api.render.WorldLabel.Background
-
Nothing: just the text.
- NONE - Enum constant in enum class dev.myriadclient.api.ui.hud.ItemHud.Durability
-
Nothing.
- NONE - Enum constant in enum class dev.myriadclient.api.ui.ThemeSettings.WorkspaceAnimation
-
The new workspace shows at once.
- NONE - Static variable in record class dev.myriadclient.api.input.Keybind
-
No bind: matches nothing and shows as "None".
- NONE - Static variable in class dev.myriadclient.api.render.HighlightStyle.Fill
-
Nothing inside: outline and glow only.
- NONE - Static variable in record class dev.myriadclient.api.util.ChatMessages.Parsed
-
A line that matched no known format.
- NORMAL - Static variable in class dev.myriadclient.api.event.Priority
-
The default.
- normalize(String) - Static method in class dev.myriadclient.api.hook.Match
-
The host part of an address, lower case, without a port: what
Match.servercompares (seeServerStats.hostOf(String)). - NOT_VISIBLE - Enum constant in enum class dev.myriadclient.api.build.Build.Status
-
Only faces you can't see to place against, and the placement options require visible ones.
- NOT_VISIBLE - Enum constant in enum class dev.myriadclient.api.service.Placement.Check
-
There are faces to click against, but none you can see, and
Placement.Options.visibleFacesrequires one. - NOT_VISIBLE - Static variable in class dev.myriadclient.api.job.Why
-
Only faces you can't see, and the options want seen ones.
- Note - Class in dev.myriadclient.api.ui.widget
-
A short message set apart from what's around it, on a tinted strip: a warning, a failure, something worth reading.
- Note(String) - Constructor for class dev.myriadclient.api.ui.widget.Note
-
A note saying
text. - Note(Supplier) - Constructor for class dev.myriadclient.api.ui.widget.Note
-
A note saying what
textreturns, asked every frame. - nothing() - Static method in class dev.myriadclient.api.job.Step
-
Does nothing, successfully.
- NOTHING_THERE - Enum constant in enum class dev.myriadclient.api.service.Breaking.Check
-
Air, a fluid or anything else with nothing to break.
- noThroughWalls() - Method in class dev.myriadclient.api.render.RenderSettings.Builder
-
No Through Walls option, for what's never behind anything (your hand); the defaults' is kept.
- notice() - Method in class dev.myriadclient.api.ui.Theme
-
The message
Theme.notice(Supplier)gives now, or null when there's none (or no notice was set). - notice(Supplier) - Method in class dev.myriadclient.api.ui.Theme
-
A message the Theme panel shows (highlighted) while
noticereturns non-null, e.g. - NotificationEvent - Record Class in dev.myriadclient.api.event.events
-
A notification was sent (by core, a module or an addon, through
Notifications), as it shows: coordinates in it already hidden. - NotificationEvent(String, String, Notifications.Level) - Constructor for record class dev.myriadclient.api.event.events.NotificationEvent
-
Creates an instance of a
NotificationEventrecord class. - notifications() - Static method in class dev.myriadclient.api.Myriad
-
Toast notifications, shown in game and in the menu.
- notifications() - Method in interface dev.myriadclient.api.MyriadApi
- Notifications - Interface in dev.myriadclient.api.service
-
Toast notifications, drawn by the window manager overlay both in game and in the menu.
- Notifications.Level - Enum Class in dev.myriadclient.api.service
-
How a notification is marked: its accent colour and icon.
- Notifications.Toast - Class in dev.myriadclient.api.service
-
A notification being set up (
Notifications.toast(String, String)). - noWayBack(Object, Containers.NoWayBack) - Method in interface dev.myriadclient.api.service.Containers
-
What a box
ownertakes out of a container does when that container can't be opened again to put it back, a held one far away (Containers.hold(Containers.View)):Containers.NoWayBack.REFUSEuntil set. - NUMBER - Enum constant in enum class dev.myriadclient.api.ui.hud.ItemHud.Durability
-
The uses left, as a number (1561 for a new diamond pickaxe).
- numberText(Canvas, ItemStack, float, float, float, float, boolean) - Static method in class dev.myriadclient.api.ui.hud.ItemHud
-
Draws the uses left centred over an item at x, top at y, in the durability colour.
O
- OBJECT_GROUP - Static variable in class dev.myriadclient.api.ui.Icons
- OCCUPIED - Enum constant in enum class dev.myriadclient.api.service.Placement.Check
-
Something that can't be replaced is already there.
- of(int) - Static method in record class dev.myriadclient.api.setting.SettingColor
-
A fixed colour,
0xAARRGGBB. - of(int[], List) - Static method in class dev.myriadclient.api.service.Containers.Arrangement
-
layout.get(i)is what slotslots[i]should hold: that item with that count, an empty stack for nothing, or null to leave it be. - of(int, int) - Static method in enum class dev.myriadclient.api.ui.PanelType.Anchor
-
The anchor in column
coland rowrowof the 3×3 grid (each clamped to 0-2). - of(int, int, int, int, int, int, int, int, int, int, int) - Static method in record class dev.myriadclient.api.ui.ThemePalette
-
A palette from the colours a theme preset usually names; the other ANSI slots use the foreground.
- of(long) - Static method in class dev.myriadclient.api.util.TickBudget
-
A budget of
nanosnanoseconds (negative counts as none), starting now. - of(JsonObject) - Static method in class dev.myriadclient.api.share.ConfigShare
-
Wraps a document (a copy of it); throws
IllegalArgumentExceptionif it has noformatthis version reads. - of(Build.Status, BlockPos) - Static method in class dev.myriadclient.api.job.Why
-
Where a building position stands, as a reason; null where work goes on (
DONE,BREAK,PLACE,WAITING). - of(Why.Code, String) - Static method in class dev.myriadclient.api.job.Why
-
A reason with a detail for people ("cobblestone"); null or empty for none.
- of(Why.Code, String, Object) - Static method in class dev.myriadclient.api.job.Why
-
A reason about
subject(aBlockPos, anItem, an entity), which a remedy can read back withWhy.subject(Class). - of(Module, ChunkCache.Compute) - Static method in class dev.myriadclient.api.world.ChunkCache
-
A cache that runs while
owneris enabled, named after it in log messages. - of(MyriadId, String, String) - Static method in class dev.myriadclient.api.hook.Hook
-
Declares a hook.
- of(HighlightStyle) - Static method in interface dev.myriadclient.api.render.RenderLook
-
A fixed look:
stylein Shader mode; in Box mode, its fill (flat, at its opacity) and edges 1.5 wide. - of(HighlightStyle, float) - Static method in interface dev.myriadclient.api.render.RenderLook
-
RenderLook.of(HighlightStyle)with box edgeslineWidthwide (0 for none). - of(Placement.Check, BlockPos) - Static method in class dev.myriadclient.api.job.Why
-
A placement check as a reason; null for
OKandPENDING(that's running, not stuck). - of(Placement.Click) - Static method in class dev.myriadclient.api.service.Placement.Solution
-
Core's: a solution with
click. - of(Class) - Static method in class dev.myriadclient.api.command.arguments.EnumArgumentType
-
An argument for one of
type's constants. - of(Object) - Method in class dev.myriadclient.api.job.JobEngine
- of(Object) - Method in interface dev.myriadclient.api.job.Jobs
-
owner's active root jobs, oldest first (compared by identity). - of(String) - Static method in record class dev.myriadclient.api.job.Why.Code
-
"my-addon:no_schematic". - of(String) - Static method in class dev.myriadclient.api.ui.Icons
-
The icon with this glyph, or null if it isn't one of these.
- of(String, String) - Static method in record class dev.myriadclient.api.registry.MyriadId
-
The id
namespace:path, both used as given. - of(String, String, String) - Static method in class dev.myriadclient.api.hook.Hook
-
Hook.of(MyriadId, String, String)with the id as text ("my-addon:may_swap"). - of(String, Supplier) - Static method in class dev.myriadclient.api.job.Step
-
Your own step:
runmakes a freshStep.Runeach time the step starts (so one step value can run twice, even at once), and the runner polls it once a tick. - of(Throwable) - Static method in class dev.myriadclient.api.job.Why
-
The reason a job's
result()(or a future that waited on one) failed: theJob.JobException's, looking through theCompletionExceptiona dependent stage wraps it in;Why.error(Throwable)for anything else. - of(Supplier) - Static method in class dev.myriadclient.api.util.TickCached
-
A value worked out by
computeon the firstTickCached.get()of each tick; nothing runs until then. - of(Map) - Static method in interface dev.myriadclient.api.build.Blueprint
-
Fixed positions, stored the way chunks store blocks (a 16x16x16 array for each section that has any), so asking for what's in reach visits only the positions in reach, a lookup each, however many there are in all.
- of(Registry, String) - Static method in class dev.myriadclient.api.command.arguments.RegistryArgumentType
-
Any registry;
whatnames it in error messages ("enchantment"). - of(Entity) - Static method in class dev.myriadclient.api.render.EntityGroups
-
Which group
ebelongs to, or null for none of them. - OFF_HAND - Static variable in class dev.myriadclient.api.item.Slots
-
Inventory index ranges, start inclusive and end exclusive: the hotbar is
0..8, the main inventory9..35;OFF_HANDis the off hand's index, 40. - offerTooltip(float, float) - Method in class dev.myriadclient.api.ui.widget.Widget
-
Call while rendering when hovered to show this widget's tooltip.
- offHandSlot() - Method in class dev.myriadclient.api.service.Placement.Forwarding
- offHandSlot() - Method in interface dev.myriadclient.api.service.Placement
-
The hotbar slot whose block an air placement swapped into your off hand, or -1.
- offsetX() - Method in record class dev.myriadclient.api.ui.PanelType.HudPlacement
-
Returns the value of the
offsetXrecord component. - offsetY() - Method in record class dev.myriadclient.api.ui.PanelType.HudPlacement
-
Returns the value of the
offsetYrecord component. - ok() - Method in enum class dev.myriadclient.api.service.Breaking.Check
-
Whether this is
Breaking.Check.OK. - ok() - Method in enum class dev.myriadclient.api.service.Placement.Check
-
Whether this is
Placement.Check.OK. - OK - Enum constant in enum class dev.myriadclient.api.service.Breaking.Check
-
It can be broken.
- OK - Enum constant in enum class dev.myriadclient.api.service.Placement.Check
-
It can be placed.
- oldFood() - Method in class dev.myriadclient.api.event.events.HealthEvent
-
Your food level before the packet (0 to 20).
- oldHealth() - Method in class dev.myriadclient.api.event.events.HealthEvent
-
Your health before the packet, in half hearts (20 is full, absorption not counted).
- oldState() - Method in class dev.myriadclient.api.event.events.BlockUpdateEvent
-
What the client had there before the update (your own prediction, for a block you just placed or broke).
- on(AntiCheat.Profile) - Method in class dev.myriadclient.api.hook.Match
-
Only with this anti-cheat profile in effect.
- on(Class, Consumer) - Method in interface dev.myriadclient.api.job.JobContext
-
Hears
eventfor the life of this step, released when the step ends whatever way. - onAdd(Consumer) - Method in interface dev.myriadclient.api.registry.Registry
-
Calls
listenerwith each entry registered from now on (on the thread that registers it, the render thread), not with those already there. - onAnyChanged(Consumer) - Method in class dev.myriadclient.api.setting.Settings
-
Runs
listenerafter any of these settings changes, including ones added later. - onBlur() - Method in class dev.myriadclient.api.ui.widget.KeybindButton
- onBlur() - Method in class dev.myriadclient.api.ui.widget.TextField
- onBlur() - Method in class dev.myriadclient.api.ui.widget.Widget
-
Called when this widget loses keyboard focus.
- onChange(Consumer) - Method in class dev.myriadclient.api.ui.widget.TextField
-
Called with the whole text after every edit while typing (including emptying it).
- onChanged - Variable in class dev.myriadclient.api.setting.Setting.Builder
-
From
Setting.Builder.onChanged; none by default. - onChanged(Consumer) - Method in class dev.myriadclient.api.setting.Setting.Builder
-
A listener for changes, as
Setting.onChanged(Consumer)adds; one per builder. - onChanged(Consumer) - Method in class dev.myriadclient.api.setting.Setting
-
Runs
listenerwith the value in effect each time it changes, by the player, an override or code. - onClose() - Method in class dev.myriadclient.api.ui.Panel
-
Called when the window is closed, or its panel is replaced.
- onDisable() - Method in class dev.myriadclient.api.module.Module
-
Called when the module turns off, after it's unsubscribed and core has ended its jobs, breaks, builds and placements: undo what it changed.
- onDone(Consumer) - Method in class dev.myriadclient.api.job.Step
-
Runs with the result when this is done (a callback, not a step: for notifications and bookkeeping).
- oneLine() - Method in class dev.myriadclient.api.ui.widget.Label
-
Keeps it to one line, cut short with "…" when it doesn't fit; the whole text shows as its tooltip then.
- onEnable() - Method in class dev.myriadclient.api.module.Module
-
Called when the module turns on, after it's subscribed to the event bus: start what it does.
- oneOf(String, E) - Method in class dev.myriadclient.api.setting.SettingGroup
-
One of an enum's constants ("which one"), starting at
defaultValue. - onFailed(Consumer) - Method in class dev.myriadclient.api.job.Step
-
Runs with the reason when this fails for good (after any
Step.retry(int)andStep.recover(Function)inside it), not when it's cancelled. - onGround - Variable in class dev.myriadclient.api.event.events.MovementPacketsEvent
-
Whether to tell the server you're on the ground (fall damage is worked out from it).
- onHost(String) - Method in interface dev.myriadclient.api.service.ServerStats
-
Whether you're on
domainor one of its subdomains, whatever the port ("2b2t.org"matches "connect.2b2t.org:25565"); false in singleplayer and the menus. - onLanded(Consumer) - Method in interface dev.myriadclient.api.elytra.Flight
-
Called once it's down after landing: with null if
Flight.land()asked for it, else why it had to come down. - onLoad(String) - Method in class dev.myriadclient.api.mixin.CompatMixinPlugin
- onlyAngry - Variable in class dev.myriadclient.api.combat.TargetSettings
-
The query's options:
onlyAngry(on by default, shown while hostiles are on),ignoreInvisibles,ignoreNamed,ignoreCreative,friends(all off by default) andthroughWalls(on). - onlyAngry(boolean) - Method in class dev.myriadclient.api.combat.Targets.Query
-
Leave neutral mobs out until they're angry (off by default); see
Targets.type(Entity, boolean). - onOpen() - Method in class dev.myriadclient.api.ui.Panel
-
Called once the window holds this panel: when it's opened, and when it's restored from the saved layout (after
Panel.load(JsonObject)andPanel.settingswere read back). - onRemove(Consumer) - Method in interface dev.myriadclient.api.registry.Registry
-
Calls
listenerwith each entry removed from now on (an addon that failed, say). - onRenderThread(Runnable) - Static method in class dev.myriadclient.api.util.Async
-
Runs
taskon the render thread (now if already there, otherwise at the next opportunity). - onScreen(Vec3, double) - Static method in class dev.myriadclient.api.render.Projection
-
Whether a point from
Projection.toScreen(Vec3)lies on screen (withmarginextra pixels around the edges); false for null, so the result oftoScreencan be passed straight in. - onSubmit(Consumer) - Method in class dev.myriadclient.api.ui.widget.TextField
-
Called with the text when Enter is pressed, before the field lets go of the keyboard.
- open() - Method in interface dev.myriadclient.api.ui.Ui
-
Shows the menu (as Minecraft's current screen) on the active workspace; does nothing if it's already open.
- open(Object, BlockPos, int) - Method in interface dev.myriadclient.api.service.Containers
-
Containers.open(BlockPos, int)on behalf ofowner(your module), which the container then reports as itsContainers.View.opener(): modules that act on containers as they open (sorting, stealing) can leave other modules' alone. - open(Object, BlockPos, int, Placement.Options) - Method in interface dev.myriadclient.api.service.Containers
-
Containers.open(Object, BlockPos, int)with the click made asoptionssay, throughPlacement.use(Object, BlockHitResult, int, Placement.Options): withPlacement.Options.forServer()on servers that check looks, the look turns onto the block first (Grim checks a click on a block as a placement). - open(BlockPos, int) - Method in interface dev.myriadclient.api.service.Containers
-
Right-clicks the block at
pos(on the nearest face in reach) and completes once the container's contents have arrived. - OPEN_TICKS - Static variable in interface dev.myriadclient.api.job.MaterialSource
-
How long a container may take to open before the source gives up.
- openContainer(BlockPos, int, Placement.Options) - Static method in class dev.myriadclient.api.job.Steps
-
Opens the container at
pos(turned onto it first where the server checks) and produces its view once the contents arrived. - Opened(Containers.View) - Constructor for class dev.myriadclient.api.event.events.ContainerEvent.Opened
-
Core's; only Myriad makes these.
- opener() - Method in interface dev.myriadclient.api.service.Containers.View
-
The owner that opened it through
Containers.open(Object, BlockPos, int), or null: opened by hand, by the server, or throughContainers.open(BlockPos, int)without an owner (seeContainers.View.byHand()). - openItem(Object, int, int, Placement.Options) - Method in interface dev.myriadclient.api.service.Containers
-
Opens the shulker box or ender chest at inventory index
inventoryIndex(0-35) where you stand: places it above your head, a block up where there's room (into the empty space withPlacement.Options.airPlace(), else against a block over it; an ender chest only the first way, as it won't open under a solid block), or else in one of the eight blocks around your feet (on the floor, or with air placement in the air) or, with air placement, around the block over your head, opens it in the same tick, and completes with the session once its contents have arrived (ticks: how many ticks opening it may take, asContainers.open(BlockPos, int)'s timeout). - openItem(Object, Containers.View, int, int, Placement.Options) - Method in interface dev.myriadclient.api.service.Containers
-
Containers.openItem(Object, int, int, Placement.Options)for a box in the open containerfrom, at its screen slotscreenSlot: one of the container's own, or of your inventory below them. - openPanel(MyriadId) - Method in interface dev.myriadclient.api.ui.Ui
-
Ui.openPanel(MyriadId, JsonObject)with no args. - openPanel(MyriadId, JsonObject) - Method in interface dev.myriadclient.api.ui.Ui
-
Opens a panel on the active workspace (or focuses it if a window with the same type and args is open, switching to its workspace while the menu shows).
- openPanel(MyriadId, JsonObject, int, boolean) - Method in interface dev.myriadclient.api.ui.Ui
-
Like
Ui.openPanel(MyriadId, JsonObject)but on workspaceworkspace, floating or tiled. - openPanel(PanelType) - Method in interface dev.myriadclient.api.ui.Ui
-
Ui.openPanel(MyriadId, JsonObject)for a type you registered (ctx.registerPanelreturns it). - openPanel(PanelType, JsonObject) - Method in interface dev.myriadclient.api.ui.Ui
-
Ui.openPanel(MyriadId, JsonObject)for a type you registered, with args. - options() - Method in class dev.myriadclient.api.render.HighlightStyle.Fill
-
The fill's own options (
HighlightStyle.Fill.options(SettingGroup)), or null for none. - options() - Method in class dev.myriadclient.api.service.BreakingSettings
-
Breaking.Options.forServer()in this mode, with double break where the mode finishes blocks early. - options() - Method in class dev.myriadclient.api.service.BuildingSettings
-
Building.Options.forServer()with these settings; blocks are broken as far away as they're placed. - options() - Method in record class dev.myriadclient.api.service.Placement.Target
-
Returns the value of the
optionsrecord component. - options() - Method in class dev.myriadclient.api.service.PlacementSettings
-
Placement.Options.forServer()with this range and air placement. - options() - Method in class dev.myriadclient.api.service.RotationSettings
-
Rotations.Options.forServer()at this turn speed. - options() - Method in class dev.myriadclient.api.setting.ChoiceSetting
-
The current choices, from the supplier given to the builder; asked again on each call.
- options(SettingGroup) - Method in class dev.myriadclient.api.render.HighlightStyle.Fill
-
Gives an addon's fill options of its own: the settings of
options, a group of your addon's settings (ctx.settings("Fills").group("My Fill")), which the shader reads in order withhighlightOption(0),highlightOption(1)and so on, each avec4: a number in x, a switch as 1 or 0, a colour as RGBA from 0 to 1, a choice or enum as its index. - order() - Method in class dev.myriadclient.api.service.Building.Options
-
Which placements go first; see
Building.Options.withOrder(Building.Order). - order() - Method in class dev.myriadclient.api.ui.BarWidget
-
Its place within its side: lower is further left.
- oriented(BlockState) - Static method in class dev.myriadclient.api.build.BlockRules
-
Whether how
statecomes out depends on the click (which face, where on it, which way you look): stairs, slabs, logs, repeaters, doors. - orientedState() - Method in class dev.myriadclient.api.build.Target.Exact
- orientedState() - Method in interface dev.myriadclient.api.build.Target
-
The exact state to place when the orientation matters (facing, axis, slab or stair half, ...), or null when any way the block comes out is fine.
- origin() - Method in record class dev.myriadclient.api.combat.Trajectory.Launch
-
Returns the value of the
originrecord component. - origin() - Method in record class dev.myriadclient.api.world.Holes.Hole
-
Returns the value of the
originrecord component. - originX - Variable in class dev.myriadclient.api.render.ShapeBuilder
-
Positions are stored relative to this point, subtracted in doubles so they stay precise far from spawn.
- originX() - Method in class dev.myriadclient.api.render.WorldMesh
-
Core's: the x the shapes are stored relative to.
- originY - Variable in class dev.myriadclient.api.render.ShapeBuilder
-
Positions are stored relative to this point, subtracted in doubles so they stay precise far from spawn.
- originY() - Method in class dev.myriadclient.api.render.WorldMesh
-
Core's: the y the shapes are stored relative to.
- originZ - Variable in class dev.myriadclient.api.render.ShapeBuilder
-
Positions are stored relative to this point, subtracted in doubles so they stay precise far from spawn.
- originZ() - Method in class dev.myriadclient.api.render.WorldMesh
-
Core's: the z the shapes are stored relative to.
- OTHER - Enum constant in enum class dev.myriadclient.api.util.ChatMessages.Kind
-
Anything else: server messages, system lines, Myriad's own messages.
- OTHER - Enum constant in enum class dev.myriadclient.api.world.Entities.Kind
-
Everything else: items, projectiles, vehicles, armour stands, and mobs vanilla files under "misc", such as villagers and iron golems.
- OUT_BACK - Enum constant in enum class dev.myriadclient.api.ui.draw.Easing
-
Goes about 10% past 1 before settling back.
- OUT_CUBIC - Enum constant in enum class dev.myriadclient.api.ui.draw.Easing
-
Ends slow, cubic.
- OUT_EXPO - Enum constant in enum class dev.myriadclient.api.ui.draw.Easing
-
Ends slowest, exponential; exactly 1 at 1.
- OUT_OF_RANGE - Enum constant in enum class dev.myriadclient.api.build.Build.Status
-
Out of reach from where you are.
- OUT_OF_RANGE - Enum constant in enum class dev.myriadclient.api.service.Breaking.Check
-
Farther from the eyes than the range allows.
- OUT_OF_RANGE - Enum constant in enum class dev.myriadclient.api.service.Placement.Check
-
Farther from the eyes than the range allows.
- OUT_OF_REACH - Static variable in class dev.myriadclient.api.job.Why
-
Too far away to click, open or break from where you are.
- OUT_QUAD - Enum constant in enum class dev.myriadclient.api.ui.draw.Easing
-
Ends slow, quadratic.
- OUT_QUINT - Enum constant in enum class dev.myriadclient.api.ui.draw.Easing
-
Ends very slow, quintic.
- outline(float, float, float, float, float, float, int) - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
A border
thicknessUI units wide (at least one pixel) just inside the box's edge, following its rounded corners. - OUTLINE - Static variable in class dev.myriadclient.api.render.HighlightStyle
-
A crisp 1 px outline, through walls.
- outlineWidth - Variable in class dev.myriadclient.api.render.RenderSettings
-
Shader mode: the outline's width in pixels, 0 for none.
- outlineWidth() - Method in class dev.myriadclient.api.render.HighlightStyle
-
Outline width in scaled pixels; 0 draws no outline.
- overriddenBy() - Method in class dev.myriadclient.api.setting.Setting
-
Who set the value in effect ("Hunting"), or null when it's the player's own.
- override() - Static method in class dev.myriadclient.api.integration.Baritone
-
A new set of
Baritone.Overrides: settings changed for a while and put back when it's closed. - override(Object, Setting.Layer, String, T) - Method in class dev.myriadclient.api.setting.Setting
-
Setting.override(Object, Layer, String, Object, Consumer)without an editor: UI edits go to the player's value. - override(Object, Setting.Layer, String, T, Consumer) - Method in class dev.myriadclient.api.setting.Setting
-
Lays
valueover the player's forowneruntilSetting.release(Object)d (replacing any it laid before). - OVERSHOT - Enum constant in enum class dev.myriadclient.api.ui.ThemeSettings.Curve
-
Bezier.OVERSHOT: goes a little past the end and settles back. - OVERSHOT - Static variable in record class dev.myriadclient.api.ui.draw.Bezier
-
Goes a little past the end and settles back (Hyprland's
overshot). - ownedBy(String) - Method in interface dev.myriadclient.api.registry.Registry
-
Everything the addon with mod id
ownerregistered, in order; a copy. - owner() - Method in interface dev.myriadclient.api.build.Build
-
Who started it: what was passed to
Building.start. - owner() - Method in interface dev.myriadclient.api.hook.HookCall
-
The object the call is for (a module, usually), or null.
- owner() - Method in interface dev.myriadclient.api.job.Job
-
Who started the root: a module, usually.
- owner() - Method in interface dev.myriadclient.api.job.JobContext
-
Who started the root job (the module, usually): for its settings and notifications.
- OWNER_OFF - Static variable in class dev.myriadclient.api.job.Why
-
The module that started the job turned off.
- ownerOf(T) - Method in interface dev.myriadclient.api.registry.Registry
-
The mod id of the addon that registered
entry; null if it isn't registered.
P
- packet() - Method in class dev.myriadclient.api.event.events.PacketEvent
-
The packet: as it came, or what an earlier handler set.
- PACKET - Enum constant in enum class dev.myriadclient.api.service.Breaking.Mode
-
Mines with its own packets, your hand free: the tool is swapped in to start, and held at the server only for the last few ticks (so its Efficiency counts; the server only credits it once it has ticked with the tool held), with a swing sent with each packet.
- PACKET - Enum constant in enum class dev.myriadclient.api.service.BreakingSettings.Mode
-
As fast as the server takes without refusing a finish:
Breaking.Options.forServer(). - PACKET - Static variable in class dev.myriadclient.api.service.Breaking.Options
-
Packet mining, Grim-safe: hand free, vanilla's time.
- PacketChannel - Interface in dev.myriadclient.api.network
-
What
Packetssends through, so the API needs no part of core's networking to load. - PacketEvent - Class in dev.myriadclient.api.event.events
-
Packet traffic.
- PacketEvent(Packet) - Constructor for class dev.myriadclient.api.event.events.PacketEvent
-
Core's; addons don't make these.
- PacketEvent.Receive - Class in dev.myriadclient.api.event.events
-
A packet arrived from the server, on the network thread, before the game handles it (most packets are then handed to the render thread).
- PacketEvent.Send - Class in dev.myriadclient.api.event.events
-
A packet is about to be sent to the server.
- PacketLimits - Interface in dev.myriadclient.api.service
-
A shared budget for packets servers count, so that several modules acting at once (or one module on a fast loop) don't add up to a kick.
- PacketLimits.Kind - Enum Class in dev.myriadclient.api.service
-
The kinds of packet the budget counts, each with its own limit and window: inventory clicks 72 in any 5 seconds, interactions the anti-cheat profile's
AntiCheat.Profile.interactionBudget()in 300 ms (9, after Paper's spam limiter), block actions 80 in half a second. - packets() - Element in annotation interface dev.myriadclient.api.event.Subscribe
-
For
PacketEventhandlers: only the packets of these classes (or subclasses). - packets() - Static method in class dev.myriadclient.api.Myriad
-
Core's networking, behind
Packets: use that. - packets() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.packets(). - Packets - Class in dev.myriadclient.api.network
-
Sending packets to the server.
- packetsReceivedPerSecond() - Method in interface dev.myriadclient.api.service.ServerStats
-
Packets the server sent you in the last second.
- packetsSentPerSecond() - Method in interface dev.myriadclient.api.service.ServerStats
-
Packets you sent in the last second (strict servers kick above a few hundred).
- PAD - Static variable in class dev.myriadclient.api.ui.widget.Widget
-
A standard padding, in UI units.
- PAINT_BRUSH - Static variable in class dev.myriadclient.api.ui.Icons
- pairs(int) - Static method in record class dev.myriadclient.api.input.Keybind
-
mods(from an input event, which sets only the side that's held) with both sides of each held modifier set. - palette() - Method in class dev.myriadclient.api.world.ChunkCache
-
The colours a
ChunkCache.Builder.boxescache's silhouettes index. - paletteStamp() - Static method in record class dev.myriadclient.api.setting.SettingColor
-
A number that changes whenever a theme role resolves to a different colour (the user switched or edited the theme).
- panel() - Method in interface dev.myriadclient.api.ui.Window
-
The panel it shows, for the window's whole life.
- Panel - Class in dev.myriadclient.api.ui
-
The content of a window.
- Panel() - Constructor for class dev.myriadclient.api.ui.Panel
- panels() - Static method in class dev.myriadclient.api.Myriad
-
Every kind of panel that can be opened in a window or added to the HUD.
- panels() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.panels(). - PanelType - Class in dev.myriadclient.api.ui
-
A kind of panel that can be opened in a window.
- PanelType.Anchor - Enum Class in dev.myriadclient.api.ui
-
One of the nine places a HUD element aligns to: a screen corner, an edge's middle or the centre.
- PanelType.Builder - Class in dev.myriadclient.api.ui
-
Builds a
PanelType; a factory is required. - PanelType.HudPlacement - Record Class in dev.myriadclient.api.ui
-
Where a HUD element is anchored; offsets are in UI units from that anchor.
- panX() - Method in class dev.myriadclient.api.ui.widget.Preview
-
How far it's moved right from the middle, in UI units.
- panY() - Method in class dev.myriadclient.api.ui.widget.Preview
-
How far it's moved down from the middle, in UI units.
- PAPER_PLANE - Static variable in class dev.myriadclient.api.ui.Icons
- parent() - Method in interface dev.myriadclient.api.job.Job
-
The job this one runs under, or null for a root job (one
Jobs.start(Object, Step)made). - parse(StringReader) - Method in class dev.myriadclient.api.command.arguments.BlockPosArgumentType
- parse(StringReader) - Method in class dev.myriadclient.api.command.arguments.ChoiceArgumentType
- parse(StringReader) - Method in class dev.myriadclient.api.command.arguments.DurationArgumentType
- parse(StringReader) - Method in class dev.myriadclient.api.command.arguments.EnumArgumentType
- parse(StringReader) - Method in class dev.myriadclient.api.command.arguments.ModuleArgumentType
- parse(StringReader) - Method in class dev.myriadclient.api.command.arguments.PlayerArgumentType
- parse(StringReader) - Method in class dev.myriadclient.api.command.arguments.ProfileArgumentType
- parse(StringReader) - Method in class dev.myriadclient.api.command.arguments.RegistryArgumentType
- parse(StringReader) - Method in class dev.myriadclient.api.command.arguments.SettingArgumentType
- parse(StringReader) - Method in class dev.myriadclient.api.command.arguments.SettingValueArgumentType
- parse(String) - Static method in class dev.myriadclient.api.command.arguments.DurationArgumentType
-
Parses a duration string to milliseconds, rounded, or null if it isn't one (or is empty).
- parse(String) - Static method in record class dev.myriadclient.api.input.Keybind
-
A bind written the way
Keybind.displayName()shows it, in any case:"t","ctrl+t","ctrl+alt+pgdown","shift+alt+f6", a modifier on its own ("alt","rshift"),"mouse5","rmb";"none"for no bind. - parse(String) - Static method in record class dev.myriadclient.api.registry.MyriadId
-
Parses
ns:pathat its first colon, asMyriadId.toString()writes it. - parse(String) - Method in class dev.myriadclient.api.setting.ActionSetting
- parse(String) - Method in class dev.myriadclient.api.setting.BlockPosSetting
-
"x y z" (commas also work).
- parse(String) - Method in class dev.myriadclient.api.setting.BoolSetting
- parse(String) - Method in class dev.myriadclient.api.setting.ChoiceSetting
- parse(String) - Method in class dev.myriadclient.api.setting.ColorSetting
- parse(String) - Method in class dev.myriadclient.api.setting.DoubleSetting
- parse(String) - Method in class dev.myriadclient.api.setting.EnumSetSetting
- parse(String) - Method in class dev.myriadclient.api.setting.EnumSetting
- parse(String) - Method in class dev.myriadclient.api.setting.FileSetting
- parse(String) - Method in class dev.myriadclient.api.setting.IntListSetting
- parse(String) - Method in class dev.myriadclient.api.setting.IntSetting
- parse(String) - Method in class dev.myriadclient.api.setting.KeybindSetting
- parse(String) - Method in class dev.myriadclient.api.setting.ModuleListSetting
-
Toggles one module, by name or id; false if there's no such module.
- parse(String) - Method in class dev.myriadclient.api.setting.RegistryListSetting
- parse(String) - Method in class dev.myriadclient.api.setting.RegistrySetting
- parse(String) - Method in class dev.myriadclient.api.setting.Setting
-
Sets the player's value from what a player typed (a command, a text box).
- parse(String) - Method in class dev.myriadclient.api.setting.StringListSetting
- parse(String) - Method in class dev.myriadclient.api.setting.StringSetting
- parse(String) - Static method in class dev.myriadclient.api.share.ConfigShare
-
Reads a document from JSON text, as
ConfigShare.toString()writes it; throwsIllegalArgumentExceptionif it isn't a JSON object of a format this version reads (Gson's own exception for malformed JSON). - parse(String, String) - Static method in record class dev.myriadclient.api.registry.MyriadId
-
Parses
ns:pathat its first colon; a barepathgetsdefaultNamespace. - parse(String, Predicate) - Static method in class dev.myriadclient.api.util.ChatMessages
-
Parses plain text;
isPlayerdecides whether a name from a non-vanilla format is a real player. - parse(Component) - Static method in class dev.myriadclient.api.util.ChatMessages
-
Parses a chat line, checking names from non-vanilla formats against the tab list;
ChatMessages.Parsed.NONEif none fits. - parsed() - Method in class dev.myriadclient.api.event.events.ChatReceiveEvent
-
Who the line is from and whether it's a whisper (see
ChatMessages); worked out on first use. - Parsed(ChatMessages.Kind, String, String) - Constructor for record class dev.myriadclient.api.util.ChatMessages.Parsed
-
Creates an instance of a
Parsedrecord class. - parseHex(String) - Static method in class dev.myriadclient.api.util.ColorUtil
-
Parses
#RRGGBB(made opaque) or#AARRGGBB; the leading '#' and surrounding spaces are optional. - part() - Method in class dev.myriadclient.api.event.events.HighlightEvent.Hand
-
Whether it's the bare arm or the held item.
- parts(String...) - Method in class dev.myriadclient.api.ui.hud.TextHudPanel.Lines
-
A line of alternating label, value, label, value… parts, drawn without extra spacing.
- passed(double) - Method in class dev.myriadclient.api.util.Timer
-
Whether at least
msmilliseconds have passed, for delays from a decimal setting. - passed(long) - Method in class dev.myriadclient.api.util.Timer
-
Whether at least
msmilliseconds have passed since the lastTimer.reset(). - passedTicks(int) - Method in class dev.myriadclient.api.util.Timer
-
Whether
ticksgame ticks' worth of time (50 ms each) has passed. - PASSIVE - Enum constant in enum class dev.myriadclient.api.world.Entities.Kind
-
Animals, fish, bats, axolotls and other creatures that don't attack on sight.
- PASTE - Static variable in class dev.myriadclient.api.ui.Icons
- path() - Static method in class dev.myriadclient.api.integration.Baritone
-
The path Baritone is walking, from where it is along it now: the rest of the current segment, then the next one it has planned.
- path() - Method in record class dev.myriadclient.api.registry.MyriadId
-
Returns the value of the
pathrecord component. - path() - Method in class dev.myriadclient.api.setting.FileSetting
-
The chosen file, or null if none is set or the path isn't valid.
- Path(List, HitResult) - Constructor for record class dev.myriadclient.api.combat.Trajectory.Path
-
Creates an instance of a
Pathrecord class. - pathNear(BlockPos, int) - Static method in class dev.myriadclient.api.integration.Baritone
-
Walks to within
rangeblocks ofpos; true if Baritone took the goal. - pathTo(int, int) - Static method in class dev.myriadclient.api.integration.Baritone
-
Walks to a column, at whatever height; true if Baritone took the goal.
- pathTo(int, int, int) - Static method in class dev.myriadclient.api.integration.Baritone
-
Walks to a block, mining and placing as Baritone's settings allow, replacing any goal it had.
- patternSize - Variable in class dev.myriadclient.api.render.RenderSettings
-
The size of a patterned fill's marks, in pixels.
- patternSpacing - Variable in class dev.myriadclient.api.render.RenderSettings
-
A patterned fill's size and spacing (the dots', or an addon fill's scale), in pixels.
- pause() - Method in interface dev.myriadclient.api.job.Job
-
Stops ticking it; running steps are told (
Step.Run.pause(JobContext)). - pause(JobContext) - Method in interface dev.myriadclient.api.job.Step.Run
-
The player (or a parent) paused the job: stop asking the services for things; hold what you hold.
- pause(Object) - Static method in class dev.myriadclient.api.integration.Baritone
-
Pauses Baritone on behalf of
owner, until it callsBaritone.resume(Object). - PAUSE - Static variable in class dev.myriadclient.api.ui.Icons
- paused() - Method in interface dev.myriadclient.api.job.JobContext
-
Whether the job (or a job above it) is paused right now.
- PAUSED - Enum constant in enum class dev.myriadclient.api.job.Job.State
-
Paused by the player or
Job.pause(): not ticked until resumed. - pauseGame - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Pause singleplayer while the menu is open.
- PAW - Static variable in class dev.myriadclient.api.ui.Icons
- PEARLS - Enum constant in enum class dev.myriadclient.api.render.EntityGroups.Group
-
Thrown ender pearls.
- peek(Consumer) - Method in class dev.myriadclient.api.job.Step
-
After this,
actionwith the result, on the same tick, then done with the same result. - PENCIL - Static variable in class dev.myriadclient.api.ui.Icons
- pending() - Method in class dev.myriadclient.api.world.ChunkCache
-
Chunks still waiting to be computed or meshed (async: those being computed included).
- PENDING - Enum constant in enum class dev.myriadclient.api.service.Breaking.Check
-
A placement there is still waiting for the server.
- PENDING - Enum constant in enum class dev.myriadclient.api.service.Placement.Check
-
A placement or break there is still waiting for its turn or the server's answer.
- percent(double) - Static method in class dev.myriadclient.api.util.Format
-
A fraction as a whole percentage: "64%" for 0.64, rounded, not clamped.
- percent(ItemStack) - Static method in class dev.myriadclient.api.ui.hud.ItemHud
-
The fraction of durability left, 0-1, and 1 for items that don't wear out (
ItemInfo.durabilityFraction(ItemStack)). - PERCENT - Enum constant in enum class dev.myriadclient.api.ui.hud.ItemHud.Durability
-
The durability left as a percentage over the item.
- percentText(Canvas, ItemStack, float, float, float, float, boolean) - Static method in class dev.myriadclient.api.ui.hud.ItemHud
-
Draws the percentage centred over an item at x, top at y, in the durability colour;
textSizeis the font size andshadowadds the HUD drop shadow. - PICTURE - Static variable in class dev.myriadclient.api.ui.Icons
- PIE_CHART - Static variable in class dev.myriadclient.api.ui.Icons
- pills() - Method in interface dev.myriadclient.api.job.Job
-
Its policies as people read them: "retry 1/3", "timeout 400".
- ping() - Method in interface dev.myriadclient.api.service.ServerStats
-
Your round trip to the server in milliseconds: how long it takes to answer an action of yours (using an item, digging), its tick included, or the tab list's latency if that's higher.
- ping(Player) - Static method in class dev.myriadclient.api.world.Entities
-
player's latency in milliseconds from the tab list, or 0 if unknown (not listed, or not connected). - pings() - Method in record class dev.myriadclient.api.service.AntiCheat.ServerSeen
-
Returns the value of the
pingsrecord component. - pitch - Variable in class dev.myriadclient.api.event.events.CameraEvent.Rotation
-
Which way the camera faces, in degrees (pitch -90 up to 90 down); overwrite to turn it.
- pitch - Variable in class dev.myriadclient.api.event.events.MovementPacketsEvent
-
The rotation to send, in degrees (yaw unwrapped, pitch -90 up to 90 down).
- pitch() - Method in class dev.myriadclient.api.service.Placement.Click
-
The pitch to click with, in degrees; NaN when it clicks with the look you have (
Placement.Click.turns()). - pitch() - Method in class dev.myriadclient.api.ui.widget.Preview
-
Degrees it's tipped towards you (positive: seen from above).
- pixelScale() - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
Current units-to-pixels factor (including the UI scale): framebuffer pixels per unit.
- place(Object, Placement.Click, int, Placement.Options) - Method in class dev.myriadclient.api.service.Placement.Forwarding
- place(Object, Placement.Click, int, Placement.Options) - Method in interface dev.myriadclient.api.service.Placement
-
Makes a
Placement.solve(BlockPos, BlockState, int, Placement.Options)d click with the item inhotbarSlot. - place(Object, BlockPos, int, Placement.Options) - Method in class dev.myriadclient.api.service.Placement.Forwarding
- place(Object, BlockPos, int, Placement.Options) - Method in interface dev.myriadclient.api.service.Placement
-
Like
Placement.place(BlockPos, int, Options), owned byowner: placements still waiting for their rotation are dropped byPlacement.cancel(Object)(a module's are when it's disabled). - place(Object, BlockHitResult, int, Placement.Options) - Method in class dev.myriadclient.api.service.Placement.Forwarding
- place(Object, BlockHitResult, int, Placement.Options) - Method in interface dev.myriadclient.api.service.Placement
-
Placement.place(BlockHitResult, int, Options)owned byowner, soPlacement.cancel(Object)drops it while it waits for its rotation. - place(BlockPos, int, Placement.Options) - Static method in class dev.myriadclient.api.job.Steps
-
Places the block in hotbar
slotatpos; done at once if that block is already there. - place(BlockPos, int, Placement.Options) - Method in interface dev.myriadclient.api.service.Placement
- place(BlockHitResult, int, Placement.Options) - Static method in class dev.myriadclient.api.job.Steps
-
Places with this exact click (the face matters: stairs, logs, slabs); as
Steps.place(BlockPos, int, Placement.Options). - place(BlockHitResult, int, Placement.Options) - Method in interface dev.myriadclient.api.service.Placement
-
Places by clicking exactly
hit, for when the face or the click position matters: stairs, slabs, logs and other blocks whose orientation follows where you click. - PLACE - Enum constant in enum class dev.myriadclient.api.build.Build.Status
-
Will be placed.
- placeable(BlockState) - Static method in class dev.myriadclient.api.build.BlockRules
-
Whether a build can make
targetat all: blocks that only appear through other blocks (portals, fire, piston heads, fluids flowing) and blocks with no item can't be placed. - Placed(float, float, float, float, float) - Constructor for record class dev.myriadclient.api.render.WorldLabel.Placed
-
Creates an instance of a
Placedrecord class. - PLACED - Static variable in class dev.myriadclient.api.build.BlockRules
-
Properties the click sets: the face clicked, where on it, and which way you look.
- placedMatches(BlockState, BlockState) - Static method in class dev.myriadclient.api.build.BlockRules
-
Whether every placed property both states have agrees (a double slab's halves agree with either).
- placedWithNeighbour(BlockState) - Static method in class dev.myriadclient.api.build.BlockRules
-
Whether a position holding
targetis placed as part of another one, so there's nothing to do there itself: the top half of a door or tall plant, the head of a bed. - placeholder(String) - Method in class dev.myriadclient.api.ui.widget.TextField
-
Dim text shown while the field is empty and not being edited.
- placement() - Static method in class dev.myriadclient.api.Myriad
-
Shared block placement (neighbour finding, rotation, silent swap, cooldowns).
- placement() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.placement(). - Placement - Interface in dev.myriadclient.api.service
-
Shared block placement for modules like Scaffold, Surround or Auto Trap: finds a solid neighbour face to click, optionally rotates for that exact placement, silently swaps to the block, and follows each placement until the server has answered, so modules don't place twice while it catches up and learn whether the block stayed.
- PLACEMENT - Static variable in class dev.myriadclient.api.hook.Service
-
Myriad.placement(): placing blocks and using them. - Placement.Attempt - Record Class in dev.myriadclient.api.service
-
One placement.
- Placement.Check - Enum Class in dev.myriadclient.api.service
-
Whether a block could go somewhere now, and if not, why not.
- Placement.Click - Class in dev.myriadclient.api.service
-
A click that makes a block come out a particular way, from
Placement.solve(BlockPos, BlockState, int, Placement.Options): the face and point to click, whether the server is to see the sneak key down for it (placing against a chest or a repeater without opening or clicking it), and the look to click with. - Placement.Forwarding - Class in dev.myriadclient.api.service
-
The base for a replacement of this service (
Service.PLACEMENT): hands every call to the service it wraps (core's), so override only what you do differently. - Placement.Options - Class in dev.myriadclient.api.service
-
How blocks are placed.
- Placement.Solution - Class in dev.myriadclient.api.service
-
A click from
Placement.solve(BlockPos, BlockState, int, Placement.Options), or why there's none (Placement.Solution.check()). - Placement.Target - Record Class in dev.myriadclient.api.service
-
A block to place, for
Placement.AIM. - PlacementSettings - Class in dev.myriadclient.api.service
-
The standard placement settings, Range and Air Place, so every module that places blocks offers the same ones.
- PlacementSettings(SettingGroup) - Constructor for class dev.myriadclient.api.service.PlacementSettings
-
Adds Range and Air Place to
group. - placesPerTick() - Method in class dev.myriadclient.api.service.Building.Options
-
Most placements and hand clicks (settings) started per tick, at least 1; breaks go at the breaking service's own pace.
- placeState(BlockPos, BlockState, int, Placement.Options) - Static method in class dev.myriadclient.api.job.Steps
-
Makes the block at
poswanted, with the block in hotbarslot: placed with asolvedclick so it faces the right way, one more added where the block takes several (candles, layers, a slab's other half), then clicked by hand into its setting (a repeater's delay, a lever, a door open or shut). - placing - Variable in class dev.myriadclient.api.service.BuildingSettings
-
Range and Air Place.
- placing() - Method in class dev.myriadclient.api.service.Building.Options
-
How blocks are placed.
- PLAIN - Enum constant in enum class dev.myriadclient.api.render.WorldLabel.Background
-
A square-cornered box.
- PLANE - Static variable in class dev.myriadclient.api.ui.Icons
- PLAY - Static variable in class dev.myriadclient.api.ui.Icons
- player() - Static method in class dev.myriadclient.api.command.arguments.Arguments
-
A player name, suggesting those in the tab list but accepting any; read it with
StringArgumentType.getString. - player() - Static method in class dev.myriadclient.api.command.arguments.PlayerArgumentType
-
A player name argument.
- player() - Static method in class dev.myriadclient.api.ui.widget.Preview
-
A player looking as you do, as others see you.
- player() - Method in record class dev.myriadclient.api.util.ChatMessages.Parsed
-
Returns the value of the
playerrecord component. - player() - Static method in class dev.myriadclient.api.util.Client
-
The local player (
mc.player); throwsIllegalStateExceptionoutside a world. - PLAYER - Enum constant in enum class dev.myriadclient.api.world.Entities.Kind
-
Any player, the local one and fake ones included.
- PLAYER - Static variable in class dev.myriadclient.api.module.Tags
-
Your own player and inventory: reach, interaction, hand and item tweaks.
- PlayerArgumentType - Class in dev.myriadclient.api.command.arguments
-
A player name, as one word; suggests names from the tab list.
- PlayerArgumentType() - Constructor for class dev.myriadclient.api.command.arguments.PlayerArgumentType
- PlayerHeads - Class in dev.myriadclient.api.render
-
Players' faces drawn on the canvas, with their hat layer, for radars, target HUDs, nametags and lists.
- PlayerMoveEvent - Class in dev.myriadclient.api.event.events
-
The local player is about to move by
PlayerMoveEvent.movementthis tick (after input, gravity and friction were applied, before collisions). - PlayerMoveEvent(MoverType, Vec3) - Constructor for class dev.myriadclient.api.event.events.PlayerMoveEvent
-
Core's; only Myriad makes these.
- players - Variable in class dev.myriadclient.api.combat.TargetSettings
-
Which
Targets.Types count, one switch each; seeTargetSettings.types(). - players(double) - Static method in class dev.myriadclient.api.combat.Threats
-
The hardest hit a player who isn't a friend, within
rangeblocks of your box, could land now (Damage.melee(Player, LivingEntity)). - PLAYERS - Enum constant in enum class dev.myriadclient.api.combat.Targets.Type
-
Other players (fake ones included; never you).
- PLAYERS - Enum constant in enum class dev.myriadclient.api.render.EntityGroups.Group
-
Other players who aren't friends (fake ones included).
- playerScreen(int) - Static method in class dev.myriadclient.api.item.Slots
-
Slot id in the player's own screen (no container open; sync id 0) for an inventory index (0-40); throws
IllegalArgumentExceptionfor anything else. - playerSlot(int) - Method in interface dev.myriadclient.api.service.Containers.View
-
The screen slot id for an inventory index (0-35) in this container's screen, for
Containers.View.click(int, int, ContainerInput)andContainers.Arrangements. - playerSlots(AbstractContainerMenu, boolean) - Static method in class dev.myriadclient.api.item.Slots
-
The slot ids in
menuof your main inventory (indexes 9-35), then your hotbar (0-8) ifhotbar, in index order; an entry is -1 where the menu doesn't show that index. - PlayerSubject() - Constructor for record class dev.myriadclient.api.ui.widget.Preview.PlayerSubject
-
Creates an instance of a
PlayerSubjectrecord class. - playerValue() - Method in class dev.myriadclient.api.setting.Setting
-
The player's own value (the one saved), whatever overrides lie on it.
- PlayerViewEvent - Class in dev.myriadclient.api.event.events
-
Where the local player's view ray starts and points, as used for the crosshair target, block reach and placement.
- PlayerViewEvent(Vec3, float) - Constructor for class dev.myriadclient.api.event.events.PlayerViewEvent
-
Core's; addons don't make these.
- PlayerViewEvent.Eyes - Class in dev.myriadclient.api.event.events
-
The eye position the view ray starts from.
- PlayerViewEvent.Look - Class in dev.myriadclient.api.event.events
-
The unit look direction.
- PlaySoundEvent - Class in dev.myriadclient.api.event.events
-
A sound is about to play on the client: sounds the server sends, and the ones the client plays itself (your own steps, clicks, music).
- PlaySoundEvent(SoundInstance) - Constructor for class dev.myriadclient.api.event.events.PlaySoundEvent
-
Core's; only Myriad makes these.
- PLUG - Static variable in class dev.myriadclient.api.ui.Icons
- PLUS - Static variable in class dev.myriadclient.api.ui.Icons
- points() - Method in record class dev.myriadclient.api.combat.Trajectory.Path
-
Returns the value of the
pointsrecord component. - pop() - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
Restores what the matching
Canvas.push()saved. - popin - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
The scale windows grow from when opening, as a fraction of their size (Hyprland's popin %).
- pops() - Method in class dev.myriadclient.api.event.events.EntityEvent.Died
-
Totems it used since it last died.
- pops() - Method in class dev.myriadclient.api.event.events.EntityEvent.TotemPopped
-
Its pops since it last died, this one included.
- pos() - Method in record class dev.myriadclient.api.build.Build.Step
-
Returns the value of the
posrecord component. - pos() - Method in class dev.myriadclient.api.event.events.BlockBreakEvent
-
The block being mined.
- pos() - Method in class dev.myriadclient.api.event.events.BlockBrokenEvent
-
Where the block was.
- pos() - Method in class dev.myriadclient.api.event.events.BlockUpdateEvent
-
Where the block changed.
- pos() - Method in class dev.myriadclient.api.event.events.ChunkEvent
-
Which chunk.
- pos() - Method in class dev.myriadclient.api.event.events.CollisionShapeEvent
-
Where it is; possibly a mutable position the game goes on changing, so copy it to keep it.
- pos() - Method in record class dev.myriadclient.api.service.Breaking.Attempt
-
Returns the value of the
posrecord component. - pos() - Method in interface dev.myriadclient.api.service.Containers.View
-
The block it was opened from, when known (it was opened by clicking a block just before).
- pos() - Method in record class dev.myriadclient.api.service.Placement.Attempt
-
Returns the value of the
posrecord component. - pos() - Method in class dev.myriadclient.api.service.Placement.Click
-
Where the block goes (for more of a block, the block itself).
- pos() - Method in record class dev.myriadclient.api.service.Placement.Target
-
Returns the value of the
posrecord component. - pose() - Method in class dev.myriadclient.api.event.events.EntityRenderEvent.Model
-
The pose the model was submitted with (relative to the camera); submit again with it to line up.
- position(BlockPos) - Static method in class dev.myriadclient.api.combat.Crystals
-
Where a crystal placed on
basesits (and explodes from): the middle of the top of the base. - Position(double, double, double, float) - Constructor for class dev.myriadclient.api.event.events.CameraEvent.Position
-
Core's; only Myriad makes these.
- positionAt(double) - Method in record class dev.myriadclient.api.map.Waypoint
-
Where it is from a dimension of coordinate scale
scale(level.dimensionType().coordinateScale()): its block's centre, x and z scaled across, y unchanged. - positionHere(Waypoint) - Method in interface dev.myriadclient.api.map.Maps
-
Where
waypointis from the dimension you're in: its block's centre, scaled across dimensions (a Nether waypoint's x and z times 8 in the Overworld), its height unchanged; null outside a world. - Positions - Class in dev.myriadclient.api.world
-
Block positions around a point: the loops every placing, breaking and scanning feature needs.
- post(E) - Method in interface dev.myriadclient.api.event.EventBus
-
Delivers
eventto every handler of its class or a supertype, on this thread, and returns it, so the poster can read what handlers changed (post(new MyEvent()).isCancelled()). - post(Object) - Method in interface dev.myriadclient.api.job.JobEngine.Host
-
Core's: posts a
JobEventon the event bus. - Post() - Constructor for class dev.myriadclient.api.event.events.MovementPacketsEvent.Post
- Post() - Constructor for class dev.myriadclient.api.event.events.TickEvent.Post
- postApply(String, ClassNode, String, IMixinInfo) - Method in class dev.myriadclient.api.mixin.CompatMixinPlugin
- POSTER - Enum constant in enum class dev.myriadclient.api.event.HandlerThread
-
The thread the event is posted on, at once: the render thread, except for events marked
@AnyThread. - postInitialize(AddonContext) - Method in interface dev.myriadclient.api.addon.MyriadAddon
-
All addons are initialised and config has been loaded: the place for optional integrations.
- postJson(String, JsonElement) - Static method in class dev.myriadclient.api.network.Http
-
POSTs
json(asapplication/json) and returns the response body; no retries. - postJson(String, JsonElement, int) - Static method in class dev.myriadclient.api.network.Http
-
POSTs
json, trying again up toretriestimes while the server says to slow down (429, or 503 with aRetry-After), each time after the wait it asks for (2 seconds if it doesn't say, at most a minute): for webhooks and other rate-limited services. - POTION - Static variable in record class dev.myriadclient.api.combat.Trajectory.Ballistics
-
Splash and lingering potions.
- POWER - Static variable in class dev.myriadclient.api.ui.Icons
- Pre() - Constructor for class dev.myriadclient.api.event.events.TickEvent.Pre
- preApply(String, ClassNode, String, IMixinInfo) - Method in class dev.myriadclient.api.mixin.CompatMixinPlugin
- predict(Entity, int) - Static method in class dev.myriadclient.api.world.Entities
-
Where
ewill be inticksticks if it keeps moving as it did last tick (a straight-line guess; good enough to lead shots or place crystals where a player is going). - predictBox(Entity, int) - Static method in class dev.myriadclient.api.world.Entities
-
Entities.predict(Entity, int)applied to the bounding box. - preference(ItemStack) - Method in class dev.myriadclient.api.build.Target.Air
- preference(ItemStack) - Method in class dev.myriadclient.api.build.Target.Exact
- preference(ItemStack) - Method in interface dev.myriadclient.api.build.Target
-
How good
stackis for filling this target: -1 if it can't, otherwise lower is better (0 = first choice). - preference(ItemStack) - Method in class dev.myriadclient.api.build.Target.Solid
- preferences - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Personal options that don't change with the theme.
- preferOnFirstRun() - Method in class dev.myriadclient.api.ui.Theme
-
Use this theme instead of Myriad's default on a fresh install (e.g.
- preferredSize(Canvas) - Method in class dev.myriadclient.api.ui.hud.TextHudPanel
-
As wide as the widest line (at least 20 units), as tall as the lines (at least one).
- preferredSize(Canvas) - Method in class dev.myriadclient.api.ui.Panel
- prefersFirstRun() - Method in class dev.myriadclient.api.ui.Theme
-
Whether
Theme.preferOnFirstRun()was called. - prepareClick() - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- prepareClick() - Method in interface dev.myriadclient.api.service.Inventory
-
Call it just before clicking: true if a click can go now.
- preserve(double) - Method in interface dev.myriadclient.api.elytra.Flight
-
Elytras with less durability than this (%) are put aside for the freshest other one; 0, the default, keeps them on.
- PRESETS - Static variable in record class dev.myriadclient.api.ui.draw.Bezier
-
The named presets, in the order the theme lists them.
- press(Widget) - Method in class dev.myriadclient.api.ui.widget.Widget
-
Makes
childthe widget that receives the rest of this mouse press (drags and the release), unless one was chosen already. - preview() - Method in class dev.myriadclient.api.module.Module
-
A view shown at the top of this module's settings window, made each time the window opens: for a module that draws things, a
Previewof what it draws on, so changing a setting shows what it does. - preview() - Method in class dev.myriadclient.api.ui.hud.HudPanel
-
True when there's no world, e.g.
- preview(Preview, float, float, float, float) - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
Draws
preview's subject in 3D in the given box (whatPreview.render(Canvas, float, float)does; for drawing one yourself). - Preview - Class in dev.myriadclient.api.ui.widget
-
A 3D view of something, for seeing what render settings do to it: an entity, you, a block (a chest, a shulker box), or your first-person hands and held items (as View Model shapes them).
- Preview.Decoration - Interface in dev.myriadclient.api.ui.widget
-
Draws on a preview:
boxis the subject's box (an entity's hitbox, a block's cube) in the same coordinates,entitythe entity shown (null for a block, an item or the view model), for colouring it as the module would. - Preview.EntitySubject - Record Class in dev.myriadclient.api.ui.widget
-
An entity of
type, standing, facing you. - Preview.ItemSubject - Record Class in dev.myriadclient.api.ui.widget
-
An item as a 3D model: a block's item shows the block (chests and shulker boxes as they stand in the world).
- Preview.PlayerSubject - Record Class in dev.myriadclient.api.ui.widget
-
A player looking as you do: your skin and its layers, armour and what you hold.
- Preview.Subject - Interface in dev.myriadclient.api.ui.widget
-
What a preview shows.
- Preview.ViewModelSubject - Record Class in dev.myriadclient.api.ui.widget
-
Your first-person hands as you see them right now, as if the menu weren't in the way: what you hold, or your arm when your hand is empty (View Model's changes included).
- PreviewEvent - Class in dev.myriadclient.api.event.events
-
A
Previewis being drawn (a Preview window, or one in a module's settings): show on its subject what your module would show in the world, so the player sees a setting change as they make it. - PreviewEvent() - Constructor for class dev.myriadclient.api.event.events.PreviewEvent
-
Core's; only Myriad makes these.
- priority() - Element in annotation interface dev.myriadclient.api.event.Subscribe
-
Higher runs first; equal priorities run in the order they subscribed.
- priority() - Method in class dev.myriadclient.api.service.Building.Options
-
The priority of this build's breaks against other modules' breaks (
Breaking.breakBlock(Object, BlockPos, int, Breaking.Options)); 0 by default. - Priority - Class in dev.myriadclient.api.event
-
Common handler priorities, for
Subscribe.priority()andEventBus.listen(Class, int, java.util.function.Consumer). - PRIORITY_HIGH - Static variable in interface dev.myriadclient.api.service.Rotations
-
For looks an action depends on this tick: placements and breaks that are checked against the look use it.
- PRIORITY_LOW - Static variable in interface dev.myriadclient.api.service.Rotations
-
For looks that can give way to anything: idle aiming, a look that only helps.
- PRIORITY_NORMAL - Static variable in interface dev.myriadclient.api.service.Rotations
-
For a module's ordinary aiming.
- proceed() - Method in interface dev.myriadclient.api.hook.HookCall
-
The next handler's answer (a less specific contribution's, or in the end the hook's default).
- proceed(I) - Method in interface dev.myriadclient.api.hook.HookCall
-
The next handler's answer for a different input (the default's, past the last handler).
- profile() - Static method in class dev.myriadclient.api.command.arguments.ProfileArgumentType
-
A profile name argument.
- profile() - Method in interface dev.myriadclient.api.hook.HookCall
-
The anti-cheat profile in effect (
Myriad.antiCheat().profile(), as of this tick). - profile() - Method in class dev.myriadclient.api.hook.Match
-
The anti-cheat profile it requires (
Match.on(AntiCheat.Profile)), or null for any. - profile() - Method in interface dev.myriadclient.api.service.AntiCheat
-
The profile in effect: the player's choice, or what this server looks like (
AntiCheat.detected()). - ProfileArgumentType - Class in dev.myriadclient.api.command.arguments
-
A config profile name, as one word; suggests existing profiles but accepts any name (to create one).
- ProfileArgumentType() - Constructor for class dev.myriadclient.api.command.arguments.ProfileArgumentType
- profiles() - Method in interface dev.myriadclient.api.config.ConfigManager
-
The names of every saved profile, sorted, with the active one even before it's first saved; a copy.
- profiles() - Method in interface dev.myriadclient.api.service.AntiCheat
-
Every profile there is: Myriad's and the ones addons registered.
- progress() - Method in interface dev.myriadclient.api.job.Job
-
0..1, from
JobContext.progress(int, int)or a sequence's place in its steps; NaN when nothing says. - progress(double) - Method in interface dev.myriadclient.api.job.JobContext
-
How far along as a fraction, clamped to 0..1; NaN clears it (the bar then shows no progress).
- progress(int, int) - Method in interface dev.myriadclient.api.job.JobContext
-
How far along, for the Jobs window's bar:
doneoftotal(a total of 0 or less clears it). - progress(BlockPos) - Method in class dev.myriadclient.api.service.Breaking.Forwarding
- progress(BlockPos) - Method in interface dev.myriadclient.api.service.Breaking
-
How far mining
poshas got, 0 to 1 (1 = the finish has been sent); 0 if it isn't being mined. - Progress<T> - Class in dev.myriadclient.api.job
-
How a
Step.Runstands after a tick. - Progress(BlockPos, Direction) - Constructor for class dev.myriadclient.api.event.events.BlockBreakEvent.Progress
-
Core's; only Myriad makes these.
- projectiles - Variable in class dev.myriadclient.api.combat.TargetSettings
-
Which
Targets.Types count, one switch each; seeTargetSettings.types(). - PROJECTILES - Enum constant in enum class dev.myriadclient.api.combat.Targets.Type
-
Projectiles that can be hit: fireballs and shulker bullets (most others aren't attackable).
- Projection - Class in dev.myriadclient.api.render
-
Maps world positions to the screen using the camera of the last rendered frame.
- PROPERTIES - Static variable in class dev.myriadclient.api.build.Target.Orientation
-
Facing, axis, attachment, half, slab type, rotation, hinge, vertical direction and hanging.
- protect - Variable in class dev.myriadclient.api.setting.Setting.Builder
-
From
Setting.Builder.protect(); off by default, on for coordinates and file paths. - protect() - Method in class dev.myriadclient.api.setting.Setting.Builder
-
Keeps the value out of shared configs: for anything private to the player (a webhook URL, a server address, coordinates, a password).
- protect(boolean) - Method in class dev.myriadclient.api.setting.Setting.Builder
-
Setting.Builder.protect(), or withfalseshareable (coordinates that are a public place, say). - protocol() - Method in record class dev.myriadclient.api.service.AntiCheat.ServerSeen
-
Returns the value of the
protocolrecord component. - PUBLIC - Enum constant in enum class dev.myriadclient.api.util.ChatMessages.Kind
-
Said in public chat by
ChatMessages.Parsed.player()(possibly you). - publish(ConfigShare) - Method in interface dev.myriadclient.api.share.ConfigShares
-
Uploads
share; the code arrives with the future, off the render thread. - published() - Method in interface dev.myriadclient.api.share.ConfigShares
-
The shares published from this computer, newest first.
- Published(String, String, String, long) - Constructor for record class dev.myriadclient.api.share.ConfigShares.Published
-
Creates an instance of a
Publishedrecord class. - pullToHotbar(int, Predicate) - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- pullToHotbar(int, Predicate) - Method in interface dev.myriadclient.api.service.Inventory
-
Brings the item at
inventoryIndex(9-35) into the hotbar to be used, keeping out of the way of what you use: into an empty slot, else over an itemreplaceableaccepts (they swap places, so it lands where this one was), else over ordinary building blocks. - push() - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
Saves translation, scale, clip and alpha.
- put(Containers.View, Predicate, Containers.Transfer) - Static method in class dev.myriadclient.api.job.Steps
-
Puts
whatfrom the inventory into the container; produces how many moved (0 when you have none). - put(Predicate, Containers.Transfer) - Method in interface dev.myriadclient.api.service.Containers.View
-
Like
Containers.View.take(Predicate, Containers.Transfer), the other way: itemswhataccepts from your inventory into the container. - putDownItem(Object, int, int, Placement.Options) - Method in interface dev.myriadclient.api.service.Containers
-
Containers.openItem(Object, int, int, Placement.Options)without opening it: the box is put down, and the session completes once the server has it standing. - putDownItem(Object, Containers.View, int, int, Placement.Options) - Method in interface dev.myriadclient.api.service.Containers
-
Containers.openItem(Object, View, int, int, Placement.Options)without opening it:fromstays open, its screen up, so several can be put down one after another and opened from the swap bar. - PUZZLE - Static variable in class dev.myriadclient.api.ui.Icons
Q
- quad(Vec3, Vec3, Vec3, Vec3, int, boolean) - Method in class dev.myriadclient.api.render.ShapeBuilder
-
A filled quad through four corners, in order around its edge; seen from both sides.
- QUAD - Enum constant in enum class dev.myriadclient.api.world.Holes.Shape
-
Two by two.
- quads(boolean) - Static method in class dev.myriadclient.api.render.RenderLayers
-
Quads in a flat colour (position, colour).
- QUADS - Enum constant in enum class dev.myriadclient.api.render.Rendering.Layer
-
Core's:
RenderLayers.quads(boolean). - query() - Static method in class dev.myriadclient.api.combat.Targets
-
A new query with the defaults: players only, within 6 blocks, friends left out, invisible, named and creative targets and those behind walls included, nearest first.
- query() - Method in class dev.myriadclient.api.combat.TargetSettings
-
A query set up from these settings; add a range (and anything else) and call
best()orlist(). - QUESTION - Static variable in class dev.myriadclient.api.ui.Icons
- QUEUED - Enum constant in enum class dev.myriadclient.api.job.Job.State
-
Started, waiting for its first tick.
- quickMove(int) - Method in interface dev.myriadclient.api.service.Containers.View
-
Shift-clicks a container slot: moves its stack into your inventory.
- quickMove(int) - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- quickMove(int) - Method in interface dev.myriadclient.api.service.Inventory
-
Shift-clicks
inventoryIndex: armour goes onto you, other items between the hotbar and main inventory. - quickMoveFromPlayer(int) - Method in interface dev.myriadclient.api.service.Containers.View
-
Shift-clicks your inventory index (0-35): moves that stack into the container.
R
- race(String, List) - Static method in class dev.myriadclient.api.job.Step
-
All at once; the first to finish wins and the rest are cancelled.
- radius() - Method in record class dev.myriadclient.api.combat.Trajectory.Ballistics
-
Returns the value of the
radiusrecord component. - rainbow(float, float, float, float, int) - Static method in class dev.myriadclient.api.util.ColorUtil
-
A colour whose hue cycles with the clock, one full turn every
10 / speedseconds;offsetin 0..1 shifts the phase (e.g. - RAINBOW - Enum constant in enum class dev.myriadclient.api.setting.SettingColor.Mode
-
A rainbow cycling over time, with the stored colour's alpha.
- RAINBOW - Enum constant in enum class dev.myriadclient.api.ui.hud.HudStyle.Mode
-
A rainbow that cycles over time, shifted from line to line by Rainbow Spread.
- RANDOM - Static variable in class dev.myriadclient.api.ui.Icons
- range - Variable in class dev.myriadclient.api.service.PlacementSettings
-
Range: how far away blocks are placed, in blocks (1-6, 4.5 by default); see
PlacementSettings.reach(). - range() - Method in class dev.myriadclient.api.service.Breaking.Options
-
Maximum distance from the eyes to the nearest point of the block, as the server and Grim measure (see
Reach.canReach(BlockPos, double)). - range() - Method in class dev.myriadclient.api.service.Placement.Options
-
How far a click may reach: from the eyes to the point clicked, as the server measures it (Grim also takes the eye heights of the other poses it can't rule out, which reach farther below you).
- range(double) - Method in class dev.myriadclient.api.combat.Targets.Query
-
Maximum distance in blocks from your eyes to the nearest point of the hitbox (6 by default).
- range(double, double) - Method in class dev.myriadclient.api.setting.DoubleSetting.Builder
-
Hard bounds, inclusive.
- range(int, int) - Method in class dev.myriadclient.api.setting.IntListSetting.Builder
-
Values outside are clamped.
- range(int, int) - Method in class dev.myriadclient.api.setting.IntSetting.Builder
-
Hard bounds, inclusive.
- range(IntSupplier) - Method in class dev.myriadclient.api.world.ChunkCache.Builder
-
How many chunks around the player to cover (read every tick, so a setting works).
- RATE_LIMITED - Enum constant in enum class dev.myriadclient.api.service.Placement.Check
-
The shared packet budget is spent for now (
PacketLimits), another item's block is in the off hand for this tick's air placements (it comes back first thing next tick), or an unrotatedPlacement.Options.sneak()placement was asked for after the tick's movement packet; try again next tick. - RATE_LIMITED - Static variable in class dev.myriadclient.api.job.Why
-
The packet budget is spent this tick.
- RateCounter - Class in dev.myriadclient.api.util
-
Counts events over the last second: clicks per second, packets per second, placements per second.
- RateCounter() - Constructor for class dev.myriadclient.api.util.RateCounter
-
A counter over the last second.
- RateCounter(long) - Constructor for class dev.myriadclient.api.util.RateCounter
-
A counter over the last
windowMsmilliseconds, kept in 20 buckets, so events drop out ofRateCounter.count()a twentieth of the window at a time. - rayHit(float, float, BlockPos, double) - Static method in class dev.myriadclient.api.player.Reach
-
Where looking along
yaw/pitchfrom the eyes first meets the full block space atpos, withinrange: the point and face a server would see you aiming at. - reach() - Method in class dev.myriadclient.api.render.HighlightStyle
-
The furthest the highlight reaches beyond the silhouette, in scaled pixels (at full width).
- reach() - Method in class dev.myriadclient.api.service.PlacementSettings
-
Range, capped at what the server allows (
Reach.blockRange()). - Reach - Class in dev.myriadclient.api.player
-
What the player can reach and see, measured from the eyes as the server does.
- readJson(String) - Method in interface dev.myriadclient.api.addon.AddonStorage
-
Reads
nameas JSON: empty if the file doesn't exist, or if neither it nor its backup parses (a file that doesn't parse is kept as<name>.brokenand its.bakread instead). - readJson(String, int, AddonStorage.Upgrade) - Method in interface dev.myriadclient.api.addon.AddonStorage
-
Reads
nameand brings data written by an older version of your addon up toversion, one step at a time:upgradeis called with each older version in turn (data written without a version is version 1). - readsScene() - Method in class dev.myriadclient.api.render.HighlightStyle.Fill
-
Whether the fill reads the scene under it (
HighlightStyle.Fill.readsScene(boolean)). - readsScene(boolean) - Method in class dev.myriadclient.api.render.HighlightStyle.Fill
-
Whether an addon's fill reads what's on screen under it, as drawn before the highlights: the shader's
f.scene,f.inViewandhighlightScene. - ready() - Method in interface dev.myriadclient.api.elytra.ChestSwap
-
Whether a swap can go now: something to swap with, and no Curse of Binding on either.
- READY - Enum constant in enum class dev.myriadclient.api.elytra.ChestSwap.Need
-
The counterpart is at hand: swaps can go.
- reason() - Method in class dev.myriadclient.api.event.events.DisconnectEvent
-
The reason as the disconnect screen shows it.
- reason() - Method in class dev.myriadclient.api.event.events.EntityEvent.Removed
-
Why: killed, discarded, or unloaded (out of range, or a dimension change).
- rebuild() - Method in class dev.myriadclient.api.ui.WidgetPanel
-
Throws the widgets away and calls
WidgetPanel.build(VBox)again, keeping the scroll position. - Receive(Packet) - Constructor for class dev.myriadclient.api.event.events.PacketEvent.Receive
-
Core's; only Myriad makes these.
- receiveCancelled() - Element in annotation interface dev.myriadclient.api.event.Subscribe
-
Whether to run for an event an earlier handler cancelled.
- reconnect() - Method in interface dev.myriadclient.api.service.ServerStats
-
Joins the server you were last on (or are on) again, from any screen: the disconnect screen, the title screen, or in game (which leaves first, a singleplayer world included).
- record() - Method in class dev.myriadclient.api.util.RateCounter
-
Counts one event now.
- recover(Function) - Method in class dev.myriadclient.api.job.Step
-
If this fails,
alternativeruns instead and its result stands. - recover(Predicate, Function) - Method in class dev.myriadclient.api.job.Step
-
Like
Step.recover(Function), only for failureswhenaccepts. - rect(float, float, float, float, int) - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
Fills a box with
color. - Rect - Record Class in dev.myriadclient.api.ui
-
An axis-aligned box in UI units: its top-left corner (
x,y, y growing downwards) and its size (w,h). - Rect(float, float, float, float) - Constructor for record class dev.myriadclient.api.ui.Rect
-
Creates an instance of a
Rectrecord class. - RECYCLE - Static variable in class dev.myriadclient.api.ui.Icons
- red - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Danger, hostile mobs, the Combat category; also a
SettingColorrole. - red(int) - Static method in class dev.myriadclient.api.util.ColorUtil
-
The red channel, 0..255.
- RED - Enum constant in enum class dev.myriadclient.api.setting.SettingColor.Mode
-
The theme's red.
- reduce(LivingEntity, float, boolean) - Static method in class dev.myriadclient.api.combat.Damage
-
damageaftertarget's armour, toughness, Resistance and Protection (and Blast Protection, counted double, whenblast), capped at vanilla's 20 protection points. - refresh() - Method in interface dev.myriadclient.api.service.Containers.View
-
Asks the server for the container's contents (and your inventory's) and completes once they're here: what the client shows is then what the server has (see
Inventory.refresh()). - refresh() - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- refresh() - Method in interface dev.myriadclient.api.service.Inventory
-
Asks the server for your whole inventory (and the open container's contents, if one is open) and completes once it's here, so the client shows what the server has.
- REFRESH - Static variable in class dev.myriadclient.api.ui.Icons
- REFUSE - Enum constant in enum class dev.myriadclient.api.service.Containers.NoWayBack
-
It isn't taken out:
Containers.openItem(Object, int, int, Placement.Options)andContainers.putDownItem(Object, int, int, Placement.Options)fail withOUT_OF_REACH. - refused(BlockPos, Breaking.Check) - Static method in record class dev.myriadclient.api.service.Breaking.Attempt
-
An attempt that wasn't queued, for
check's reason, its result already false. - refused(BlockPos, Placement.Check) - Static method in record class dev.myriadclient.api.service.Placement.Attempt
-
An attempt that wasn't accepted, for
check's reason, its result already false. - REFUSED - Enum constant in enum class dev.myriadclient.api.build.Build.Status
-
The server refused the block there a few times in a row; it's tried again a little later.
- register(Class, Function, boolean) - Method in interface dev.myriadclient.api.ui.SettingWidgets
-
Makes
factorythe editor for settings oftypeand its subclasses (unless a subclass has its own), replacing any editor registered for exactlytypebefore. - registerAntiCheatProfile(AntiCheat.Profile) - Method in interface dev.myriadclient.api.addon.AddonContext
-
What a server checks, as a profile of your own, its id in your namespace (
AntiCheat.Profile.GRIM.named("my-addon:my_server", "My server").withSimulatesGlide(false)): the player can pick it,Match.onmatches it, and yourAntiCheat.DETECThandler can answer with it on your server. - registerBarWidget(BarWidget) - Method in interface dev.myriadclient.api.addon.AddonContext
-
Registers a block for the UI's top bar.
- registerCommand(C) - Method in interface dev.myriadclient.api.addon.AddonContext
-
Registers a chat command, with id
<your mod id>:<its name>. - registerControlPanel(ControlPreset) - Method in interface dev.myriadclient.api.addon.AddonContext
-
A ready-made control panel, with id
<your mod id>:<name in snake_case>: players find it in their Control Panels, can edit it (their edits are kept) or delete it, and get it back as made with Reset. - registerFill(int, Identifier) - Method in interface dev.myriadclient.api.render.Rendering
-
Compiles a custom highlight fill's shader under
shaderId. - registerGroup(String, String) - Method in interface dev.myriadclient.api.addon.AddonContext
-
Declares a group of your modules, with id
<your mod id>:<name in snake_case>: one window in the menu, in the order groups are first used. - registerHud(String, String, Supplier) - Method in interface dev.myriadclient.api.addon.AddonContext
-
Registers a HUD element the user can add from the HUD workspace.
- registerHud(String, String, Supplier, PanelType.Anchor, float, float) - Method in interface dev.myriadclient.api.addon.AddonContext
-
Like
AddonContext.registerHud(String, String, Supplier), and a fresh install shows it atanchor+ offset. - registerKeyAction(String, Keybind, Runnable) - Method in interface dev.myriadclient.api.addon.AddonContext
-
A global key action, with id
<your mod id>:<name in snake_case>, rebindable in the Keybinds panel:actionruns on the render thread when its bind is pressed in game (not while a screen or the menu is open), and the press goes no further. - registerLayout(Layout) - Method in interface dev.myriadclient.api.addon.AddonContext
-
Registers a tiling layout a workspace of the UI can arrange its windows by.
- registerModule(ModuleGroup, M) - Method in interface dev.myriadclient.api.addon.AddonContext
-
Registers a module into
group, one of yours fromAddonContext.registerGroup(String, String); a group of another addon throwsIllegalArgumentException. - registerModule(M) - Method in interface dev.myriadclient.api.addon.AddonContext
-
Registers a module in your addon's own window (with the modules you register without a group), giving it the id
<your mod id>:<its name in snake_case>. - registerModules(Module...) - Method in interface dev.myriadclient.api.addon.AddonContext
-
Registers several modules, in the order given (which is their order in the menu).
- registerModules(ModuleGroup, Module...) - Method in interface dev.myriadclient.api.addon.AddonContext
-
Registers several modules into
group, in the order given (which is their order in its window). - registerPanel(PanelType) - Method in interface dev.myriadclient.api.addon.AddonContext
-
Registers a panel type you built (see
PanelType.builder(MyriadId, String)): a window the player can open, or a HUD element. - registerPanel(String, String, Supplier) - Method in interface dev.myriadclient.api.addon.AddonContext
-
Registers a panel that opens as a window, with id
<your mod id>:<name in snake_case>. - registerTag(Tag) - Method in interface dev.myriadclient.api.addon.AddonContext
-
Registers a tag you constructed yourself (e.g.
- registerTag(String, String, SettingColor) - Method in interface dev.myriadclient.api.addon.AddonContext
-
Registers a tag with id
<your mod id>:<name in snake_case>, for modules about something none ofTagscovers. - registerTags(AddonContext) - Method in interface dev.myriadclient.api.addon.MyriadAddon
-
Register your own module tags here so other addons can use them in
MyriadAddon.initialize(AddonContext). - registerTheme(Theme) - Method in interface dev.myriadclient.api.addon.AddonContext
-
Registers a theme preset the player can pick (and edit, keeping their edits on top of it).
- registry() - Method in class dev.myriadclient.api.setting.RegistryListSetting
-
The registry the entries come from.
- registry() - Method in class dev.myriadclient.api.setting.RegistrySetting
-
The registry the entry comes from.
- registry(String, Registry, T) - Method in class dev.myriadclient.api.setting.SettingGroup
-
A single entry of any registry.
- registry(Registry, String) - Static method in class dev.myriadclient.api.command.arguments.Arguments
-
An entry of any registry;
whatnames it in errors ("enchantment"). - Registry<T> - Interface in dev.myriadclient.api.registry
-
An ordered, namespaced registry of one kind of thing (modules, commands, panels, themes...), from
Myriad's accessors. - RegistryArgumentType<T> - Class in dev.myriadclient.api.command.arguments
-
An entry of a game registry by id (
diamond_pickaxeorminecraft:diamond_pickaxe), with suggestions. - registryList(String, Registry) - Method in class dev.myriadclient.api.setting.SettingGroup
-
A set of entries of any game registry.
- RegistryListSetting<T> - Class in dev.myriadclient.api.setting
-
A set of entries from a vanilla registry (blocks, items, entity types, status effects, …).
- RegistryListSetting(String, String, Set, Supplier, Registry, Predicate) - Constructor for class dev.myriadclient.api.setting.RegistryListSetting
-
A setting as its
RegistryListSetting.Buildermakes it; get one fromSettingGroup.registryList(String, Registry)or the shortcuts beside it, or call this from a subclass. - RegistryListSetting.Builder<T> - Class in dev.myriadclient.api.setting
-
Builds a
RegistryListSetting; empty by default. - registryName(Registry, T) - Static method in class dev.myriadclient.api.ui.widget.RegistryPicker
-
A registry entry's display name (blocks, items, entities and effects), falling back to its id.
- RegistryPicker<T> - Class in dev.myriadclient.api.ui.widget
-
Inline searchable multi-select over a vanilla registry, instead of a separate picker screen.
- RegistryPicker(RegistryListSetting) - Constructor for class dev.myriadclient.api.ui.widget.RegistryPicker
-
A multi-select over
setting's registry, picking into the setting; the row says how many are picked. - RegistryPicker(RegistryPicker.Source) - Constructor for class dev.myriadclient.api.ui.widget.RegistryPicker
-
A picker over any
RegistryPicker.Source. - RegistryPicker.Source<T> - Interface in dev.myriadclient.api.ui.widget
-
What the picker lists and how picking works: a multi-select list, a single choice, or anything else.
- RegistrySetting<T> - Class in dev.myriadclient.api.setting
-
One entry of a game registry: a single item (what to place), block (what to mine), and so on.
- RegistrySetting(String, String, T, Supplier, Registry, Predicate) - Constructor for class dev.myriadclient.api.setting.RegistrySetting
-
A setting as its
RegistrySetting.Buildermakes it; get one fromSettingGroup.item(String, Item),SettingGroup.block(String, Block),SettingGroup.sound(String, SoundEvent)orSettingGroup.registry(String, Registry, T), or call this from a subclass. - RegistrySetting.Builder<T> - Class in dev.myriadclient.api.setting
-
Builds a
RegistrySetting, starting at the default given to the constructor. - release() - Method in interface dev.myriadclient.api.service.Containers
-
Lets the held container go: the server is told it's closed, and its screen closes if it shows.
- release(Job) - Method in interface dev.myriadclient.api.job.JobEngine.Host
-
The services let go of what
jobasked for (placements, breaks, holds, borrows). - release(Object) - Method in interface dev.myriadclient.api.elytra.GlideHold
-
Sends the held answers and ends this hold (staying armed for the next clear).
- release(Object) - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- release(Object) - Method in interface dev.myriadclient.api.service.Inventory
-
Ends
owner's hold and puts the server back on the visible slot (or straight on the slot of a module whose hold was refused in the last tick, seeInventory.hold(Object, int, int)). - release(Object) - Method in class dev.myriadclient.api.setting.Setting
-
Takes
owner's override off, uncovering what's under it; nothing if it laid none. - release(Object) - Static method in class dev.myriadclient.api.world.ChunkAge
-
ownerno longer needs them; with nobody left, they're forgotten. - releaseAll(Object) - Method in class dev.myriadclient.api.setting.Settings
-
Takes every override
ownerlaid on these settings off. - releaseFocus() - Method in class dev.myriadclient.api.ui.widget.TextField
-
Lets go of the keyboard, as Escape does.
- reload() - Method in interface dev.myriadclient.api.config.ConfigManager
-
Reloads the active profile from disk, dropping changes that haven't been saved (e.g.
- reloadChunks() - Static method in class dev.myriadclient.api.event.events.BlockRenderEvent
-
Meshes every chunk again (as F3+A does), so a change to what's hidden shows.
- remaining() - Method in interface dev.myriadclient.api.build.Build
-
Positions in the whole blueprint that aren't done yet (unloaded ones count), as of the last full check: one is made when nothing in reach is left to do, at most every 5 seconds.
- remainingNanos() - Method in class dev.myriadclient.api.util.TickBudget
-
Nanoseconds left before the budget runs out, 0 once it has.
- remeshAll() - Method in class dev.myriadclient.api.world.ChunkCache
-
Rebuilds every chunk's mesh from its kept value, without reading the world: call it when a look changes.
- remove(E) - Method in class dev.myriadclient.api.setting.EnumSetSetting
-
Removes
efrom the player's set. - remove(String) - Method in interface dev.myriadclient.api.service.Enemies
-
Removes
name(trimmed, any case) and saves the list; false if they weren't an enemy. - remove(String) - Method in interface dev.myriadclient.api.service.Friends
-
Removes
name(trimmed, any case) and saves the list; false if they weren't a friend. - remove(String) - Method in class dev.myriadclient.api.setting.StringListSetting
-
Removes
sfrom the player's list, if it's there. - remove(String) - Static method in class dev.myriadclient.api.world.FakePlayers
-
Removes the first fake player called
name(case ignored); false if there's none. - remove(String, String) - Method in class dev.myriadclient.api.setting.SavedSettings
-
Forgets a saved value, so the setting loads as its default.
- remove(T) - Method in class dev.myriadclient.api.setting.RegistryListSetting
-
Removes
tfrom the player's set. - remove(W) - Method in interface dev.myriadclient.api.ui.layout.LayoutState
-
Removes a window; one that isn't in the state is ignored.
- Removed(Entity, Entity.RemovalReason) - Constructor for class dev.myriadclient.api.event.events.EntityEvent.Removed
-
Core's; only Myriad makes these.
- removeKnownServer(String) - Method in interface dev.myriadclient.api.service.AntiCheat
-
Removes a host from
AntiCheat.knownServers()and works the profile out again; saved globally. - removePilot(Elytra.Pilot) - Method in interface dev.myriadclient.api.elytra.Elytra
-
Stops
pilotflying the local player; nothing happens if it wasn't added. - rename(String, String, String) - Method in class dev.myriadclient.api.setting.SavedSettings
-
Renames a setting within its group:
SavedSettings.move(String, String, String, String)to the same group. - renameGroup(String, String) - Method in class dev.myriadclient.api.setting.SavedSettings
-
Renames a group, merging into the new one if both exist (values already in the new group win).
- render() - Static method in class dev.myriadclient.api.Myriad
-
Core's renderer, behind the rendering helpers (
Renderer3D,WorldMesh, ...): use those. - render() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.render(). - render(RenderLook, int) - Method in class dev.myriadclient.api.event.events.PreviewEvent
-
Shows the subject (an entity or a block) in
look, in the mode that's on: a shader highlight around its shape, or a box aroundPreviewEvent.box(). - render(Canvas, float, float) - Method in class dev.myriadclient.api.ui.widget.Button
- render(Canvas, float, float) - Method in class dev.myriadclient.api.ui.widget.Collapsible
- render(Canvas, float, float) - Method in class dev.myriadclient.api.ui.widget.ColorPicker
- render(Canvas, float, float) - Method in class dev.myriadclient.api.ui.widget.Container
- render(Canvas, float, float) - Method in class dev.myriadclient.api.ui.widget.Dropdown
- render(Canvas, float, float) - Method in class dev.myriadclient.api.ui.widget.EmptyState
- render(Canvas, float, float) - Method in class dev.myriadclient.api.ui.widget.Heading
- render(Canvas, float, float) - Method in class dev.myriadclient.api.ui.widget.IconPicker
- render(Canvas, float, float) - Method in class dev.myriadclient.api.ui.widget.KeybindButton
- render(Canvas, float, float) - Method in class dev.myriadclient.api.ui.widget.Label
- render(Canvas, float, float) - Method in class dev.myriadclient.api.ui.widget.Note
- render(Canvas, float, float) - Method in class dev.myriadclient.api.ui.widget.Preview
- render(Canvas, float, float) - Method in class dev.myriadclient.api.ui.widget.RegistryPicker
- render(Canvas, float, float) - Method in class dev.myriadclient.api.ui.widget.ScrollView
- render(Canvas, float, float) - Method in class dev.myriadclient.api.ui.widget.SettingRow
- render(Canvas, float, float) - Method in class dev.myriadclient.api.ui.widget.Slider
- render(Canvas, float, float) - Method in class dev.myriadclient.api.ui.widget.Spacer
- render(Canvas, float, float) - Method in class dev.myriadclient.api.ui.widget.StringListEditor
- render(Canvas, float, float) - Method in class dev.myriadclient.api.ui.widget.TextField
- render(Canvas, float, float) - Method in class dev.myriadclient.api.ui.widget.Toggle
- render(Canvas, float, float) - Method in class dev.myriadclient.api.ui.widget.Widget
-
Draws the widget within its box (
Widget.x,Widget.y,Widget.width,Widget.height), with the mouse in the same coordinates (far off screen while the pointer is outside the panel or a scroll view's viewport). - render(Canvas, float, float, float, float) - Method in class dev.myriadclient.api.ui.hud.TextHudPanel
- render(Canvas, float, float, float, float) - Method in class dev.myriadclient.api.ui.Panel
-
Draws the panel.
- render(Canvas, float, float, float, float) - Method in class dev.myriadclient.api.ui.widget.WidgetRoot
-
Lays the tree out at (0,0) with
width, draws it, and draws the keyboard selection;widthandheight(UI units) are the visible area, outside which nothing counts as hovered. - render(Canvas, float, float, float, float) - Method in class dev.myriadclient.api.ui.WidgetPanel
- render(Canvas, float, float, float, float, float, float) - Method in class dev.myriadclient.api.ui.BarWidget
-
Draws the widget in its slot.
- RENDER - Enum constant in enum class dev.myriadclient.api.event.HandlerThread
-
The render thread: at once when the event is posted there, otherwise at the start of the next tick.
- RENDER - Static variable in class dev.myriadclient.api.module.Tags
-
What you see: ESP, highlights, tracers, removing overlays.
- Render2DEvent - Class in dev.myriadclient.api.event.events
-
Posted on the render thread every frame the HUD is drawn, after the vanilla HUD (right after the tab list) and before Myriad's own HUD elements, in scaled GUI coordinates.
- Render2DEvent(GuiGraphicsExtractor, Canvas, float) - Constructor for class dev.myriadclient.api.event.events.Render2DEvent
-
Core's; only Myriad makes these.
- Render3DEvent - Class in dev.myriadclient.api.event.events
-
Fired every frame while the world's geometry is collected for drawing.
- Render3DEvent(PoseStack, Camera, float, SubmitNodeCollector) - Constructor for class dev.myriadclient.api.event.events.Render3DEvent
-
Core's; only Myriad makes these.
- Renderer3D - Class in dev.myriadclient.api.render
-
Shapes drawn this frame only.
- Renderer3D.ShapeMode - Enum Class in dev.myriadclient.api.render
-
Which parts of a shape are drawn.
- RenderEvent - Class in dev.myriadclient.api.event.events
-
What your module shows in the world this frame: entities, boxes, blocks and a
ChunkCache's boxes, each in aRenderLook(a module'sRenderSettings, from its Render options) and a colour. - RenderEvent() - Constructor for class dev.myriadclient.api.event.events.RenderEvent
-
Core's; only Myriad makes these.
- RenderEvent.Below - Class in dev.myriadclient.api.event.events
-
Requests drawn under every other module's shapes; see
RenderEvent.below(). - RenderEvent.Sink - Interface in dev.myriadclient.api.event.events
-
Where the requests go: core's renderer.
- Rendering - Interface in dev.myriadclient.api.render
-
What the rendering helpers (
Renderer3D,WorldMesh,HighlightStyle,Ghosts,RenderStates,RenderLayers,HighlightEvent) draw through, so the API needs no part of core's renderer to load (a test harness supplies its own). - Rendering.Layer - Enum Class in dev.myriadclient.api.render
-
The render types
RenderLayershands out. - RenderLayers - Class in dev.myriadclient.api.render
-
Render types for drawing into the world through a
SubmitNodeCollector(seeRender3DEvent.submits()), for geometryRenderer3Ddoesn't cover. - RenderLook - Interface in dev.myriadclient.api.render
-
How something shown through
RenderEventlooks, in eitherRenderMode: the shader look, and a box's fill, edges and through walls. - RenderMode - Enum Class in dev.myriadclient.api.render
-
How modules draw what they show in the world, one choice for all of them, the player's (the Render window, or
.render):RenderMode.SHADERtraces outlines, glow and fills around the exact shape of things;RenderMode.BOXdraws boxes of lines and faces, lighter on a weak GPU. - renderSelf - Variable in class dev.myriadclient.api.event.events.CameraEvent.Detached
-
Whether to draw your own body this frame; starts as whether the camera is in third person.
- RenderSettings - Class in dev.myriadclient.api.render
-
How what a module shows in the world looks, in either
RenderMode: the standard options of its Render group, so every module offers the same ones. - RenderSettings.Builder - Class in dev.myriadclient.api.render
-
Sets up
RenderSettingsbefore its options are added; seeRenderSettings.builder(SettingGroup). - RenderStates - Class in dev.myriadclient.api.render
-
Entity renderers receive a snapshot (
EntityRenderState) instead of the entity. - RenderThread - Annotation Interface in dev.myriadclient.api.annotation
-
Call it on the render thread only (the game's own thread: ticks, rendering, input, screens, and every event handler but those of events marked
AnyThread). - reopen() - Method in interface dev.myriadclient.api.service.Containers
-
Shows the held container's screen again, with no packets (
Containers.hold(Containers.View)); true if it's showing now, false if no container is held or the server has closed it. - repeat(int) - Method in class dev.myriadclient.api.job.Step
-
This step again,
timesin all, each after the one before. - REPEAT - Static variable in class dev.myriadclient.api.ui.Icons
- repeatWhile(BooleanSupplier) - Method in class dev.myriadclient.api.job.Step
-
This step again while
conditionholds (checked before each run, the first too). - replace(Service) - Method in interface dev.myriadclient.api.addon.AddonContext
-
Takes over a core service with your own, for everyone or only your own modules: see
ReplacementBuilderandService. - REPLACE - Enum constant in enum class dev.myriadclient.api.share.ConfigShares.Apply
-
Its settings become yours (protected ones excepted), its modules on or off as shared, its control panels, wheels and theme added.
- Replacement - Interface in dev.myriadclient.api.hook
-
Optional for a service replacement (
Service): told when it starts and stops being the one in use. - ReplacementBuilder<S> - Interface in dev.myriadclient.api.hook
-
Takes over a core service (
AddonContext.replace(Service)): name it, say when and for whom it applies, then give what makes it, which registers it. - replacing(String) - Method in class dev.myriadclient.api.service.Notifications.Toast
-
Replaces the one showing with the same key instead of stacking (a status that updates).
- request(Object, float, float, int) - Method in interface dev.myriadclient.api.service.Rotations
-
Requests a rotation for this tick's movement packet, applied instantly.
- request(Object, float, float, int, Rotations.Options, Runnable) - Method in class dev.myriadclient.api.service.Rotations.Forwarding
- request(Object, float, float, int, Rotations.Options, Runnable) - Method in interface dev.myriadclient.api.service.Rotations
-
The full form.
- request(Object, float, float, int, Runnable) - Method in interface dev.myriadclient.api.service.Rotations
-
Like
Rotations.request(Object, float, float, int), then runsafterSentonce the movement packet carrying this rotation has gone out, so the server already faces where you want when the action arrives (strict servers check the rotation of placements and hits). - requestFocus() - Method in class dev.myriadclient.api.ui.widget.TextField
-
Focuses the field programmatically (e.g.
- require(BooleanSupplier, Why) - Method in class dev.myriadclient.api.job.Step
-
Checked when reached: fails with
otherwiseunlessconditionholds. - reserve(int[]) - Method in class dev.myriadclient.api.service.Containers.Arrangement
-
Keeps
counts[slot]items (by menu slot id) in each source slot that holds them at the start (the same item and components): yours, not the job's. - reserved() - Method in class dev.myriadclient.api.service.Containers.Arrangement
-
What each source slot keeps (
Containers.Arrangement.reserve(int[])), by menu slot id, or null if nothing is reserved. - reset() - Method in class dev.myriadclient.api.setting.Setting
-
Sets the player's value back to the default.
- reset() - Method in class dev.myriadclient.api.util.TickBudget
-
Starts the clock again (the job runner does this before each job's tick).
- reset() - Method in class dev.myriadclient.api.util.Timer
-
Starts timing from now.
- reset(HighlightEvent.Hand.Part, InteractionHand, HumanoidArm, ItemStack, float) - Method in class dev.myriadclient.api.event.events.HighlightEvent.Hand
-
Core's: readies the shared instance for the next part.
- reset(RenderEvent.Sink, RenderMode, float) - Method in class dev.myriadclient.api.event.events.RenderEvent
-
Core's: readies the shared instance for this frame.
- reset(Preview.Subject, Entity, BlockState, AABB, ShapeBuilder) - Method in class dev.myriadclient.api.event.events.PreviewEvent
-
Core's: readies the shared instance for the next preview.
- resetAll() - Method in class dev.myriadclient.api.setting.Settings
-
Sets every setting back to its default (overrides stay laid on top).
- resize(W, float) - Method in interface dev.myriadclient.api.ui.layout.LayoutState
-
Grow (
amount> 0) or shrink the window's tile by a fraction of its container, for keyboard resizing. - restoreElytra() - Method in interface dev.myriadclient.api.elytra.ChestSwap
-
Puts the elytra back on if a chestplate is worn and the elytra is at hand.
- result() - Method in interface dev.myriadclient.api.job.Job
-
Completes with the result when done.
- result() - Method in record class dev.myriadclient.api.service.Breaking.Attempt
-
Returns the value of the
resultrecord component. - result() - Method in record class dev.myriadclient.api.service.Placement.Attempt
-
Returns the value of the
resultrecord component. - resume() - Method in interface dev.myriadclient.api.job.Job
-
Undoes
Job.pause(): it's ticked again from the next job tick, and running steps are told. - resume(JobContext) - Method in interface dev.myriadclient.api.job.Step.Run
-
The job was resumed after
Step.Run.pause(JobContext): carry on. - resume(Object) - Static method in class dev.myriadclient.api.integration.Baritone
-
Ends
owner's pause; Baritone carries on once nobody else is pausing it. - resume(Object) - Static method in class dev.myriadclient.api.module.Modules
-
Lets go of every module
ownerholds off; each comes back on with its last suspender, if the player has it on. - retain(Collection) - Method in class dev.myriadclient.api.render.FadeMap
-
Shows exactly
keys: new ones fade in, missing ones fade out. - retry(int) - Method in class dev.myriadclient.api.job.Step
-
If this fails, starts it over the next tick, up to
timesmore times (after itsStep.finallyDo(Runnable)ran). - retry(int, Predicate) - Method in class dev.myriadclient.api.job.Step
-
Like
Step.retry(int), only for failureswhenaccepts. - retryAfter() - Method in exception class dev.myriadclient.api.network.Http.StatusException
-
How long the server asked you to wait before trying again (its
Retry-Afterheader, read as seconds); null if it didn't say or gave a date instead. - RETWEET - Static variable in class dev.myriadclient.api.ui.Icons
- reveal(W) - Method in interface dev.myriadclient.api.ui.layout.LayoutState
-
Scroll so
windowis in view, if the layout scrolls; called when a window is focused. - rgb(int, int, int) - Static method in class dev.myriadclient.api.util.ColorUtil
-
An opaque colour from three channels (0..255).
- right - Variable in class dev.myriadclient.api.event.events.InputEvent
-
Whether each movement key counts as held this tick: walk forward, back, strafe left, right, jump, sneak and sprint.
- right() - Method in record class dev.myriadclient.api.ui.Rect
-
x + w. - RIGHT - Enum constant in enum class dev.myriadclient.api.ui.BarWidget.Side
-
Against the right edge.
- RIGHT - Enum constant in enum class dev.myriadclient.api.ui.PanelType.Anchor
-
The middle of the right edge.
- RIGHT - Enum constant in enum class dev.myriadclient.api.ui.Side
-
The right half.
- ROAD - Static variable in class dev.myriadclient.api.ui.Icons
- ROCKET - Static variable in class dev.myriadclient.api.ui.Icons
- role(SettingColor.Mode) - Static method in record class dev.myriadclient.api.setting.SettingColor
-
A theme role at full opacity.
- role(SettingColor.Mode, int) - Static method in record class dev.myriadclient.api.setting.SettingColor
-
A theme role with the given alpha (0-255).
- roleColor(SettingColor.Mode) - Method in class dev.myriadclient.api.ui.ThemeSettings
-
The ARGB colour
rolestands for in this theme (never a role itself, so roles can't recurse). - root() - Method in interface dev.myriadclient.api.config.ConfigManager
-
Myriad's folder,
.minecraft/myriad/. - rotate() - Method in class dev.myriadclient.api.service.Breaking.Options
-
Face the block server-side when starting and finishing (servers that check break direction).
- rotate() - Method in class dev.myriadclient.api.service.Placement.Options
-
Face the clicked face server-side first (needed on servers that check placements).
- Rotation(float, float, float) - Constructor for class dev.myriadclient.api.event.events.CameraEvent.Rotation
-
Core's; only Myriad makes these.
- rotationForAction() - Method in class dev.myriadclient.api.service.Rotations.Forwarding
- rotationForAction() - Method in interface dev.myriadclient.api.service.Rotations
-
The rotation this tick's movement packet will carry, {yaw, pitch}, fixed from now on: requests made later this tick no longer change it.
- rotations() - Static method in class dev.myriadclient.api.Myriad
-
Server-side rotations: modules request where to look each tick, and the winning request is sent.
- rotations() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.rotations(). - Rotations - Interface in dev.myriadclient.api.service
-
Server-side rotation arbitration.
- ROTATIONS - Static variable in class dev.myriadclient.api.hook.Service
-
Myriad.rotations(): where the server thinks you look. - Rotations.Forwarding - Class in dev.myriadclient.api.service
-
The base for a replacement of this service (
Service.ROTATIONS): hands every call to the service it wraps (core's), so override only what you do differently. - Rotations.Options - Class in dev.myriadclient.api.service
-
How a rotation is applied.
- Rotations.Turn - Record Class in dev.myriadclient.api.service
-
One step of a rotation turning towards its target, for
Rotations.TURN: angles in degrees, speed 0 = snap. - RotationSettings - Class in dev.myriadclient.api.service
-
The standard "Turn Speed" setting, so every module that turns you means the same by it.
- RotationSettings(SettingGroup) - Constructor for class dev.myriadclient.api.service.RotationSettings
-
Adds Turn Speed to
group. - ROUNDED - Enum constant in enum class dev.myriadclient.api.render.WorldLabel.Background
-
A box with the theme's rounding.
- rounding - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Corner radius of windows, in UI units.
- rounding() - Method in record class dev.myriadclient.api.ui.ThemePalette
-
Returns the value of the
roundingrecord component. - roundRect(float, float, float, float, float, float, float, float, int) - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
Per-corner radii: top-left, top-right, bottom-right, bottom-left.
- roundRect(float, float, float, float, float, int) - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
Fills a box with rounded corners, all of
radiusUI units. - ROW - Static variable in class dev.myriadclient.api.ui.widget.Widget
-
The height of a standard row (buttons, fields, toggles, setting rows), in UI units.
- rows(Settings, Predicate) - Static method in class dev.myriadclient.api.ui.widget.SettingsView
-
Every setting of
settingsthatshownlets through, as plain rows with no group sections: for something with a few settings of its own, already under a heading. - RSS - Static variable in class dev.myriadclient.api.ui.Icons
- rubberbandedWithin(long) - Method in interface dev.myriadclient.api.service.ServerStats
-
Whether the server snapped you back within the last
msmilliseconds: back off movement tricks. - run() - Method in class dev.myriadclient.api.input.KeyAction
-
Runs the action now, as a press of its bind does.
- run() - Method in class dev.myriadclient.api.setting.ActionSetting
-
Runs the action now, as a click does.
- run(Containers.Planner) - Method in interface dev.myriadclient.api.service.Containers.View
-
Runs your own
Containers.Planner's clicks the wayContainers.View.arrange(Containers.Arrangement)runs its own: at tick starts, within the budget and the server's rules, then checked against the server, three rounds at most. - run(Runnable) - Static method in class dev.myriadclient.api.util.Async
-
Runs
taskon the pool; the future completes when it's done, exceptionally if it threw. - run(String) - Method in interface dev.myriadclient.api.dev.DevSteps
-
Runs
stepat the start of a tick (the next one), on the render thread, after any steps before it. - run(String, Runnable) - Static method in class dev.myriadclient.api.job.Step
-
Runs
actionon one tick, then is done. - runCommand(String) - Static method in class dev.myriadclient.api.Myriad
-
Runs a Myriad command as if typed in chat, with or without the prefix (
"toggle sprint"or".toggle sprint"): for macros, binds and clickable chat. - runCommand(String) - Method in interface dev.myriadclient.api.MyriadApi
- running() - Method in class dev.myriadclient.api.job.JobEngine
- running() - Method in interface dev.myriadclient.api.job.Jobs
-
Every active root job, oldest first.
- running() - Static method in class dev.myriadclient.api.job.Progress
-
Still working, nothing to report.
- running() - Method in interface dev.myriadclient.api.service.Building
-
The builds running now, as a new list.
- RUNNING - Enum constant in enum class dev.myriadclient.api.job.Job.State
-
Working.
- runSilently(Runnable) - Method in interface dev.myriadclient.api.network.PacketChannel
-
Runs
sendwithPacketEvent.SendandAttackEventnot posted for what it sends.
S
- safeToClick() - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- safeToClick() - Method in interface dev.myriadclient.api.service.Inventory
-
Whether an inventory click now would pass anti-cheats that refuse clicks while you move.
- safety() - Method in record class dev.myriadclient.api.world.Holes.Hole
-
Returns the value of the
safetyrecord component. - SANS - Enum constant in enum class dev.myriadclient.api.ui.ThemeSettings.Font
-
Noto Sans (
FontFamily.SANS). - SANS - Static variable in record class dev.myriadclient.api.ui.draw.FontFamily
-
Noto Sans, regular: body text and the theme's default font.
- SANS_BOLD - Static variable in record class dev.myriadclient.api.ui.draw.FontFamily
-
Noto Sans, semibold: titles and headings.
- save(JsonObject) - Method in class dev.myriadclient.api.ui.Panel
-
Extra instance state to persist (scroll position, selected tab, …), written into
outwhenever the UI's layout is saved. - save(Function) - Method in interface dev.myriadclient.api.ui.layout.LayoutState
-
Serialises the tiling, naming each window by
keys(a string that stays the same across restarts), for the UI's saved layout. - SAVE - Static variable in class dev.myriadclient.api.ui.Icons
- SavedSettings - Class in dev.myriadclient.api.setting
-
Saved settings as they are on disk, for updating them after you rename, move or change settings (see
Module#migrateSettings). - SavedSettings(JsonObject) - Constructor for class dev.myriadclient.api.setting.SavedSettings
-
A view of
json, a module's saved settings; changes write straight into it. - saveNow() - Method in interface dev.myriadclient.api.config.ConfigManager
-
Saves everything right away, on the calling thread, waiting for the disk.
- savesEnabled() - Method in class dev.myriadclient.api.module.Module
-
Whether the profile should save it as on: on, or held off while the player has it on.
- scale - Variable in class dev.myriadclient.api.ui.hud.HudPanel
-
Scale (0.5-4) players set for the element;
HudPanel.fontSize(Canvas)applies it. - scale() - Method in record class dev.myriadclient.api.map.Waypoint
-
Returns the value of the
scalerecord component. - scale() - Method in record class dev.myriadclient.api.render.WorldLabel.Placed
-
Returns the value of the
scalerecord component. - scale(float) - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
Multiplies the size of a unit by
s(around the current origin), untilCanvas.pop(). - scan(LevelChunk) - Static method in class dev.myriadclient.api.world.Holes
-
Every hole whose origin cell is in
chunk, each once, for aChunkCache(use.neighbours(), as walls can be in the chunk beside). - scancode() - Method in class dev.myriadclient.api.event.events.KeyEvent
-
What the key types on the player's layout (an SDL keycode:
'q'for the key labelled Q, wherever it is). - SCISSORS - Static variable in class dev.myriadclient.api.ui.Icons
- score(String, String) - Static method in class dev.myriadclient.api.util.FuzzyMatch
-
How well
querymatchestext, ignoring case: higher is better, and within a tier shorter texts and earlier matches score higher, so sorting by it descending puts the best result first. - screen() - Method in class dev.myriadclient.api.event.events.ContainerScreenEvent.Click
-
The screen clicked in.
- screen() - Method in class dev.myriadclient.api.event.events.ContainerScreenEvent
-
The screen being drawn or clicked.
- screen() - Method in class dev.myriadclient.api.event.events.ContainerScreenEvent.Tooltip
-
The screen being drawn.
- screen() - Method in class dev.myriadclient.api.event.events.ScreenOpenEvent
-
The screen about to open (or what an earlier handler set), or null for closing the current one.
- ScreenOpenEvent - Class in dev.myriadclient.api.event.events
-
A screen is about to open, or the open one is about to close (
ScreenOpenEvent.screen()null, back to the game or, with no world, to the title screen). - ScreenOpenEvent(Screen) - Constructor for class dev.myriadclient.api.event.events.ScreenOpenEvent
-
Core's; only Myriad makes these.
- scroll() - Method in class dev.myriadclient.api.ui.widget.ScrollView
-
How far it's scrolled (or scrolling to), in UI units from the top.
- scroll(float) - Method in interface dev.myriadclient.api.ui.layout.LayoutState
-
Scroll the tiling sideways by
amountmouse-wheel notches (positive = towards the start), for layouts whose tiles can be wider than the screen. - ScrollView - Class in dev.myriadclient.api.ui.widget
-
Shows a child clipped to a viewport with smooth scrolling (24 units a wheel notch, once the child doesn't use the wheel itself).
- ScrollView(Widget, float) - Constructor for class dev.myriadclient.api.ui.widget.ScrollView
- search() - Method in class dev.myriadclient.api.ui.widget.TextField
-
A search box: the magnifier at its left, and a cross at its right that empties it once it holds something.
- search(String) - Static method in class dev.myriadclient.api.ui.Icons
-
The icons matching
query(Icons.Icon.matches(String)); all of them for a blank or null one. - SEARCH - Static variable in class dev.myriadclient.api.ui.Icons
- secondary - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Second accent, used for gradients (the active border's second stop by default).
- SECONDARY - Enum constant in enum class dev.myriadclient.api.setting.SettingColor.Mode
-
The theme's second accent.
- section() - Method in record class dev.myriadclient.api.ui.Icons.Icon
-
Returns the value of the
sectionrecord component. - seen() - Static method in class dev.myriadclient.api.world.ChunkAge
-
Chunks seen since you joined (while used).
- seenFresh() - Static method in class dev.myriadclient.api.world.ChunkAge
-
Of those, the fresh ones.
- Segment(String, int) - Constructor for record class dev.myriadclient.api.render.WorldLabel.Segment
-
Text in an ARGB colour.
- Segment(String, int, ItemStack) - Constructor for record class dev.myriadclient.api.render.WorldLabel.Segment
-
Creates an instance of a
Segmentrecord class. - select(int) - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- select(int) - Method in interface dev.myriadclient.api.service.Inventory
-
Selects hotbar slot
hotbarSlot(0-8) as pressing its number key would: the visible slot changes and the server is told at once. - selection() - Method in record class dev.myriadclient.api.ui.ThemePalette
-
Returns the value of the
selectionrecord component. - selectSlot(int) - Static method in class dev.myriadclient.api.job.Steps
-
Selects a hotbar slot (client and server) and is done.
- SELF - Enum constant in enum class dev.myriadclient.api.render.EntityGroups.Group
-
You, shown only in third person.
- send(String, String, Notifications.Level, long, String) - Method in interface dev.myriadclient.api.service.Notifications
-
Shows a notification.
- send(Packet) - Static method in class dev.myriadclient.api.network.Packets
-
Sends a packet like vanilla would: other features see it in
PacketEvent.Sendand may change or cancel it. - Send(Packet) - Constructor for class dev.myriadclient.api.event.events.PacketEvent.Send
-
Core's; only Myriad makes these.
- sendChat(Component) - Method in class dev.myriadclient.api.module.Module
-
Sends a client-side chat line prefixed with the Myriad tag (see
Myriad.chat(Component)). - sendRotationThisTick() - Method in class dev.myriadclient.api.service.Rotations.Forwarding
- sendRotationThisTick() - Method in interface dev.myriadclient.api.service.Rotations
-
Makes this tick's movement packet carry a rotation even if you haven't turned, by nudging the sent pitch 0.01°.
- sendSequenced(PredictiveAction) - Static method in class dev.myriadclient.api.network.Packets
-
Sends a block or item action that the server acknowledges by sequence number (block breaking actions, using an item, interacting with a block), keeping the client's prediction in step.
- sendSequenced(BlockPos, PredictiveAction) - Static method in class dev.myriadclient.api.network.Packets
-
Like
Packets.sendSequenced(PredictiveAction), and tells you what the server made of it: the future completes with the server's block state atposonce it has answered (air after a break it accepted, the old block if it refused). - sendSilently(Packet) - Static method in class dev.myriadclient.api.network.Packets
-
Sends a packet without posting
PacketEvent.SendorAttackEvent. - sent() - Method in record class dev.myriadclient.api.service.Placement.Attempt
-
Whether it was accepted (
Placement.Attempt.check()isPlacement.Check.OK). - sequence(String, Step...) - Static method in class dev.myriadclient.api.job.Step
-
The steps in order, each starting the tick the one before finishes (or the same tick, for instant ones).
- serialize() - Method in record class dev.myriadclient.api.input.Keybind
-
Serialised as
"sdl-key:4:0"/"sdl-mouse:1:0";"key:65:0"/"mouse:0:0"are binds saved before 26.3. - server() - Method in interface dev.myriadclient.api.hook.HookCall
-
The host of the server you're on ("2b2t.org"), lower case without the port; null in singleplayer and the menus.
- server() - Static method in class dev.myriadclient.api.Myriad
-
Server TPS and totem pops, tracked once for every addon.
- server() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.server(). - server(String) - Method in class dev.myriadclient.api.hook.Match
-
Only on this server or its subdomains (
"2b2t.org"). - SERVER - Enum constant in enum class dev.myriadclient.api.service.AntiCheat.BreakTiming
-
Only the vanilla server's rule: a break may finish once 70% of its time has passed.
- SERVER - Enum constant in enum class dev.myriadclient.api.setting.Setting.Layer
-
Values for the server you're on, under everything else: an addon's per-server profile (
Setting.override(Object, Setting.Layer, String, T, Consumer)). - SERVER - Static variable in class dev.myriadclient.api.ui.Icons
- SERVER_REFUSED - Static variable in class dev.myriadclient.api.job.Why
-
The server put the block back, or didn't answer.
- serverHost() - Method in class dev.myriadclient.api.hook.Match
-
The server host it requires (
Match.server), lower case without a port, or null for any. - serverItem() - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- serverItem() - Method in interface dev.myriadclient.api.service.Inventory
-
The item the server thinks is in your main hand: the held slot's item while a module
holdsone or aInventory.silentSwap(int, Runnable)hasn't gone back yet, otherwise the selected item; empty outside a world. - serverKey() - Method in interface dev.myriadclient.api.service.ServerStats
-
A stable name for where you're playing, to key data kept per server by: the address you joined with in lower case, port and all ("2b2t.org", "play.example.net:25570"), or
"singleplayer:<world name>"; null in the menus. - serverPitch() - Method in class dev.myriadclient.api.service.Rotations.Forwarding
- serverPitch() - Method in interface dev.myriadclient.api.service.Rotations
-
The pitch the server currently believes the player has, in degrees; see
Rotations.serverYaw(). - ServerSeen(String, boolean, int, int) - Constructor for record class dev.myriadclient.api.service.AntiCheat.ServerSeen
-
Creates an instance of a
ServerSeenrecord class. - serverSlot() - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- serverSlot() - Method in interface dev.myriadclient.api.service.Inventory
-
The hotbar slot (0-8) the server holds: the last one sent, by anyone, or set by the server itself (on join, or by a plugin).
- ServerStats - Interface in dev.myriadclient.api.service
-
Facts about the current server and connection that several features want, tracked once by Myriad instead of by each addon: tick rate, latency, lag and rubberbands, packet rates, and totem pops.
- serverYaw() - Method in class dev.myriadclient.api.service.Rotations.Forwarding
- serverYaw() - Method in interface dev.myriadclient.api.service.Rotations
-
Yaw/pitch the server currently believes the player has: the last rotation sent, including vanilla's answer to a teleport, which carries the look the teleport set (it goes out as the teleport is handled, before the next tick starts).
- Service<S> - Class in dev.myriadclient.api.hook
-
A core service an addon can take over with its own (
AddonContext.replace(Service)):Myriad.rotations()and the rest then use yours (for everyone, or only for your own modules), so you keep Myriad's menu, binds and modules and bring your own rotations, inventory handling, placement or breaking. - set() - Method in record class dev.myriadclient.api.map.Waypoint
-
Returns the value of the
setrecord component. - set(double, double) - Method in class dev.myriadclient.api.event.events.MouseLookEvent
-
Turns by these deltas instead (same units as
MouseLookEvent.deltaX()andMouseLookEvent.deltaY()). - set(Setting, T) - Method in class dev.myriadclient.api.control.ControlPreset.ModuleSettings
-
setting(one of this module's) atvaluewhile the panel is on. - set(Object, float) - Method in interface dev.myriadclient.api.service.TickSpeed
-
Sets
owner's multiplier (1 = normal, 2 = twice as fast, 0.5 = half); 1, less than 0.05 or NaN clears it. - set(String, Object) - Method in class dev.myriadclient.api.integration.Baritone.Overrides
-
Sets
nametovalue(seeBaritone.setSetting(String, Object)); nothing if Baritone or the setting isn't there. - set(String, String) - Method in class dev.myriadclient.api.control.ControlPreset.ModuleSettings
-
A setting by key, with its value as
.settakes it: for modules you don't compile against. - set(String, String, JsonElement) - Method in class dev.myriadclient.api.setting.SavedSettings
-
Saves
valueforsettingingroup, making the group if needed and replacing what was there. - set(T) - Method in class dev.myriadclient.api.setting.Setting
-
Sets the player's value (after
Setting.validate(T): clamped, rounded or replaced as the type requires); listeners fire only if it changed. - setActive(boolean) - Method in interface dev.myriadclient.api.control.ControlPanel
-
Turns it on (its modules on, with the settings it remembers for them) or off (only the modules it turned on go off, and the settings it changed go back), with a toast saying so.
- setBind(Keybind) - Method in class dev.myriadclient.api.input.KeyAction
-
Changes the bind (
nullorKeybind.NONEunbinds it); saved with the next save. - setCancelled(boolean) - Method in class dev.myriadclient.api.event.Cancellable
-
Sets the flag outright;
falselets through an event an earlier handler cancelled. - setCommandPrefix(String) - Method in interface dev.myriadclient.api.config.ConfigManager
-
Sets the command prefix, trimmed, and saves it; a blank one is ignored.
- setEnabled(boolean) - Method in interface dev.myriadclient.api.hook.Contribution
-
Turns it on or off, as the Hooks window does; saved at once.
- setEnabled(boolean) - Method in class dev.myriadclient.api.module.Module
-
Turns the module on or off, as the player does, with a line in chat if
Module.chatFeedbackis on. - setEnabledSilently(boolean) - Method in class dev.myriadclient.api.module.Module
-
Sets the state without chat feedback, for state that comes from elsewhere rather than from the user: config being restored, or a mirror following the mod it mirrors.
- setExpanded(boolean) - Method in class dev.myriadclient.api.setting.SettingGroup
-
Opens or folds the group in the settings window; not saved.
- setFloating(boolean) - Method in interface dev.myriadclient.api.ui.Window
-
Floats it above the tiling, near where its tile was and a little smaller, or puts it back into the tiling (after the last tiled window).
- setFocused(Widget) - Method in class dev.myriadclient.api.ui.widget.WidgetRoot
-
Gives
widgetkeyboard focus, or takes it away with null; the widget that loses it is told (onBlur). - setFullscreen(boolean) - Method in interface dev.myriadclient.api.ui.Window
-
Makes it fill the workspace's area, or gives it back its tile or floating place.
- setGlobalChangeHook(Runnable) - Static method in class dev.myriadclient.api.setting.Setting
-
Core's: told of every change to any setting, for the config's autosave.
- setGuardHook(BiConsumer) - Static method in class dev.myriadclient.api.module.Modules
-
Told of every guarded failure (dev tooling: the self-test attributes them to the module under test).
- setHorizontal(double, double) - Method in class dev.myriadclient.api.event.events.PlayerMoveEvent
-
Keeps the vertical movement and replaces the horizontal part.
- setHorizontalSpeed(double) - Static method in class dev.myriadclient.api.player.Movement
-
Sets horizontal velocity to
speedblocks per tick in the input direction (or stops with no input). - setItemUseCooldown(int) - Static method in class dev.myriadclient.api.player.Interactions
-
Sets the right-click cooldown in ticks (negative counts as 0), e.g.
- setJumpCooldown(int) - Static method in class dev.myriadclient.api.player.Interactions
-
Sets the delay before the player can jump again (vanilla waits 10 ticks between held jumps).
- setMessage(String) - Method in class dev.myriadclient.api.event.events.ChatSendEvent
-
Sends
messageinstead (after every handler has run, if the event isn't cancelled). - setMessage(Component) - Method in class dev.myriadclient.api.event.events.ChatReceiveEvent
-
Shows
messageinstead (with the original's signature and tag);ChatReceiveEvent.parsed()is worked out again. - setMovement(Vec3) - Method in class dev.myriadclient.api.event.events.GlideEvent
-
Moves by
movementthis tick; the velocity carried into the next stays vanilla's. - setMovement(Vec3) - Method in class dev.myriadclient.api.event.events.PlayerMoveEvent
-
Moves by
movementinstead (blocks, before collisions); the velocity the player carries is unchanged. - setPacket(Packet) - Method in class dev.myriadclient.api.event.events.PacketEvent
-
Sends (or handles)
packetinstead of this one. - setPaletteProvider(ToIntFunction) - Static method in record class dev.myriadclient.api.setting.SettingColor
-
Core's: where theme-role colours get the current theme's palette.
- setScreen(Screen) - Method in class dev.myriadclient.api.event.events.ScreenOpenEvent
-
Opens
screeninstead (null: close to the game). - setScroll(float) - Method in class dev.myriadclient.api.ui.widget.ScrollView
-
Jumps to
valueUI units from the top, kept within the content once it's laid out. - setScroller(ScrollView) - Method in class dev.myriadclient.api.ui.widget.WidgetRoot
-
The scroll view to keep the selection visible in (WidgetPanel sets this).
- setSetting(String, Object) - Static method in class dev.myriadclient.api.integration.Baritone
-
Changes one of Baritone's settings by its name for now, without saving it to Baritone's settings file, and returns what it was so it can be put back.
- setSettingText(String, String) - Static method in class dev.myriadclient.api.integration.Baritone
-
Changes a setting from text, read as Baritone's own
#setreads it, for now (not saved to Baritone's settings file). - setShape(VoxelShape) - Method in class dev.myriadclient.api.event.events.CollisionShapeEvent
-
Collide with
shapeinstead (Shapes.empty()to pass through,Shapes.block()for a full block), relative to the block's corner; null counts as empty. - setsVelocity() - Method in class dev.myriadclient.api.event.events.GlideEvent
-
Core's: whether a handler used
GlideEvent.setVelocity(Vec3). - setText(String) - Method in class dev.myriadclient.api.ui.widget.TextField
-
Replaces what's being typed with
s, the cursor at its end, and callsonChange. - setting() - Static method in class dev.myriadclient.api.command.arguments.SettingArgumentType
-
A setting argument, for the module of the argument named
module. - setting(String, String, String) - Method in class dev.myriadclient.api.control.ControlPreset.Builder
-
A setting a module takes while the panel is on, as
.set <module> <key> <value>would set it. - Setting<T> - Class in dev.myriadclient.api.setting
-
A typed, serialisable, user-editable value.
- Setting(String, String, T, Supplier) - Constructor for class dev.myriadclient.api.setting.Setting
-
A setting starting at
defaultValue. - Setting.Builder<B,
T, - Class in dev.myriadclient.api.settingS> -
Fluent builder base.
- Setting.Layer - Enum Class in dev.myriadclient.api.setting
-
Who lays a value over the player's, lowest first: a later layer wins over an earlier one.
- SettingArgumentType - Class in dev.myriadclient.api.command.arguments
-
A setting id of the module parsed by a preceding
ModuleArgumentTypeargument namedmodule: its id (range), orgroup.idwhere two groups share one. - SettingColor - Record Class in dev.myriadclient.api.setting
-
A colour value as edited by
ColorSetting: a fixed ARGB colour, a rainbow, or a theme role such asSettingColor.Mode.ACCENTorSettingColor.Mode.REDthat follows the active theme. - SettingColor(int, SettingColor.Mode) - Constructor for record class dev.myriadclient.api.setting.SettingColor
-
Creates an instance of a
SettingColorrecord class. - SettingColor.Mode - Enum Class in dev.myriadclient.api.setting
-
Where a
SettingColor's colour comes from. - settingDefaultText(String) - Static method in class dev.myriadclient.api.integration.Baritone
-
A setting's default as Baritone writes it, or null without Baritone or such a setting.
- SettingGroup - Class in dev.myriadclient.api.setting
-
A named, collapsible section of settings, from
Settings.group(String). - SettingInfo(String, Class, Type, Object) - Constructor for record class dev.myriadclient.api.integration.Baritone.SettingInfo
-
Creates an instance of a
SettingInforecord class. - SettingRow - Class in dev.myriadclient.api.ui.widget
-
A setting's name (left) and editor (right).
- SettingRow(Setting, Widget, boolean) - Constructor for class dev.myriadclient.api.ui.widget.SettingRow
-
A row for
settingwitheditoras its editor (usually made for you bySettingWidgets.create(Setting)). - settings - Variable in class dev.myriadclient.api.module.Module
-
Every setting of the module, in groups: what its settings window shows and the profile saves.
- settings - Variable in class dev.myriadclient.api.ui.Panel
-
Per-instance options, saved with the window.
- settings - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Everything a theme defines.
- settings() - Method in class dev.myriadclient.api.addon.AddonSettings
-
The settings themselves, in groups.
- settings() - Method in class dev.myriadclient.api.control.ControlPreset
-
Module id → setting key → value, as
.settakes them (the settings given by id). - settings() - Static method in class dev.myriadclient.api.integration.Baritone
-
Every one of Baritone's settings that can be changed from outside its Java API (not its callbacks), in the order Baritone declares them; empty without Baritone.
- settings() - Method in class dev.myriadclient.api.setting.SettingGroup
-
The group's settings in the order they were added; unmodifiable, and follows later additions.
- settings(String) - Method in interface dev.myriadclient.api.addon.AddonContext
-
Settings of the addon itself (not of a module), shown under it in the Addons panel and saved with the profile.
- Settings - Class in dev.myriadclient.api.setting
-
The settings of one module or panel, organised in groups.
- Settings() - Constructor for class dev.myriadclient.api.setting.Settings
- settingsVersion() - Method in class dev.myriadclient.api.module.Module
-
The version of this module's settings layout.
- SettingsView - Class in dev.myriadclient.api.ui.widget
-
Builds settings editors from
Settings: a row per setting, made byUi.settingWidgets()(settings of a class with no registered editor are left out). - settingText(String) - Static method in class dev.myriadclient.api.integration.Baritone
-
A setting's value as Baritone writes it in its settings file (
true,stone,dirt), or null without Baritone or such a setting. - SettingValueArgumentType - Class in dev.myriadclient.api.command.arguments
-
The rest of the line, as a value for the setting named by preceding arguments called
moduleandsetting(seeSettingArgumentType), suggesting what that setting accepts. - SettingValueArgumentType() - Constructor for class dev.myriadclient.api.command.arguments.SettingValueArgumentType
- settingWidgets() - Method in interface dev.myriadclient.api.addon.AddonContext
-
Where editor widgets for setting types are registered, for a setting class of your own.
- settingWidgets() - Method in interface dev.myriadclient.api.ui.Ui
-
Which widget edits which kind of setting; register editors for your own setting classes here.
- SettingWidgets - Interface in dev.myriadclient.api.ui
-
Maps setting classes to editor widgets, from
Ui.settingWidgets(). - settled() - Method in interface dev.myriadclient.api.elytra.ChestSwap
-
Whether the server has answered the last swap, so what's worn can be trusted again.
- setVelocity(Vec3) - Method in class dev.myriadclient.api.event.events.GlideEvent
-
Moves by
velocitythis tick and carries it into the next, as the glide's own speed. - setViewportHeight(float) - Method in class dev.myriadclient.api.ui.widget.ScrollView
-
Fixed viewport height in UI units (used by panels to fill their area); a negative one goes back to sizing to the content.
- setVisible(boolean) - Method in class dev.myriadclient.api.render.WorldMesh
-
Hides or shows the mesh without rebuilding it.
- sgGeneral - Variable in class dev.myriadclient.api.module.Module
-
The "General" group, the first in the settings window and open by default: where most settings go.
- sgGeneral - Variable in class dev.myriadclient.api.ui.hud.HudPanel
-
The element's own settings group, named after it: add the element's options to it.
- shade(int, float) - Static method in class dev.myriadclient.api.util.ColorUtil
-
Scales RGB by
f, keeping alpha: f < 1 darkens, f > 1 brightens (each channel capped at 255). - SHADER - Enum constant in enum class dev.myriadclient.api.render.RenderMode
-
Outlines, glow and fills traced around the exact shape of things, by a post-processing shader.
- shaderId() - Method in class dev.myriadclient.api.render.HighlightStyle.Fill
-
The number the highlight shader switches on.
- shadow - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
A drop shadow under windows (not fullscreen ones).
- shadow() - Method in class dev.myriadclient.api.ui.hud.HudStyle
-
Whether text gets a drop shadow.
- shadow(float, float, float, float, float, float, int) - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
A soft drop shadow around the box;
sizeis how far it spreads beyond it, in UI units. - shadowColor - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
The window shadow's colour.
- shadowRange - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
How far the window shadow spreads, in UI units.
- shape() - Method in class dev.myriadclient.api.event.events.CollisionShapeEvent
-
The shape so far: the block's own, or what an earlier handler set.
- shape() - Method in record class dev.myriadclient.api.world.Holes.Hole
-
Returns the value of the
shaperecord component. - shape(BlockPos) - Method in interface dev.myriadclient.api.render.MergedBoxes.Lookup
-
The part of the block it fills, in block coordinates (0-1); null for the whole block.
- shape(VoxelShape, double, double, double, int, int, Renderer3D.ShapeMode, boolean) - Method in class dev.myriadclient.api.render.ShapeBuilder
-
A voxel shape (block-local, 0..1) placed at
x, y, z: its boxes filled and its edges outlined. - ShapeBuilder - Class in dev.myriadclient.api.render
-
The shapes Myriad can draw in the world, in absolute world coordinates.
- ShapeBuilder() - Constructor for class dev.myriadclient.api.render.ShapeBuilder
-
For core's two targets (and a test harness's); addons get a builder from an event or a mesh, never make one.
- shapes() - Method in class dev.myriadclient.api.event.events.PreviewEvent
-
Boxes and lines drawn on the preview, in the same coordinates as
PreviewEvent.box(). - shapes() - Method in class dev.myriadclient.api.event.events.Render3DEvent
-
This frame's shapes (boxes, lines, block shapes), in world coordinates.
- shapes() - Static method in class dev.myriadclient.api.render.Renderer3D
-
This frame's shape target, the same one
Render3DEvent.shapes()returns. - shapes() - Method in interface dev.myriadclient.api.render.Rendering
-
This frame's shape queue.
- SHARE - Static variable in class dev.myriadclient.api.ui.Icons
- shares() - Static method in class dev.myriadclient.api.Myriad
-
Shared configs: share modules, control panels and a theme as a code, take one in (see
dev.myriadclient.api.share). - shares() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.shares(). - SHIELD - Static variable in class dev.myriadclient.api.ui.Icons
- SHIP - Static variable in class dev.myriadclient.api.ui.Icons
- SHOPPING_BAG - Static variable in class dev.myriadclient.api.ui.Icons
- SHOPPING_CART - Static variable in class dev.myriadclient.api.ui.Icons
- shouldApplyMixin(String, String) - Method in class dev.myriadclient.api.mixin.CompatMixinPlugin
- shouldDraw() - Method in class dev.myriadclient.api.render.WorldMesh
-
Core's: whether the renderer draws it this frame.
- shouldPause(boolean, boolean) - Static method in class dev.myriadclient.api.player.Interactions
-
The usual "should this feature wait?" check: true while eating or drinking (if
whileEating) or mining (ifwhileMining). - show() - Method in class dev.myriadclient.api.service.Notifications.Toast
- show(K) - Method in class dev.myriadclient.api.render.FadeMap
-
Shows
key(fading in if it's new or was fading out). - showMesh(WorldMesh, boolean) - Method in interface dev.myriadclient.api.render.Rendering
-
Draws
meshevery frame whileshown. - shown() - Method in class dev.myriadclient.api.event.events.PreviewEvent
-
Whether a handler before this one showed it (
PreviewEvent.render(RenderLook, int)), so a fallback look can stay off it. - shown(int) - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- shown(int) - Method in interface dev.myriadclient.api.service.Inventory
-
What inventory slot
inventoryIndexshows: its item, or what aInventory.mask(Object, long, int...)orInventory.borrow(Object, int, Predicate)keeps it showing. - shownArmor() - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- shownArmor() - Method in interface dev.myriadclient.api.service.Inventory
-
The armour points to show: yours, or while a
Inventory.mask(Object, long, int...)covers armour slots, what they were when masked. - shownInHotbar(int) - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- shownInHotbar(int) - Method in interface dev.myriadclient.api.service.Inventory
-
What hotbar slot
hotbarSlotshould show: what was there before an item was borrowed into it (while it's not selected), otherwise its item. - showsPercent(ItemHud.Durability) - Static method in class dev.myriadclient.api.ui.hud.ItemHud
-
Whether
modedraws text over the item (a percentage or the number of uses left). - shulkerBoxes() - Static method in interface dev.myriadclient.api.job.MaterialSource
-
The shulker boxes in your inventory that hold any: the fullest opened (
Steps.inItem(int, Function)) and taken from, then the next, until there's enough, no box holds any, or a box gave nothing (your inventory is full). - ShutdownEvent - Class in dev.myriadclient.api.event.events
-
Posted once, on the render thread, when the client is stopping, before Myriad saves its config: write out anything of your own here.
- ShutdownEvent() - Constructor for class dev.myriadclient.api.event.events.ShutdownEvent
- side() - Method in class dev.myriadclient.api.event.events.HighlightEvent.Hand
-
The side of the screen it's drawn on (the main hand is on the right unless your main arm is the left).
- side() - Method in class dev.myriadclient.api.ui.BarWidget
-
Which part of the bar it sits in.
- side(BlockPos, Direction, int, boolean) - Static method in class dev.myriadclient.api.render.Renderer3D
-
One face of the block at
pos, filled (e.g. - side(BlockPos, Direction, int, boolean) - Method in class dev.myriadclient.api.render.ShapeBuilder
-
One face of the block at
pos, filled (e.g. - Side - Enum Class in dev.myriadclient.api.ui
-
A side of a tile, for
LayoutState.insertBeside(W, W, Side): where a window goes. - SIGNAL - Static variable in class dev.myriadclient.api.ui.Icons
- silentSwap(int, Runnable) - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- silentSwap(int, Runnable) - Method in interface dev.myriadclient.api.service.Inventory
-
Silently switches the server-side slot to
hotbarSlotand runsactionwith it in hand (the client holds it too while the action runs, so what it predicts is with that item; the visible slot doesn't change). - simulate(Trajectory.Launch, int, Entity) - Static method in class dev.myriadclient.api.combat.Trajectory
-
Trajectory.simulate(Level, Launch, int, Entity)inowner's level. - simulate(Level, Trajectory.Launch, int, Entity) - Static method in class dev.myriadclient.api.combat.Trajectory
-
Follows
launchfor up tomaxTicksticks, stopping at the first block or entity in its way. - simulatesGlide() - Method in class dev.myriadclient.api.service.AntiCheat.Profile
-
The elytra glide is simulated: flight that isn't vanilla's glide is set back, and a glide can't be restarted mid-air to spare the elytra (No Durability swaps a chestplate on instead).
- simulatesMovement() - Method in class dev.myriadclient.api.service.AntiCheat.Profile
-
The anti-cheat runs the player's movement itself and compares (Grim's Simulation): movement has to follow the rotation the server last got, so
Rotations.Options.forServer()turns with the move fix. - since(long) - Static method in class dev.myriadclient.api.util.Ticks
-
Client ticks since
tick, a value read fromTicks.current()earlier; negative if it's in the future. - single(RegistrySetting) - Static method in class dev.myriadclient.api.ui.widget.RegistryPicker
-
One entry of a registry (a single item or block setting): picking an entry selects it.
- SINGLE - Enum constant in enum class dev.myriadclient.api.world.Holes.Shape
-
One block.
- SINGLE_SUCCESS - Static variable in class dev.myriadclient.api.command.Command
-
What an executor returns when it ran: Brigadier's
Command.SINGLE_SUCCESS, 1. - singleplayer() - Method in record class dev.myriadclient.api.service.AntiCheat.ServerSeen
-
Returns the value of the
singleplayerrecord component. - SITEMAP - Static variable in class dev.myriadclient.api.ui.Icons
- size() - Method in interface dev.myriadclient.api.registry.Registry
-
How many entries there are.
- size() - Method in interface dev.myriadclient.api.service.Containers.View
-
Number of the container's own slots (the player's inventory below them isn't counted).
- size() - Method in class dev.myriadclient.api.ui.hud.TextHudPanel.Lines
-
How many lines there are so far.
- size() - Method in interface dev.myriadclient.api.ui.widget.RegistryPicker.Source
-
How many are selected (any non-negative number for single choices).
- size() - Method in class dev.myriadclient.api.world.ChunkCache
-
How many chunks hold a value.
- skin(UUID) - Static method in class dev.myriadclient.api.render.PlayerHeads
-
The skin texture of the player with this UUID, from the tab list; the default skin for that UUID if they aren't listed (or you aren't connected).
- skin(Player) - Static method in class dev.myriadclient.api.render.PlayerHeads
-
The skin texture of
player: its own for a player in the world, else asPlayerHeads.skin(UUID). - SLIDE - Enum constant in enum class dev.myriadclient.api.ui.ThemeSettings.WorkspaceAnimation
-
The workspaces slide sideways, the higher number coming from the right.
- SLIDE_VERTICAL - Enum constant in enum class dev.myriadclient.api.ui.ThemeSettings.WorkspaceAnimation
-
The workspaces slide vertically, the higher number coming from below.
- Slider - Class in dev.myriadclient.api.ui.widget
-
A horizontal slider over a range, showing its value at the right.
- Slider(DoubleSupplier, DoubleConsumer, double, double, int) - Constructor for class dev.myriadclient.api.ui.widget.Slider
- sliderMax() - Method in class dev.myriadclient.api.setting.DoubleSetting
-
The slider's right end.
- sliderMax() - Method in class dev.myriadclient.api.setting.IntSetting
-
The slider's right end.
- sliderMin() - Method in class dev.myriadclient.api.setting.DoubleSetting
-
The slider's left end.
- sliderMin() - Method in class dev.myriadclient.api.setting.IntSetting
-
The slider's left end.
- sliderRange(double, double) - Method in class dev.myriadclient.api.setting.DoubleSetting.Builder
-
Slider bounds; typed values may still go up to
DoubleSetting.Builder.range(double, double). - sliderRange(int, int) - Method in class dev.myriadclient.api.setting.IntSetting.Builder
-
Slider bounds; typed values may still go up to
IntSetting.Builder.range(int, int). - SLIDERS - Static variable in class dev.myriadclient.api.ui.Icons
- slot() - Method in class dev.myriadclient.api.event.events.ContainerEvent.SlotUpdated
-
The screen slot id; below
view().size()it's one of the container's own slots. - slot() - Method in class dev.myriadclient.api.event.events.ContainerScreenEvent.Click
-
The slot clicked, or null for a click outside every slot (dropping what the cursor holds).
- slot() - Method in class dev.myriadclient.api.event.events.ContainerScreenEvent.SlotDrawn
-
The slot just drawn.
- slot() - Method in record class dev.myriadclient.api.service.Containers.Click
-
Returns the value of the
slotrecord component. - SlotDrawn(AbstractContainerScreen, Slot, GuiGraphicsExtractor) - Constructor for class dev.myriadclient.api.event.events.ContainerScreenEvent.SlotDrawn
-
Core's; only Myriad makes these.
- slotId() - Method in class dev.myriadclient.api.event.events.ContainerScreenEvent.Click
-
The slot's id in the menu, or -999 outside the window (
AbstractContainerMenu.SLOT_CLICKED_OUTSIDE). - slots() - Method in class dev.myriadclient.api.service.Containers.Arrangement
-
The menu slots the layout covers (a copy).
- Slots - Class in dev.myriadclient.api.item
-
Converting between player inventory indexes (
Inventory.getItem(i)) and menu slot ids (whatMultiPlayerGameMode.handleContainerInputtakes), which number the same slots differently. - SlotUpdated(Containers.View, int) - Constructor for class dev.myriadclient.api.event.events.ContainerEvent.SlotUpdated
-
Core's; only Myriad makes these.
- SMILE - Static variable in class dev.myriadclient.api.ui.Icons
- SMOOTH - Enum constant in enum class dev.myriadclient.api.ui.ThemeSettings.Curve
-
Bezier.SMOOTH: like CSSease. - SMOOTH - Static variable in record class dev.myriadclient.api.ui.draw.Bezier
-
Like CSS
ease. - snap(double, double) - Static method in class dev.myriadclient.api.util.MathUtil
-
Rounds to the nearest multiple of
step, e.g. - snap(float) - Method in class dev.myriadclient.api.ui.draw.Animated
-
Jumps to
vand rests there, ending any animation. - sneak - Variable in class dev.myriadclient.api.event.events.InputEvent
-
Whether each movement key counts as held this tick: walk forward, back, strafe left, right, jump, sneak and sprint.
- sneak() - Method in class dev.myriadclient.api.service.Placement.Click
-
Whether the server sees the sneak key down for the click.
- sneak() - Method in class dev.myriadclient.api.service.Placement.Options
-
Click as if sneaking, without crouching: the server gets the sneak key down for just the click (and up again straight after, before the tick's movement), so blocks that would open or toggle (chests, doors, repeaters, note blocks) can be placed against, and a chest stays single beside another.
- sneaking() - Method in record class dev.myriadclient.api.service.Inventory.ClickMoment
-
Returns the value of the
sneakingrecord component. - SNOWFLAKE - Static variable in class dev.myriadclient.api.ui.Icons
- solid() - Static method in interface dev.myriadclient.api.build.Target
-
Any full, solid block.
- Solid() - Constructor for class dev.myriadclient.api.build.Target.Solid
- SOLID - Static variable in class dev.myriadclient.api.render.HighlightStyle.Fill
-
One flat colour at
HighlightStyle.fillOpacity(). - solve(BlockPos, BlockState, int, Placement.Options) - Method in class dev.myriadclient.api.service.Placement.Forwarding
- solve(BlockPos, BlockState, int, Placement.Options) - Method in interface dev.myriadclient.api.service.Placement
-
Works out a click that makes
wantedcome out atposwith the item in hotbarslot: the face, where on it, which way to look, whether to sneak. - sort - Variable in class dev.myriadclient.api.combat.TargetSettings
-
Which target to prefer (
Targets.Sort.DISTANCEby default). - sort(Targets.Sort) - Method in class dev.myriadclient.api.combat.Targets.Query
-
The order of
Targets.Query.list()and which oneTargets.Query.best()picks (Targets.Sort.DISTANCEby default). - SORT - Static variable in class dev.myriadclient.api.ui.Icons
- sound() - Method in class dev.myriadclient.api.event.events.PlaySoundEvent
-
The sound about to play: its position, volume, pitch and category.
- sound(String, SoundEvent) - Method in class dev.myriadclient.api.setting.SettingGroup
-
A sound, e.g.
- source() - Method in record class dev.myriadclient.api.map.Waypoint
-
Returns the value of the
sourcerecord component. - sources() - Method in class dev.myriadclient.api.addon.Addon
-
The source repository from
contact.sourcesin fabric.mod.json. - sources() - Method in class dev.myriadclient.api.service.Containers.Arrangement
-
Where items may come from (
Containers.Arrangement.from(int...); the layout's own slots unless set). - space(BlockPos) - Static method in class dev.myriadclient.api.combat.Crystals
-
The space a crystal on
basetakes, which must be free of entities: two blocks tall above it. - SPACE_SHUTTLE - Static variable in class dev.myriadclient.api.ui.Icons
- Spacer - Class in dev.myriadclient.api.ui.widget
-
Empty space, optionally with a divider line across its middle.
- Spacer(float, boolean) - Constructor for class dev.myriadclient.api.ui.widget.Spacer
- spare(Object, Predicate) - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- spare(Object, Predicate) - Method in interface dev.myriadclient.api.service.Inventory
-
Asks for items
sparedaccepts to be left alone, e.g. - spawn(String, float, boolean) - Static method in class dev.myriadclient.api.world.FakePlayers
-
Spawns a fake player named
nameat your position, facing your way, withhealthand, ifcopyInventory, a copy of your inventory and gear. - specificity() - Method in class dev.myriadclient.api.hook.Match
-
Higher for narrower matches: a caller 8, an addon 4, a server 2, a profile 1.
- speed() - Method in record class dev.myriadclient.api.service.Rotations.Turn
-
Returns the value of the
speedrecord component. - speed(double) - Method in interface dev.myriadclient.api.elytra.Flight
-
Control: how fast to fly, in blocks a second (0 stays put, and doesn't take off).
- speed(BlockState, int) - Static method in class dev.myriadclient.api.player.Mining
-
Mining speed with the tool in
toolSlot(or bare hands for -1), including Haste, Mining Fatigue, being under water and being off the ground (a fifth), as the server works it out. - speed(BlockState, int, int) - Static method in class dev.myriadclient.api.player.Mining
-
Mining.speed(BlockState, int)with Efficiency atefficiencyinstead of the tool's own. - sphere(Vec3, double) - Static method in class dev.myriadclient.api.world.Positions
-
Every block whose centre is within
radiusofcenter, nearest first. - sphere(Vec3, double, Predicate) - Static method in class dev.myriadclient.api.world.Positions
-
Like
Positions.sphere(Vec3, double), keeping only positions that passfilter. - SPINNER - Static variable in class dev.myriadclient.api.ui.Icons
- splitters() - Method in interface dev.myriadclient.api.ui.layout.LayoutState
-
Draggable boundaries between tiles, valid after the last
LayoutState.arrange(Rect, float, BiConsumer). - sprint - Variable in class dev.myriadclient.api.event.events.InputEvent
-
Whether each movement key counts as held this tick: walk forward, back, strafe left, right, jump, sneak and sprint.
- sprinting() - Method in record class dev.myriadclient.api.service.Inventory.ClickMoment
-
Returns the value of the
sprintingrecord component. - SQUARE - Static variable in class dev.myriadclient.api.ui.Icons
- stack() - Method in class dev.myriadclient.api.event.events.ItemTooltipEvent
-
The item the tooltip is for; read it, don't change it.
- stack() - Method in class dev.myriadclient.api.event.events.ItemUseEvent
-
A copy of the item as it was being used.
- stack() - Method in record class dev.myriadclient.api.ui.widget.Preview.ItemSubject
-
Returns the value of the
stackrecord component. - stack(int) - Method in interface dev.myriadclient.api.service.Containers.View
-
What container slot
slotholds; an empty stack outside0..size()-1. - stacks() - Method in interface dev.myriadclient.api.service.Containers.View
-
The container's own slots in order, as a new list of the menu's stacks (don't change the stacks).
- standalone(ChunkCache.Compute) - Static method in class dev.myriadclient.api.world.ChunkCache
-
A cache you
ChunkCache.start()andChunkCache.stop()yourself (from a service, a panel, a HUD element). - STAR - Static variable in class dev.myriadclient.api.ui.Icons
- start() - Method in interface dev.myriadclient.api.elytra.Flight
-
Starts flying (the elytra opens the way vanilla's does).
- start() - Method in class dev.myriadclient.api.world.ChunkCache
-
Starts listening and computing.
- start(JobContext) - Method in interface dev.myriadclient.api.job.Step.Run
-
The step started (this tick, before the first
Step.Run.tick(JobContext)). - start(Object, Blueprint, Building.Options) - Method in interface dev.myriadclient.api.service.Building
-
Starts building
blueprintforowner: it plans and acts at the start of each tick, before the placement and breaking services send what they're asked. - start(Object, Step) - Method in class dev.myriadclient.api.job.JobEngine
- start(Object, Step) - Method in interface dev.myriadclient.api.job.Jobs
-
Starts
stepforowner(your module, usually: seeJobs.cancel(Object)) as a new root job and returns it. - Start(BlockPos, Direction) - Constructor for class dev.myriadclient.api.event.events.BlockBreakEvent.Start
-
Core's; only Myriad makes these.
- startBreaking(BlockPos, Direction) - Static method in class dev.myriadclient.api.player.Interactions
-
Starts breaking the block at
posonside(as a left click would), breaking it at once if it's instant. - Started(Job) - Constructor for class dev.myriadclient.api.job.JobEvent.Started
-
Core's; only Myriad makes these.
- startGlide() - Method in interface dev.myriadclient.api.elytra.ChestSwap
-
Starts the glide again on the server: the elytra goes on if it isn't, and the start is sent.
- state() - Method in class dev.myriadclient.api.addon.Addon
-
Whether the addon is still loading, loaded, or failed.
- state() - Method in class dev.myriadclient.api.build.Target.Exact
-
The state wanted.
- state() - Method in interface dev.myriadclient.api.elytra.Flight
- state() - Method in class dev.myriadclient.api.event.events.BlockBrokenEvent
-
The block that was there before it broke.
- state() - Method in class dev.myriadclient.api.event.events.BlockRenderEvent
-
The block state being meshed.
- state() - Method in class dev.myriadclient.api.event.events.CollisionShapeEvent
-
The block whose shape is asked for.
- state() - Method in class dev.myriadclient.api.event.events.EntityRenderEvent.Model
-
The entity's render state for this frame.
- state() - Method in interface dev.myriadclient.api.job.Job
-
Where it stands now.
- state(BlockState) - Static method in interface dev.myriadclient.api.build.Target
-
state's block, placed the waystatefaces (theTarget.Orientation.PROPERTIESit has); other properties are left to the game. - STATIC - Enum constant in enum class dev.myriadclient.api.setting.SettingColor.Mode
-
The stored ARGB colour as it is.
- status() - Method in record class dev.myriadclient.api.build.Build.Step
-
Returns the value of the
statusrecord component. - status() - Method in interface dev.myriadclient.api.elytra.Flight
-
What it's doing, in a few words for a HUD line ("Y210", "Steadying", "38 b/s", "Landing"); null when there's nothing to say.
- status() - Method in interface dev.myriadclient.api.job.Job
-
The live detail from the running step (
Step.Run.status()orJobContext.status(String)), or null. - status() - Method in interface dev.myriadclient.api.job.Step.Run
-
A live detail for the Jobs window ("leg 3 of 12", "waiting for the chest to load"), or null.
- status() - Method in exception class dev.myriadclient.api.network.Http.StatusException
-
The HTTP status (404, 429, 500...).
- status(String) - Method in interface dev.myriadclient.api.job.JobContext
-
A live detail for the Jobs window; overrides
Step.Run.status(). - statusEffects(String) - Static method in class dev.myriadclient.api.setting.RegistryListSetting
-
A builder for a set of status effects, not added to any group; prefer
SettingGroup.statusEffects(String). - statusEffects(String) - Method in class dev.myriadclient.api.setting.SettingGroup
-
A set of status effects.
- steers() - Method in interface dev.myriadclient.api.elytra.Elytra.Pilot
-
Whether the local player moves by the rotation being sent to the server (
Rotations.rotationForAction()) instead of the camera's: the glide's direction and pitch, walking and the jump's push, as the server simulates them. - step() - Method in interface dev.myriadclient.api.job.Job
-
The step this job runs, as it was built.
- Step<T> - Class in dev.myriadclient.api.job
-
A description of work that produces a
T, spread over game ticks: open a chest and take what's needed, build a wall, fly a route. - Step(BlockPos, Target, Build.Status) - Constructor for record class dev.myriadclient.api.build.Build.Step
-
Creates an instance of a
Steprecord class. - Step.Run<T> - Interface in dev.myriadclient.api.job
-
What a step of your own does while it runs.
- steps() - Method in interface dev.myriadclient.api.build.Build
-
The positions in reach as of this tick, with what's happening at each.
- Steps - Class in dev.myriadclient.api.job
-
The services as steps.
- stop() - Method in interface dev.myriadclient.api.build.Build
-
Stops it where it is (
Build.finished()completes with false); what's already placed or broken stays. - stop() - Method in interface dev.myriadclient.api.elytra.Flight
-
Stops at once, wherever you are: the glide is the player's again.
- stop() - Static method in class dev.myriadclient.api.integration.Baritone
-
Stops whatever Baritone is doing: its path, goal and processes (mining, following, building).
- stop() - Static method in class dev.myriadclient.api.player.Movement
-
Stops horizontal movement, keeping vertical (falling, jumping).
- stop() - Method in class dev.myriadclient.api.world.ChunkCache
-
Stops and frees everything (values and meshes).
- stop(Object) - Method in interface dev.myriadclient.api.service.Building
-
Stops every build
ownerstarted; their breaks and placements not yet sent are dropped. - STOP - Static variable in class dev.myriadclient.api.ui.Icons
- stopBreaking() - Static method in class dev.myriadclient.api.player.Interactions
-
Gives up the block being broken, as letting go of left click does; the server is told it was aborted.
- Stopped(ItemStack) - Constructor for class dev.myriadclient.api.event.events.ItemUseEvent.Stopped
-
Core's; only Myriad makes these.
- stoppedSinceStart(Object) - Method in interface dev.myriadclient.api.elytra.GlideHold
-
Whether the server has stopped the glide since the last start went out (or never had it going): a stop that came in answer to that start, or the start had time to be answered and wasn't.
- storage() - Method in interface dev.myriadclient.api.addon.AddonContext
-
Your addon's private folder for its own data files.
- STREET_VIEW - Static variable in class dev.myriadclient.api.ui.Icons
- strict() - Static method in interface dev.myriadclient.api.service.AntiCheat
-
AntiCheat.isStrict()from anywhere, including before Myriad has started (then true: when in doubt, be careful). - strict(Supplier) - Static method in class dev.myriadclient.api.command.arguments.ChoiceArgumentType
-
One of
choices, matched ignoring case and given back as the list spells it; anything else is an error. - STRICT - Static variable in class dev.myriadclient.api.service.Breaking.Options
-
Breaking.Options.DEFAULT, turned to face each block: for servers that check where you look while mining. - STRICT - Static variable in class dev.myriadclient.api.service.Building.Options
-
Servers that check the look of each click:
Placement.Options.STRICTandBreaking.Options.STRICT(turned for breaks too), one placement a tick; otherwise asBuilding.Options.DEFAULT. - STRICT - Static variable in class dev.myriadclient.api.service.Placement.Options
-
Servers that check placements (Grim, NCP, 2b2t): rotate first and click only visible faces.
- string(String) - Method in class dev.myriadclient.api.setting.SettingGroup
-
Free text: a text box.
- stringList(String) - Method in class dev.myriadclient.api.setting.SettingGroup
-
An ordered list of text entries (server names, chat filters).
- StringListEditor - Class in dev.myriadclient.api.ui.widget
-
Edits a
StringListSetting: one chip per entry (click × to remove) plus an input to add. - StringListEditor(StringListSetting) - Constructor for class dev.myriadclient.api.ui.widget.StringListEditor
-
An editor for
setting, reading and changing it live. - StringListSetting - Class in dev.myriadclient.api.setting
-
An ordered list of strings, without duplicates when added one at a time.
- StringListSetting(String, String, List, Supplier) - Constructor for class dev.myriadclient.api.setting.StringListSetting
-
A setting as its
StringListSetting.Buildermakes it; get one fromSettingGroup.stringList(String), or call this from a subclass. - StringListSetting.Builder - Class in dev.myriadclient.api.setting
-
Builds a
StringListSetting; empty by default. - StringSetting - Class in dev.myriadclient.api.setting
-
Free text, shown as a text box; anything typed is accepted as it is.
- StringSetting(String, String, String, Supplier) - Constructor for class dev.myriadclient.api.setting.StringSetting
-
A setting as its
StringSetting.Buildermakes it; get one fromSettingGroup.string(String), or call this from a subclass. - StringSetting.Builder - Class in dev.myriadclient.api.setting
-
Builds a
StringSetting; empty by default. - stuck() - Method in interface dev.myriadclient.api.service.Containers.Planner
-
Why the last
Containers.Planner.next()returned null short of the goal, if something's in the way; null otherwise. - stuck(Why) - Static method in class dev.myriadclient.api.job.Progress
-
Can't go on right now, for
why, which may clear: the step keeps being ticked. - STUCK - Enum constant in enum class dev.myriadclient.api.elytra.Flight.State
-
Wants to fly but can't for now;
Flight.why()says why (no elytra, on the ground for Altitude, set back over and over). - STUCK - Enum constant in enum class dev.myriadclient.api.job.Job.State
-
Waiting for a reason that may clear; see
Job.why(). - stuckFor(int) - Method in class dev.myriadclient.api.job.Step
-
If stuck for
ticksin a row, gives up with the stuck reason as the failure (a stuck step otherwise waits forever). - style - Variable in class dev.myriadclient.api.ui.hud.TextHudPanel
-
The element's colour options (its "Colors" settings group).
- style() - Method in record class dev.myriadclient.api.event.events.HighlightEvent.EntityHighlight
-
Returns the value of the
stylerecord component. - style() - Method in class dev.myriadclient.api.event.events.HighlightEvent.Hand
-
Core's: the style a handler asked for, or null.
- style() - Method in class dev.myriadclient.api.event.events.PreviewEvent
-
The shader highlight asked for, if there's one to draw (a box from
PreviewEvent.render(RenderLook, int)is drawn already). - style() - Method in interface dev.myriadclient.api.render.RenderLook
-
The look in
RenderMode.SHADER. - style() - Method in class dev.myriadclient.api.render.RenderSettings
-
The look in
RenderMode.SHADER; rebuilt at most once a frame (theme and rainbow colours change over time). - styled(Component) - Static method in class dev.myriadclient.api.ui.draw.ThemeFont
-
textin the theme's font (what in it names a font of its own keeps that one). - subject() - Method in class dev.myriadclient.api.event.events.PreviewEvent
-
What the preview shows: an entity, a block, or your first-person hands.
- subject() - Method in class dev.myriadclient.api.job.Why
-
What it's about, if anything: a
BlockPos, anItem, an entity. - subject() - Method in class dev.myriadclient.api.ui.widget.Preview
-
What it shows.
- subject(Class) - Method in class dev.myriadclient.api.job.Why
-
Why.subject()if it's atype, else null. - submit(Render3DEvent, LivingEntityRenderState, Vec3, float) - Static method in class dev.myriadclient.api.render.Ghosts
-
Submits
stateatfeet(world coordinates) this frame, faded toalpha(0-1). - submit(Render3DEvent, LivingEntityRenderState, Vec3, float, HighlightStyle, int) - Static method in class dev.myriadclient.api.render.Ghosts
-
Like
Ghosts.submit(Render3DEvent, LivingEntityRenderState, Vec3, float), highlighted instyleandcolor(ARGB) as an entity would be: outlined, glowing or filled around its exact silhouette (armour, cape, held items included). - submits() - Method in class dev.myriadclient.api.event.events.EntityRenderEvent.Model
-
This frame's collector, to submit the model again.
- submits() - Method in class dev.myriadclient.api.event.events.Render3DEvent
-
Vanilla's collector for this frame: submit models and other vanilla renderables to it, relative to the camera.
- subscribe(Class) - Method in interface dev.myriadclient.api.event.EventBus
-
Subscribes the static
Subscribemethods oftypeand its superclasses; asEventBus.subscribe(Object). - subscribe(Object) - Method in interface dev.myriadclient.api.event.EventBus
-
Subscribes every non-static
Subscribemethod onlistener, including those its superclasses declare (private ones too). - Subscribe - Annotation Interface in dev.myriadclient.api.event
-
Marks a method as an event handler.
- Subscription - Interface in dev.myriadclient.api.event
-
Handle returned by
EventBus.listen(Class, Consumer); callSubscription.unsubscribe()to stop listening. - subtitle() - Method in class dev.myriadclient.api.ui.Panel
-
Dim text after the title in the title bar (e.g.
- success(String, String) - Method in interface dev.myriadclient.api.service.Notifications
-
Shows a success notification for 3 seconds.
- SUCCESS - Enum constant in enum class dev.myriadclient.api.service.Notifications.Level
-
Something finished as hoped; green.
- suggest(String, String) - Static method in class dev.myriadclient.api.util.Texts
-
label, which putscommand(without the prefix) in the chat box to finish typing. - suggesting(Supplier) - Static method in class dev.myriadclient.api.command.arguments.Arguments
-
Any name, suggesting
choices; read it withChoiceArgumentType.get(CommandContext, String). - suggesting(Supplier) - Static method in class dev.myriadclient.api.command.arguments.ChoiceArgumentType
-
Any name, given back as typed, with
choicesas suggestions. - suggestions() - Method in class dev.myriadclient.api.setting.BoolSetting
- suggestions() - Method in class dev.myriadclient.api.setting.ChoiceSetting
- suggestions() - Method in class dev.myriadclient.api.setting.ColorSetting
- suggestions() - Method in class dev.myriadclient.api.setting.EnumSetSetting
- suggestions() - Method in class dev.myriadclient.api.setting.EnumSetting
- suggestions() - Method in class dev.myriadclient.api.setting.ModuleListSetting
- suggestions() - Method in class dev.myriadclient.api.setting.RegistryListSetting
- suggestions() - Method in class dev.myriadclient.api.setting.RegistrySetting
- suggestions() - Method in class dev.myriadclient.api.setting.Setting
-
Completions for command input; none by default.
- suggestions() - Method in class dev.myriadclient.api.setting.StringListSetting
- SUITCASE - Static variable in class dev.myriadclient.api.ui.Icons
- SUN - Static variable in class dev.myriadclient.api.ui.Icons
- SUPER - Enum constant in enum class dev.myriadclient.api.ui.ThemeSettings.ModKey
-
Super (the Windows or Command key).
- supply(String, Supplier) - Static method in class dev.myriadclient.api.job.Step
-
Produces
value.get()on one tick, read when the step runs (not when it's built). - supply(Supplier) - Static method in class dev.myriadclient.api.util.Async
-
Runs
taskon the pool; the future completes with its result, exceptionally if it threw. - SUPPORTS_YOU - Enum constant in enum class dev.myriadclient.api.build.Build.Status
-
It's the block you're standing on.
- surface - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Buttons, inputs and rows: the resting fill of interactive widgets.
- surfaceHover - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
ThemeSettings.surfaceunder the pointer or focused. - surround(Entity) - Static method in class dev.myriadclient.api.world.Holes
-
The positions around
entity's feet that a surround fills: beside its footprint, not in it. - suspend(MyriadId...) - Static method in class dev.myriadclient.api.job.Steps
-
Holds these modules off until the enclosing step ends (the same as
Step.suspending, as a step). - suspend(Class...) - Static method in class dev.myriadclient.api.job.Steps
-
Steps.suspend(MyriadId...)by class: every module of these classes. - suspend(Object, Module) - Static method in class dev.myriadclient.api.module.Modules
-
Holds
moduleoff forowner(a module, a job): it turns off now if it's on, stays off while any owner holds it, and comes back on when the last one lets go, if the player has it on then. - suspend(Object, MyriadId) - Static method in class dev.myriadclient.api.module.Modules
-
Modules.suspend(Object, Module)by id, for another addon's module; nothing if it isn't installed. - suspend(Object, Class) - Static method in class dev.myriadclient.api.module.Modules
-
Modules.suspend(Object, Module)by type; nothing if it isn't registered. - suspendedBy() - Method in class dev.myriadclient.api.module.Module
-
Who holds it off, for people ("Search", "Search › Flying the route"), or null when it isn't suspended.
- suspending(MyriadId...) - Method in class dev.myriadclient.api.job.Step
-
Holds these modules off while this runs (
Modules.suspend, by id: another addon's needn't be a dependency); they come back when it ends, whatever way, if the player has them on. - suspending(Class...) - Method in class dev.myriadclient.api.job.Step
-
Step.suspending(MyriadId...)by class: every module of these classes. - swap() - Method in interface dev.myriadclient.api.elytra.ChestSwap
-
Swaps what's worn with its counterpart at hand: a chestplate for the elytra, the elytra for a chestplate.
- swap(W, W) - Method in interface dev.myriadclient.api.ui.layout.LayoutState
-
Swap the positions of two windows (one dragged onto the middle of the other).
- swapBar(Object, boolean) - Method in interface dev.myriadclient.api.service.Containers
-
Shows the swap bar over container screens while any owner has it
on: a tab for your inventory, the container you last opened and each box handed to it (Containers.ItemSession.finishWhenClosed()), the one showing highlighted; a click opens that one again. - swapping() - Method in interface dev.myriadclient.api.elytra.NoDurability
-
Whether the elytra and chestplate are being swapped (or the elytra put back for good) right now.
- swapWithHotbar(int, int) - Method in interface dev.myriadclient.api.service.Containers.View
-
Swaps a container slot with a hotbar slot (0-8), like pressing a number key over it.
- swapWithOffhand(int) - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- swapWithOffhand(int) - Method in interface dev.myriadclient.api.service.Inventory
-
Swaps
inventoryIndexwith the off hand (like pressing F over it), e.g. - swing() - Method in class dev.myriadclient.api.service.Breaking.Options
-
Show the hand swinging while mining.
- swing() - Method in class dev.myriadclient.api.service.Placement.Options
-
Swing the hand with each placement and click, where you see it.
- swing(InteractionHand) - Static method in class dev.myriadclient.api.player.Interactions
-
Swings the hand: the server sees it, and the client animates it.
- switchProfile(String) - Method in interface dev.myriadclient.api.config.ConfigManager
-
Saves the current profile and loads
name, creating it from the current state if it doesn't exist. - switchWorkspace(int) - Method in interface dev.myriadclient.api.ui.Ui
-
Shows workspace
workspace(clamped to 0-9), with the theme's workspace animation. - syncId() - Method in interface dev.myriadclient.api.service.Containers.View
-
The menu's id, as the server's packets name it (
containerId).
T
- TACHOMETER - Static variable in class dev.myriadclient.api.ui.Icons
- tag() - Method in class dev.myriadclient.api.module.Module
-
The module's main tag: the one that gives it its colour and icon.
- tag(Tag) - Method in interface dev.myriadclient.api.share.ConfigShares.Builder
-
Every module with
tag, from every addon. - Tag - Record Class in dev.myriadclient.api.module
-
What a module is about: Combat, Movement, Render...
- Tag(MyriadId, String, String, SettingColor) - Constructor for record class dev.myriadclient.api.module.Tag
-
Creates an instance of a
Tagrecord class. - TAG - Static variable in class dev.myriadclient.api.ui.Icons
- tags() - Method in class dev.myriadclient.api.module.Module
-
Every tag of the module, the main one first.
- tags() - Static method in class dev.myriadclient.api.Myriad
-
Every module tag: Myriad's shared ones (
Tags) and addons' own. - tags() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.tags(). - Tags - Class in dev.myriadclient.api.module
-
The shared tags, registered by Myriad core so that every addon uses the same words:
#combatfinds combat modules from every addon, in the same colour and with the same icon. - take(Containers.View, Predicate, Containers.Transfer) - Static method in class dev.myriadclient.api.job.Steps
-
Takes
whatfrom the container into the inventory; produces how many moved. - take(Predicate, Containers.Transfer) - Method in interface dev.myriadclient.api.service.Containers.View
-
Moves items
whataccepts from the container into your inventory, as many ashowallows and there is room for, and completes with how many went by the server's count. - target() - Method in record class dev.myriadclient.api.build.Build.Step
-
Returns the value of the
targetrecord component. - target() - Method in class dev.myriadclient.api.event.events.AttackEvent
-
The entity being attacked.
- target() - Method in interface dev.myriadclient.api.hook.Contribution
- target() - Method in class dev.myriadclient.api.ui.draw.Animated
-
Where it's heading (or resting).
- Target - Interface in dev.myriadclient.api.build
-
What one position of a
Blueprintshould be: empty, a certain block, a block in a certain orientation, or any solid block. - Target(BlockPos, Placement.Options) - Constructor for record class dev.myriadclient.api.service.Placement.Target
-
Creates an instance of a
Targetrecord class. - Target.Air - Class in dev.myriadclient.api.build
-
What
Target.air()returns: done when the position is air or a fluid. - Target.Exact - Class in dev.myriadclient.api.build
-
What
Target.exact(BlockState)returns; the planner tells it apart to build a state as exactly as it can. - Target.Orientation - Class in dev.myriadclient.api.build
-
The properties that set how a block was placed, as opposed to ones the game keeps updating from its neighbours (stair shapes, fence connections, waterlogging, power).
- Target.Solid - Class in dev.myriadclient.api.build
-
What
Target.solid()returns: done when there's a block with a full collision box. - Targets - Class in dev.myriadclient.api.combat
-
Finding entities to attack, aim at or highlight, with the same rules everywhere: what counts as a hostile, how neutral mobs are treated, friends, invisibility, walls, and sorting.
- Targets.Query - Class in dev.myriadclient.api.combat
-
Which entities to find and in what order: set what differs from the defaults (
Targets.query()), then callTargets.Query.best()orTargets.Query.list(). - Targets.Sort - Enum Class in dev.myriadclient.api.combat
-
Which target comes first.
- Targets.Type - Enum Class in dev.myriadclient.api.combat
-
Kinds of target, as
Targets.type(Entity, boolean)sorts entities. - TargetSettings - Class in dev.myriadclient.api.combat
-
The standard "Targets" settings group, so every combat module offers players the same choices with the same names.
- TargetSettings(Settings) - Constructor for class dev.myriadclient.api.combat.TargetSettings
-
Adds a "Targets" group to
settings, with players on by default. - TargetSettings(Settings, Targets.Type...) - Constructor for class dev.myriadclient.api.combat.TargetSettings
-
Adds a "Targets" group to
settings. - TeleportEvent - Class in dev.myriadclient.api.event.events
-
The server is setting your position: a teleport, or a rubberband when it didn't accept where you moved.
- TeleportEvent(Vec3, Vec3) - Constructor for class dev.myriadclient.api.event.events.TeleportEvent
-
Core's; only Myriad makes these.
- TERMINAL - Static variable in class dev.myriadclient.api.ui.Icons
- test(MyriadId, Class, String, AntiCheat.Profile, String) - Method in class dev.myriadclient.api.hook.Match
-
Whether a call for
id/type(of addonaddonId) onprofileathostis matched. - test(Entity) - Method in class dev.myriadclient.api.combat.Targets.Query
-
Whether
ematches: alive, attackable, not you, of a wanted type, passing every option and within range. - test(Entity, double) - Method in class dev.myriadclient.api.combat.TargetSettings
-
Whether
entitywould be a target withinrange. - test(ItemStack, ItemStack) - Method in enum class dev.myriadclient.api.item.ItemMatch
-
Whether
aandbcount as the same item here; two empty stacks match, one empty doesn't. - testWhere(AntiCheat.Profile, String) - Method in class dev.myriadclient.api.hook.Match
-
Whether the profile and server parts match, whoever calls.
- text - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Normal text.
- text() - Method in record class dev.myriadclient.api.render.WorldLabel.Segment
-
Returns the value of the
textrecord component. - text() - Method in class dev.myriadclient.api.ui.widget.TextField
-
What's typed while it's being edited, otherwise
getter's value. - text(Canvas, FontFamily, float, String, float, float, int) - Method in class dev.myriadclient.api.ui.hud.HudStyle
-
Draws text with this style's shadow setting.
- text(FontFamily, float, String, float, float, int) - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
Draws text in
fontatsizeUI units (the font's pixel size issizetimesCanvas.pixelScale(), kept within 4-128 pixels), its top-left at (x,y), snapped to whole pixels so it stays crisp. - text(String, float, float, int) - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
Draws text with the theme's default font and size, its top-left at (
x,y). - TEXT - Enum constant in enum class dev.myriadclient.api.setting.SettingColor.Mode
-
The theme's text colour.
- TEXT - Enum constant in enum class dev.myriadclient.api.ui.hud.HudStyle.Mode
-
The theme's text colour.
- textDim - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Secondary text: hints, labels, placeholders, unfocused titles.
- TextField - Class in dev.myriadclient.api.ui.widget
-
Single-line text input.
- TextField(Supplier) - Constructor for class dev.myriadclient.api.ui.widget.TextField
-
A field showing
getter's value while it isn't being edited (read every frame). - textHeight() - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
Line height of the default font.
- textHeight(FontFamily, float) - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
Line height of
fontatsize, in UI units: how far apart lines go. - TextHudPanel - Class in dev.myriadclient.api.ui.hud
-
A HUD element made of lines of "label value" text.
- TextHudPanel(String, String, HudStyle.Mode) - Constructor for class dev.myriadclient.api.ui.hud.TextHudPanel
- TextHudPanel.Lines - Class in dev.myriadclient.api.ui.hud
-
Lines of alternating label and value parts.
- Texts - Class in dev.myriadclient.api.util
-
Chat text that does something: run a Myriad command on click, fill the chat box, copy a value, show a tooltip.
- texture(GpuTextureView, float, float, float, float, float, float, float, float, int) - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
Draws a region of a GPU texture (e.g.
- texture(Identifier, float, float, float, float, float, float, float, float, int) - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
Draws a region of a texture (a resource location loaded by Minecraft's texture manager) stretched over the box;
u/vare 0..1. - textWidth(FontFamily, float, String) - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
Width of
textinfontatsize, in UI units. - textWidth(String) - Method in interface dev.myriadclient.api.ui.draw.Canvas
-
Width of
textin the default font and size, in UI units. - TH - Static variable in class dev.myriadclient.api.ui.Icons
- theme() - Method in interface dev.myriadclient.api.share.ConfigShares.Builder
-
The menu's look: the active theme's colours and styles (not personal preferences).
- theme() - Method in interface dev.myriadclient.api.ui.Ui
-
The live theme: read colours and sizes from it when drawing, or change its settings.
- theme() - Static method in class dev.myriadclient.api.ui.widget.Widget
-
The live theme, for colours and sizes (
theme().accent.argb()). - Theme - Class in dev.myriadclient.api.ui
-
A theme preset: applying it writes values into the live
ThemeSettings(anything it doesn't set keeps Myriad's default). - Theme(MyriadId, String, Consumer) - Constructor for class dev.myriadclient.api.ui.Theme
- themedExperienceBar - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
The experience bar and your level in the theme.
- themedHotbar - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
The hotbar and the off hand's slot in the theme (the status bars and experience bar have their own options).
- themedScreens - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Screens in the theme: Myriad's own title screen, your inventory and the storage screens, and Minecraft's other screens too (menus, settings, the disconnect screen, other mods' screens), as far as they're made of Minecraft's widgets (buttons, sliders, checkboxes, text boxes, lists, scrollbars, tabs) and backgrounds; their layouts stay their own.
- themedStatusBars - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Hearts, food and armour over the hotbar in the theme.
- themeFont - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Item counts in the theme's font (
ThemeFont), and withThemeSettings.themedScreensthe menus' text. - ThemeFont - Class in dev.myriadclient.api.ui.draw
-
The theme's font as one of Minecraft's own, for text Minecraft draws: give a style
ThemeFont.FONTas its font and Minecraft draws, measures and wraps that text in it (chat, tooltips, item counts), rasterised at the GUI scale it's drawn at, as Myriad's own text is. - ThemePalette - Record Class in dev.myriadclient.api.ui
-
A terminal-style colour scheme (background, foreground, selection, accent and the 16 ANSI colours) and the mapping from it to every colour a Myriad theme has.
- ThemePalette(int, int, int, int, int[], Integer, Integer, Integer, Integer) - Constructor for record class dev.myriadclient.api.ui.ThemePalette
-
Creates an instance of a
ThemePaletterecord class. - themes() - Static method in class dev.myriadclient.api.Myriad
-
Every theme preset the player can pick.
- themes() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.themes(). - ThemeSettings - Class in dev.myriadclient.api.ui
-
The live look of the menu, modelled on Hyprland's
general,decorationandanimationssections, fromUi.theme(). - ThemeSettings() - Constructor for class dev.myriadclient.api.ui.ThemeSettings
- ThemeSettings.BarPosition - Enum Class in dev.myriadclient.api.ui
-
Which screen edge the bar is on.
- ThemeSettings.Curve - Enum Class in dev.myriadclient.api.ui
-
The easing curves the theme's animations can use, each a
Bezierpreset. - ThemeSettings.Font - Enum Class in dev.myriadclient.api.ui
-
The theme's text font.
- ThemeSettings.ModKey - Enum Class in dev.myriadclient.api.ui
-
The modifier that, held, turns keys and clicks into menu shortcuts (
ThemeSettings.modKey): workspaces, launcher, moving and resizing windows. - ThemeSettings.WorkspaceAnimation - Enum Class in dev.myriadclient.api.ui
-
How switching workspaces animates.
- then(Step) - Method in class dev.myriadclient.api.job.Step
-
After this,
next. - then(Function) - Method in class dev.myriadclient.api.job.Step
-
After this, the step
nextmakes from this one's result. - The slot the server holds - Section in interface dev.myriadclient.api.service.Inventory
- thread() - Element in annotation interface dev.myriadclient.api.event.Subscribe
-
The thread the handler runs on: where the event is posted (default), or the render thread, for a handler of an event posted elsewhere (
PacketEvent.Receive) that acts on the game. - Threads - Class in dev.myriadclient.api.util
-
Which thread code runs on.
- Threats - Class in dev.myriadclient.api.combat
-
How much damage nearby dangers could do to you right now, after your armour and effects: end crystals, beds (which explode outside the Overworld), charged respawn anchors (which explode outside the Nether), creepers about to explode, players about to hit you, and the fall you're in.
- throughWalls - Variable in class dev.myriadclient.api.combat.TargetSettings
-
The query's options:
onlyAngry(on by default, shown while hostiles are on),ignoreInvisibles,ignoreNamed,ignoreCreative,friends(all off by default) andthroughWalls(on). - throughWalls - Variable in class dev.myriadclient.api.render.RenderSettings
-
Null when built with
RenderSettings.Builder.noThroughWalls(): the look keeps its default's. - throughWalls() - Method in class dev.myriadclient.api.render.HighlightStyle
-
Drawn even where something is in front; otherwise only the visible parts are highlighted.
- throughWalls() - Method in interface dev.myriadclient.api.render.RenderLook
-
Whether boxes show through walls (drawn without depth testing) in
RenderMode.BOX. - throughWalls() - Method in class dev.myriadclient.api.render.RenderSettings
-
The Through Walls option, or the defaults' when built without one.
- throughWalls(boolean) - Method in class dev.myriadclient.api.combat.Targets.Query
-
Include entities you have no line of sight to (on by default).
- throughWalls(boolean) - Method in class dev.myriadclient.api.render.RenderSettings.Builder
-
Through walls on or off to start with.
- THROWN - Static variable in record class dev.myriadclient.api.combat.Trajectory.Ballistics
-
Snowballs, eggs and ender pearls.
- THUMBS_UP - Static variable in class dev.myriadclient.api.ui.Icons
- tick() - Method in interface dev.myriadclient.api.elytra.NoDurability
-
Call once a tick while enabled, in
TickEvent.Prebefore the tick's actions (Priority.BEFORE_ACTIONS + 10) and after your own flight: a restart sends held ping answers, which have to go first. - tick() - Method in class dev.myriadclient.api.job.JobEngine
-
One tick of every root job, oldest first, then the change events.
- tick() - Method in class dev.myriadclient.api.ui.Panel
-
Called every client tick (20 a second) while the window is on the active workspace, or is a HUD element, whether or not the menu is showing and whether or not there's a world.
- tick(long) - Method in class dev.myriadclient.api.util.Timer
-
If the delay has passed, resets and returns true: one call for "every N ms".
- tick(JobContext) - Method in interface dev.myriadclient.api.job.Step.Run
-
One tick of work: what to tell the services, and how it stands.
- TickBudget - Class in dev.myriadclient.api.util
-
How long a piece of incremental work may still run this tick: "as much as fits in 2 ms, then carry on next tick".
- TickCached<T> - Class in dev.myriadclient.api.util
-
A value worked out at most once per client tick, however often it's read.
- tickDelta() - Method in class dev.myriadclient.api.event.events.CameraEvent.Position
-
The partial tick the frame is drawn at.
- tickDelta() - Method in class dev.myriadclient.api.event.events.CameraEvent.Rotation
-
The partial tick the frame is drawn at.
- tickDelta() - Method in class dev.myriadclient.api.event.events.HighlightEvent.Hand
-
The partial tick the hand is drawn at.
- tickDelta() - Method in class dev.myriadclient.api.event.events.PlayerViewEvent
-
The partial tick it was asked for (1 for a tick's own logic, the frame's for rendering).
- tickDelta() - Method in class dev.myriadclient.api.event.events.Render2DEvent
-
How far the frame is between the last tick and the next (0 to 1), for smooth movement.
- tickDelta() - Method in class dev.myriadclient.api.event.events.Render3DEvent
-
The partial tick the frame is drawn at (the same the entities were drawn with).
- tickDelta() - Method in class dev.myriadclient.api.event.events.RenderEvent
-
The partial tick the frame is drawn at.
- ticked(Job, long, long) - Method in interface dev.myriadclient.api.job.JobEngine.Host
-
A root job's tick took
nanos, againstbudgetNanos(for the profiler). - TickEvent - Class in dev.myriadclient.api.event.events
-
Posted around every client tick (20 a second, unless the game lags), on the render thread, in the menus as well as in a world: use
@Subscribe(inGame = true)for handlers that need the player. - TickEvent() - Constructor for class dev.myriadclient.api.event.events.TickEvent
- TickEvent.Post - Class in dev.myriadclient.api.event.events
-
The end of the client tick, after the player and the world have ticked and this tick's movement was sent.
- TickEvent.Pre - Class in dev.myriadclient.api.event.events
-
The start of the client tick, before the player, the world and the input are ticked.
- ticks() - Method in interface dev.myriadclient.api.job.Job
-
Ticks it has run, not counting pauses.
- ticks() - Method in interface dev.myriadclient.api.job.JobContext
-
Ticks this step has run, not counting pauses.
- Ticks - Class in dev.myriadclient.api.util
-
The client tick counter: one more every game tick, from when the game started, whatever world you're in.
- tickSpeed() - Static method in class dev.myriadclient.api.Myriad
-
The speed the client runs game ticks at, combined from every feature that changes it.
- tickSpeed() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.tickSpeed(). - TickSpeed - Interface in dev.myriadclient.api.service
-
The speed the client runs game ticks at ("timer").
- ticksSinceAttack() - Static method in class dev.myriadclient.api.player.Interactions
-
Ticks since you last swung to attack (the counter attack charge comes from); 0 outside a world.
- timeout(int) - Method in class dev.myriadclient.api.job.Step
-
Fails with
Why.TIMEOUTif still running or stuck afterticks(paused ticks don't count). - TIMEOUT - Static variable in class dev.myriadclient.api.job.Why
-
It took longer than it was allowed to (
timeout, or a step's own limit). - Timer - Class in dev.myriadclient.api.util
-
A stopwatch for delays and cooldowns.
- Timer() - Constructor for class dev.myriadclient.api.util.Timer
-
A timer that has already passed any delay, so the first check succeeds.
- TIMES - Static variable in class dev.myriadclient.api.ui.Icons
- tint() - Method in record class dev.myriadclient.api.module.Tag
-
Returns the value of the
tintrecord component. - TINT - Static variable in class dev.myriadclient.api.ui.Icons
- title - Variable in enum class dev.myriadclient.api.render.EntityGroups.Group
-
The name of its toggle and colour setting ("Players", "Armor Stands").
- title() - Method in record class dev.myriadclient.api.event.events.NotificationEvent
-
Returns the value of the
titlerecord component. - title() - Method in class dev.myriadclient.api.share.ConfigShare
-
Its title, "Shared config" if it has none.
- title() - Method in record class dev.myriadclient.api.share.ConfigShares.Published
-
Returns the value of the
titlerecord component. - title() - Method in class dev.myriadclient.api.ui.hud.HudPanel
- title() - Method in class dev.myriadclient.api.ui.Panel
-
The title shown in the window's title bar (cut short to fit).
- title(String) - Method in interface dev.myriadclient.api.share.ConfigShares.Builder
-
Its title on the website and in the list of shares ("Shared config" if not given).
- titleBackground - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
The fill of window title bars, over the window background.
- titleBars - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Whether windows have a title bar (title, icon, controls; drag it to move floating windows).
- TitleControl - Class in dev.myriadclient.api.ui
-
A control in a window's title bar, beside its own float and close buttons: a switch (a control panel's on/off) or an icon button (Addons' "check for updates").
- titleControls() - Method in class dev.myriadclient.api.ui.Panel
-
Controls for the window's title bar (a switch, icon buttons), right to left; see
TitleControl. - to() - Method in class dev.myriadclient.api.event.events.TeleportEvent
-
Where the server puts you.
- to() - Method in record class dev.myriadclient.api.service.Rotations.Turn
-
Returns the value of the
torecord component. - toast(String, String) - Method in interface dev.myriadclient.api.service.Notifications
-
A notification to set up and
Notifications.Toast.show(): info level, 3 seconds, stacking, unless you say otherwise. - toFloats(int) - Static method in class dev.myriadclient.api.util.ColorUtil
-
[red, green, blue, alpha], each 0..1, as shaders and GL calls take them (note: alpha last). - toggle() - Method in interface dev.myriadclient.api.control.ControlPanel
-
Turns it on if it's off, off if it's on.
- toggle() - Method in class dev.myriadclient.api.module.Module
-
Turns the module on if it's off and off if it's on, as
Module.setEnabled(boolean)does. - toggle() - Method in class dev.myriadclient.api.setting.BoolSetting
-
Flips the value you see, as a click on it would: the override in effect if it takes edits (a control panel), the value in effect otherwise.
- toggle() - Method in interface dev.myriadclient.api.ui.Ui
-
Opens the menu if it's shut, shuts it if it's open.
- toggle(Module) - Method in class dev.myriadclient.api.setting.ModuleListSetting
-
Adds
moduleto the player's set, or removes it if it's there. - toggle(E) - Method in class dev.myriadclient.api.setting.EnumSetSetting
-
Adds
eto the player's set, or removes it if it's there. - toggle(BooleanSupplier, Consumer, Supplier) - Static method in class dev.myriadclient.api.ui.TitleControl
-
An on/off switch showing
on; clicking it callssetwith the opposite. - toggle(T) - Method in class dev.myriadclient.api.setting.RegistryListSetting
-
Removes
tif it's in the set, otherwise adds it (if accepted). - toggle(T) - Method in interface dev.myriadclient.api.ui.widget.RegistryPicker.Source
-
A click on
t: pick or unpick it (or, for a single choice, pick it). - Toggle - Class in dev.myriadclient.api.ui.widget
-
A switch bound to a boolean, drawn at the right of its box.
- Toggle(Supplier, Consumer) - Constructor for class dev.myriadclient.api.ui.widget.Toggle
- toggleSplit(W) - Method in interface dev.myriadclient.api.ui.layout.LayoutState
-
Flip the split orientation around
window(dwindle) or do nothing. - toHex(int) - Static method in class dev.myriadclient.api.util.ColorUtil
- toHsb(int) - Static method in class dev.myriadclient.api.util.ColorUtil
-
[hue, saturation, brightness], each 0..1, ofc's RGB; alpha is ignored. - toJson() - Method in class dev.myriadclient.api.setting.ActionSetting
- toJson() - Method in class dev.myriadclient.api.setting.BlockPosSetting
- toJson() - Method in class dev.myriadclient.api.setting.BoolSetting
- toJson() - Method in class dev.myriadclient.api.setting.ChoiceSetting
- toJson() - Method in class dev.myriadclient.api.setting.ColorSetting
- toJson() - Method in class dev.myriadclient.api.setting.DoubleSetting
- toJson() - Method in class dev.myriadclient.api.setting.EnumSetSetting
- toJson() - Method in class dev.myriadclient.api.setting.EnumSetting
- toJson() - Method in class dev.myriadclient.api.setting.FileSetting
- toJson() - Method in class dev.myriadclient.api.setting.IntListSetting
- toJson() - Method in class dev.myriadclient.api.setting.IntSetting
- toJson() - Method in class dev.myriadclient.api.setting.KeybindSetting
- toJson() - Method in class dev.myriadclient.api.setting.ModuleListSetting
- toJson() - Method in class dev.myriadclient.api.setting.RegistryListSetting
- toJson() - Method in class dev.myriadclient.api.setting.RegistrySetting
- toJson() - Method in class dev.myriadclient.api.setting.Setting
-
The player's value as JSON, for config and shares.
- toJson() - Method in class dev.myriadclient.api.setting.Settings
-
Only values that differ from their defaults are written, so improving a default in an update reaches users who never changed it.
- toJson() - Method in class dev.myriadclient.api.setting.StringListSetting
- toJson() - Method in class dev.myriadclient.api.setting.StringSetting
- toJson(JsonObject) - Method in class dev.myriadclient.api.setting.Settings
-
Like
Settings.toJson(), also keeping whatprevious(the JSON loaded before) holds that these settings don't know: values of settings a newer version added (after a downgrade), or of ones another version renamed. - tooltip - Variable in class dev.myriadclient.api.ui.widget.Widget
-
The tooltip shown while hovered (after
Widget.offerTooltip(float, float)), or null for none. - tooltip() - Method in class dev.myriadclient.api.ui.Panel
-
Tooltip for the hovered element, or null.
- tooltip() - Method in class dev.myriadclient.api.ui.TitleControl
-
Core's: the tooltip, or null.
- tooltip() - Method in class dev.myriadclient.api.ui.widget.WidgetRoot
-
The tooltip a hovered widget offered during the last
WidgetRoot.render(Canvas, float, float, float, float), or null. - tooltip() - Method in class dev.myriadclient.api.ui.WidgetPanel
-
The hovered widget's tooltip, from the last frame.
- tooltip(String) - Method in class dev.myriadclient.api.ui.widget.Widget
-
The tooltip shown while hovered, or null for none; lines split at
\nand wrap, and seeWidget.badgeLine(String...). - Tooltip(AbstractContainerScreen, Slot, GuiGraphicsExtractor, int, int) - Constructor for class dev.myriadclient.api.event.events.ContainerScreenEvent.Tooltip
-
Core's; only Myriad makes these.
- TOP - Enum constant in enum class dev.myriadclient.api.ui.PanelType.Anchor
-
The middle of the top edge.
- TOP - Enum constant in enum class dev.myriadclient.api.ui.ThemeSettings.BarPosition
-
Along the top edge.
- TOP_LEFT - Enum constant in enum class dev.myriadclient.api.ui.PanelType.Anchor
-
The top-left corner.
- TOP_RIGHT - Enum constant in enum class dev.myriadclient.api.ui.PanelType.Anchor
-
The top-right corner.
- toPath(String) - Static method in record class dev.myriadclient.api.registry.MyriadId
-
Converts a display name like "Kill Aura" to an id path like "kill_aura": letters and digits in lower case, a
_for each run of anything else and between a lower-case letter and an upper-case one ("AutoWalk" gives "auto_walk"), none at the ends. - toScreen(Vec3) - Static method in class dev.myriadclient.api.render.Projection
-
Projects
worldto the screen. - toString() - Method in class dev.myriadclient.api.addon.Addon
-
The name and version,
"Myriad Essentials 1.4.0". - toString() - Method in record class dev.myriadclient.api.build.Build.Step
-
Returns a string representation of this record class.
- toString() - Method in record class dev.myriadclient.api.combat.Trajectory.Ballistics
-
Returns a string representation of this record class.
- toString() - Method in record class dev.myriadclient.api.combat.Trajectory.Launch
-
Returns a string representation of this record class.
- toString() - Method in record class dev.myriadclient.api.combat.Trajectory.Path
-
Returns a string representation of this record class.
- toString() - Method in record class dev.myriadclient.api.event.events.HighlightEvent.EntityHighlight
-
Returns a string representation of this record class.
- toString() - Method in record class dev.myriadclient.api.event.events.ModuleToggleEvent
-
Returns a string representation of this record class.
- toString() - Method in record class dev.myriadclient.api.event.events.NotificationEvent
-
Returns a string representation of this record class.
- toString() - Method in record class dev.myriadclient.api.event.events.WindowResizeEvent
-
Returns a string representation of this record class.
- toString() - Method in class dev.myriadclient.api.hook.Hook
- toString() - Method in class dev.myriadclient.api.hook.Match
-
"for Recast · on Grim · at 2b2t.org", or "always".
- toString() - Method in class dev.myriadclient.api.hook.Service
- toString() - Method in record class dev.myriadclient.api.input.Keybind
- toString() - Method in record class dev.myriadclient.api.integration.Baritone.GoalSpot
-
Returns a string representation of this record class.
- toString() - Method in record class dev.myriadclient.api.integration.Baritone.SettingInfo
-
Returns a string representation of this record class.
- toString() - Method in class dev.myriadclient.api.job.Progress
- toString() - Method in class dev.myriadclient.api.job.Step
-
The tree, one line per step, policies as pills: what the Jobs window shows for a job that hasn't started.
- toString() - Method in record class dev.myriadclient.api.job.Why.Code
-
Returns a string representation of this record class.
- toString() - Method in class dev.myriadclient.api.job.Why
-
"no item: cobblestone".
- toString() - Method in record class dev.myriadclient.api.map.Waypoint
-
Returns a string representation of this record class.
- toString() - Method in class dev.myriadclient.api.module.Module
-
The display name.
- toString() - Method in record class dev.myriadclient.api.module.ModuleGroup
-
The window's title.
- toString() - Method in record class dev.myriadclient.api.module.Tag
-
The display name.
- toString() - Method in record class dev.myriadclient.api.registry.MyriadId
-
namespace:path, whichMyriadId.parse(String)reads back. - toString() - Method in class dev.myriadclient.api.render.HighlightStyle.Fill
- toString() - Method in class dev.myriadclient.api.render.HighlightStyle
- toString() - Method in record class dev.myriadclient.api.render.WorldLabel.Placed
-
Returns a string representation of this record class.
- toString() - Method in record class dev.myriadclient.api.render.WorldLabel.Segment
-
Returns a string representation of this record class.
- toString() - Method in class dev.myriadclient.api.service.AntiCheat.Profile
- toString() - Method in record class dev.myriadclient.api.service.AntiCheat.ServerSeen
-
Returns a string representation of this record class.
- toString() - Method in record class dev.myriadclient.api.service.Breaking.Attempt
-
Returns a string representation of this record class.
- toString() - Method in class dev.myriadclient.api.service.Breaking.Options
- toString() - Method in class dev.myriadclient.api.service.Building.Options
- toString() - Method in record class dev.myriadclient.api.service.Containers.Click
-
Returns a string representation of this record class.
- toString() - Method in record class dev.myriadclient.api.service.Inventory.ClickMoment
-
Returns a string representation of this record class.
- toString() - Method in record class dev.myriadclient.api.service.Placement.Attempt
-
Returns a string representation of this record class.
- toString() - Method in class dev.myriadclient.api.service.Placement.Click
- toString() - Method in class dev.myriadclient.api.service.Placement.Options
- toString() - Method in record class dev.myriadclient.api.service.Placement.Target
-
Returns a string representation of this record class.
- toString() - Method in class dev.myriadclient.api.service.Rotations.Options
- toString() - Method in record class dev.myriadclient.api.service.Rotations.Turn
-
Returns a string representation of this record class.
- toString() - Method in record class dev.myriadclient.api.setting.SettingColor
-
Returns a string representation of this record class.
- toString() - Method in class dev.myriadclient.api.share.ConfigShare
-
The document as compact JSON text, which
ConfigShare.parse(String)reads back. - toString() - Method in record class dev.myriadclient.api.share.ConfigShares.Applied
-
Returns a string representation of this record class.
- toString() - Method in record class dev.myriadclient.api.share.ConfigShares.Published
-
Returns a string representation of this record class.
- toString() - Method in record class dev.myriadclient.api.ui.draw.Bezier
-
Returns a string representation of this record class.
- toString() - Method in record class dev.myriadclient.api.ui.draw.FontFamily
-
Returns a string representation of this record class.
- toString() - Method in record class dev.myriadclient.api.ui.Icons.Icon
-
Returns a string representation of this record class.
- toString() - Method in record class dev.myriadclient.api.ui.PanelType.HudPlacement
-
Returns a string representation of this record class.
- toString() - Method in record class dev.myriadclient.api.ui.Rect
-
Returns a string representation of this record class.
- toString() - Method in class dev.myriadclient.api.ui.Theme
-
Its name.
- toString() - Method in record class dev.myriadclient.api.ui.ThemePalette
-
Returns a string representation of this record class.
- toString() - Method in record class dev.myriadclient.api.ui.widget.Preview.EntitySubject
-
Returns a string representation of this record class.
- toString() - Method in record class dev.myriadclient.api.ui.widget.Preview.ItemSubject
-
Returns a string representation of this record class.
- toString() - Method in record class dev.myriadclient.api.ui.widget.Preview.PlayerSubject
-
Returns a string representation of this record class.
- toString() - Method in record class dev.myriadclient.api.ui.widget.Preview.ViewModelSubject
-
Returns a string representation of this record class.
- toString() - Method in record class dev.myriadclient.api.util.ChatMessages.Parsed
-
Returns a string representation of this record class.
- toString() - Method in record class dev.myriadclient.api.world.Holes.Hole
-
Returns a string representation of this record class.
- TotemPopped(Entity, int) - Constructor for class dev.myriadclient.api.event.events.EntityEvent.TotemPopped
-
Core's; only Myriad makes these.
- totemPops(UUID) - Method in interface dev.myriadclient.api.service.ServerStats
-
Totems
playerhas used since they last died (reset when you join a world); 0 for players never seen pop. - totemPops(Player) - Method in interface dev.myriadclient.api.service.ServerStats
-
ServerStats.totemPops(UUID)forplayer. - toughness(ItemStack, EquipmentSlot) - Static method in class dev.myriadclient.api.item.ItemInfo
-
Armour toughness it gives worn in
slot(diamond 2, netherite 3). - tps() - Method in interface dev.myriadclient.api.service.ServerStats
-
Average ticks per second over the last ~20 seconds, from the spacing of time updates; 20 until known.
- tracer(Vec3, int) - Static method in class dev.myriadclient.api.render.Renderer3D
-
A line from the centre of the screen (where the crosshair is) to
to, always drawn through walls. - tracer(Vec3, int) - Method in interface dev.myriadclient.api.render.Rendering
-
A line from the centre of the screen to
to, this frame. - TRAIN - Static variable in class dev.myriadclient.api.ui.Icons
- Trajectory - Class in dev.myriadclient.api.combat
-
Where a projectile goes, worked out tick by tick as the game moves it (gravity, drag, water), until it hits a block or an entity.
- Trajectory.Ballistics - Record Class in dev.myriadclient.api.combat
-
How a kind of projectile flies, per tick:
gravitypulls it down,drag(orwaterDragin water) scales its speed, andradiusis how far from its centre it hits entities. - Trajectory.Launch - Record Class in dev.myriadclient.api.combat
-
A projectile leaving
originatvelocityblocks per tick, flying asballisticssays. - Trajectory.Path - Record Class in dev.myriadclient.api.combat
-
The points a projectile passes, one per tick from its launch, and what it hits (null if nothing in time).
- translate(float, float) - Method in interface dev.myriadclient.api.ui.draw.Canvas
- TRASH - Static variable in class dev.myriadclient.api.ui.Icons
- TREE - Static variable in class dev.myriadclient.api.ui.Icons
- TRIDENT - Static variable in record class dev.myriadclient.api.combat.Trajectory.Ballistics
-
Thrown tridents, which keep their speed in water.
- TROPHY - Static variable in class dev.myriadclient.api.ui.Icons
- TRUCK - Static variable in class dev.myriadclient.api.ui.Icons
- Turn(float, float, float, boolean) - Constructor for record class dev.myriadclient.api.service.Rotations.Turn
-
Creates an instance of a
Turnrecord class. - TURN - Static variable in interface dev.myriadclient.api.service.Rotations
-
Where a rotation is this tick, turning from the last one sent towards its target (core: at most the request's turn speed, the short way round for yaw).
- turns() - Method in class dev.myriadclient.api.service.Placement.Click
-
Whether the look turns first (to
Placement.Click.yaw()/Placement.Click.pitch()); otherwise it clicks at once with the look you have. - turnSpeed - Variable in class dev.myriadclient.api.service.RotationSettings
-
Turn Speed: most degrees to turn per tick, 0-180; 0 (the default) turns at once.
- turnSpeed() - Method in class dev.myriadclient.api.service.Rotations.Options
-
The most each axis turns per tick, in degrees, from the rotation the server last saw towards the target; 0 snaps there at once.
- type() - Method in class dev.myriadclient.api.event.events.PlayerMoveEvent
-
SELFfor normal movement; pistons, shulkers and the like push with other types. - type() - Method in class dev.myriadclient.api.hook.Service
-
The service's interface, which a replacement must implement.
- type() - Method in class dev.myriadclient.api.setting.EnumSetSetting
-
The enum the constants come from.
- type() - Method in record class dev.myriadclient.api.ui.widget.Preview.EntitySubject
-
Returns the value of the
typerecord component. - type() - Method in interface dev.myriadclient.api.ui.Window
-
The kind of panel it shows.
- type(Entity, boolean) - Static method in class dev.myriadclient.api.combat.Targets
-
What kind of target an entity is, or null for things that are never targets (items, orbs, the world).
- typed() - Method in class dev.myriadclient.api.setting.DoubleSetting.Builder
-
A box to type the number in instead of a slider: for coordinates and other numbers no slider range suits.
- typed() - Method in class dev.myriadclient.api.setting.DoubleSetting
-
Whether it's typed into a box rather than set with a slider (see
DoubleSetting.Builder.typed()). - typed() - Method in class dev.myriadclient.api.setting.IntSetting.Builder
-
A box to type the number in instead of a slider: for coordinates, seeds and other numbers no slider range suits.
- typed() - Method in class dev.myriadclient.api.setting.IntSetting
-
Whether it's typed into a box rather than set with a slider (see
IntSetting.Builder.typed()). - types() - Method in class dev.myriadclient.api.combat.TargetSettings
-
The target types switched on now; a new set each call.
- types(Targets.Type...) - Method in class dev.myriadclient.api.combat.Targets.Query
-
Which kinds of entity count (players only by default).
- types(Set) - Method in class dev.myriadclient.api.combat.Targets.Query
-
Which kinds of entity count, replacing the ones set before; the set is copied.
U
- ui() - Static method in class dev.myriadclient.api.Myriad
-
The window manager.
- ui() - Method in interface dev.myriadclient.api.MyriadApi
-
See
Myriad.ui(). - Ui - Interface in dev.myriadclient.api.ui
-
Myriad's window manager, the UI (players call it the menu), from
Myriad.ui(): nine tiling workspaces plus a HUD workspace whose windows are drawn in game. - uiScale - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Multiplier on the automatic UI scale (a UI unit is
max(1, framebuffer height / 540)pixels times this). - UMBRELLA - Static variable in class dev.myriadclient.api.ui.Icons
- UNAVAILABLE - Enum constant in enum class dev.myriadclient.api.service.Breaking.Check
-
Not in a world.
- UNAVAILABLE - Enum constant in enum class dev.myriadclient.api.service.Placement.Check
-
Not in a world, the hotbar slot isn't 0-8, or a replacement of
Placement.AIMfound nowhere to click where core would have. - UNBREAKABLE - Enum constant in enum class dev.myriadclient.api.build.Build.Status
-
The wrong block is there and it can't be broken.
- UNBREAKABLE - Enum constant in enum class dev.myriadclient.api.service.Breaking.Check
-
Bedrock and the like, or nothing in reach can break it.
- UNBREAKABLE - Static variable in class dev.myriadclient.api.job.Why
-
The block can't be broken: bedrock and the like.
- UNDO - Static variable in class dev.myriadclient.api.ui.Icons
- UNIVERSITY - Static variable in class dev.myriadclient.api.ui.Icons
- Unloaded(ChunkPos) - Constructor for class dev.myriadclient.api.event.events.ChunkEvent.Unloaded
-
Core's; only Myriad makes these.
- UNLOADED - Static variable in class dev.myriadclient.api.job.Why
-
The chunk hasn't arrived.
- UNLOCK - Static variable in class dev.myriadclient.api.ui.Icons
- unmask(Object) - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- unmask(Object) - Method in interface dev.myriadclient.api.service.Inventory
-
Ends
owner's mask: its slots show what they hold. - unpublish(String) - Method in interface dev.myriadclient.api.share.ConfigShares
-
Deletes a share you published from this computer and forgets it; fails with
IllegalArgumentExceptionfor a code that wasn't published from here. - unsubscribe() - Method in interface dev.myriadclient.api.event.Subscription
-
Stops the handler, at once (an event being delivered right now skips it too).
- unsubscribe(Class) - Method in interface dev.myriadclient.api.event.EventBus
-
Removes the static handlers
EventBus.subscribe(Class)added fortype. - unsubscribe(Object) - Method in interface dev.myriadclient.api.event.EventBus
-
Removes every handler
EventBus.subscribe(Object)added forlistener, at once: an event being delivered right now skips them too. - UNSUPPORTED - Enum constant in enum class dev.myriadclient.api.build.Build.Status
-
Something a build can't make: a block with no item, a fluid, a portal, or a setting no click reaches.
- UNSUPPORTED - Static variable in class dev.myriadclient.api.job.Why
-
Something no click can make, or a request a step can't carry out.
- until(String, BooleanSupplier, int) - Static method in class dev.myriadclient.api.job.Step
- untilClosed(Containers.View, int) - Static method in class dev.myriadclient.api.job.Steps
-
Waits for the player to close
view(they're browsing). - UP - Enum constant in enum class dev.myriadclient.api.ui.Side
-
The top half.
- update(Matrix4f, Matrix4f, Vec3) - Static method in class dev.myriadclient.api.render.Projection
-
Core's: called after the world renders, with that frame's camera.
- upgradeSavedSettings(JsonObject, int) - Method in class dev.myriadclient.api.module.Module
-
Brings settings saved at
savedVersionup toModule.settingsVersion(), step by step. - UPLOAD - Static variable in class dev.myriadclient.api.ui.Icons
- upTo(int) - Static method in class dev.myriadclient.api.service.Containers.Transfer
-
At most
countitems, hotbar included. - urgent(Runnable) - Method in interface dev.myriadclient.api.service.PacketLimits
-
Runs
actionwith the budget ignored, for actions that matter more than the risk. - url() - Method in record class dev.myriadclient.api.share.ConfigShares.Published
-
Returns the value of the
urlrecord component. - use(Object, BlockHitResult, int, Placement.Options) - Method in class dev.myriadclient.api.service.Placement.Forwarding
- use(Object, BlockHitResult, int, Placement.Options) - Method in interface dev.myriadclient.api.service.Placement
-
Right-clicks the block
hitnames, to use it rather than place against it: open a container, toggle a lever or repeater, add to a composter, use the held item on it. - use(Object) - Static method in class dev.myriadclient.api.world.ChunkAge
-
Starts remembering chunks' age for
owner, until itreleasesthem; again does nothing. - use(BlockHitResult, int, Placement.Options) - Static method in class dev.myriadclient.api.job.Steps
-
Right-clicks a block to use it (a lever, a repeater's delay, a composter), turned onto it first where the server checks; done once the server answered.
- used(PacketLimits.Kind) - Method in interface dev.myriadclient.api.service.PacketLimits
-
Packets of
kindsent in the lastPacketLimits.windowMs(Kind)milliseconds (the window slides). - useFromInventory(Object, int, Runnable) - Method in class dev.myriadclient.api.service.Inventory.Forwarding
- useFromInventory(Object, int, Runnable) - Method in interface dev.myriadclient.api.service.Inventory
-
Uses the item at
inventoryIndex(0-35) for one action without it showing anywhere: one from the hotbar goes throughInventory.silentSwap(int, Runnable); one from the inventory is swapped into a hotbar slot, held there by a silent swap whileactionruns, and swapped back. - useItem(InteractionHand) - Static method in class dev.myriadclient.api.player.Interactions
-
Uses the item in
hand(eating, throwing, shooting) as a right click in the air would. - USER - Static variable in class dev.myriadclient.api.ui.Icons
- USER_PLUS - Static variable in class dev.myriadclient.api.ui.Icons
- USER_SECRET - Static variable in class dev.myriadclient.api.ui.Icons
- USERS - Static variable in class dev.myriadclient.api.ui.Icons
V
- validate(T) - Method in class dev.myriadclient.api.setting.RegistrySetting
- validate(T) - Method in class dev.myriadclient.api.setting.Setting
-
Clamps or normalises a candidate value before it's set or laid over; null gives the default.
- validate(Double) - Method in class dev.myriadclient.api.setting.DoubleSetting
- validate(Integer) - Method in class dev.myriadclient.api.setting.IntSetting
- validate(List) - Method in class dev.myriadclient.api.setting.IntListSetting
- validate(BlockPos) - Method in class dev.myriadclient.api.setting.BlockPosSetting
- value - Variable in class dev.myriadclient.api.event.events.PlayerViewEvent
-
The eye position or look direction; overwrite it to change what the game uses.
- value - Variable in class dev.myriadclient.api.setting.Setting
-
The player's own value, the one saved: subclasses read and write it for saving, parsing and in-place edits.
- value() - Static method in class dev.myriadclient.api.command.arguments.SettingValueArgumentType
-
A setting value argument.
- value() - Method in class dev.myriadclient.api.job.Progress
-
The result, when done (null for
Void). - value(String) - Method in class dev.myriadclient.api.ui.hud.TextHudPanel.Lines
-
A line that's only a value.
- valueClass() - Method in record class dev.myriadclient.api.integration.Baritone.SettingInfo
-
Returns the value of the
valueClassrecord component. - valueOf(String) - Static method in enum class dev.myriadclient.api.addon.AddonState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.build.Build.Status
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.combat.Targets.Sort
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.combat.Targets.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.elytra.ChestSwap.Need
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.elytra.Flight.State
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.event.events.HighlightEvent.Hand.Part
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.event.HandlerThread
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.item.ItemMatch
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.job.Job.State
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.render.EntityGroups.Group
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.render.Renderer3D.ShapeMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.render.Rendering.Layer
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.render.RenderMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.render.WorldLabel.Background
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.service.AntiCheat.BreakTiming
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.service.Breaking.Check
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.service.Breaking.Mode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.service.BreakingSettings.Mode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.service.Building.Order
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.service.Containers.NoWayBack
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.service.Notifications.Level
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.service.PacketLimits.Kind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.service.Placement.Check
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.setting.Setting.Layer
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.setting.SettingColor.Mode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.share.ConfigShares.Apply
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.ui.BarWidget.Side
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.ui.draw.Easing
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.ui.hud.HudStyle.Mode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.ui.hud.ItemHud.Durability
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.ui.PanelType.Anchor
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.ui.Side
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.ui.ThemeSettings.BarPosition
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.ui.ThemeSettings.Curve
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.ui.ThemeSettings.Font
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.ui.ThemeSettings.ModKey
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.ui.ThemeSettings.WorkspaceAnimation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.util.ChatMessages.Kind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.world.Entities.Kind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.world.Holes.Safety
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.myriadclient.api.world.Holes.Shape
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class dev.myriadclient.api.addon.AddonState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.build.Build.Status
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.combat.Targets.Sort
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.combat.Targets.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Method in class dev.myriadclient.api.control.ControlPreset
-
Module id → setting key → value as saved (the settings given typed, through
ControlPreset.ModuleSettings.set(Setting, Object)). - values() - Static method in enum class dev.myriadclient.api.elytra.ChestSwap.Need
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.elytra.Flight.State
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.event.events.HighlightEvent.Hand.Part
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.event.HandlerThread
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.item.ItemMatch
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.job.Job.State
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Method in interface dev.myriadclient.api.registry.Registry
-
Every entry in order, as of the last change: unmodifiable, and the same instance until something changes.
- values() - Static method in enum class dev.myriadclient.api.render.EntityGroups.Group
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.render.Renderer3D.ShapeMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.render.Rendering.Layer
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.render.RenderMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.render.WorldLabel.Background
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.service.AntiCheat.BreakTiming
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.service.Breaking.Check
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.service.Breaking.Mode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.service.BreakingSettings.Mode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.service.Building.Order
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.service.Containers.NoWayBack
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.service.Notifications.Level
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.service.PacketLimits.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.service.Placement.Check
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Method in class dev.myriadclient.api.setting.EnumSetSetting
-
Every constant of the enum, in declaration order; a new array each call.
- values() - Method in class dev.myriadclient.api.setting.EnumSetting
-
Every constant of the enum, in declaration order (the array is shared: don't change it).
- values() - Static method in enum class dev.myriadclient.api.setting.Setting.Layer
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.setting.SettingColor.Mode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.share.ConfigShares.Apply
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.ui.BarWidget.Side
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.ui.draw.Easing
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.ui.hud.HudStyle.Mode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.ui.hud.ItemHud.Durability
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.ui.PanelType.Anchor
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.ui.Side
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.ui.ThemeSettings.BarPosition
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.ui.ThemeSettings.Curve
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.ui.ThemeSettings.Font
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.ui.ThemeSettings.ModKey
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.ui.ThemeSettings.WorkspaceAnimation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.util.ChatMessages.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.world.Entities.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.world.Holes.Safety
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.myriadclient.api.world.Holes.Shape
-
Returns an array containing the constants of this enum class, in the order they are declared.
- valueString() - Method in class dev.myriadclient.api.setting.ActionSetting
- valueString() - Method in class dev.myriadclient.api.setting.BlockPosSetting
- valueString() - Method in class dev.myriadclient.api.setting.ColorSetting
- valueString() - Method in class dev.myriadclient.api.setting.DoubleSetting
- valueString() - Method in class dev.myriadclient.api.setting.EnumSetSetting
- valueString() - Method in class dev.myriadclient.api.setting.EnumSetting
- valueString() - Method in class dev.myriadclient.api.setting.FileSetting
- valueString() - Method in class dev.myriadclient.api.setting.IntListSetting
- valueString() - Method in class dev.myriadclient.api.setting.KeybindSetting
- valueString() - Method in class dev.myriadclient.api.setting.ModuleListSetting
- valueString() - Method in class dev.myriadclient.api.setting.RegistryListSetting
- valueString() - Method in class dev.myriadclient.api.setting.RegistrySetting
- valueString() - Method in class dev.myriadclient.api.setting.Setting
-
The value in effect for people, the way
Setting.parse(String)reads it back where it can. - valueString() - Method in class dev.myriadclient.api.setting.StringListSetting
- VANILLA - Enum constant in enum class dev.myriadclient.api.service.Breaking.Mode
-
Mines like holding the attack button: the tool held the whole time, a swing every tick, vanilla's full time, one instant break per tick and vanilla's pause between blocks.
- VANILLA - Static variable in class dev.myriadclient.api.service.AntiCheat.Profile
-
Only the vanilla server's own limits: instant rotations, any face, breaking as soon as the server accepts it, inventory clicks at any time.
- VBox - Class in dev.myriadclient.api.ui.widget
-
Stacks children vertically, each at full width (less the padding).
- VBox() - Constructor for class dev.myriadclient.api.ui.widget.VBox
-
A column with 2 units between children and no padding.
- VBox(float, float) - Constructor for class dev.myriadclient.api.ui.widget.VBox
- VEHICLES - Enum constant in enum class dev.myriadclient.api.render.EntityGroups.Group
-
Boats and minecarts.
- velocity() - Method in record class dev.myriadclient.api.combat.Trajectory.Launch
-
Returns the value of the
velocityrecord component. - version() - Method in class dev.myriadclient.api.addon.Addon
-
The version as written in
fabric.mod.json("1.4.0"). - version() - Static method in class dev.myriadclient.api.Myriad
-
The version of Myriad core that's running, e.g.
- vertical() - Method in class dev.myriadclient.api.event.events.MouseScrollEvent
-
Vertical scroll, in wheel steps (positive is up, away from you; touchpads give fractions).
- vertical() - Method in interface dev.myriadclient.api.ui.layout.LayoutState.Splitter
-
Whether it's a vertical line (between tiles side by side, dragged left and right).
- VIDEO - Static variable in class dev.myriadclient.api.ui.Icons
- view() - Method in class dev.myriadclient.api.event.events.ContainerEvent
-
The container: its slots, what's in them, and clicks on them.
- view() - Method in interface dev.myriadclient.api.service.Containers.ItemSession
-
The open box: the last time it was opened, for one
put downand opened later; null until then. - view(float, float) - Method in class dev.myriadclient.api.ui.widget.Preview
-
The angle it starts at (and goes back to on a double-click): degrees around, and up from level.
- viewModel() - Method in class dev.myriadclient.api.event.events.PreviewEvent
-
Whether it shows your first-person hands and held items.
- viewModel() - Static method in class dev.myriadclient.api.ui.widget.Preview
-
Your first-person hands as you see them, from the camera.
- ViewModelSubject() - Constructor for record class dev.myriadclient.api.ui.widget.Preview.ViewModelSubject
-
Creates an instance of a
ViewModelSubjectrecord class. - villagers - Variable in class dev.myriadclient.api.combat.TargetSettings
-
Which
Targets.Types count, one switch each; seeTargetSettings.types(). - VILLAGERS - Enum constant in enum class dev.myriadclient.api.combat.Targets.Type
-
Villagers and wandering traders.
- vimKeys - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
h/j/k/l, gg/G and Ctrl+d/u move the keyboard selection inside windows (
WidgetRoot); arrow keys always do. - visible - Variable in class dev.myriadclient.api.setting.Setting.Builder
-
From
Setting.Builder.visible; always visible by default. - visible - Variable in class dev.myriadclient.api.ui.widget.Widget
-
Whether the widget shows, read every frame; see
Widget.visible(Supplier). - visible(BooleanSupplier) - Method in class dev.myriadclient.api.ui.TitleControl
-
Shown only while
visiblesays so (read every frame). - visible(Supplier) - Method in class dev.myriadclient.api.render.RenderSettings.Builder
-
Shows the options only while
visiblesays so (while a toggle is on, say). - visible(Supplier) - Method in class dev.myriadclient.api.setting.Setting.Builder
-
When the settings window shows it, asked as the window draws: e.g.
- visible(Supplier) - Method in class dev.myriadclient.api.ui.widget.Widget
-
Shows the widget only while
visiblesays so (read every frame). - Visible(Entity) - Constructor for class dev.myriadclient.api.event.events.EntityRenderEvent.Visible
-
Core's; only Myriad makes these.
- visibleFaces() - Method in class dev.myriadclient.api.service.Placement.Options
-
Only click faces that point towards you with nothing in the way; strict anti-cheats reject the rest.
- visibleFacesOnly() - Method in class dev.myriadclient.api.service.AntiCheat.Profile
-
A placement has to click a face you can see.
- visibleInList - Variable in class dev.myriadclient.api.module.Module
-
Whether the module list HUD shows the module while it's on.
- visit(BlockPos.MutableBlockPos, BlockState) - Method in interface dev.myriadclient.api.world.BlockScan.Visitor
-
One match: its position (reused, see above) and state.
- VOLUME - Static variable in class dev.myriadclient.api.ui.Icons
W
- w() - Method in record class dev.myriadclient.api.ui.Rect
-
Returns the value of the
wrecord component. - waitForServer() - Method in class dev.myriadclient.api.service.Breaking.Options
-
Packet modes: leave the block in place on your screen until the server says it's gone, instead of showing it broken as the packet goes out.
- WAITING - Enum constant in enum class dev.myriadclient.api.build.Build.Status
-
An action there is waiting for its turn or for the server, or material is being moved to the hotbar.
- WAITING - Enum constant in enum class dev.myriadclient.api.elytra.ChestSwap.Need
-
It's being brought into the hotbar, or what's worn can't be trusted yet (a swap is on its way): ask again.
- walkNear(BlockPos, int) - Static method in class dev.myriadclient.api.job.Steps
- walkTo(BlockPos) - Static method in class dev.myriadclient.api.job.Steps
-
Walks to
pos(your feet in that block) with Baritone, mining and placing as its settings allow. - wanted() - Method in class dev.myriadclient.api.service.Placement.Click
-
The state it was solved for.
- wantsAir() - Method in class dev.myriadclient.api.build.Target.Air
- wantsAir() - Method in class dev.myriadclient.api.build.Target.Exact
- wantsAir() - Method in interface dev.myriadclient.api.build.Target
-
Whether this target wants the position empty.
- warn() - Method in class dev.myriadclient.api.ui.widget.Note
-
A warning: tinted with the theme's yellow.
- warn(String) - Method in interface dev.myriadclient.api.elytra.NoDurability.Owner
-
Hears a problem the player should fix (no chestplate to swap with, no room in the hotbar).
- warn(String) - Method in class dev.myriadclient.api.module.Module
-
Shows a warning notification titled with the module's name.
- warn(String, String) - Method in interface dev.myriadclient.api.service.Notifications
-
Shows a warning for 4 seconds.
- WARNING - Enum constant in enum class dev.myriadclient.api.service.Notifications.Level
-
Something to look at, though nothing failed; yellow.
- WARNING - Static variable in class dev.myriadclient.api.ui.Icons
- wasHurt() - Method in class dev.myriadclient.api.event.events.HealthEvent
-
Whether you lost health this time.
- wasPressed(KeyEvent) - Method in class dev.myriadclient.api.setting.KeybindSetting
-
Whether
eis a press of this bind in game (not while typing in a screen). - wasPressed(MouseButtonEvent) - Method in class dev.myriadclient.api.setting.KeybindSetting
-
Whether
eis a press of this bind in game, for binds on a mouse button. - waterDrag() - Method in record class dev.myriadclient.api.combat.Trajectory.Ballistics
-
Returns the value of the
waterDragrecord component. - waypoint(String) - Method in interface dev.myriadclient.api.map.Maps
-
The first waypoint called
name(case ignored), this dimension's before another's; empty if none is. - Waypoint - Record Class in dev.myriadclient.api.map
-
A waypoint from a map mod: its name, where it is in its own dimension, and that dimension's coordinate scale (8 in the Nether, 1 in the Overworld and the End), so it can be found from another dimension.
- Waypoint(String, int, int, int, ResourceKey, double, String, String) - Constructor for record class dev.myriadclient.api.map.Waypoint
-
Creates an instance of a
Waypointrecord class. - waypoints() - Method in interface dev.myriadclient.api.map.Maps
-
Every waypoint of the world you're in, in every dimension, as the map has them: this dimension's first.
- when(Match) - Method in interface dev.myriadclient.api.hook.HookBuilder
-
When it applies (default:
Match.always()). - when(Match) - Method in interface dev.myriadclient.api.hook.ReplacementBuilder
-
When and for whom it applies (default:
Match.always(), everyone everywhere). - when(BooleanSupplier, Step) - Static method in class dev.myriadclient.api.job.Step
-
stepifconditionholds when reached, else nothing. - whenStuck(int, Function) - Method in class dev.myriadclient.api.job.Step
-
Step.whenStuck(Why.Code, int, Function)for any reason. - whenStuck(Why.Code, int, Function) - Method in class dev.myriadclient.api.job.Step
-
If stuck on
codeforticks(0: at once), runsremedyin its place and then carries on with this step: "no cobblestone → fetch some from the chest, then carry on building". - where() - Method in interface dev.myriadclient.api.service.Containers.ItemSession
-
The block it stands at.
- whileEnabled(Runnable, Runnable) - Method in class dev.myriadclient.api.module.Module
-
Runs
starteach time the module turns on (right away if it already is), beforeModule.onEnable(), andstopeach time it turns off, afterModule.onDisable(). - WHISPER_IN - Enum constant in enum class dev.myriadclient.api.util.ChatMessages.Kind
-
Whispered to you by
ChatMessages.Parsed.player(). - WHISPER_OUT - Enum constant in enum class dev.myriadclient.api.util.ChatMessages.Kind
-
You whispered to
ChatMessages.Parsed.player(). - why() - Method in interface dev.myriadclient.api.elytra.Flight
-
Why it's
Flight.State.STUCK,Flight.State.LANDINGorFlight.State.DOWN; null otherwise, or when it was asked to land. - why() - Method in exception class dev.myriadclient.api.job.Job.JobException
-
The reason the job failed or was cancelled.
- why() - Method in interface dev.myriadclient.api.job.Job
-
The nearest reason when stuck, failed or cancelled (its own, or the child's it's waiting on); null otherwise.
- why() - Method in class dev.myriadclient.api.job.Progress
-
The reason when stuck or failed; null when running or done.
- Why - Class in dev.myriadclient.api.job
-
Why a step is stuck or failed: a
Why.Codeeveryone can match on, a detail for people, and the thing it's about when there is one (a position, an item). - Why.Code - Record Class in dev.myriadclient.api.job
-
A reason everyone can name.
- Widget - Class in dev.myriadclient.api.ui.widget
-
Base of the widget toolkit.
- Widget() - Constructor for class dev.myriadclient.api.ui.widget.Widget
- WidgetPanel - Class in dev.myriadclient.api.ui
-
A panel whose content is a scrolling column of widgets.
- WidgetPanel() - Constructor for class dev.myriadclient.api.ui.WidgetPanel
-
A panel with 6 UI units of padding around its content.
- WidgetPanel(float) - Constructor for class dev.myriadclient.api.ui.WidgetPanel
-
A panel with
paddingUI units around its content (the scroll bar sits in the right-hand padding). - widgetRoot() - Method in class dev.myriadclient.api.ui.WidgetPanel
-
The root hosting the widgets, building them first if they haven't been.
- WidgetRoot - Class in dev.myriadclient.api.ui.widget
-
Hosts a widget tree inside a panel: routes input, tracks keyboard focus, the pressed widget (which receives drags and the release), the tooltip of the hovered widget, and the keyboard selection.
- WidgetRoot(Widget) - Constructor for class dev.myriadclient.api.ui.widget.WidgetRoot
-
Hosts
content, the top of the tree; the tree's widgets join this root, so they can take focus and offer tooltips. - width - Variable in class dev.myriadclient.api.ui.widget.Widget
-
Where the parent put this widget and how big it is, in panel-local UI units.
- width() - Method in record class dev.myriadclient.api.render.WorldLabel.Placed
-
Returns the value of the
widthrecord component. - width() - Method in class dev.myriadclient.api.ui.TitleControl
-
Core's: its width in the title bar, in UI units.
- width() - Method in class dev.myriadclient.api.ui.widget.Widget
-
Its width, from the last layout.
- width(Canvas, float) - Method in class dev.myriadclient.api.ui.BarWidget
-
Width this widget needs, in UI units, at the given bar height (Theme → Bar → Height, in UI units).
- widthScale(double) - Method in class dev.myriadclient.api.render.HighlightStyle
-
The outline and glow width multiplier for something
distanceblocks from the camera. - WIFI - Static variable in class dev.myriadclient.api.ui.Icons
- WIND_CHARGE - Static variable in record class dev.myriadclient.api.combat.Trajectory.Ballistics
-
Wind charges: straight ahead, no gravity or drag.
- window() - Method in class dev.myriadclient.api.ui.Panel
-
The window showing this panel.
- Window - Interface in dev.myriadclient.api.ui
-
A window managed by the UI: one
Panelon a workspace, tiled by the workspace's layout or floating above it, or a HUD element on the HUD workspace. - WINDOW - Static variable in class dev.myriadclient.api.ui.Icons
- windowBackground - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
The fill behind every window's content (over the frosted glass when
ThemeSettings.bluris on). - windowMs(PacketLimits.Kind) - Method in interface dev.myriadclient.api.service.PacketLimits
-
The length of the window
kind's budget counts over, in milliseconds. - WindowResizeEvent - Record Class in dev.myriadclient.api.event.events
-
The game window was resized, or the GUI scale changed: posted on the render thread once Minecraft has worked out the new scaled size, so layouts made for the old size can be redone.
- WindowResizeEvent(int, int) - Constructor for record class dev.myriadclient.api.event.events.WindowResizeEvent
-
Creates an instance of a
WindowResizeEventrecord class. - windows() - Method in interface dev.myriadclient.api.ui.layout.LayoutState
-
The windows it holds, in its own order (the last is where a window put back into the tiling goes beside).
- windows() - Method in interface dev.myriadclient.api.ui.Ui
-
Every open window, HUD elements included, as a copy taken now.
- windowSpeed - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
How long windows take to open, close and move, in tenths of a second, like Hyprland.
- wireframe(SubmitNodeCollector, PoseStack, Model, S, int, float, boolean) - Static method in class dev.myriadclient.api.render.ModelShapes
-
The edges of every box in the model (ARGB),
widthpixels wide. - with(Function) - Method in interface dev.myriadclient.api.hook.ReplacementBuilder
-
Registers it:
factorygets core's implementation and returns yours (usually a subclass of the service'sForwardingclass), made the first time it applies (the server and profile match) and kept after. - withAirPlace(boolean) - Method in class dev.myriadclient.api.service.Placement.Options
-
These options with
Placement.Options.airPlace()set. - withAlpha(int, int) - Static method in class dev.myriadclient.api.util.ColorUtil
-
cwith its alpha replaced byalpha, clamped to 0..255. - withAutoTool(boolean) - Method in class dev.myriadclient.api.service.Breaking.Options
-
These options with
Breaking.Options.autoTool()set. - withAvoidFluids(boolean) - Method in class dev.myriadclient.api.service.Building.Options
-
These options with
Building.Options.avoidFluids()set. - withBreaking(Breaking.Options) - Method in class dev.myriadclient.api.service.Building.Options
-
These options with
Building.Options.breaking()set. - withBreakTiming(AntiCheat.BreakTiming) - Method in class dev.myriadclient.api.service.AntiCheat.Profile
-
These answers, same id and name, with
AntiCheat.Profile.breakTiming()set. - withBreakWrong(boolean) - Method in class dev.myriadclient.api.service.Building.Options
-
These options with
Building.Options.breakWrong()set. - withChecksLookOnActions(boolean) - Method in class dev.myriadclient.api.service.AntiCheat.Profile
-
These answers, same id and name, with
AntiCheat.Profile.checksLookOnActions()set. - withChecksPacketOrder(boolean) - Method in class dev.myriadclient.api.service.AntiCheat.Profile
-
These answers, same id and name, with
AntiCheat.Profile.checksPacketOrder()set. - withChecksSwings(boolean) - Method in class dev.myriadclient.api.service.AntiCheat.Profile
-
These answers, same id and name, with
AntiCheat.Profile.checksSwings()set. - withClickSettings(boolean) - Method in class dev.myriadclient.api.service.Building.Options
-
Click blocks into their setting by hand after placing them, where the target says (a repeater's delay, a comparator's mode, a note, open or closed, a lever:
Target.exact(BlockState)). - withClicksOnlyWhileStill(boolean) - Method in class dev.myriadclient.api.service.AntiCheat.Profile
-
These answers, same id and name, with
AntiCheat.Profile.clicksOnlyWhileStill()set. - withColor(int) - Method in record class dev.myriadclient.api.setting.SettingColor
-
This colour with
argbas its stored colour (for a role or rainbow, its alpha); same mode. - withCount(int) - Method in class dev.myriadclient.api.service.Containers.Transfer
-
The same, moving at most
countitems (negative counts as 0). - withDistanceScaling(boolean) - Method in class dev.myriadclient.api.render.HighlightStyle
-
This style with outlines and glows thinning with distance or not; see
HighlightStyle.distanceScaling(). - withDots(float, float) - Method in class dev.myriadclient.api.render.HighlightStyle
-
HighlightStyle.Fill.DOTS: dot spacing and diameter in scaled pixels (the size is capped at the spacing). - withDoubleBreak(boolean) - Method in class dev.myriadclient.api.service.Breaking.Options
-
These options with
Breaking.Options.doubleBreak()set. - withFill(HighlightStyle.Fill) - Method in class dev.myriadclient.api.render.HighlightStyle
-
This style with
fillinside the silhouette. - withFillOpacity(float) - Method in class dev.myriadclient.api.render.HighlightStyle
-
This style with the fill at
fillOpacity(clamped to 0..1), times the colour's alpha. - withGlow(float) - Method in class dev.myriadclient.api.render.HighlightStyle
-
This style with a glow reaching
glowscaled pixels past the outline (clamped to 0..32; 0 for none). - withGlowStrength(float) - Method in class dev.myriadclient.api.render.HighlightStyle
-
This style with the glow starting at
glowStrengthopacity (clamped to 0..1). - withGradient(int) - Method in class dev.myriadclient.api.render.HighlightStyle
-
Fades the colour to
bottomColor(ARGB) towards the bottom; seeHighlightStyle.hasGradient(). - withInteractionBudget(int) - Method in class dev.myriadclient.api.service.AntiCheat.Profile
-
These answers, same id and name, with
AntiCheat.Profile.interactionBudget()(at least 1) set. - withKeepUp(boolean) - Method in class dev.myriadclient.api.service.Building.Options
-
These options with
Building.Options.keepUp()set. - withMode(Breaking.Mode) - Method in class dev.myriadclient.api.service.Breaking.Options
-
These options with
Breaking.Options.mode()set. - withMode(SettingColor.Mode) - Method in record class dev.myriadclient.api.setting.SettingColor
-
This colour in
mode, keeping the stored colour. - withMoveFix(boolean) - Method in class dev.myriadclient.api.service.Rotations.Options
-
These options with
Rotations.Options.moveFix()set. - withOrder(Building.Order) - Method in class dev.myriadclient.api.service.Building.Options
-
Which placements in reach go first (
Building.Order.BOTTOM_UPby default). - withoutGradient() - Method in class dev.myriadclient.api.render.HighlightStyle
-
This style in the highlight's colour alone, with no gradient.
- withoutHotbar() - Method in class dev.myriadclient.api.service.Containers.Transfer
-
Leaves your hotbar out: what's taken only goes into the main inventory (put down by hand, two clicks a stack instead of a shift click's one), and what's put only comes from the main inventory.
- withOutlineWidth(float) - Method in class dev.myriadclient.api.render.HighlightStyle
-
This style with an outline
outlineWidthscaled pixels wide (clamped to 0..16; 0 for none). - withPlacesPerTick(int) - Method in class dev.myriadclient.api.service.Building.Options
-
These options with
Building.Options.placesPerTick()(at least 1) set. - withPlacing(Placement.Options) - Method in class dev.myriadclient.api.service.Building.Options
-
These options with
Building.Options.placing()set. - withPriority(int) - Method in class dev.myriadclient.api.service.Building.Options
-
These options with
Building.Options.priority()set. - withRange(double) - Method in class dev.myriadclient.api.service.Breaking.Options
-
These options with
Breaking.Options.range()set, in blocks. - withRange(double) - Method in class dev.myriadclient.api.service.Placement.Options
-
These options with
Placement.Options.range()set, in blocks. - withRotate(boolean) - Method in class dev.myriadclient.api.service.Breaking.Options
-
These options with
Breaking.Options.rotate()set. - withRotate(boolean) - Method in class dev.myriadclient.api.service.Placement.Options
-
These options with
Placement.Options.rotate()set. - withSimulatesGlide(boolean) - Method in class dev.myriadclient.api.service.AntiCheat.Profile
-
These answers, same id and name, with
AntiCheat.Profile.simulatesGlide()set. - withSimulatesMovement(boolean) - Method in class dev.myriadclient.api.service.AntiCheat.Profile
-
These answers, same id and name, with
AntiCheat.Profile.simulatesMovement()set. - withSneak(boolean) - Method in class dev.myriadclient.api.service.Placement.Options
-
These options with
Placement.Options.sneak()set. - withSwing(boolean) - Method in class dev.myriadclient.api.service.Breaking.Options
-
These options with
Breaking.Options.swing()set. - withSwing(boolean) - Method in class dev.myriadclient.api.service.Placement.Options
-
These options with
Placement.Options.swing()set. - withTag(Tag) - Method in interface dev.myriadclient.api.module.ModuleRegistry
-
Every module with
tag(as its main tag or another), in registration order; a copy. - withThroughWalls(boolean) - Method in class dev.myriadclient.api.render.HighlightStyle
-
This style drawn through walls or only where visible; see
HighlightStyle.throughWalls(). - withTurnSpeed(float) - Method in class dev.myriadclient.api.service.Rotations.Options
-
These options with
Rotations.Options.turnSpeed()set, in degrees per tick (negative counts as 0). - withVisibleFaces(boolean) - Method in class dev.myriadclient.api.service.Placement.Options
-
These options with
Placement.Options.visibleFaces()set. - withVisibleFacesOnly(boolean) - Method in class dev.myriadclient.api.service.AntiCheat.Profile
-
These answers, same id and name, with
AntiCheat.Profile.visibleFacesOnly()set. - withWaitForServer(boolean) - Method in class dev.myriadclient.api.service.Breaking.Options
-
These options with
Breaking.Options.waitForServer()set. - workspace() - Method in interface dev.myriadclient.api.ui.Window
-
1-9 for normal workspaces,
Ui.HUD_WORKSPACEfor the HUD. - workspaceAnimation - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
How switching workspaces looks.
- WORKSPACES - Static variable in interface dev.myriadclient.api.ui.Ui
-
How many normal workspaces there are, numbered 1 to
WORKSPACES. - workspaceSpeed - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
How long switching workspaces takes, in tenths of a second.
- WORLD - Static variable in class dev.myriadclient.api.module.Tags
-
The blocks around you: placing, breaking, scaffolding, finding things.
- WorldEvent - Class in dev.myriadclient.api.event.events
-
The client joining and leaving a world.
- WorldEvent() - Constructor for class dev.myriadclient.api.event.events.WorldEvent
- WorldEvent.Join - Class in dev.myriadclient.api.event.events
-
The client joined a server or a singleplayer world: the player and level exist.
- WorldEvent.Leave - Class in dev.myriadclient.api.event.events
-
The client left its world (disconnected, kicked, or quit to the title screen); every job is cancelled.
- WorldLabel - Class in dev.myriadclient.api.render
-
Labels pinned to points in the world (nametags, logout spots, item names), drawn on the 2D overlay.
- WorldLabel.Background - Enum Class in dev.myriadclient.api.render
-
What's drawn behind a label's text.
- WorldLabel.Placed - Record Class in dev.myriadclient.api.render
-
Where a label ended up on screen, so callers can stack things above it: its top-left corner and size in scaled GUI pixels, and the scale it was drawn at.
- WorldLabel.Segment - Record Class in dev.myriadclient.api.render
-
A piece of a label: text in a colour, or an item icon (
WorldLabel.Segment.item). - WorldMesh - Class in dev.myriadclient.api.render
-
Shapes kept on the GPU and drawn every frame until you rebuild or clear them.
- worst() - Static method in class dev.myriadclient.api.combat.Threats
-
The worst of every danger around you, with the usual ranges (crystals 12, beds and anchors 8, creepers 8, players 5).
- wrap(Canvas, FontFamily, float, String, float) - Static method in class dev.myriadclient.api.ui.widget.Label
-
textin lines at mostwidthwide, broken at spaces; a word wider than a line is broken inside it. - WRENCH - Static variable in class dev.myriadclient.api.ui.Icons
- writeJson(String, JsonElement) - Method in interface dev.myriadclient.api.addon.AddonStorage
-
Writes
jsontoname, replacing it: through a temporary file moved into place, so a crash halfway never leaves half a file. - writeJson(String, JsonElement, int) - Method in interface dev.myriadclient.api.addon.AddonStorage
-
Writes
jsontonamemarked asversionof your data's layout, forAddonStorage.readJson(String, int, Upgrade)to bring it up to date after you change the layout. - WRONG_ANGLE - Enum constant in enum class dev.myriadclient.api.build.Build.Status
-
No click from here places it facing the right way; move and it may become possible.
- WRONG_ANGLE - Enum constant in enum class dev.myriadclient.api.service.Placement.Check
-
There are faces to click, but no click from where you stand makes the block come out the way it's wanted (
Placement.solve(BlockPos, BlockState, int, Placement.Options)): facing, half, axis, hinge. - WRONG_ANGLE - Static variable in class dev.myriadclient.api.job.Why
-
No click from here makes it face the right way; move.
X
- x - Variable in class dev.myriadclient.api.event.events.CameraEvent.Position
-
Where the camera is, in world coordinates; overwrite to move it.
- x - Variable in class dev.myriadclient.api.event.events.MovementPacketsEvent
-
The position to send, in world coordinates (the player's feet).
- x - Variable in class dev.myriadclient.api.ui.widget.Widget
-
Where the parent put this widget and how big it is, in panel-local UI units.
- x() - Method in record class dev.myriadclient.api.integration.Baritone.GoalSpot
-
Returns the value of the
xrecord component. - x() - Method in record class dev.myriadclient.api.map.Waypoint
-
Returns the value of the
xrecord component. - x() - Method in record class dev.myriadclient.api.render.WorldLabel.Placed
-
Returns the value of the
xrecord component. - x() - Method in record class dev.myriadclient.api.ui.Rect
-
Returns the value of the
xrecord component. - x() - Method in class dev.myriadclient.api.ui.widget.Widget
-
Its left edge, from the last layout.
- x1() - Method in record class dev.myriadclient.api.ui.draw.Bezier
-
Returns the value of the
x1record component. - x2() - Method in record class dev.myriadclient.api.ui.draw.Bezier
-
Returns the value of the
x2record component.
Y
- y - Variable in class dev.myriadclient.api.event.events.CameraEvent.Position
-
Where the camera is, in world coordinates; overwrite to move it.
- y - Variable in class dev.myriadclient.api.event.events.MovementPacketsEvent
-
The position to send, in world coordinates (the player's feet).
- y - Variable in class dev.myriadclient.api.ui.widget.Widget
-
Where the parent put this widget and how big it is, in panel-local UI units.
- y() - Method in record class dev.myriadclient.api.integration.Baritone.GoalSpot
-
Returns the value of the
yrecord component. - y() - Method in record class dev.myriadclient.api.map.Waypoint
-
Returns the value of the
yrecord component. - y() - Method in record class dev.myriadclient.api.render.WorldLabel.Placed
-
Returns the value of the
yrecord component. - y() - Method in record class dev.myriadclient.api.ui.Rect
-
Returns the value of the
yrecord component. - y() - Method in class dev.myriadclient.api.ui.widget.Widget
-
Its top edge, from the last layout.
- y1() - Method in record class dev.myriadclient.api.ui.draw.Bezier
-
Returns the value of the
y1record component. - y2() - Method in record class dev.myriadclient.api.ui.draw.Bezier
-
Returns the value of the
y2record component. - yaw - Variable in class dev.myriadclient.api.event.events.CameraEvent.Rotation
-
Which way the camera faces, in degrees (pitch -90 up to 90 down); overwrite to turn it.
- yaw - Variable in class dev.myriadclient.api.event.events.MovementPacketsEvent
-
The rotation to send, in degrees (yaw unwrapped, pitch -90 up to 90 down).
- yaw() - Method in class dev.myriadclient.api.service.Placement.Click
-
The yaw to click with, in degrees; NaN when it clicks with the look you have (
Placement.Click.turns()). - yaw() - Method in record class dev.myriadclient.api.service.Rotations.Turn
-
Returns the value of the
yawrecord component. - yaw() - Method in class dev.myriadclient.api.ui.widget.Preview
-
Degrees the subject is turned about the vertical.
- yawTo(Vec3, Vec3) - Static method in class dev.myriadclient.api.util.MathUtil
-
The yaw in degrees (-180..180) from
fromtowardsto, ignoring height. - yellow - Variable in class dev.myriadclient.api.ui.ThemeSettings
-
Warnings, items, the World category; also a
SettingColorrole. - YELLOW - Enum constant in enum class dev.myriadclient.api.setting.SettingColor.Mode
-
The theme's yellow.
Z
- z - Variable in class dev.myriadclient.api.event.events.CameraEvent.Position
-
Where the camera is, in world coordinates; overwrite to move it.
- z - Variable in class dev.myriadclient.api.event.events.MovementPacketsEvent
-
The position to send, in world coordinates (the player's feet).
- z() - Method in record class dev.myriadclient.api.integration.Baritone.GoalSpot
-
Returns the value of the
zrecord component. - z() - Method in record class dev.myriadclient.api.map.Waypoint
-
Returns the value of the
zrecord component. - ZERO - Static variable in record class dev.myriadclient.api.ui.Rect
-
The empty box at the origin.
- zoom() - Method in class dev.myriadclient.api.ui.widget.Preview
-
How much bigger than fitting the preview it's drawn (1: it just fits).
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form