All Classes and Interfaces
Class
Description
An enumeration specifying when an enchantment source catalyst should be consumed
or processed during the Scribe minigame, dictating whether it can be refunded
if the player aborts the game before completion.
Base class for flying arcane book entities (
EnchantedTomeEntity and EnchantedBookEntity).A custom advancement trigger that fires when a player activates an Enchanting Altar.
Defines the conditions required to trigger this advancement.
A data-driven
PowerBonus implementation that adds a fixed bonus amount
to the enchanting power if a specific block state property on the power-providing block
matches a designated string value.Validates the
Enchantment registry against the 9 Schools of Magic
tags
on server startup, datapack reload, and when an operator joins the server.A data-driven record defining an AI spell field that can be selected and cast by flying arcane book
entities (
AbstractFlyingBookEntity).Configuration record defining the lifecycle and visual parameters for a persistent
SpellFieldAnchorEntity deployed by an AiSpellField.Represents the degree of compatibility between a caster's
MagicSchool and an AiSpellField.Holds the static
ResourceKey reference for the custom data-driven
AiSpellField registry.Hook surface implemented by the common
AnvilMenuMixin.Injections into the vanilla
AnvilMenu#createResult body.Loader-agnostic part of the anvil overhaul.
Utility class responsible for resolving and formatting dynamic arcane item and entity names
based on their dominant
EnchantmentTheme and MagicSchool.A data-driven record defining the parameters for the Binding Curse enchantment effect component.
A
LootItemCondition that evaluates to true if the spell field's caster
(or an active SpellFieldAnchorEntity / nearby AbstractFlyingBookEntity)
is actively hostile towards the target entity (LootContextParams.THIS_ENTITY).AI Goal that handles offensive, defensive, and supportive spellcasting for
AbstractFlyingBookEntity.Defines how an
AiSpellField is delivered to its target when cast by an entity.Holds client-only constants, such as texture atlas materials and layer locations.
Handles the reception and execution of custom network payloads on the logical client.
Defines which categories of enchantments receive custom thematic or level-based coloring
in tooltips and GUI widgets.
The common entry point for Enchanting Overhauled.
A
RuleOutput implementation that always returns a single fixed BlockState.A data-driven
PowerBonus implementation that calculates bonus enchanting power
based on the quantity of specific items found inside a power-providing block entity's inventory.Registry handler for custom advancement criteria triggers.
Defines on which enchantment component types curse enchantments (tagged with
EnchantmentTags.CURSE) should be hidden from item tooltips.Registry key holder for custom
DamageTypes introduced by Enchanting Overhauled.AI Goal that propels
AbstractFlyingBookEntity instances via direct 3D velocity impulses
to evade melee strikes, back off from ranged targets, or close long pursuit gaps.A block representing an inactive or disturbed Enchanting Table.
A custom
LevelBasedValue implementation that evaluates an inner LevelBasedValue
using the active world Difficulty rather than the raw enchantment level.Global context holder providing the active world
Difficulty for DifficultyBasedValue
evaluations where a Level reference is not directly passed by vanilla's
LevelBasedValue.calculate(int) signature.Defines the minimum world
Difficulty required for an AI entity to select and cast an AiSpellField.A data-driven record serving as a wrapper to define the visual and auditory effects
associated with an
EnchantmentTheme.A sealed interface defining the concrete mutation operations that can be performed
by the Enchanting Altar upon the player's inventory.
Action representing a newly generated enchantment randomly supplied by the table itself.
A non-action representing a slot that is visually present but functionally disabled.
Action representing a manual re-roll of the table's deterministic seed.
Action representing the transfer of an enchantment from a source book to the target item.
Action representing an upgrade to an existing enchantment on the target item.
An immutable data record representing the logical back-end state of a single
generated enchantment option within the Enchanting Altar.
A fluent builder that manages the complex generation pipeline of generating available
enchantment options for the Enchanting Altar menu.
A functional interface strategy for abstracting the logic that determines the experience level
and Lapis Lazuli cost for executing a specific enchantment.
Flying Enchanted Book entity that spawns naturally in Stronghold Libraries or is summoned
from bookshelves by
EnchantedTomeEntity.Mixin into
Item to apply dynamic ArcaneItemNamingUtil theme and magic school
naming to vanilla Items.ENCHANTED_BOOK stacks.A custom item representing an Enchanted Page (a fleeting enchantment source).
Commander flying book entity that can roost on deactivated Enchanting Altars, summon
EnchantedBookEntity minions from bookshelves, and barter with players.A custom item representing an Enchanted Tome.
Specifically enchants items tagged as Fleeting Sources (like Enchanted Pages),
strictly restricting them to a single STORED enchantment at its minimum level.
Injects tome storage capabilities into the vanilla EnchantingTableBlockEntity.
Defines how an enchantment is attached to the resulting output item when an
EnchantRecipe
transmutation occurs (e.g., in the Enchanting Altar, Anvil, Tome Bartering, or Random Loot Functions).Enumeration of custom enchantment effect
DataComponentTypes introduced by Enchanting Overhauled.Determines which enchantment component types display a section header
(e.g., "Applied Enchantments:" or "Stored Enchantments:") above their tooltip entries.
Main library for enchantment-related logic in the common module.
A custom network payload responsible for synchronizing the complex, dynamically generated
list of
EnchantContexts from the server to the client's enchanting menu.The main Graphical User Interface (GUI) screen for the custom Enchanting Altar.
Defines the origin or source of an enchantment displayed in the custom Enchanting Altar GUI.
A data-driven record defining a complete "theme" for a set of related enchantments.
Manages the static
ResourceKey references and lookup utilities for the custom,
data-driven EnchantmentTheme registry.Enchants Persistent Sources (like Enchanted Tomes), using custom library logic to
heavily stack multiple overleveled STORED enchantments onto the item.
Defines how the available enchanting power at an Enchanting Altar is halved
across multiple generated enchantment slots.
A "Super" dispatcher loot function that evaluates recipes and delegates item enchantments
to specific strategy functions based on the item's tags and attachment type.
A data-driven record defining an enchanting transmutation recipe.
Manages the static
ResourceKey reference for the custom data-driven
EnchantRecipe registry.An immutable data record representing the evaluated visual front-end state
of an enchantment slot widget.
A factory utility that translates pure functional backend
EnchantContext records
into purely visual frontend EnchantRenderState records for the UI to consume.An enumeration defining the exact indices and screen coordinates of the interactable
item slots utilized within the custom Enchanting Altar menu.
Enchants untagged standard catalysts (like Enchanted Books).
Defines the structural classification and interactivity status of an enchantment widget
in the UI list.
A sealed interface representing a command to render an enchantment tooltip.
Tooltip Command: Renders a newly rolled enchantment generated by the enchanting table.
Tooltip Command: Empty implementation used as a null object pattern when an invalid
or empty widget is hovered.
Tooltip Command: Renders standard information for an enchantment that has reached its maximum level.
Tooltip Command: Renders an error-state tooltip when the user attempts an upgrade,
but the configured
UpgradeSourceType rules demand a valid source catalyst that
is currently absent from the UI.Tooltip Command: Renders information for transferring an enchantment from a source book.
Tooltip Command: Renders information for a pending upgrade on the target item, incrementing the displayed level
to reflect the projected outcome.
A data record encapsulating all state dependencies required to build and render
an
EnchantTooltip command successfully.A factory utility class for evaluating visual render states and instantiating
the corresponding
EnchantTooltip command implementation.The abstract base class representing a single row item (widget) in the Enchanting Altar's UI list.
Represents a standard, interactable enchantment option within the Enchantment Screen.
A non-interactable filler widget used to pad the Enchantment Screen's list view
when there are fewer active enchantment contexts available than the current page size.
Represents a widget where the underlying enchantment action cannot be performed
due to missing context criteria (e.g., attempting to upgrade an item but providing
a source catalyst with an insufficient level or wrong type).
Represents a non-interactable enchantment slot where the target item's enchantment
has reached its natural maximum level.
Represents a non-interactable enchantment slot where the target item's enchantment
exceeds its natural maximum level (e.g., pushed beyond the limit via an Enchanted Tome).
A simple factory utility that translates an evaluated
EnchantRenderState
into the corresponding concrete EnchantWidget subclass implementation.Handles Fabric-side registration of custom
SpellFieldEffect codecs for Enchanting Overhauled.AI Goal that directs idle
AbstractFlyingBookEntity instances to roost on nearby
Enchanting Altars, empty Lecterns, or Bookshelves, or perform periodic daytime/minion scouting.Determines where custom thematic coloring and level formatting rules should be applied
within a container GUI (such as the Enchanting Altar screen or Scribe screen).
A sealed interface representing a mathematical easing/scaling curve applied to a normalized
position fraction
t in [0.0, 1.0] within a GradientOutput.A normalized exponential curve (
f(t) = (base^t - 1) / (base - 1)).A linear 1:1 gradient curve (
f(t) = clamp(t, 0, 1)).A logarithmic curve (
f(t) = ln(1 + baseMultiplier * t) / ln(1 + baseMultiplier))
that rises rapidly near 0.0 and flattens toward 1.0.A power/polynomial curve (
f(t) = t^exponent).A logistic S-curve (
f(t) = 1 / (1 + e^(-steepness * (t - midpoint)))) for sharp or smooth transitions.A
RuleOutput implementation that selects a BlockState from an ordered palette
of GradientOutput.states based on the block's projected distance along a SpatialVector axis,
shaped by a GradientCurve and perturbed by random GradientOutput.noise.Targets the anonymous inner class 'ResultSlot' implemented within GrindstoneMenu
to intercept and fix the XP calculation for custom arbitrary items.
Central handler for Creative Mode Tabs (Item Groups) in the common module.
Mixin to synchronize the Lectern's stored book to the client.
Mixin to dynamically swap the rendered book model and texture on Lecterns
based on the item currently stored within it.
Duck interface implemented on
LecternRenderState
via mixin to carry custom book model/material/foil metadata from extractRenderState to submit.Enumeration of custom
LevelBasedValue codecs registered by Enchanting Overhauled
into BuiltInRegistries.ENCHANTMENT_LEVEL_BASED_VALUE_TYPE.Shared utility operations for the custom enchanting loot functions.
A data-driven record defining a loot table injection rule.
Holds the static
ResourceKey reference for the custom data-driven
LootInjection registry.Central registry for custom
LootItemConditionTypes introduced by Enchanting Overhauled.Central registry for the custom
LootItemFunctionTypes introduced by Enchanting Overhauled.Accessor interface for the
LootTable class.Adapted datagen definition for Minecraft 1.21.11's
minecraft:lunge spear enchantment.A data-driven record representing a School of Magic in Enchanting Overhauled.
Registry key holder and utility class for querying
MagicSchool definitions,
school enchantment tags, and school cycle relationships.A configuration record encapsulating all static positioning, dimensions, and offset logic
for the components inside the Enchantment UI Screen.
AI Goal that directs summoned
EnchantedBookEntity minions to return to a nearby
bookshelf and despawn once combat has de-escalated.A generic illusory decoy entity that mirrors its caster's model, animations, and motion.
Generic renderer for
MirageEntity that delegates rendering to the caster's
EntityRenderer, preserving the caster's exact model, textures, layers, and animations.A data-driven
PowerBonus implementation that multiplies the base enchanting power
by the integer value of a specified block state property.Defines the contract for cross-platform network communication and payload dispatching.
Defines the strictness level at which enchantment sources and table offerings
are obfuscated using the Standard Galactic Alphabet (
minecraft:alt font)
in tooltips and GUI widgets.A
StructureProcessor that adds foliage (Blocks.JUNGLE_LEAVES) to generated structures.A data-driven rule evaluated by
RuleProcessor.Custom
EnchantmentTooltipFormatter implementation for Enchanting Overhauled.Handles the rendering and interaction for the pagination controls (Next/Previous page buttons)
located in the Enchantment Screen.
A data-driven record defining the specific parameters for spawning a particle effect
associated with an
EnchantmentTheme.A data record that pairs a potential
EnchantmentInstance with the
EnchantmentSource origin from which it was derived.Defines the contract for retrieving platform-specific runtime environment data.
Mixin to
PlayerList to alert operators upon login if any enchantments resolve to
ABERRATION (unassigned) or are assigned to multiple Schools of Magic.Mixin to
Player to adjust core mechanics related to experience and tool efficiency.A sealed interface representing a conditional bonus applied to the base enchanting power
provided by a single block in an
EnchantmentTheme.An enumeration representing the different types of conditional power bonuses available
in the enchantment theme system.
A data-driven record that defines a rule for how a specific block or group of blocks
contributes enchanting power toward an
EnchantmentTheme
(e.g., a Bookshelf contributing 1 power to the Common theme).A composite
StructureProcessor that sequentially delegates block processing across
a list of referenced StructureProcessorList holders.Handles the rendering, tooltip generation, and interaction logic for the "Reroll" button
within the Enchantment Screen.
A contract interface defining the block state outcome of an
OverhauledRule.An enhanced rule-based
StructureProcessor that evaluates a list of OverhauledRules.A simple data record used to temporarily store a player's item stack along with its
original inventory slot index during events such as player death or dimension travel.
Accessor interface implemented via Mixin on the
Player entity class.A sealed interface defining the concrete mutation operations that can be performed
by the Scribe Minigame upon the player's inventory and the world.
Action representing the player acknowledging they lost the game.
Action representing a loss.
Action representing the start of a Scribe minigame.
Action representing the player extracting the target book from the lectern directly through the UI.
Action representing a victory.
Handles the interaction, validation, and rendering of the primary UI button
responsible for starting or aborting the Scribe Minigame process.
A data record defining the visual and interactive properties for the
ScribeActionWidget.Enumerates the high-level states of the Scribe Minigame.
A strongly-typed wrapper around Minecraft's raw
ContainerData integer array.Renders the dynamic Minesweeper grid and handles mouse interaction mapping.
Encapsulates the generation, caching, and rendering of the justified hazard
standard galactic alphabet text shown during active gameplay.
A utility record that encodes and decodes the Scribe Minigame interactions
into a single integer payload for native Container synchronization.
The server-side Container Menu bridging the inventory and Scribe logic.
Handles the rendering, scrolling, and interaction of a single enchantment list page.
Encapsulates the pure domain logic, mathematics, and rule validations for the Scribe Mini-game.
The Client UI representing the Scribing Minigame.
A specification defining the sound effects mapped to interactions within the Scribe minigame.
Interface for the Scribe Minesweeper minigame strategy.
Encapsulates the pure algorithmic logic of the Classic Minesweeper mini-game.
Encapsulates the algorithmic logic of the "Superposition" Minesweeper mini-game variant.
Handles the generation and static positioning of the Scribe Minigame tooltips.
An enumeration specifying which algorithmic variant of the Scribe Minesweeper minigame is active.
A factory utility that translates an evaluated
ScribeGameState
into the corresponding concrete ScribeActionWidget subclass implementation.A data-driven record defining the parameters for the Silk Touch enchantment effect component.
Common particle type definitions for Enchanting Overhauled.
A data-driven record defining the audio properties for a sound event associated with an
EnchantmentTheme.A sealed interface following the Command pattern for executing UI sound effects.
Implementation for generic Holder wrapped SoundEvent instances.
Implementation for Holder.Reference wrapped SoundEvent instances.
Implementation for direct, unboxed SoundEvent instances.
Factory utility to automatically wrap vanilla's mixed SoundEvent types into
unified SoundEffectData command objects.
Represents a directional axis that combines both global (world-absolute) coordinates
and structure-relative (template-local) coordinates for use in
GradientOutput.Central registrar for
enchanting_overhauled custom SpellFieldEffect codecs.Defines the tactical combat role of an
AiSpellField, its default SpellTarget,
and its default CastType.Defines the intended target entity category for an
AiSpellField.Enumeration of custom
StructureProcessorTypes introduced by Enchanting Overhauled.A spell field effect that summons a synchronized orbital formation of illusory
MirageEntity decoys
around the target or caster entity.Central holder for custom
TagKey definitions used by Enchanting Overhauled
across items, blocks, entity types, and biomes.AI Goal that allows idle
AbstractFlyingBookEntity instances (specifically Tomes)
to telekinetically pull nearby fuel/catalyst items and barter with players.Defines the condition under which an Enchanted Book on a Lectern converts into an
Enchanted Tome when a new enchantment is appended to it via the Scribe minigame.
Defines the enchantment level condition under which an Enchanted Book on a Lectern
converts into an Enchanted Tome when upgrading an existing enchantment via the Scribe minigame.
Accessor interface for
EnchantingTableBlockEntity.AI Goal that directs
EnchantedTomeEntity instances to approach nearby bookshelves
and summon EnchantedBookEntity minions.A centralized utility class for formatting GUI and Tooltip text components
according to the mod's configuration standards.
A custom
Structure implementation extending the behavior of vanilla's JigsawStructure
by performing a post-placement neighbor shape update pass across all placed structure pieces.An enumeration specifying the resolution protocol invoked when the Enchanting Altar
detects a conflict where a supplied source catalyst possesses a strictly greater
enchantment level than the item target.
An enumeration specifying the minimum relational level constraint that a source
catalyst must satisfy to be deemed valid for executing an enchantment upgrade.
A data-driven record defining the parameters for the Vanishing Curse enchantment effect component.
A
StructureProcessor that attaches vines (Blocks.VINE) to the sides of solid blocks.A
RuleOutput implementation that randomly selects a BlockState from a weighted
list of candidates (WeightedList).A utility record and helper for performing weighted random sorting (skewed shuffling)
over a collection of elements.
A configuration record encapsulating all static positioning and dimensional constants
for the structural rendering of an
EnchantWidget.