Jump to content

Server won't start after uploading mods.


Recommended Posts

Hello! Here is a crash report from my server after uploading a modpack to the files. It continues to fail to start the server.

---- Minecraft Crash Report ----
// Would you like a cupcake?

Time: 2024-08-14 07:04:21 PDT
Description: Exception in server tick loop

Missing Mods:
    unknown : need any: have missing

Missing Mods:
    unknown : need any: have missing

net.minecraftforge.fml.common.MultipleModsErrored
    at net.minecraftforge.fml.common.Loader.sortModList(Loader.java:300)
    at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:572)
    at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:98)
    at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:333)
    at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:125)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486)
    at java.lang.Thread.run(Thread.java:750)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
  Minecraft Version: 1.12.2
  Operating System: Linux (amd64) version 5.15.0-87-generic
  Java Version: 1.8.0_422, Temurin
  Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Temurin
  Memory: 932952176 bytes (889 MB) / 1688207360 bytes (1610 MB) up to 6491209728 bytes (6190 MB)
  JVM Flags: 2 total; -Xms128M -Xmx6963M
  IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
  FML: MCP 9.42 Powered by Forge 14.23.5.2860 243 mods loaded, 243 mods active
       States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
       
       | State | ID                                | Version                    | Source                                                | Signature                                |
       |:----- |:--------------------------------- |:-------------------------- |:----------------------------------------------------- |:---------------------------------------- |
       | L     | minecraft                         | 1.12.2                     | minecraft.jar                                         | None                                     |
       | L     | mcp                               | 9.42                       | minecraft.jar                                         | None                                     |
       | L     | FML                               | 8.0.99.99                  | forge-1.12.2-14.23.5.2860.jar                         | e3c3d50c7c986df74c645c0ac54639741c90a557 |
       | L     | forge                             | 14.23.5.2860               | forge-1.12.2-14.23.5.2860.jar                         | e3c3d50c7c986df74c645c0ac54639741c90a557 |
       | L     | additionalresources               | 0.1.1                      | additionalresources-1.9.4-0.2.0.28+47cd0bd_signed.jar | None                                     |
       | L     | ivtoolkit                         | 1.3.3-1.12                 | minecraft.jar                                         | None                                     |
       | L     | micdoodlecore                     |                            | minecraft.jar                                         | None                                     |
       | L     | mixinbooter                       | 7.0                        | minecraft.jar                                         | None                                     |
       | L     | openmodscore                      | 0.12.2                     | minecraft.jar                                         | None                                     |
       | L     | bnbgamingcore                     | 0.12.0                     | minecraft.jar                                         | None                                     |
       | L     | foamfixcore                       | 7.7.4                      | minecraft.jar                                         | None                                     |
       | L     | tickcentral                       | 3.2                        | TickCentral-3.2.jar                                   | None                                     |
       | L     | randompatches                     | 1.12.2-1.22.1.10           | randompatches-1.12.2-1.22.1.10.jar                    | None                                     |
       | L     | configanytime                     | 2.0                        | !configanytime-2.0.jar                                | None                                     |
       | L     | acintegration                     | 1.11.3                     | AbyssalCraft Integration-1.12.2-1.11.3.jar            | None                                     |
       | L     | abyssalcraft                      | 1.10.4                     | AbyssalCraft-1.12.2-1.10.4.jar                        | None                                     |
       | L     | actuallyadditions                 | 1.12.2-r152                | ActuallyAdditions-1.12.2-r152.jar                     | None                                     |
       | L     | actuallybaubles                   | 1.1                        | ActuallyBaubles-1.12-1.1.jar                          | None                                     |
       | L     | aenetvistool                      | 1.0.3                      | AE-Net-Vis-Tool-1.12.2-1.0.3.0-universal.jar          | None                                     |
       | L     | appliedenergistics2               | v0.56.4                    | ae2-uel-v0.56.4.jar                                   | None                                     |
       | L     | ae2wtlib                          | 1.0.34                     | AE2WTLib-1.12.2-1.0.34.jar                            | None                                     |
       | L     | aether_legacy                     | 1.5.3.2                    | aether-1.12.2-v1.5.3.2.jar                            | None                                     |
       | L     | agricraft                         | 2.12.0-1.12.2-b2           | agricraft-2.12.0-1.12.2-b2.jar                        | None                                     |
       | L     | akashictome                       | 1.2-12                     | AkashicTome-1.2-12.jar                                | None                                     |
       | L     | alchemistry                       | 1.12.2-42                  | alchemistry-1.12.2-42.jar                             | None                                     |
       | L     | alib                              | 1.0.12                     | alib-1.0.12.jar                                       | None                                     |
       | L     | appleskin                         | 1.0.14                     | AppleSkin-mc1.12-1.0.14.jar                           | None                                     |
       | L     | astral-level-nerf                 | 1.0.1                      | astral-level-nerf-1.0.1-all.jar                       | None                                     |
       | L     | astralsorcery                     | 1.10.27                    | astralsorcery-1.12.2-1.10.27.jar                      | None                                     |
       | L     | atum                              | 2.0.20                     | Atum-1.12.2-2.0.20.jar                                | None                                     |
       | L     | autoreglib                        | 1.3-32                     | AutoRegLib-1.3-32.jar                                 | None                                     |
       | L     | avaritia                          | 3.3.0                      | Avaritia-1.12.2-3.3.0.37-universal.jar                | None                                     |
       | L     | avaritiaddons                     | 1.12.2-1.2                 | Avaritiaddons-1.12.2-1.2.jar                          | None                                     |
       | L     | badmobs                           | 1.1.40                     | BadMobs-1.12.2-1.1.40.jar                             | None                                     |
       | L     | badwithernocookiereloaded         | 1.12.2-3.4.18              | badwithernocookiereloaded-1.12.2-3.4.18.jar           | None                                     |
       | L     | base                              | 3.14.0                     | base-1.12.2-3.14.0.jar                                | None                                     |
       | L     | bno                               | 1.12.2-1.0.4.0             | BasicNetherOres-1.12.2-1.0.5.0.jar                    | None                                     |
       | L     | baubles                           | 1.5.2                      | Baubles-1.12-1.5.2.jar                                | None                                     |
       | L     | bhc                               | 1.2.3                      | baubley-heart-canisters-1.12.2-1.2.3.jar              | None                                     |
       | L     | bedpatch                          | 2.2                        | bedpatch-2.2-1.12.2.jar                               | None                                     |
       | L     | betterbuilderswands               | 0.13.2                     | BetterBuildersWands-1.12.2-0.13.2.271+5997513.jar     | None                                     |
       | L     | bettercaves                       | 1.12.2                     | bettercaves-1.12.2-2.0.4.jar                          | None                                     |
       | L     | betternether                      | 0.1.8.6                    | betternether-0.1.8.6.jar                              | None                                     |
       | L     | betterp2p                         | 1.12.2-1.2.3-extended_life | betterp2p-1.12.2-1.2.3-extended_life.jar              | None                                     |
       | L     | betterquesting                    | 3.5.329                    | BetterQuesting-3.5.329.jar                            | None                                     |
       | L     | bewitchment                       | 0.22.63                    | bewitchment-1.12.2-0.0.22.64.jar                      | None                                     |
       | L     | bibliocraft                       | 2.4.6                      | BiblioCraft%5bv2.4.6%5d%5bMC1.12.2%5d.jar             | None                                     |
       | L     | biggercraftingtables              | 1.12.2-2.3b                | BiggerCraftingTables-1.12.2-2.3b.jar                  | None                                     |
       | L     | biometweaker                      | 3.2.369                    | BiomeTweaker-1.12.2-3.2.369.jar                       | None                                     |
       | L     | bloodmagic                        | 1.12.2-2.4.3-105           | BloodMagic-1.12.2-2.4.3-105.jar                       | None                                     |
       | L     | bnbgaminglib                      | 2.17.6                     | BNBGamingLib-1.12.2-2.17.6.jar                        | None                                     |
       | L     | bookshelf                         | 2.3.590                    | Bookshelf-1.12.2-2.3.590.jar                          | None                                     |
       | L     | botania                           | r1.10-364                  | Botania r1.10-364.4.jar                               | None                                     |
       | L     | bqtweaker                         | 1.3.5                      | BQTweaker-1.3.5.jar                                   | None                                     |
       | L     | brandonscore                      | 2.4.20                     | BrandonsCore-1.12.2-2.4.20.162-universal.jar          | None                                     |
       | L     | buildinggadgets                   | 2.8.4                      | BuildingGadgets-2.8.4.jar                             | None                                     |
       | L     | chameleon                         | 1.12-4.1.3                 | Chameleon-1.12-4.1.3.jar                              | None                                     |
       | L     | chisel                            | MC1.12.2-1.0.2.45          | Chisel-MC1.12.2-1.0.2.45.jar                          | None                                     |
       | L     | chiselsandbits                    | 14.33                      | chiselsandbits-14.33.jar                              | None                                     |
       | L     | clumps                            | 3.1.2                      | Clumps-3.1.2.jar                                      | None                                     |
       | L     | codechickenlib                    | 3.2.3.358                  | CodeChickenLib-1.12.2-3.2.3.358-universal.jar         | None                                     |
       | L     | cofhcore                          | 4.6.6                      | CoFHCore-1.12.2-4.6.6.1-universal.jar                 | None                                     |
       | L     | cofhworld                         | 1.4.0                      | CoFHWorld-1.12.2-1.4.0.1-universal.jar                | None                                     |
       | L     | commoncapabilities                | 2.4.8                      | CommonCapabilities-1.12.2-2.4.8.jar                   | None                                     |
       | L     | contenttweaker                    | 1.12.2-4.10.0              | ContentTweaker-1.12.2-4.10.0.jar                      | None                                     |
       | L     | craftingtweaks                    | 8.1.9                      | CraftingTweaks_1.12.2-8.1.9.jar                       | None                                     |
       | L     | crafttweaker                      | 4.1.20                     | CraftTweaker2-1.12-4.1.20.698.jar                     | None                                     |
       | L     | crafttweakerjei                   | 2.0.3                      | CraftTweaker2-1.12-4.1.20.698.jar                     | None                                     |
       | L     | cucumber                          | 1.1.3                      | Cucumber-1.12.2-1.1.3.jar                             | None                                     |
       | L     | cyclopscore                       | 1.6.7                      | CyclopsCore-1.12.2-1.6.7.jar                          | None                                     |
       | L     | danknull                          | 1.7.101                    | DankNull-1.12.2-1.7.101.jar                           | None                                     |
       | L     | demagnetize                       | 1.12.2-1.1.2               | demagnetize-1.12.2-1.1.2.jar                          | None                                     |
       | L     | divinerpg                         | 1.7.1                      | DivineRPG-1.7.1.jar                                   | None                                     |
       | L     | dj2addons                         | 1.2.1.1.1                  | dj2addons-1.2.1.1.1.jar                               | None                                     |
       | L     | draconicadditions                 | 1.15.1                     | Draconic-Additions-1.12.2-1.15.1.39-universal.jar     | None                                     |
       | L     | draconicevolution                 | 2.3.28                     | Draconic-Evolution-1.12.2-2.3.28.354-universal.jar    | None                                     |
       | L     | dupefixproject                    | 3.1.6                      | DupeFixProject-1.12.2-3.1.6.jar                       | None                                     |
       | L     | endercore                         | 1.12.2-0.5.78              | EnderCore-1.12.2-0.5.78.jar                           | None                                     |
       | L     | enderio                           | 5.3.72                     | EnderIO-1.12.2-5.3.72.jar                             | None                                     |
       | L     | enderiobase                       | 5.3.72                     | EnderIO-1.12.2-5.3.72.jar                             | None                                     |
       | L     | enderioconduitsappliedenergistics | 5.3.72                     | EnderIO-1.12.2-5.3.72.jar                             | None                                     |
       | L     | enderioconduitsopencomputers      | 5.3.72                     | EnderIO-1.12.2-5.3.72.jar                             | None                                     |
       | L     | enderioconduitsrefinedstorage     | 5.3.72                     | EnderIO-1.12.2-5.3.72.jar                             | None                                     |
       | L     | enderioconduits                   | 5.3.72                     | EnderIO-1.12.2-5.3.72.jar                             | None                                     |
       | L     | enderiointegrationforestry        | 5.3.72                     | EnderIO-1.12.2-5.3.72.jar                             | None                                     |
       | L     | enderiointegrationtic             | 5.3.72                     | EnderIO-1.12.2-5.3.72.jar                             | None                                     |
       | L     | enderiointegrationticlate         | 5.3.72                     | EnderIO-1.12.2-5.3.72.jar                             | None                                     |
       | L     | enderioinvpanel                   | 5.3.72                     | EnderIO-1.12.2-5.3.72.jar                             | None                                     |
       | L     | enderiomachines                   | 5.3.72                     | EnderIO-1.12.2-5.3.72.jar                             | None                                     |
       | L     | enderiopowertools                 | 5.3.72                     | EnderIO-1.12.2-5.3.72.jar                             | None                                     |
       | L     | gasconduits                       | 5.3.72                     | EnderIO-conduits-mekanism-1.12.2-5.3.72.jar           | None                                     |
       | L     | enderioendergy                    | 5.3.72                     | EnderIO-endergy-1.12.2-5.3.72.jar                     | None                                     |
       | L     | enderstorage                      | 2.4.6.137                  | EnderStorage-1.12.2-2.4.6.137-universal.jar           | None                                     |
       | L     | endertweaker                      | 1.2.3                      | EnderTweaker-1.12.2-1.2.3.jar                         | None                                     |
       | L     | enderutilities                    | 0.7.15                     | enderutilities-1.12.2-0.7.15.jar                      | None                                     |
       | L     | erebus                            | 1.0.32                     | Erebus-1.0.32.jar                                     | None                                     |
       | L     | evilcraft                         | 0.10.78                    | EvilCraft-1.12.2-0.10.78.jar                          | None                                     |
       | L     | evilcraftcompat                   | 1.0.0                      | EvilCraft-1.12.2-0.10.78.jar                          | None                                     |
       | L     | extendedcrafting                  | 1.7.0.6                    | extendedcrafting-nomifactory-edition-1.7.0.6.jar      | None                                     |
       | L     | extracells                        | 2.6.7                      | ExtraCells-1.12.2-2.6.7.jar                           | None                                     |
       | L     | extracpus                         | 1.12.2-1.2.1               | extracpus-1.12.2-1.2.1.jar                            | None                                     |
       | L     | extrautils2                       | 1.0                        | extrautils2-1.12-1.9.9.jar                            | None                                     |
       | L     | bigreactors                       | 1.12.2-0.4.5.68            | ExtremeReactors-1.12.2-0.4.5.68.jar                   | None                                     |
       | L     | foamfix                           | @VERSION@                  | foamfix-0.10.15-1.12.2.jar                            | None                                     |
       | L     | forgelin                          | 1.8.4                      | Forgelin-1.8.4.jar                                    | None                                     |
       | L     | microblockcbe                     | 2.6.2.83                   | ForgeMultipart-1.12.2-2.6.2.83-universal.jar          | None                                     |
       | L     | forgemultipartcbe                 | 2.6.2.83                   | ForgeMultipart-1.12.2-2.6.2.83-universal.jar          | None                                     |
       | L     | minecraftmultipartcbe             | 2.6.2.83                   | ForgeMultipart-1.12.2-2.6.2.83-universal.jar          | None                                     |
       | L     | forgivingvoid                     | 1.1.0                      | ForgivingVoid_1.12.2-1.1.0.jar                        | None                                     |
       | L     | framedcompactdrawers              | 1.2.7                      | framedcompactdrawers-1.2.7.jar                        | None                                     |
       | L     | ftbbackups                        | 1.1.0.1                    | FTBBackups-1.1.0.1.jar                                | None                                     |
       | L     | ftblib                            | 5.4.7.2                    | FTBLib-5.4.7.2.jar                                    | None                                     |
       | L     | ftbutilities                      | 5.4.1.131                  | FTBUtilities-5.4.1.131.jar                            | None                                     |
       | L     | galacticraftplanets               | 4.0.2.280                  | Galacticraft-Planets-1.12.2-4.0.2.280.jar             | None                                     |
       | L     | galacticraftcore                  | 4.0.2.280                  | GalacticraftCore-1.12.2-4.0.2.280.jar                 | None                                     |
       | L     | galacticrafttweaker               | 1.12.2-1.0.3               | GalacticraftTweaker-1.12.2-1.0.3.jar                  | None                                     |
       | L     | guideapi                          | 1.12-2.1.8-63              | Guide-API-1.12-2.1.8-63.jar                           | None                                     |
       | L     | gbook                             | 2.9.5                      | Guidebook-1.12.2-2.9.5.jar                            | None                                     |
       | L     | hammercore                        | 2.0.6.32                   | HammerLib-1.12.2-2.0.6.32.jar                         | None                                     |
       | L     | waila                             | 1.8.26                     | Hwyla-1.8.26-B41_1.12.2.jar                           | None                                     |
       | L     | industrialforegoing               | 1.12.2-1.12.2              | industrialforegoing-1.12.2-1.12.13-237.jar            | None                                     |
       | L     | infinitylib                       | 1.12.2-1.12.1              | infinitylib-1.12.1.jar                                | None                                     |
       | L     | initialinventory                  | 2.0.2                      | InitialInventory-3.0.0.jar                            | None                                     |
       | L     | integrateddynamics                | 1.1.11                     | IntegratedDynamics-1.12.2-1.1.11.jar                  | None                                     |
       | L     | integrateddynamicscompat          | 1.0.0                      | IntegratedDynamics-1.12.2-1.1.11.jar                  | None                                     |
       | L     | integratednbt                     | 1.2.2                      | integratednbt-1.2.2.jar                               | None                                     |
       | L     | integratedtunnels                 | 1.6.14                     | IntegratedTunnels-1.12.2-1.6.14.jar                   | None                                     |
       | L     | integratedtunnelscompat           | 1.0.0                      | IntegratedTunnels-1.12.2-1.6.14.jar                   | None                                     |
       | L     | inventorytweaks                   | 1.63+release.109.220f184   | InventoryTweaks-1.63.jar                              | None                                     |
       | L     | inworldcrafting                   | 1.12.2-1.2.0               | inworldcrafting-1.12.2-1.2.0-universal.jar            | None                                     |
       | L     | ironchest                         | 1.12.2-7.0.67.844          | ironchest-1.12.2-7.0.72.847.jar                       | None                                     |
       | L     | jei                               | 4.16.1.302                 | jei_1.12.2-4.16.1.302.jar                             | None                                     |
       | L     | journeymap                        | 1.12.2-5.7.1p3             | journeymap-1.12.2-5.7.1p3.jar                         | None                                     |
       | L     | jecalculation                     | 1.12.2-3.2.7               | JustEnoughCalculation-1.12.2-3.2.7.jar                | None                                     |
       | L     | justenoughreactors                | 1.1.3.61                   | JustEnoughReactors-1.12.2-1.1.3.61.jar                | None                                     |
       | L     | knowledgeshare                    | 1.1                        | knowledgeshare-1.1.jar                                | None                                     |
       | L     | laggoggles                        | 5                          | LagGoggles-1.12.2-5.9-140.jar                         | None                                     |
       | L     | lightningcraft                    | 2.9.7_1                    | lightningcraft-2.9.7_1.jar                            | None                                     |
       | L     | loottweaker                       | 0.3.1                      | LootTweaker-0.3.1%2bMC1.12.2.jar                      | None                                     |
       | L     | mantle                            | 1.12-1.3.3.55              | Mantle-1.12-1.3.3.55.jar                              | None                                     |
       | L     | matc                              | 1.0.1-hotfix               | matc-1.0.1-hotfix.jar                                 | None                                     |
       | L     | mcjtylib_ng                       | 3.5.4                      | mcjtylib-1.12-3.5.4.jar                               | None                                     |
       | L     | mcmultipart                       | 2.5.3                      | MCMultiPart-2.5.3.jar                                 | None                                     |
       | L     | mekanism                          | 1.12.2-9.8.3.390           | Mekanism-1.12.2-9.8.3.390.jar                         | None                                     |
       | L     | mjrlegendslib                     | 1.12.2-1.2.1               | MJRLegendsLib-1.12.2-1.2.1.jar                        | None                                     |
       | L     | testdummy                         | 1.12                       | MmmMmmMmmMmm-1.12-1.14.jar                            | None                                     |
       | L     | moartinkers                       | 0.6.0                      | moartinkers-0.6.0.jar                                 | None                                     |
       | L     | mob_grinding_utils                | 0.3.13                     | MobGrindingUtils-0.3.13.jar                           | None                                     |
       | L     | modtweaker                        | 4.0.19                     | modtweaker-4.0.20.11.jar                              | None                                     |
       | L     | modulardiversity                  | 1.8                        | Modular Diversity-1.8.jar                             | None                                     |
       | L     | modularmagic                      | 1.4.0                      | modularmagic-1.4.0.jar                                | None                                     |
       | L     | moretweaker                       | 1.0.19                     | MoreTweaker-1.0.19.jar                                | None                                     |
       | L     | morphtool                         | 1.2-21                     | Morph-o-Tool-1.2-21.jar                               | None                                     |
       | L     | morpheus                          | 1.12.2-3.5.106             | Morpheus-1.12.2-3.5.106.jar                           | None                                     |
       | L     | mpbasic                           | 1.4.7                      | mpbasic-1.12.2-1.4.11.jar                             | None                                     |
       | L     | mputils                           | 1.5.6                      | MPUtils-1.12.2-1.5.7.jar                              | None                                     |
       | L     | mrtjpcore                         | 2.1.4.43                   | MrTJPCore-1.12.2-2.1.4.43-universal.jar               | None                                     |
       | L     | mtlib                             | 3.0.7                      | MTLib-3.0.7.jar                                       | None                                     |
       | L     | mystagradcompat                   | 1.2                        | mystagradcompat-1.2.jar                               | None                                     |
       | L     | mysticalagradditions              | 1.3.2                      | MysticalAgradditions-1.12.2-1.3.2.jar                 | None                                     |
       | L     | mysticalagriculture               | 1.7.5                      | MysticalAgriculture-1.12.2-1.7.5.jar                  | None                                     |
       | L     | mysticallib                       | 1.12.2-1.13.0              | mysticallib-1.12.2-1.13.0.jar                         | None                                     |
       | L     | mysticalworld                     | 1.12.2-1.11.0              | mysticalworld-1.12.2-1.11.0.jar                       | None                                     |
       | L     | natura                            | 1.12.2-4.3.2.69            | natura-1.12.2-4.3.2.69.jar                            | None                                     |
       | L     | naturescompass                    | 1.8.5                      | NaturesCompass-1.12.2-1.8.5.jar                       | None                                     |
       | L     | neid                              | 1.5.4.4                    | NotEnoughIDs-1.5.4.4.jar                              | None                                     |
       | L     | openblocks                        | 1.8.1                      | OpenBlocks-1.12.2-1.8.1.jar                           | None                                     |
       | L     | openmods                          | 0.12.2                     | OpenModsLib-1.12.2-0.12.2.jar                         | None                                     |
       | L     | oreexcavation                     | 1.4.150                    | OreExcavation-1.4.150.jar                             | None                                     |
       | L     | p455w0rdslib                      | 2.3.161                    | p455w0rdslib-1.12.2-2.3.161.jar                       | None                                     |
       | L     | packagedauto                      | 1.12.2-1.0.5.19            | PackagedAuto-1.12.2-1.0.5.19.jar                      | None                                     |
       | L     | patchouli                         | 1.0-23.6                   | Patchouli-1.0-23.6.jar                                | None                                     |
       | L     | placebo                           | 1.6.0                      | Placebo-1.12.2-1.6.1.jar                              | None                                     |
       | L     | planefix                          | 1.0.0                      | PlaneFix-1.12.2-1.0.0.jar                             | None                                     |
       | L     | planetprogression                 | 1.12.2-0.4.8               | PlanetProgression-1.12.2-0.4.8.jar                    | None                                     |
       | L     | plustic                           | @VERSION@                  | plustic-8.0.3.jar                                     | None                                     |
       | L     | projecte                          | 1.12.2-PE1.4.1             | ProjectE-1.12.2-PE1.4.1.jar                           | None                                     |
       | L     | projectintelligence               | 1.0.9                      | ProjectIntelligence-1.12.2-1.0.9.28-universal.jar     | None                                     |
       | L     | projectred-core                   | 4.9.4.120                  | ProjectRed-1.12.2-4.9.4.120-Base.jar                  | None                                     |
       | L     | projectred-integration            | 4.9.4.120                  | ProjectRed-1.12.2-4.9.4.120-integration.jar           | None                                     |
       | L     | projectred-transmission           | 4.9.4.120                  | ProjectRed-1.12.2-4.9.4.120-integration.jar           | None                                     |
       | L     | quantumflux                       | 2.0.18                     | quantumflux-1.12.2-2.0.18.jar                         | None                                     |
       | L     | quark                             | r1.6-179                   | Quark-r1.6-179.jar                                    | None                                     |
       | L     | reborncore                        | 3.19.5                     | RebornCore-1.12.2-3.19.5-universal.jar                | None                                     |
       | L     | reccomplex                        | 1.4.8.5                    | RecurrentComplex-1.4.8.5.jar                          | None                                     |
       | L     | redstoneflux                      | 2.1.1                      | RedstoneFlux-1.12-2.1.1.1-universal.jar               | None                                     |
       | L     | requious                          | 1.0                        | Requious Frakto-0.12.jar                              | None                                     |
       | L     | restrictedportals                 | 1.12-0.6.3                 | restrictedportals-1.12-0.6.3.jar                      | None                                     |
       | L     | rftools                           | 7.73                       | rftools-1.12-7.73.jar                                 | None                                     |
       | L     | rftoolsdim                        | 5.71                       | rftoolsdim-1.12-5.71.jar                              | None                                     |
       | L     | roots                             | 1.12.2-3.1.9.2             | Roots-1.12.2-3.1.9.2.jar                              | None                                     |
       | L     | ruins                             | 17.2                       | Ruins-1.12.2.jar                                      | None                                     |
       | L     | simplevoidworld                   | 1.2.0.9                    | Simple-Void-World-1.12-1.2.0.9-universal.jar          | None                                     |
       | L     | simple_trophies                   | 1.2.2                      | simpletrophies-1.2.2.1.jar                            | None                                     |
       | L     | simplybackpacks                   | 1.4.9                      | simplybackpacks-1.4.9.jar                             | None                                     |
       | L     | simplyjetpacks                    | 1.12.2-2.2.20.0            | SimplyJetpacks2-1.12.2-2.2.20.0.jar                   | None                                     |
       | L     | solarflux                         | 12.4.11                    | SolarFluxReborn-1.12.2-12.4.11.jar                    | None                                     |
       | L     | spark                             | 1.6.3                      | spark-forge.jar                                       | None                                     |
       | L     | spartanshields                    | 1.5.5                      | SpartanShields-1.12.2-1.5.5.jar                       | None                                     |
       | L     | bq_standard                       | 3.4.173                    | StandardExpansion-3.4.173.jar                         | None                                     |
       | L     | storagedrawers                    | 5.5.0                      | StorageDrawers-1.12.2-5.5.0.jar                       | None                                     |
       | L     | storagedrawersextra               | @VERSION@                  | StorageDrawersExtras-1.12-3.1.0.jar                   | None                                     |
       | L     | supersoundmuffler                 | 1.0.2.10                   | supersoundmuffler-revived_1.12.2_1.0.2.10.jar         | None                                     |
       | L     | tconstruct                        | 1.12.2-2.13.0.183          | TConstruct-1.12.2-2.13.0.183.jar                      | None                                     |
       | L     | teslacorelib                      | 1.0.18                     | tesla-core-lib-1.12.2-1.0.18.jar                      | None                                     |
       | L     | teslacorelib_registries           | 1.0.18                     | tesla-core-lib-1.12.2-1.0.18.jar                      | None                                     |
       | L     | thaumcraft                        | 6.1.BETA26                 | Thaumcraft-1.12.2-6.1.BETA26.jar                      | None                                     |
       | L     | thaumicaugmentation               | 1.12.2-2.1.13              | ThaumicAugmentation-1.12.2-2.1.13.jar                 | None                                     |
       | L     | thaumicenergistics                | 2.2.6                      | thaumicenergistics-extended_life-2.2.7.jar            | None                                     |
       | L     | tcinventoryscan                   | 2.0.10                     | ThaumicInventoryScanning_1.12.2-2.0.10.jar            | None                                     |
       | L     | thermaldynamics                   | 2.5.6                      | ThermalDynamics-1.12.2-2.5.6.1-universal.jar          | None                                     |
       | L     | thermalexpansion                  | 5.5.7                      | ThermalExpansion-1.12.2-5.5.7.1-universal.jar         | None                                     |
       | L     | thermalfoundation                 | 2.6.7                      | ThermalFoundation-1.12.2-2.6.7.1-universal.jar        | None                                     |
       | L     | tinkersaddons                     | 1.0.7                      | Tinkers' Addons-1.12.1-1.0.7.jar                      | None                                     |
       | L     | tinkersaether                     | 1.4.1                      | tinkersaether-1.4.1.jar                               | None                                     |
       | L     | tinkersjei                        | 1.2                        | tinkersjei-1.2.jar                                    | None                                     |
       | L     | tmel                              | 1.12.2-1.4.0.0             | tmel-1.12.2-1.4.0.0.jar                               | None                                     |
       | L     | tombmanygraves                    | 1.12-4.2.0                 | TombManyGraves-1.12-4.2.0.jar                         | None                                     |
       | L     | torchmaster                       | 1.8.5.0                    | torchmaster_1.12.2-1.8.5.0.jar                        | None                                     |
       | L     | totemic                           | 1.12.2-0.11.7              | Totemic-1.12.2-0.11.7.jar                             | None                                     |
       | L     | traverse                          | 1.6.0                      | Traverse-1.12.2-1.6.0-69.jar                          | None                                     |
       | L     | triumph                           | 3.19.2                     | Triumph-1.12.2-3.19.2.jar                             | None                                     |
       | L     | tweakersconstruct                 | 1.12.2-1.6.1               | tweakersconstruct-1.12.2-1.6.1.jar                    | None                                     |
       | L     | tweakersconstructpostload         | 1.12.2-1.6.1               | tweakersconstruct-1.12.2-1.6.1.jar                    | None                                     |
       | L     | twilightforest                    | 3.11.1021                  | twilightforest-1.12.2-3.11.1021-universal.jar         | None                                     |
       | L     | uberconduitprobe                  | 1.0.3                      | uberconduitprobe-1.0.3.jar                            | None                                     |
       | L     | undergroundbiomes                 | 1.3.14                     | UndergroundBiomesConstructs-1.12-1.3.14.jar           | None                                     |
       | L     | unidict                           | 1.12.2-3.0.10              | UniDict-1.12.2-3.0.10.jar                             | None                                     |
       | L     | universaltweaks                   | 1.12.2-1.7.1               | UniversalTweaks-MB7-1.12.2-1.7.1.jar                  | None                                     |
       | L     | universalmodifiers                | 1.12.2-1.0.16.1            | valkyrielib-1.12.2-2.0.20.1.jar                       | None                                     |
       | L     | valkyrielib                       | 1.12.2-2.0.20.1            | valkyrielib-1.12.2-2.0.20.1.jar                       | None                                     |
       | L     | vanillafix                        | 1.0.10-150                 | VanillaFix-1.0.10-150.jar                             | None                                     |
       | L     | vtb                               | 2.0.0                      | VillagerTradingBan-2.0.0.6-universal.jar              | None                                     |
       | L     | wanionlib                         | 1.12.2-2.9                 | WanionLib-1.12.2-2.9.jar                              | None                                     |
       | L     | wasaila                           | 1.0                        | Wasaila-1.0.jar                                       | None                                     |
       | L     | wawla                             | 2.6.275                    | Wawla-1.12.2-2.6.275.jar                              | None                                     |
       | L     | wct                               | 3.12.97                    | WirelessCraftingTerminal-1.12.2-3.12.97.jar           | None                                     |
       | L     | wft                               | 1.0.4                      | WirelessFluidTerminal-1.12.2-1.0.4.jar                | None                                     |
       | L     | wrcbe                             | 2.3.2                      | WR-CBE-1.12.2-2.3.2.33-universal.jar                  | None                                     |
       | L     | zenutils                          | 1.17.1                     | zenutils-1.17.1.jar                                   | None                                     |
       | L     | zerocore                          | 1.12.2-0.1.2.9             | zerocore-1.12.2-0.1.2.9.jar                           | None                                     |
       | L     | toolprogression                   | 1.12.2-1.6.12              | toolprogression-1.12.2-1.6.12.jar                     | None                                     |
       | L     | immersiveengineering              | 0.12-98                    | ImmersiveEngineering-0.12-98.jar                      | None                                     |
  Loaded coremods (and transformers): ZenUtilsPlugin (zenutils-1.17.1.jar)
                                        
                                      IELoadingPlugin (ImmersiveEngineering-core-0.12-98.jar)
                                        blusunrize.immersiveengineering.common.asm.IEClassTransformer
                                      AE2ELCore (ae2-uel-v0.56.4.jar)
                                        appeng.core.transformer.AE2ELTransformer
                                      MekanismCoremod (Mekanism-1.12.2-9.8.3.390.jar)
                                        mekanism.coremod.KeybindingMigrationHelper
                                      MicdoodlePlugin (MicdoodleCore-1.12.2-4.0.2.280.jar)
                                        micdoodle8.mods.miccore.MicdoodleTransformer
                                      BewitchmentFMLLoadingPlugin (bewitchment-1.12.2-0.0.22.64.jar)
                                        
                                      Quark Plugin (Quark-r1.6-179.jar)
                                        vazkii.quark.base.asm.ClassTransformer
                                      Thaumic Augmentation Core Plugin (ThaumicAugmentation-1.12.2-2.1.13.jar)
                                        thecodex6824.thaumicaugmentation.core.TATransformer
                                      TickCentral (TickCentral-3.2.jar)
                                        com.github.terminatornl.laggoggles.tickcentral.EventBusTransformer
                                        com.github.terminatornl.tickcentral.asm.BlockTransformer
                                        com.github.terminatornl.tickcentral.asm.ITickableTransformer
                                        com.github.terminatornl.tickcentral.asm.EntityTransformer
                                        com.github.terminatornl.tickcentral.asm.HubAPITransformer
                                      UniDictCoreMod (UniDict-1.12.2-3.0.10.jar)
                                        wanion.unidict.core.UniDictCoreModTransformer
                                      Inventory Tweaks Coremod (InventoryTweaks-1.63.jar)
                                        invtweaks.forge.asm.ContainerTransformer
                                      ToolProgressionPlugin (toolprogression-core-1.12.2-1.6.12.jar)
                                        tyra314.toolprogression.core.asm.ToolProgressionClassTransformer
                                      IvToolkit (IvToolkit-1.3.3-1.12.jar)
                                        
                                      MixinBooter (!mixinbooter-7.0.jar)
                                        
                                      RandomPatches (randompatches-1.12.2-1.22.1.10.jar)
                                        com.therandomlabs.randompatches.core.RPTransformer
                                      Do not report to Forge! (If you haven't disabled the FoamFix coremod, try disabling it in the config! Note that this bit of text will still appear.) (foamfix-0.10.15-1.12.2.jar)
                                        pl.asie.foamfix.coremod.FoamFixTransformer
                                      BedPatch (bedpatch-2.2-1.12.2.jar)
                                        com.mordenkainen.bedpatch.BedPatchASM
                                      ForgelinPlugin (Forgelin-1.8.4.jar)
                                        
                                      DupeFixProjectCoreMod (DupeFixProject-1.12.2-3.1.6.jar)
                                        
                                      OpenModsCorePlugin (OpenModsLib-1.12.2-0.12.2.jar)
                                        openmods.core.OpenModsClassTransformer
                                      Ar_CorePlugin (additionalresources-1.9.4-0.2.0.28+47cd0bd_signed.jar)
                                        
                                      EnderCorePlugin (EnderCore-1.12.2-0.5.78-core.jar)
                                        com.enderio.core.common.transform.EnderCoreTransformer
                                        com.enderio.core.common.transform.SimpleMixinPatcher
                                      Plugin (NotEnoughIDs-1.5.4.4.jar)
                                        ru.fewizz.neid.asm.Transformer
                                      BNBGamingCore (BNBGamingCore-1.12.2-0.12.0.jar)
                                        com.bloodnbonesgaming.bnbgamingcore.core.BNBGamingCoreClassTransformer
                                      AstralCore (astralsorcery-1.12.2-1.10.27.jar)
                                        
                                      VanillaFixLoadingPlugin (VanillaFix-1.0.10-150.jar)
                                        
                                      AstralLevelNerfPlugin (astral-level-nerf-1.0.1-all.jar)
                                        mixu.astrallevelnerf.asm.AstralLevelNerfTransformer
                                      HCASM (HammerLib-1.12.2-2.0.6.32.jar)
                                        com.zeitheron.hammercore.asm.HammerCoreTransformer
                                      ConfigAnytimePlugin (!configanytime-2.0.jar)
                                        
                                      serializationisbad (serializationisbad-1.5.2.jar)
                                        io.dogboy.serializationisbad.legacyforge.SIBTransformer
                                      UniversalTweaksCore (UniversalTweaks-MB7-1.12.2-1.7.1.jar)
  Suspected Mods: Unknown
  Profiler Position: N/A (disabled)
  Is Modded: Definitely; Server brand changed to 'fml,forge'
  Type: Dedicated Server (map_server.txt)

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I am creating a mod that adds new armor sets and changes how armor sets are crafted. When the player interacts with the block it fails to open the gui, but I get no error or stacktrace. All of my registration classes are being called correctly. LightArmorBenchScreen's constructor, render, and renderbg methods are not being called at all. Here is the code: package net.leeveygames.celestial.blocks.custom; import net.leeveygames.celestial.Celestial; import net.leeveygames.celestial.blocks.entity.CelestialBlockEntities; import net.leeveygames.celestial.blocks.entity.LightArmorBenchBlockEntity; import net.minecraft.core.BlockPos; import net.minecraft.server.level.ServerPlayer; import net.minecraft.world.InteractionHand; import net.minecraft.world.InteractionResult; import net.minecraft.world.entity.player.Player; import net.minecraft.world.level.BlockGetter; import net.minecraft.world.level.Level; import net.minecraft.world.level.block.BaseEntityBlock; import net.minecraft.world.level.block.Block; import net.minecraft.world.level.block.RenderShape; import net.minecraft.world.level.block.entity.BlockEntity; import net.minecraft.world.level.block.entity.BlockEntityTicker; import net.minecraft.world.level.block.entity.BlockEntityType; import net.minecraft.world.level.block.state.BlockState; import net.minecraft.world.phys.BlockHitResult; import net.minecraft.world.phys.shapes.CollisionContext; import net.minecraft.world.phys.shapes.VoxelShape; import net.minecraftforge.network.NetworkHooks; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; public class LightArmorBenchBlock extends BaseEntityBlock { public static final VoxelShape SHAPE = Block.box(0, 0, 0, 16, 12, 16); public LightArmorBenchBlock(Properties pProperties) { super(pProperties); } @Override public VoxelShape getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) { return SHAPE; } @Override public RenderShape getRenderShape(BlockState pState) { return RenderShape.MODEL; } @Override public void onRemove(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) { if (pState.getBlock() != pNewState.getBlock()) { BlockEntity blockEntity = pLevel.getBlockEntity(pPos); if (blockEntity instanceof LightArmorBenchBlockEntity) { ((LightArmorBenchBlockEntity) blockEntity).drops(); } } super.onRemove(pState, pLevel, pPos, pNewState, pIsMoving); } @NotNull @Override public InteractionResult use(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHit) { if(pLevel.isClientSide()) return InteractionResult.SUCCESS; BlockEntity be = pLevel.getBlockEntity(pPos); if (be instanceof LightArmorBenchBlockEntity blockEntity) { ServerPlayer player = (ServerPlayer)pPlayer; Celestial.LOGGER.info("Opening Screen."); NetworkHooks.openScreen(player, blockEntity, pPos); } return InteractionResult.CONSUME; } @Nullable @Override public BlockEntity newBlockEntity(BlockPos pPos, BlockState pState) { return new LightArmorBenchBlockEntity(pPos, pState); } @Nullable @Override public <T extends BlockEntity> BlockEntityTicker<T> getTicker(Level pLevel, BlockState pState, BlockEntityType<T> pBlockEntityType) { if(pLevel.isClientSide()) { return null; } return createTickerHelper(pBlockEntityType, CelestialBlockEntities.LIGHT_ARMOR_BENCH_BLOCK_ENTITY.get(), (pLevel1, pPos, pState1, pBlockEntity) -> pBlockEntity.tick(pLevel1, pPos, pState1)); } }   package net.leeveygames.celestial.screen; import net.leeveygames.celestial.Celestial; import net.leeveygames.celestial.blocks.CelestialBlocks; import net.leeveygames.celestial.blocks.entity.LightArmorBenchBlockEntity; import net.minecraft.network.FriendlyByteBuf; import net.minecraft.world.entity.player.Inventory; import net.minecraft.world.entity.player.Player; import net.minecraft.world.inventory.*; import net.minecraft.world.item.ItemStack; import net.minecraft.world.level.Level; import net.minecraft.world.level.block.entity.BlockEntity; import net.minecraftforge.common.capabilities.ForgeCapabilities; import net.minecraftforge.items.SlotItemHandler; public class LightArmorBenchMenu extends AbstractContainerMenu { public final LightArmorBenchBlockEntity blockEntity; private final Level level; public LightArmorBenchMenu(int pContainerId, Inventory inv, FriendlyByteBuf extraData) { this(pContainerId, inv, inv.player.level().getBlockEntity(extraData.readBlockPos())); Celestial.LOGGER.info("Creating Light Armor Bench Menu. Client"); } public LightArmorBenchMenu(int pContainerId, Inventory inv, BlockEntity entity) { super(CelestialMenuTypes.LIGHT_ARMOR_BENCH_MENU.get(), pContainerId); Celestial.LOGGER.info("Creating Light Armor Bench Menu. Server"); checkContainerSize(inv, 2); blockEntity = ((LightArmorBenchBlockEntity) entity); this.level = inv.player.level(); addPlayerInventory(inv); addPlayerHotbar(inv); createLightArmorBenchSlots(blockEntity); } private void createLightArmorBenchSlots(LightArmorBenchBlockEntity blockEntity) { Celestial.LOGGER.info("Creating Light Armor Bench Slots."); this.blockEntity.getCapability(ForgeCapabilities.ITEM_HANDLER).ifPresent(iItemHandler -> { this.addSlot(new SlotItemHandler(iItemHandler, 0, 11, 15)); this.addSlot(new SlotItemHandler(iItemHandler, 1, 82, 33)); this.addSlot(new SlotItemHandler(iItemHandler, 2, 133, 33)); }); } // CREDIT GOES TO: diesieben07 | https://github.com/diesieben07/SevenCommons // must assign a slot number to each of the slots used by the GUI. // For this container, we can see both the tile inventory's slots as well as the player inventory slots and the hotbar. // Each time we add a Slot to the container, it automatically increases the slotIndex, which means // 0 - 8 = hotbar slots (which will map to the InventoryPlayer slot numbers 0 - 8) // 9 - 35 = player inventory slots (which map to the InventoryPlayer slot numbers 9 - 35) // 36 - 44 = TileInventory slots, which map to our TileEntity slot numbers 0 - 8) private static final int HOTBAR_SLOT_COUNT = 9; private static final int PLAYER_INVENTORY_ROW_COUNT = 3; private static final int PLAYER_INVENTORY_COLUMN_COUNT = 9; private static final int PLAYER_INVENTORY_SLOT_COUNT = PLAYER_INVENTORY_COLUMN_COUNT * PLAYER_INVENTORY_ROW_COUNT; private static final int VANILLA_SLOT_COUNT = HOTBAR_SLOT_COUNT + PLAYER_INVENTORY_SLOT_COUNT; private static final int VANILLA_FIRST_SLOT_INDEX = 0; private static final int TE_INVENTORY_FIRST_SLOT_INDEX = VANILLA_FIRST_SLOT_INDEX + VANILLA_SLOT_COUNT; // THIS YOU HAVE TO DEFINE! private static final int TE_INVENTORY_SLOT_COUNT = 2; // must be the number of slots you have! @Override public ItemStack quickMoveStack(Player playerIn, int pIndex) { Slot sourceSlot = slots.get(pIndex); if (sourceSlot == null || !sourceSlot.hasItem()) return ItemStack.EMPTY; //EMPTY_ITEM ItemStack sourceStack = sourceSlot.getItem(); ItemStack copyOfSourceStack = sourceStack.copy(); // Check if the slot clicked is one of the vanilla container slots if (pIndex < VANILLA_FIRST_SLOT_INDEX + VANILLA_SLOT_COUNT) { // This is a vanilla container slot so merge the stack into the tile inventory if (!moveItemStackTo(sourceStack, TE_INVENTORY_FIRST_SLOT_INDEX, TE_INVENTORY_FIRST_SLOT_INDEX + TE_INVENTORY_SLOT_COUNT, false)) { return ItemStack.EMPTY; // EMPTY_ITEM } } else if (pIndex < TE_INVENTORY_FIRST_SLOT_INDEX + TE_INVENTORY_SLOT_COUNT) { // This is a TE slot so merge the stack into the players inventory if (!moveItemStackTo(sourceStack, VANILLA_FIRST_SLOT_INDEX, VANILLA_FIRST_SLOT_INDEX + VANILLA_SLOT_COUNT, false)) { return ItemStack.EMPTY; } } else { System.out.println("Invalid slotIndex:" + pIndex); return ItemStack.EMPTY; } // If stack size == 0 (the entire stack was moved) set slot contents to null if (sourceStack.getCount() == 0) { sourceSlot.set(ItemStack.EMPTY); } else { sourceSlot.setChanged(); } sourceSlot.onTake(playerIn, sourceStack); return copyOfSourceStack; } @Override public boolean stillValid(Player pPlayer) { return stillValid(ContainerLevelAccess.create(level, blockEntity.getBlockPos()), pPlayer, CelestialBlocks.LIGHT_ARMOR_BENCH.get()); } private void addPlayerInventory(Inventory playerInventory) { Celestial.LOGGER.info("Creating Player Inventory."); for (int i = 0; i < 3; ++i) { for (int l = 0; l < 9; ++l) { this.addSlot(new Slot(playerInventory, l + i * 9 + 9, 8 + l * 18, 84 + i * 18)); } } } private void addPlayerHotbar(Inventory playerInventory) { Celestial.LOGGER.info("Creating Player Hotbar."); for (int i = 0; i < 9; ++i) { this.addSlot(new Slot(playerInventory, i, 8 + i * 18, 142)); } } }   package net.leeveygames.celestial.screen; import com.mojang.blaze3d.systems.RenderSystem; import net.leeveygames.celestial.Celestial; import net.minecraft.client.gui.GuiGraphics; import net.minecraft.client.gui.screens.inventory.AbstractContainerScreen; import net.minecraft.client.renderer.GameRenderer; import net.minecraft.network.chat.Component; import net.minecraft.resources.ResourceLocation; import net.minecraft.world.entity.player.Inventory; public class LightArmorBenchScreen extends AbstractContainerScreen<LightArmorBenchMenu> { private static final ResourceLocation TEXTURE = new ResourceLocation(Celestial.MOD_ID, "textures/gui/LightArmorBenchGUI.png"); public LightArmorBenchScreen(LightArmorBenchMenu pMenu, Inventory pPlayerInventory, Component pTitle) { super(pMenu, pPlayerInventory, pTitle); Celestial.LOGGER.info("Creating Light Armor Bench Screen."); this.imageWidth = 176; this.imageHeight = 166; } @Override protected void init() { Celestial.LOGGER.info("Screen init."); super.init(); } @Override protected void renderBg(GuiGraphics guiGraphics, float pPartialTick, int pMouseX, int pMouseY) { Celestial.LOGGER.info("Render Background Method."); RenderSystem.setShader(GameRenderer::getPositionTexShader); RenderSystem.setShaderColor(1.0F, 1.0F, 1.0F, 1.0F); RenderSystem.setShaderTexture(0, TEXTURE); guiGraphics.blit(TEXTURE, this.leftPos, this.topPos, 0, 0, this.imageWidth, this.imageHeight); } @Override public void render(GuiGraphics guiGraphics, int mouseX, int mouseY, float delta) { Celestial.LOGGER.info("Render Method."); renderBackground(guiGraphics); super.render(guiGraphics, mouseX, mouseY, delta); renderTooltip(guiGraphics, mouseX, mouseY); } }   package net.leeveygames.celestial.blocks.entity; import net.leeveygames.celestial.screen.LightArmorBenchMenu; import net.minecraft.client.gui.screens.inventory.FurnaceScreen; import net.minecraft.core.BlockPos; import net.minecraft.core.Direction; import net.minecraft.nbt.CompoundTag; import net.minecraft.network.chat.Component; import net.minecraft.world.Container; import net.minecraft.world.Containers; import net.minecraft.world.MenuProvider; import net.minecraft.world.SimpleContainer; import net.minecraft.world.entity.player.Inventory; import net.minecraft.world.entity.player.Player; import net.minecraft.world.inventory.AbstractContainerMenu; import net.minecraft.world.inventory.ContainerData; import net.minecraft.world.inventory.FurnaceMenu; import net.minecraft.world.item.Item; import net.minecraft.world.item.ItemStack; import net.minecraft.world.item.Items; import net.minecraft.world.level.Level; import net.minecraft.world.level.block.entity.BlockEntity; import net.minecraft.world.level.block.entity.BlockEntityType; import net.minecraft.world.level.block.state.BlockState; import net.minecraftforge.common.capabilities.Capability; import net.minecraftforge.common.capabilities.ForgeCapabilities; import net.minecraftforge.common.util.LazyOptional; import net.minecraftforge.items.IItemHandler; import net.minecraftforge.items.ItemStackHandler; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; public class LightArmorBenchBlockEntity extends BlockEntity implements MenuProvider { private final ItemStackHandler itemHandler = new ItemStackHandler(3) { @Override protected void onContentsChanged(int slot) { super.onContentsChanged(slot); LightArmorBenchBlockEntity.this.setChanged(); } }; private static final int INPUT_SLOT = 0; private static final int OUTPUT_SLOT = 1; private LazyOptional<IItemHandler> lazyItemHandler = LazyOptional.empty(); public LightArmorBenchBlockEntity(BlockPos pPos, BlockState pBlockState) { super(CelestialBlockEntities.LIGHT_ARMOR_BENCH_BLOCK_ENTITY.get(), pPos, pBlockState); } @Override public @NotNull <T> LazyOptional<T> getCapability(@NotNull Capability<T> cap, @Nullable Direction side) { if(cap == ForgeCapabilities.ITEM_HANDLER) { return lazyItemHandler.cast(); } return super.getCapability(cap, side); } @Override public void onLoad() { super.onLoad(); lazyItemHandler = LazyOptional.of(() -> itemHandler); } @Override public void invalidateCaps() { super.invalidateCaps(); lazyItemHandler.invalidate(); } public void drops() { SimpleContainer inventory = new SimpleContainer(itemHandler.getSlots()); for(int i = 0; i < itemHandler.getSlots(); i++) { inventory.setItem(i, itemHandler.getStackInSlot(i)); } Containers.dropContents(this.level, this.worldPosition, inventory); } @Override public Component getDisplayName() { return Component.translatable("block.celestial.light_armor_bench"); } @Nullable @Override public AbstractContainerMenu createMenu(int pContainerId, Inventory pPlayerInventory, Player pPlayer) { return new LightArmorBenchMenu(pContainerId, pPlayerInventory, this); } @Override protected void saveAdditional(CompoundTag pTag) { pTag.put("inventory", itemHandler.serializeNBT()); super.saveAdditional(pTag); } @Override public void load(CompoundTag pTag) { super.load(pTag); itemHandler.deserializeNBT(pTag.getCompound("inventory")); } public void tick(Level pLevel, BlockPos pPos, BlockState pState) { } }   Here is the console output: https://pastebin.com/krgExnYT
    • I couldn't find much usage, I found this and attempted to implement it. It doesn't seem to do anything though. I have this linked to a server to client packet... I have been at this since September seventh and have not made any progress. Blockpos and Blockstate are all pre-assigned variables, as is pLevel. I took the vertex consumer directly from LevelRenderer where I got this code from anyways. I didn't know what number to put into the ModelBakery.DESTROY_TYPES.get() so I just put the breakTime I used in the above code. Am I missing something?
    • Problematic part: [net.minecraft.server.network.ServerGamePacketListenerImpl/]: Gu57 lost connection: Internal Exception: io.netty.handler.codec.EncoderException: java.lang.NullPointerException: Cannot invoke "net.minecraft.resources.ResourceLocation.toString()" because "p_130086_" is null There is no crash, single player works, sadly it's not Hexerei Debug log: (can't use pastebin, cause 10 mb) https://drive.google.com/file/d/16ikQIx7nYjJtF4aJLy5KqFQHh6-jBNrd/view?usp=sharing
    • Something in the Alex's Caves mod is preventing Distant Horizons from rendering. However, I don't want to get rid of Alex's Caves, as it is a part of my personal modded experience. Can someone please find the issue for me?
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.