Apotheosis

Apotheosis

90M Downloads

Enchanting Table Fails to Open in Minecraft 1.20.1 with Apotheosis 7.4.8

k1nosabiroff opened this issue ยท 2 comments

commented

I am experiencing an issue where the enchanting table fails to open in Minecraft 1.20.1 when using Apotheosis version 7.4.8. When I right-click the enchanting table, the book animation twitches (indicating a block update), but the enchanting GUI does not appear. This issue persists even after disabling all enchantment-related features in the Quark mod, which was initially suspected to be the cause of a conflict.
Environment
Minecraft Version: 1.20.1
Forge Version: 47.4.0
Apotheosis Version: 7.4.8
Placebo Version: 8.6.3
Other Dependencies: Patchouli (1.20.1-84.1-FORGE), Apothic Attributes (1.20.1-1.3.7)
Full Mod List: See below
Steps to Reproduce
Install Minecraft 1.20.1 with Forge 47.4.0.
Install Apotheosis 7.4.8 along with the full mod list provided below.
Place an enchanting table in the game world.
Right-click the enchanting table to open it.
Observe that the book twitches, but the enchanting GUI does not open.
Expected Behavior
The enchanting table GUI should open, allowing the player to enchant items using the Apotheosis-modified enchanting system.
Actual Behavior
The enchanting table does not open, and the book on the table twitches repeatedly. The server log reports a NullPointerException related to ApothEnchantmentMenu.
Logs
Here is the relevant error from the server log:

[24Jul2025 11:45:07.073] [Server thread/ERROR] [net.minecraft.network.protocol.PacketUtils/]: Failed to handle packet net.minecraft.network.protocol.game.ServerboundUseItemOnPacket@2a2a50c8, suppressing error
java.lang.NullPointerException: Cannot read field "f_8906_" because the return value of "java.util.function.Supplier.get()" is null
at net.minecraftforge.network.PacketDistributor.lambda$playerConsumer$1(PacketDistributor.java:203) ~[forge-1.20.1-47.4.0-universal.jar%23620!/:?]
at net.minecraftforge.network.PacketDistributor$PacketTarget.send(PacketDistributor.java:165) ~[forge-1.20.1-47.4.0-universal.jar%23620!/:?]
at net.minecraftforge.network.simple.SimpleChannel.send(SimpleChannel.java:107) ~[forge-1.20.1-47.4.0-universal.jar%23620!/:?]
at dev.shadowsoffire.placebo.network.PacketDistro.sendTo(PacketDistro.java:27) ~[Placebo-1.20.1-8.6.3.jar%23530!/:8.6.3]
at dev.shadowsoffire.apotheosis.ench.table.ApothEnchantmentMenu.lambda$gatherStats$3(ApothEnchantmentMenu.java:244) ~[Apotheosis-1.20.1-7.4.8.jar%23370!/:7.4.8]
at net.minecraft.world.inventory.ContainerLevelAccess$2.m_6721_(ContainerLevelAccess.java:22) ~[server-1.20.1-20230612.114412-srg.jar%23615!/:?]
at dev.shadowsoffire.apotheosis.ench.table.ApothEnchantmentMenu.gatherStats(ApothEnchantmentMenu.java:242) ~[Apotheosis-1.20.1-7.4.8.jar%23370!/:7.4.8]
at dev.shadowsoffire.apotheosis.ench.table.ApothEnchantmentMenu.lambda$slotsChanged$1(ApothEnchantmentMenu.java:177) ~[Apotheosis-1.20.1-7.4.8.jar%23370!/:7.4.8]
at net.minecraft.world.inventory.ContainerLevelAccess$2.m_6721_(ContainerLevelAccess.java:22) ~[server-1.20.1-20230612.114412-srg.jar%23615!/:?]
at dev.shadowsoffire.apotheosis.ench.table.ApothEnchantmentMenu.m_6199_(ApothEnchantmentMenu.java:174) ~[Apotheosis-1.20.1-7.4.8.jar%23370!/:7.4.8]
at net.minecraft.world.inventory.EnchantmentMenu$1.m_6596_(EnchantmentMenu.java:30) ~[server-1.20.1-20230612.114412-srg.jar%23615!/:?]
at net.minecraft.world.SimpleContainer.m_6836_(SimpleContainer.java:144) ~[server-1.20.1-20230612.114412-srg.jar%23615!/:?]
at net.minecraft.world.inventory.Slot.m_5852_(Slot.java:63) ~[server-1.20.1-20230612.114412-srg.jar%23615!/:?]
at net.minecraft.world.inventory.EnchantmentMenu.handler$zkb000$open(EnchantmentMenu.java:526) ~[server-1.20.1-20230612.114412-srg.jar%23615!/:?]
at net.minecraft.world.inventory.EnchantmentMenu.(EnchantmentMenu.java:82) ~[server-1.20.1-20230612.114412-srg.jar%23615!/:?]
at dev.shadowsoffire.apotheosis.ench.table.ApothEnchantmentMenu.(ApothEnchantmentMenu.java:79) ~[Apotheosis-1.20.1-7.4.8.jar%23370!/:7.4.8]
at dev.shadowsoffire.apotheosis.ench.table.ApothEnchantBlock.lambda$getMenuProvider$1(ApothEnchantBlock.java:38) ~[Apotheosis-1.20.1-7.4.8.jar%23370!/:7.4.8]
at net.minecraft.world.SimpleMenuProvider.m_7208_(SimpleMenuProvider.java:25) ~[server-1.20.1-20230612.114412-srg.jar%23615!/:?]
at net.minecraft.server.level.ServerPlayer.m_5893_(ServerPlayer.java:963) ~[server-1.20.1-20230612.114412-srg.jar%23615!/:?]
at net.minecraft.world.level.block.EnchantmentTableBlock.m_6227_(EnchantmentTableBlock.java:83) ~[server-1.20.1-20230612.114412-srg.jar%23615!/:?]
...
Troubleshooting Attempted
Disabled all enchantment-related features in Quark (e.g., Matrix Enchanting, Ancient Tomes, Enchantment Descriptions) via the in-game configuration menu ("q" button).
Changed the Quark configuration file setting for Matrix Enchanting from false to true and back, with no effect.
Verified that Apotheosis (7.4.8), Quark (4.0-462), Placebo (8.6.3), and other dependencies are the latest versions for Minecraft 1.20.1 as of July 26, 2025.
Additional Information
I have over 200 mods installed, which may contribute to the issue. The full mod list is provided below.
I have prioritized keeping Apotheosis in my modpack, as it is a core component for my gameplay.
I am willing to provide additional logs or test specific configurations if needed to help diagnose the issue.
A similar issue was reported in Issue #1256 for an older version (7.3.4), but it appears to persist in 7.4.8.
Request
Could you please investigate this issue and provide guidance on resolving the conflict or fixing the NullPointerException in ApothEnchantmentMenu? If additional logs or specific tests are needed, I am happy to assist. My goal is to retain Apotheosis as a core mod while resolving this issue without removing other mods, if possible.
Mod List
Below is the full list of mods installed in my modpack:
abnormals_delight-1.20.1-5.0.0.jar
AdditionalEnchantedMiner-1.20.1-1201.1.90.jar
AdvancedPeripherals-1.20.1-0.7.41r.jar
advancementframes-1.20-2.2.7.jar
AdvancementPlaques-1.20.1-forge-1.6.9.jar
ad_astra-forge-1.20.1-1.15.19.jar
ae2wtlib-15.2.3-forge.jar
aether-1.20.1-1.5.2-neoforge.jar
alexscaves-2.0.2.jar
alexsmobs-1.22.9.jar
alltheleaks-0.1.3-beta+1.20.1-forge.jar
allurement-1.20.1-4.0.0.jar
almanac-1.20.x-forge-1.0.2.jar
AmbientEnvironment-forge-1.20.1-11.0.0.1.jar
AmbientSounds_FORGE_v6.1.8_mc1.20.1.jar
amendments-1.20-1.2.19.jar
Apotheosis-1.20.1-7.4.8.jar
ApothicAttributes-1.20.1-1.3.7.jar
appleskin-forge-mc1.20.1-2.5.1.jar
Applied-Botanics-forge-1.5.0.jar
Applied-Mekanistics-1.4.2.jar
appliedenergistics2-forge-15.3.4.jar
Aquaculture-1.20.1-2.5.5.jar
aquamirae-6.API15.jar
architectury-9.2.14-forge.jar
arseng-1.2.0.jar
ars_creo-1.20.1-4.1.0.jar
ars_elemental-1.20.1-0.6.7.8.jar
ars_nouveau-1.20.1-4.12.6-all.jar
artifacts-forge-9.5.16.jar
ash_api-forge-3.0.2+1.20.1.jar
atmospheric-1.20.1-6.1.1.jar
autumnity-1.20.1-5.0.2.jar
bagus_lib-1.20.1-5.3.0.jar
balm-forge-1.20.1-7.3.27-all.jar
berry_good-1.20.1-7.0.0.jar
BetterAdvancements-Forge-1.20.1-0.4.2.10.jar
BetterCompatibilityChecker-forge-4.0.8+mc1.20.1.jar
betterdays-1.20.1-3.1.1.1-FORGE.jar
BetterF3-7.0.2-Forge-1.20.1.jar
betterjukebox-1.20-1.3.jar
betterlily-1.20-1.3.1.jar
BetterPingDisplay-1.20.1-1.1.jar
BHMenu-Forge-1.20.1-2.4.2.jar
BiomesOPlenty-forge-1.20.1-19.0.0.96.jar
blockui-1.20.1-1.0.190-snapshot.jar
blueprint-1.20.1-7.1.3.jar
boatload-1.20.1-5.0.1.jar
Bookshelf-Forge-1.20.1-20.2.13.jar
Botania-1.20.1-448-FORGE.jar
botarium-forge-1.20.1-2.3.4.jar
buzzier_bees-1.20.1-6.0.1.jar
bwncr-forge-1.20.1-3.17.2.jar
caelus-forge-3.2.0+1.20.1.jar
carpeted-1.20-1.4.jar
carryon-forge-1.20.1-2.1.2.7.jar
catalogue-forge-1.20.1-1.8.0.jar
cc-tweaked-1.20.1-forge-1.113.1.jar
chalk-1.20.1-1.6.5.jar
charmofundying-forge-6.5.0+1.20.1.jar
chat_heads-0.13.17-forge-1.20.jar
cherishedworlds-forge-6.1.7+1.20.1.jar
chloride-FORGE-mc1.20.1-v1.6.0.jar
chunksending-1.20.1-2.8.jar
Chunky-1.3.146.jar
citadel-2.6.1-1.20.1.jar
citresewn-1.20.1-5.jar
clayworks-1.20.1-3.0.4.jar
clean_tooltips-1.0-forge-1.20.1.jar
ClearDespawn-forge-1.20.2-1.1.15.jar
clickadv-1.20.1-3.8.jar
cloth-config-11.1.136-forge.jar
Clumps-forge-1.20.1-12.0.0.4.jar
CodeChickenLib-1.20.1-4.4.0.516-universal.jar
comforts-forge-6.4.0+1.20.1.jar
CommonCapabilities-1.20.1-2.9.4.jar
configured-forge-1.20.1-2.2.3.jar
connectivity-1.20.1-7.1.jar
controllable-forge-1.20.1-0.21.7.jar
Controlling-forge-1.20.1-12.0.2.jar
cosmeticarmorreworked-1.20.1-v1a.jar
craftingtweaks-forge-1.20.1-18.2.5.jar
CraterLib-Forge-1.20-2.1.4.jar
create-1.20.1-0.5.1.j.jar
createaddition-1.20.1-1.2.5.jar
CreativeCore_FORGE_v2.12.32_mc1.20.1.jar
creeperoverhaul-3.0.2-forge.jar
cupboard-1.20.1-2.7.jar
curios-forge-5.14.1+1.20.1.jar
CyclopsCore-1.20.1-1.19.10.jar
DarkUtilities-Forge-1.20.1-17.0.5.jar
deeperdarker-forge-1.20.1-1.3.3.jar
defaultoptions-forge-1.20-18.0.1.jar
domum_ornamentum-1.20.1-1.0.285-snapshot-universal.jar
DrawersTooltip-1.20.1-forge-8.0.0.jar
dusk-1.20.1-3.7.jar
dynamic-fps-3.9.3+minecraft-1.20.0-forge.jar
dynview-1.20.1-4.0.jar
eatinganimation-1.20.1-5.1.0.jar
eccentrictome-1.20.1-1.10.3.jar
ecologics-forge-1.20.1-2.2.0.jar
elevatorid-1.20.1-lex-1.9.jar
elytraslot-forge-6.4.4+1.20.1.jar
embeddium-0.3.31+mc1.20.1.jar
embersrekindled-1.20.1-1.4.0.jar
EnchantmentDescriptions-Forge-1.20.1-17.1.19.jar
endergetic-1.20.1-5.0.1.jar
endermanoverhaul-forge-1.20.1-1.0.4.jar
EnderStorage-1.20.1-2.11.0.188-universal.jar
enlightend-5.0.14-1.20.1.jar
essential_1-3-5-12_forge_1-20-1.jar
everycomp-1.20-2.7.19.jar
fairylights-7.0.0-1.20.1.jar
fallingleaves-1.20.1-2.1.2.jar
FallingTree-1.20.1-4.3.4.jar
fancymenu_forge_3.5.0_MC_1.20.1.jar
FarmersDelight-1.20.1-1.2.7.jar
farsight-1.20.1-3.7.jar
farsighted-mobs-forge-1.1-1.20.1.jar
FastSuite-1.20.1-5.1.0.jar
ferritecore-6.0.1-forge.jar
FlowerPatch-forge-1.20.1-3.1.0.jar
FluxNetworks-1.20.1-7.2.1.15.jar
forbidden_arcanus-1.20.1-2.2.6.jar
FramedBlocks-9.3.1.jar
framework-forge-1.20.1-0.7.12.jar
fusion-1.2.7-forge-mc1.20.1.jar
Galosphere-1.20.1-1.4.1-Forge.jar
gardens-of-the-dead-forge-4.0.1.jar
geckolib-forge-1.20.1-4.7.1.2.jar
GlitchCore-forge-1.20.1-0.0.1.1.jar
global_packs-forge-1.19.4-1.16.2_forge.jar
gml-4.0.10-all.jar
goblintraders-forge-1.20.1-1.9.3.jar
gpumemleakfix-1.20.1-1.8.jar
guardvillagers-1.20.1-1.6.10.jar
HammerLib-1.20.1-20.1.50.jar
hauntedharvest-1.20-3.2.0.jar
hearth_and_home-forge-1.20.1-2.0.3.jar
hunters_return-1.20.1-11.7.0.jar
Iceberg-1.20.1-forge-1.1.25.jar
ImmersiveEngineering-1.20.1-10.2.0-183.jar
incubation-1.20.1-4.0.4.jar
IntegratedCrafting-1.20.1-1.1.11.jar
IntegratedDynamics-1.20.1-1.25.6.jar
IntegratedTerminals-1.20.1-1.6.6.jar
IntegratedTunnels-1.20.1-1.8.36.jar
inventoryhud.forge.1.20.1-3.4.26.jar
inventorysorter-1.20.1-23.0.8.jar
ironchest-1.20.1-14.4.3.jar
Jade-1.20.1-Forge-11.13.1.jar
JadeAddons-1.20.1-Forge-5.3.1.jar
jamlib-forge-1.3.5+1.20.1.jar
jei-1.20.1-forge-15.20.0.106.jar
Kiwi-1.20.1-Forge-11.8.30.jar
kleeslabs-forge-1.20.1-15.0.6.jar
konkrete_forge_1.8.0_MC_1.20-1.20.1.jar
kotlinforforge-4.11.0-all.jar
KryptonReforged-0.2.3.jar
kubejs-create-forge-2001.2.5-build.2.jar
kubejs-forge-2001.6.5-build.16.jar
kubejsarsnouveau-1.2.2.jar
kubejsdelight-1.1.2.jar
kubejs_botania-1.4.0-forge.jar
labels-1.20-2.0.0.jar
lapisreserve-1.0.8F.jar
letmedespawn-1.20.x-forge-1.5.0.jar
light-overlay-8.0.0-forge.jar
littlecontraptions-forge-1.20.1.2.jar
littlelogistics-mc1.20.1-v1.20.1.2.jar
lodestone-1.20.1-1.6.4.1.jar
logprot-1.20.1-3.5.jar
lootintegrations-1.20.1-4.3.jar
lootjs-forge-1.20.1-2.12.0.jar
malum-1.20.1-1.6.6.jar
Mantle-1.20.1-1.11.71.jar
mcw-bridges-3.0.0-mc1.20.1forge.jar
mcw-trapdoors-1.1.4-mc1.20.1forge.jar
Mekanism-1.20.1-10.4.15.75.jar
MekanismAdditions-1.20.1-10.4.15.75.jar
MekanismGenerators-1.20.1-10.4.15.75.jar
MekanismTools-1.20.1-10.4.15.75.jar
melody_forge_1.0.3_MC_1.20.1-1.20.4.jar
minecolonies-1.20.1-1.1.873-snapshot.jar
moonlight-1.20-2.13.82-forge.jar
MouseTweaks-forge-mc1.20.1-2.25.1.jar
mowziesmobs-1.7.1.jar
multipiston-1.20-1.2.43-RELEASE.jar
mutil-1.20.1-6.2.0.jar
NaturesCompass-1.20.1-1.11.2-forge.jar
neapolitan-1.20.1-5.1.0.jar
Neat-1.20.1-41-FORGE.jar
netherportalfix-forge-1.20-13.0.1.jar
nethersdelight-1.20.1-4.0.jar
notenoughanimations-forge-1.9.3-mc1.20.1.jar
obscure_api-15.jar
oculus-mc1.20.1-1.8.0.jar
open-parties-and-claims-forge-1.20.1-0.24.0.jar
Paintings-forge-1.20.1-11.0.0.2.jar
panoramica_forge_1.2.1_MC_1.19-1.19.2.jar
Patchouli-1.20.1-84.1-FORGE.jar
personality-1.20.1-4.1.0.jar
phantasmic-1.20.1-0.2.5.jar
PigPen-Forge-1.20.1-15.0.2.jar
pipez-1.20.1-1.1.5.jar
Placebo-1.20.1-8.6.3.jar
pneumaticcraft-repressurized-6.0.20+mc1.20.1.jar
polyeng-forge-0.1.1-1.20.1.jar
polymorph-forge-0.49.9+1.20.1.jar
Quark-4.0-462.jar
QuarkOddities-1.20.1.jar
raised-forge-1.20.1-4.0.1.jar
rechiseled-1.1.6-forge-mc1.20.jar
rechiseledcreate-1.0.2-forge-mc1.20.jar
recipeessentials-1.20.1-4.0.jar
resourcefulconfig-forge-1.20.1-2.1.3.jar
resourcefullib-forge-1.20.1-2.1.29.jar
rhino-forge-2001.2.3-build.10.jar
Ribbits-1.20.1-Forge-3.0.4.jar
rightclickharvest-forge-4.5.3+1.20.1.jar
Runelic-Forge-1.20.1-18.0.2.jar
savage_and_ravage-1.20.1-6.0.0.jar
sawmill-1.20-1.4.6.jar
ScalableCatsForce-3.3.0-build-2-with-library-forge-1.20.1.jar
Searchables-forge-1.20.1-1.0.3.jar
serverconfigupdater-4.0.2.jar
SimpleBackups-1.20.1-3.1.8.jar
SimpleRPC-Universal-4.0.1.jar
sliceanddice-forge-3.3.0.jar
smoothchunk-1.20.1-4.1.jar
SnowRealMagic-1.20.1-Forge-10.6.1.jar
snowundertrees-1.20.1-1.4.10.jar
SolarFluxReborn-1.20.1-20.1.11.jar
sophisticatedbackpacks-1.20.1-3.23.13.1229.jar
sophisticatedcore-1.20.1-1.2.45.953.jar
spark-1.10.53-forge.jar
Steam_Rails-1.6.7+forge-mc1.20.1.jar
StorageDrawers-1.20.1-12.9.13.jar
storageracks-1.20.1-1.9.jar
structureessentials-1.20.1-4.7.jar
structure_gel-1.20.1-2.16.2.jar
structurize-1.20.1-1.0.769-snapshot.jar
sullysmod-3.2.1-beta-all.jar
supermartijn642configlib-1.1.8-forge-mc1.20.jar
supermartijn642corelib-1.

commented

lapisreserve is incompatible with the enchanting module.

commented

thank you a lot!!!