Jump to content

[1.9.4] Using Item - Trying to Call to a Separate Class


HalestormXV

Recommended Posts

Alright, so I know I am screwing something up. I just don't know how or what to do to fix it. The idea is really simple. One class which handles this particular type of my items, and uses metadata to store the different variants of that item. Other classes that handles the effects of using those items. Each item is meant to act like a bow, you can "charge" it. Then, upon onPlayerStoppedUsing whatever that item is supposed to do gets executed. So I have my code, and everything runs and compiles fine. However my items are not "acting" like a bow.

 

Here is the main item class code:

http://pastebin.com/BjyvcakQ

 

What that code does is registers the items for me, gives them their models, etc. etc. As you can see at the top I am storing the class that are to be called in an array and upon using the item it will cycle through the array and is supposed to call the proper class based on the items metadata.

 

So now here is the class for array position 0 or O_card_Fire

http://pastebin.com/Kf9aYHBr

 

I did something very similar to this in 1.7.10 with my Celestial Keys and each key called out to a class that spawned an entity. The concept is the same except it is called out to an itemclass instead of an entityclass.

 

Granted, I know I can probably do this by creating a specific item class for each card and attach it specifically to its respective item class as opposed to using Metadata like I am currently doing, but that isn't what I am going for. If there is no other option and I don't have a choice well I will do it, but my objective here is to better myself with java and 1.9.4 by trying to do things differently. So for anyone that may ask "Why are you doing it this way" it is simply because I am trying to learn and want to better myself.

 

So what am I doing wrong with the new 1.9 style? Is it my main card class? Is it my O_Fire_Card class? Or is it just totally wrong and needs to be completly rewritten? Any help and guidance with some example is greatly appreciated.

 

EDIT: Yes I know that adding the information and what not should probably be done in the main item class since I am really only making those other separate classed for and I plan to change that. I am more concerned with the actual functionality of the item.

Link to comment
Share on other sites

Alright, so I know I am screwing something up. I just don't know how or what to do to fix it. The idea is really simple. One class which handles this particular type of my items, and uses metadata to store the different variants of that item. Other classes that handles the effects of using those items. Each item is meant to act like a bow, you can "charge" it. Then, upon onPlayerStoppedUsing whatever that item is supposed to do gets executed. So I have my code, and everything runs and compiles fine. However my items are not "acting" like a bow.

 

Here is the main item class code:

http://pastebin.com/BjyvcakQ

 

What that code does is registers the items for me, gives them their models, etc. etc. As you can see at the top I am storing the class that are to be called in an array and upon using the item it will cycle through the array and is supposed to call the proper class based on the items metadata.

 

So now here is the class for array position 0 or O_card_Fire

http://pastebin.com/Kf9aYHBr

 

I did something very similar to this in 1.7.10 with my Celestial Keys and each key called out to a class that spawned an entity. The concept is the same except it is called out to an itemclass instead of an entityclass.

 

Granted, I know I can probably do this by creating a specific item class for each card and attach it specifically to its respective item class as opposed to using Metadata like I am currently doing, but that isn't what I am going for. If there is no other option and I don't have a choice well I will do it, but my objective here is to better myself with java and 1.9.4 by trying to do things differently. So for anyone that may ask "Why are you doing it this way" it is simply because I am trying to learn and want to better myself.

 

So what am I doing wrong with the new 1.9 style? Is it my main card class? Is it my O_Fire_Card class? Or is it just totally wrong and needs to be completly rewritten? Any help and guidance with some example is greatly appreciated.

 

EDIT: Yes I know that adding the information and what not should probably be done in the main item class since I am really only making those other separate classed for and I plan to change that. I am more concerned with the actual functionality of the item.

Link to comment
Share on other sites

Bumping This Please. I fixed up the code a bit:

 

Here is the main card class:

http://pastebin.com/yXAWD09R

 

Here is the specific class I am trying to call out to

http://pastebin.com/g3LLPJTG

 

Ideally I need the onStoppedUsing Item method to be called. Like I said above, I know i can probably do this all in separate item classes registering the cards as separate items but that is not what I am looking to do unless I have no other choice.

Link to comment
Share on other sites

Bumping This Please. I fixed up the code a bit:

 

Here is the main card class:

http://pastebin.com/yXAWD09R

 

Here is the specific class I am trying to call out to

http://pastebin.com/g3LLPJTG

 

Ideally I need the onStoppedUsing Item method to be called. Like I said above, I know i can probably do this all in separate item classes registering the cards as separate items but that is not what I am looking to do unless I have no other choice.

Link to comment
Share on other sites

eAngelusCards#onItemUse

(called when the item is right clicked on a block) tries to instantiate one of the card

Item

s using a constructor that takes a

World

argument, but

O_card_Fire 

doesn't have this constructor. It also never calls a method on this new instance.

 

eAngelusCards

doesn't override

Item#onPlayerStoppedUsing

, so it does nothing when the player stops using it. It also has several override methods without

@Override

, you should always use this annotation so the compiler ensures that the methods actually override a super method.

 

That said, your design is a mess. You shouldn't be creating

Item

s on the fly or using

Item

s that haven't been registered.

 

What you should do is create a

Card

class with all the necessary methods and then have each card type extend this and override the appropriate methods to implement their functionality. You should then have a single card

Item

that stores an instance of each card type and overrides various

Item

methods to call the corresponding

Card

method.

 

If you wanted to make this system more extendable, you could create a registry for

Card

s using Forge's registry system (

IForgeRegistry

/

IForgeRegistryEntry

) and store the card type in either the NBT (as its registry name) or in a Capability of the

ItemStack

.

 

Edit: Fixed the formatting.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Link to comment
Share on other sites

eAngelusCards#onItemUse

(called when the item is right clicked on a block) tries to instantiate one of the card

Item

s using a constructor that takes a

World

argument, but

O_card_Fire 

doesn't have this constructor. It also never calls a method on this new instance.

 

eAngelusCards

doesn't override

Item#onPlayerStoppedUsing

, so it does nothing when the player stops using it. It also has several override methods without

@Override

, you should always use this annotation so the compiler ensures that the methods actually override a super method.

 

That said, your design is a mess. You shouldn't be creating

Item

s on the fly or using

Item

s that haven't been registered.

 

What you should do is create a

Card

class with all the necessary methods and then have each card type extend this and override the appropriate methods to implement their functionality. You should then have a single card

Item

that stores an instance of each card type and overrides various

Item

methods to call the corresponding

Card

method.

 

If you wanted to make this system more extendable, you could create a registry for

Card

s using Forge's registry system (

IForgeRegistry

/

IForgeRegistryEntry

) and store the card type in either the NBT (as its registry name) or in a Capability of the

ItemStack

.

 

Edit: Fixed the formatting.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Link to comment
Share on other sites

What he said, plus it looks as if your using reflection to try to implement your own runtime polymorphism. You don't need to do that; Java already does this for you when you use inheritance correctly.

 

Find a Java tutorial online and read about runtime polymorphism.

The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.

Link to comment
Share on other sites

What he said, plus it looks as if your using reflection to try to implement your own runtime polymorphism. You don't need to do that; Java already does this for you when you use inheritance correctly.

 

Find a Java tutorial online and read about runtime polymorphism.

The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.

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

    • Yes, I have the same issue even without Mowzies Mobs. I then get a crash report from the Mahou Tsukai Mod. If I remove the Mahou Tsukai the error continues with another mod. Somehow my Aternos server launches with these mods perfect fine. Mahou Tsukai Error Image: https://ibb.co/KGtrWLy Mahou Tsukai Crash Report: https://paste.ee/p/b3yaA
    • For a while now I have been following a tutorial on YouTube for DataGen that I am using for my mod. I have come across an error that I wanted to check on here before acting on anything that could mess up my progress. The error is as follows: Caused by: java.lang.IllegalStateException: No way of obtaining recipe droidsancientrelics:lemon_juice Curiously, It has worked fine with the "orange_juice" item but not the "lemon_juice," even though their code is the same. I am basically just reposting the same thing as before, though I am yet to get a reply.  Video link for reference.   PLEASE HELP!!!!
    • I have instaled sophisticated core and Creative core and both give me an error that puta code error 1
    • didnt work, showed the same error and the logs seemed identical
    • When I start the modpack in the Minecraft launcher there is a very fast loading of the green bar and then the launcher closes and nothing appears, here is the log   [30May2024 20:32:38.114] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, GrimmWolfXxX, --version, forge-43.3.13, --gameDir, G:\MINECRAFT MODS\CurseForge\Instances\MedievalTech, --assetsDir, G:\MINECRAFT MODS\CurseForge\Install\assets, --assetIndex, 1.19, --uuid, a82398839c5942c98568c89d20911ded, --accessToken, ????????, --clientId, Y2Q2ZDhmMjktOGQwMS00N2MxLThmYzYtNWYzMTU1YThlZjI1, --xuid, 2535458029473870, --userType, msa, --versionType, release, --width, 1024, --height, 768, --launchTarget, forgeclient, --fml.forgeVersion, 43.3.13, --fml.mcVersion, 1.19.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220805.130853] [30May2024 20:32:38.116] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 10.0.8+10.0.8+main.0ef7e830 starting: java version 17.0.8 by Microsoft; OS Windows 10 arch amd64 version 10.0 [30May2024 20:32:39.200] [main/INFO] [com.teampotato.redirector.Redirector/]: Redirector CoreMod initialized successfully! [30May2024 20:32:39.219] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/G:/MINECRAFT%20MODS/CurseForge/Install/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2397!/ Service=ModLauncher Env=CLIENT [30May2024 20:32:39.642] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file G:\MINECRAFT MODS\CurseForge\Install\libraries\net\minecraftforge\fmlcore\1.19.2-43.3.13\fmlcore-1.19.2-43.3.13.jar is missing mods.toml file [30May2024 20:32:39.643] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file G:\MINECRAFT MODS\CurseForge\Install\libraries\net\minecraftforge\javafmllanguage\1.19.2-43.3.13\javafmllanguage-1.19.2-43.3.13.jar is missing mods.toml file [30May2024 20:32:39.643] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file G:\MINECRAFT MODS\CurseForge\Install\libraries\net\minecraftforge\lowcodelanguage\1.19.2-43.3.13\lowcodelanguage-1.19.2-43.3.13.jar is missing mods.toml file [30May2024 20:32:39.644] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file G:\MINECRAFT MODS\CurseForge\Install\libraries\net\minecraftforge\mclanguage\1.19.2-43.3.13\mclanguage-1.19.2-43.3.13.jar is missing mods.toml file [30May2024 20:32:39.784] [main/WARN] [net.minecraftforge.jarjar.selection.JarSelector/]: Attempted to select two dependency jars from JarJar which have the same identification: Mod File:  and Mod File: . Using Mod File: [30May2024 20:32:39.785] [main/WARN] [net.minecraftforge.jarjar.selection.JarSelector/]: Attempted to select a dependency jar for JarJar which was passed in as source: curios. Using Mod File: G:\MINECRAFT MODS\CurseForge\Instances\MedievalTech\mods\curios-forge-1.19.2-5.1.6.2.jar [30May2024 20:32:39.785] [main/INFO] [net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator/]: Found 21 dependencies adding them to mods collection [30May2024 20:32:42.451] [main/INFO] [mixin/]: Compatibility level set to JAVA_17 [30May2024 20:32:42.483] [main/ERROR] [mixin/]: Mixin config epicsamurai.mixins.json does not specify "minVersion" property [30May2024 20:32:42.532] [main/ERROR] [mixin/]: Mixin config dynamiclightsreforged.mixins.json does not specify "minVersion" property [30May2024 20:32:42.556] [main/ERROR] [mixin/]: Mixin config radon.mixins.json does not specify "minVersion" property [30May2024 20:32:42.624] [main/INFO] [mixin/]: Successfully loaded Mixin Connector [tictim.paraglider.MixinConnector] [30May2024 20:32:42.625] [main/INFO] [mixin/]: Successfully loaded Mixin Connector [com.sonicether.soundphysics.MixinConnector] [30May2024 20:32:42.625] [main/INFO] [mixin/]: Successfully loaded Mixin Connector [ca.spottedleaf.starlight.mixin.MixinConnector] [30May2024 20:32:42.627] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'forgeclient' with arguments [--version, forge-43.3.13, --gameDir, G:\MINECRAFT MODS\CurseForge\Instances\MedievalTech, --assetsDir, G:\MINECRAFT MODS\CurseForge\Install\assets, --uuid, a82398839c5942c98568c89d20911ded, --username, GrimmWolfXxX, --assetIndex, 1.19, --accessToken, ????????, --clientId, Y2Q2ZDhmMjktOGQwMS00N2MxLThmYzYtNWYzMTU1YThlZjI1, --xuid, 2535458029473870, --userType, msa, --versionType, release, --width, 1024, --height, 768] [30May2024 20:32:42.661] [main/WARN] [ModernFixConfig/]: ModelDataManager bugfixes have been disabled to prevent broken rendering with Rubidium installed. Please migrate to Embeddium. [30May2024 20:32:42.662] [main/INFO] [ModernFix/]: Loaded configuration file for ModernFix 5.17.0+mc1.19.2: 84 options available, 2 override(s) found [30May2024 20:32:42.662] [main/WARN] [ModernFix/]: Option 'mixin.bugfix.model_data_manager_cme' overriden (by mods [rubidium]) to 'false' [30May2024 20:32:42.662] [main/WARN] [ModernFix/]: Option 'mixin.bugfix.item_cache_flag' overriden (by mods [radium]) to 'false' [30May2024 20:32:42.662] [main/INFO] [ModernFix/]: Applying Nashorn fix [30May2024 20:32:42.667] [main/INFO] [ModernFix/]: Applied Forge config corruption patch [30May2024 20:32:42.676] [main/WARN] [mixin/]: Reference map 'morevillagers-forge-forge-refmap.json' for morevillagers.mixins.json could not be read. If this is a development environment you can ignore this message [30May2024 20:32:42.679] [main/WARN] [mixin/]: Reference map 'yungsextras.refmap.json' for yungsextras.mixins.json could not be read. If this is a development environment you can ignore this message [30May2024 20:32:42.680] [main/WARN] [mixin/]: Reference map 'yungsextras.refmap.json' for yungsextras_forge.mixins.json could not be read. If this is a development environment you can ignore this message [30May2024 20:32:42.681] [main/WARN] [mixin/]: Reference map 'brrp-forge-forge-refmap.json' for brrp-forge.mixins.json could not be read. If this is a development environment you can ignore this message [30May2024 20:32:42.684] [main/WARN] [mixin/]: Reference map 'nitrogen_internals.refmap.json' for nitrogen_internals.mixins.json could not be read. If this is a development environment you can ignore this message [30May2024 20:32:42.692] [main/ERROR] [RadiumConfig/]: Option entity.collisions.fluid for dependency 'entity.collisions.fluid depends on chunk=true' not found. Skipping. [30May2024 20:32:42.692] [main/ERROR] [RadiumConfig/]: Option entity.collisions.fluid for dependency 'entity.collisions.fluid depends on chunk.block_counting=true' not found. Skipping. [30May2024 20:32:42.693] [main/INFO] [Radium/]: Loaded configuration file for Radium: 96 options available, 0 override(s) found [30May2024 20:32:42.696] [main/WARN] [mixin/]: Reference map 'arclight.mixins.refmap.json' for epicsamurai.mixins.json could not be read. If this is a development environment you can ignore this message [30May2024 20:32:42.699] [main/WARN] [mixin/]: Reference map 'untamedwilds.refmap.json' for untamedwilds.mixins.json could not be read. If this is a development environment you can ignore this message [30May2024 20:32:42.700] [main/WARN] [mixin/]: Reference map 'jeitweaker.refmap.json' for jeitweaker.forge.mixins.json could not be read. If this is a development environment you can ignore this message [30May2024 20:32:42.701] [main/WARN] [mixin/]: Reference map 'jeitweaker.refmap.json' for jeitweaker.common.mixins.json could not be read. If this is a development environment you can ignore this message [30May2024 20:32:42.703] [main/WARN] [mixin/]: Reference map 'antiqueatlas-forge-refmap.json' for antiqueatlas.mixins.json could not be read. If this is a development environment you can ignore this message [30May2024 20:32:42.706] [main/WARN] [mixin/]: Reference map '${refmap_target}refmap.json' for corgilib.forge.mixins.json could not be read. If this is a development environment you can ignore this message [30May2024 20:32:42.718] [main/WARN] [mixin/]: Reference map 'tlc.refmap.json' for tlc.mixins.json could not be read. If this is a development environment you can ignore this message [30May2024 20:32:42.722] [main/WARN] [mixin/]: Reference map 'insanelib.refmap.json' for insanelib.mixins.json could not be read. If this is a development environment you can ignore this message [30May2024 20:32:42.726] [main/WARN] [mixin/]: Reference map 'Bakery-forge-refmap.json' for bakery.mixins.json could not be read. If this is a development environment you can ignore this message [30May2024 20:32:42.744] [main/WARN] [mixin/]: Reference map 'xlpackets.refmap.json' for xlpackets.mixins.json could not be read. If this is a development environment you can ignore this message [30May2024 20:32:42.752] [main/INFO] [com.teampotato.redirector.Redirector/]: Redirecting com/llamalad7/mixinextras/service/MixinExtrasVersion [30May2024 20:32:42.778] [main/WARN] [mixin/]: Reference map 'mes-forge-refmap.json' for mes-forge.mixins.json could not be read. If this is a development environment you can ignore this message [30May2024 20:32:42.785] [main/INFO] [com.teampotato.redirector.Redirector/]: Redirecting malte0811/ferritecore/mixin/config/FerriteMixinConfig$LithiumSupportState [30May2024 20:32:42.796] [main/INFO] [com.abdelaziz.saturn.common.Saturn/]: Loaded Saturn config file with 4 configurable options [30May2024 20:32:42.808] [main/INFO] [Rubidium/]: Loaded configuration file for Rubidium: 30 options available, 0 override(s) found [30May2024 20:32:42.813] [main/WARN] [mixin/]: Reference map 'labels-common-refmap.json' for labels-common.mixins.json could not be read. If this is a development environment you can ignore this message [30May2024 20:32:42.813] [main/WARN] [mixin/]: Reference map 'labels-forge-refmap.json' for labels.mixins.json could not be read. If this is a development environment you can ignore this message [30May2024 20:32:42.815] [main/WARN] [mixin/]: Reference map 'lmft-forge-refmap.json' for lmft.mixins.json could not be read. If this is a development environment you can ignore this message [30May2024 20:32:42.817] [main/WARN] [mixin/]: Reference map 'mysticaloaktree-common-refmap.json' for mysticaloaktree-common.mixins.json could not be read. If this is a development environment you can ignore this message [30May2024 20:32:42.818] [main/WARN] [mixin/]: Reference map 'mysticaloaktree-forge-refmap.json' for mysticaloaktree.mixins.json could not be read. If this is a development environment you can ignore this message [30May2024 20:32:42.826] [main/WARN] [mixin/]: Reference map 'thirst.refmap.json' for villagercomfort.mixin.json could not be read. If this is a development environment you can ignore this message [30May2024 20:32:42.830] [main/INFO] [com.teampotato.redirector.Redirector/]: Redirecting com/illusivesoulworks/polymorph/common/integration/PolymorphIntegrations$Mod [30May2024 20:32:42.831] [main/INFO] [com.teampotato.redirector.Redirector/]: Redirecting com/illusivesoulworks/polymorph/common/integration/PolymorphIntegrations$Loader [30May2024 20:32:42.849] [main/WARN] [mixin/]: Reference map 'naturalist-forge-forge-refmap.json' for naturalist.mixins.json could not be read. If this is a development environment you can ignore this message [30May2024 20:32:42.852] [main/INFO] [fpsreducer/]: OptiFine was NOT detected. [30May2024 20:32:42.853] [main/INFO] [fpsreducer/]: OptiFabric was NOT detected. [30May2024 20:32:42.854] [main/WARN] [mixin/]: Reference map 'dummmmmmy-forge-refmap.json' for dummmmmmy.mixins.json could not be read. If this is a development environment you can ignore this message [30May2024 20:32:42.858] [main/WARN] [mixin/]: Reference map 'VampirismCoveredArmor.refmap.json' for vampirismcoveredarmor.mixins.json could not be read. If this is a development environment you can ignore this message [30May2024 20:32:42.862] [main/INFO] [Sodium Extra Config/]: Loaded configuration file for Sodium Extra: 28 options available, 0 override(s) found [30May2024 20:32:42.864] [main/WARN] [mixin/]: Reference map 'smallships-forge-refmap.json' for smallships.mixins.json could not be read. If this is a development environment you can ignore this message [30May2024 20:32:42.866] [main/WARN] [mixin/]: Reference map 'limitedchunks.refmap.json' for limitedchunks.mixins.json could not be read. If this is a development environment you can ignore this message [30May2024 20:32:42.875] [main/WARN] [mixin/]: Reference map 'mvs-forge-refmap.json' for mvs-forge.mixins.json could not be read. If this is a development environment you can ignore this message [30May2024 20:32:42.979] [main/INFO] [net.minecraftforge.coremod.CoreMod.placebo/COREMODLOG]: Patching IForgeItemStack#getEnchantmentLevel [30May2024 20:32:42.982] [main/INFO] [net.minecraftforge.coremod.CoreMod.placebo/COREMODLOG]: Patching IForgeItemStack#getEnchantmentLevel [30May2024 20:32:43.092] [main/WARN] [mixin/]: Error loading class: mezz/modnametooltip/TooltipEventHandler (java.lang.ClassNotFoundException: mezz.modnametooltip.TooltipEventHandler) [30May2024 20:32:43.093] [main/WARN] [mixin/]: Error loading class: me/shedaniel/rei/impl/client/ClientHelperImpl (java.lang.ClassNotFoundException: me.shedaniel.rei.impl.client.ClientHelperImpl) [30May2024 20:32:43.142] [main/WARN] [mixin/]: Error loading class: net/minecraft/client/renderer/item/ItemProperties$static$1 (java.lang.ClassNotFoundException: net.minecraft.client.renderer.item.ItemProperties$static$1) [30May2024 20:32:43.143] [main/WARN] [mixin/]: @Mixin target net.minecraft.client.renderer.item.ItemProperties$static$1 was not found infernal-expansion.mixins.json:client.MixinItemProperties [30May2024 20:32:43.150] [main/WARN] [mixin/]: Error loading class: com/simibubi/create/content/contraptions/components/fan/AirCurrent (java.lang.ClassNotFoundException: com.simibubi.create.content.contraptions.components.fan.AirCurrent) [30May2024 20:32:43.300] [main/INFO] [net.minecraftforge.coremod.CoreMod.apotheosis/COREMODLOG]: Replaced 2 calls to Enchantment#getMaxLevel() in net/minecraft/world/inventory/AnvilMenu [30May2024 20:32:43.307] [main/INFO] [net.minecraftforge.coremod.CoreMod.placebo/COREMODLOG]: Patching IForgeItemStack#getEnchantmentLevel [30May2024 20:32:43.308] [main/INFO] [net.minecraftforge.coremod.CoreMod.placebo/COREMODLOG]: Patching IForgeItemStack#getEnchantmentLevel [30May2024 20:32:43.312] [main/WARN] [mixin/]: Error loading class: com/hollingsworth/arsnouveau/common/items/SpellCrossbow (java.lang.ClassNotFoundException: com.hollingsworth.arsnouveau.common.items.SpellCrossbow) [30May2024 20:32:43.470] [main/INFO] [com.teampotato.redirector.Redirector/]: Redirecting link/infra/indium/renderer/aocalc/AoConfig [30May2024 20:32:43.634] [main/WARN] [mixin/]: Error loading class: com/mrcrayfish/guns/client/handler/RecoilHandler (java.lang.ClassNotFoundException: com.mrcrayfish.guns.client.handler.RecoilHandler) [30May2024 20:32:43.635] [main/WARN] [mixin/]: Error loading class: dev/tr7zw/skinlayers/render/CustomizableModelPart (java.lang.ClassNotFoundException: dev.tr7zw.skinlayers.render.CustomizableModelPart) [30May2024 20:32:43.637] [main/WARN] [mixin/]: Error loading class: net/optifine/shaders/ShadersRender (java.lang.ClassNotFoundException: net.optifine.shaders.ShadersRender) [30May2024 20:32:43.637] [main/WARN] [mixin/]: @Mixin target net.optifine.shaders.ShadersRender was not found shouldersurfing.forge.mixins.json:MixinShadersRender [30May2024 20:32:43.709] [main/WARN] [mixin/]: Error loading class: com/min01/archaeology/item/BrushItem (java.lang.ClassNotFoundException: com.min01.archaeology.item.BrushItem) [30May2024 20:32:43.709] [main/WARN] [mixin/]: @Mixin target com.min01.archaeology.item.BrushItem was not found cataclysm.mixins.json:BrushItemMixin [30May2024 20:32:43.712] [main/WARN] [mixin/]: Error loading class: shadows/apotheosis/ench/table/ApothEnchantContainer (java.lang.ClassNotFoundException: shadows.apotheosis.ench.table.ApothEnchantContainer) [30May2024 20:32:43.712] [main/WARN] [mixin/]: @Mixin target shadows.apotheosis.ench.table.ApothEnchantContainer was not found origins_classes.mixins.json:common.apotheosis.ApotheosisEnchantmentMenuMixin [30May2024 20:32:43.714] [main/WARN] [mixin/]: Error loading class: se/mickelus/tetra/blocks/workbench/WorkbenchTile (java.lang.ClassNotFoundException: se.mickelus.tetra.blocks.workbench.WorkbenchTile) [30May2024 20:32:43.714] [main/WARN] [mixin/]: @Mixin target se.mickelus.tetra.blocks.workbench.WorkbenchTile was not found origins_classes.mixins.json:common.tetra.WorkbenchTileMixin [30May2024 20:32:43.749] [main/WARN] [mixin/]: Error loading class: dev/ftb/mods/ftbchunks/data/ClaimedChunkManager (java.lang.ClassNotFoundException: dev.ftb.mods.ftbchunks.data.ClaimedChunkManager) [30May2024 20:32:43.749] [main/WARN] [mixin/]: @Mixin target dev.ftb.mods.ftbchunks.data.ClaimedChunkManager was not found doespotatotick.mixins.json:ClaimedChunkManagerAccessor [30May2024 20:32:43.777] [main/INFO] [auudio/mixin/AuudioMixinPlugin/]: APPLYING MIXIN: de.keksuccino.auudio.mixin.client.MixinSoundBufferLibrary | TO TARGET: net.minecraft.client.sounds.SoundBufferLibrary [30May2024 20:32:43.777] [main/INFO] [auudio/mixin/AuudioMixinPlugin/]: APPLYING MIXIN: de.keksuccino.auudio.mixin.client.MixinSoundEngine | TO TARGET: net.minecraft.client.sounds.SoundEngine [30May2024 20:32:43.806] [main/WARN] [mixin/]: Error loading class: com/izofar/takesapillage/entity/Archer (java.lang.ClassNotFoundException: com.izofar.takesapillage.entity.Archer) [30May2024 20:32:43.806] [main/WARN] [mixin/]: @Mixin target com.izofar.takesapillage.entity.Archer was not found difficultraids.mixin.json:compat.ArcherMixin [30May2024 20:32:43.806] [main/WARN] [mixin/]: Error loading class: cn/leolezury/leosillagers/entity/Clownager (java.lang.ClassNotFoundException: cn.leolezury.leosillagers.entity.Clownager) [30May2024 20:32:43.807] [main/WARN] [mixin/]: @Mixin target cn.leolezury.leosillagers.entity.Clownager was not found difficultraids.mixin.json:compat.ClownagerMixin [30May2024 20:32:43.810] [main/WARN] [mixin/]: Error loading class: baguchan/hunterillager/entity/HunterIllagerEntity (java.lang.ClassNotFoundException: baguchan.hunterillager.entity.HunterIllagerEntity) [30May2024 20:32:43.810] [main/WARN] [mixin/]: @Mixin target baguchan.hunterillager.entity.HunterIllagerEntity was not found difficultraids.mixin.json:compat.HunterIllagerMixin [30May2024 20:32:43.810] [main/WARN] [mixin/]: Error loading class: com/izofar/takesapillage/entity/Legioner (java.lang.ClassNotFoundException: com.izofar.takesapillage.entity.Legioner) [30May2024 20:32:43.810] [main/WARN] [mixin/]: @Mixin target com.izofar.takesapillage.entity.Legioner was not found difficultraids.mixin.json:compat.LegionerMixin [30May2024 20:32:43.811] [main/WARN] [mixin/]: Error loading class: cn/leolezury/leosillagers/entity/LightningCaller (java.lang.ClassNotFoundException: cn.leolezury.leosillagers.entity.LightningCaller) [30May2024 20:32:43.811] [main/WARN] [mixin/]: @Mixin target cn.leolezury.leosillagers.entity.LightningCaller was not found difficultraids.mixin.json:compat.LightningCallerMixin [30May2024 20:32:43.824] [main/WARN] [mixin/]: Error loading class: com/infamous/dungeons_mobs/entities/illagers/MountaineerEntity (java.lang.ClassNotFoundException: com.infamous.dungeons_mobs.entities.illagers.MountaineerEntity) [30May2024 20:32:43.824] [main/WARN] [mixin/]: @Mixin target com.infamous.dungeons_mobs.entities.illagers.MountaineerEntity was not found difficultraids.mixin.json:compat.MountaineerMixin [30May2024 20:32:43.825] [main/WARN] [mixin/]: Error loading class: com/infamous/dungeons_mobs/entities/redstone/RedstoneGolemEntity (java.lang.ClassNotFoundException: com.infamous.dungeons_mobs.entities.redstone.RedstoneGolemEntity) [30May2024 20:32:43.825] [main/WARN] [mixin/]: @Mixin target com.infamous.dungeons_mobs.entities.redstone.RedstoneGolemEntity was not found difficultraids.mixin.json:compat.RedstoneGolemMixin [30May2024 20:32:43.826] [main/WARN] [mixin/]: Error loading class: com/infamous/dungeons_mobs/entities/illagers/RoyalGuardEntity (java.lang.ClassNotFoundException: com.infamous.dungeons_mobs.entities.illagers.RoyalGuardEntity) [30May2024 20:32:43.826] [main/WARN] [mixin/]: @Mixin target com.infamous.dungeons_mobs.entities.illagers.RoyalGuardEntity was not found difficultraids.mixin.json:compat.RoyalGuardMixin [30May2024 20:32:43.826] [main/WARN] [mixin/]: Error loading class: com/izofar/takesapillage/entity/Skirmisher (java.lang.ClassNotFoundException: com.izofar.takesapillage.entity.Skirmisher) [30May2024 20:32:43.826] [main/WARN] [mixin/]: @Mixin target com.izofar.takesapillage.entity.Skirmisher was not found difficultraids.mixin.json:compat.SkirmisherMixin [30May2024 20:32:43.828] [main/WARN] [mixin/]: Error loading class: cn/leolezury/leosillagers/entity/VindicatorWithShield (java.lang.ClassNotFoundException: cn.leolezury.leosillagers.entity.VindicatorWithShield) [30May2024 20:32:43.829] [main/WARN] [mixin/]: @Mixin target cn.leolezury.leosillagers.entity.VindicatorWithShield was not found difficultraids.mixin.json:compat.VindicatorWithShieldMixin [30May2024 20:32:43.849] [main/INFO] [net.minecraftforge.coremod.CoreMod.apotheosis/COREMODLOG]: Patching FishingHook#catchingFish [30May2024 20:32:43.927] [main/WARN] [mixin/]: Error loading class: net/minecraft/resources/RegistryDataLoader (java.lang.ClassNotFoundException: net.minecraft.resources.RegistryDataLoader) [30May2024 20:32:43.927] [main/WARN] [mixin/]: @Mixin target net.minecraft.resources.RegistryDataLoader was not found zeta.mixins.json:RegistryDataLoaderMixin [30May2024 20:32:43.971] [main/INFO] [fpsreducer/]: bre2el.fpsreducer.mixin.RenderSystemMixin will be applied. [30May2024 20:32:43.972] [main/INFO] [fpsreducer/]: bre2el.fpsreducer.mixin.WindowMixin will NOT be applied because OptiFine was NOT detected. [30May2024 20:32:44.036] [main/INFO] [net.minecraftforge.coremod.CoreMod.apotheosis/COREMODLOG]: Replaced 1 calls to Enchantment#getMaxLevel() in net/minecraft/world/entity/npc/VillagerTrades$EnchantBookForEmeralds [30May2024 20:32:44.036] [main/INFO] [net.minecraftforge.coremod.CoreMod.apotheosis/COREMODLOG]: Replaced 1 calls to Enchantment#isTreasureOnly() in net/minecraft/world/entity/npc/VillagerTrades$EnchantBookForEmeralds [30May2024 20:32:44.036] [main/INFO] [net.minecraftforge.coremod.CoreMod.apotheosis/COREMODLOG]: Replaced 1 calls to Enchantment#isTradeable() in net/minecraft/world/entity/npc/VillagerTrades$EnchantBookForEmeralds [30May2024 20:32:44.040] [main/INFO] [net.minecraftforge.coremod.CoreMod.apotheosis/COREMODLOG]: Replaced 2 calls to Enchantment#getMaxLevel() in net/minecraft/world/item/EnchantedBookItem [30May2024 20:32:44.044] [main/INFO] [net.minecraftforge.coremod.CoreMod.apotheosis/COREMODLOG]: Replaced 1 calls to Enchantment#getMaxLevel() in net/minecraft/world/level/storage/loot/functions/EnchantRandomlyFunction [30May2024 20:32:44.044] [main/INFO] [net.minecraftforge.coremod.CoreMod.apotheosis/COREMODLOG]: Replaced 1 calls to Enchantment#isDiscoverable() in net/minecraft/world/level/storage/loot/functions/EnchantRandomlyFunction [30May2024 20:32:44.055] [main/INFO] [net.minecraftforge.coremod.CoreMod.apotheosis/COREMODLOG]: Patching EffectRenderingInventoryScreen#renderEffects [30May2024 20:32:44.170] [main/INFO] [MixinExtras|Service/]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.3.5). [30May2024 20:32:44.198] [main/INFO] [com.teampotato.redirector.Redirector/]: Redirecting net/minecraft/util/datafix/DataFixerOptimizationOption [30May2024 20:32:44.206] [main/INFO] [com.teampotato.redirector.Redirector/]: Redirecting net/minecraft/util/Unit [30May2024 20:32:44.231] [main/INFO] [com.teampotato.redirector.Redirector/]: Redirecting net/minecraft/ChatFormatting [30May2024 20:32:44.239] [main/WARN] [mixin/]: Static binding violation: PRIVATE @Overwrite method m_216202_ in modernfix-forge.mixins.json:perf.tag_id_caching.TagOrElementLocationMixin cannot reduce visibiliy of PUBLIC target method, visibility will be upgraded. [30May2024 20:32:44.277] [main/INFO] [com.teampotato.redirector.Redirector/]: Redirecting net/minecraft/client/User$Type [30May2024 20:32:45.032] [main/INFO] [mixin/]: BeforeConstant is searching for constants in method with descriptor (Lnet/minecraft/network/chat/Component;Z)V [30May2024 20:32:45.032] [main/INFO] [mixin/]:   BeforeConstant found INTEGER constant: value = 0, intValue = null [30May2024 20:32:45.032] [main/INFO] [mixin/]:     BeforeConstant found a matching constant TYPE at ordinal 0 [30May2024 20:32:45.032] [main/INFO] [mixin/]:       BeforeConstant found Insn [ICONST_0] [30May2024 20:32:45.032] [main/INFO] [mixin/]:   BeforeConstant found INTEGER constant: value = 60, intValue = null [30May2024 20:32:45.033] [main/INFO] [mixin/]:     BeforeConstant found a matching constant TYPE at ordinal 1 [30May2024 20:32:45.033] [main/INFO] [mixin/]:       BeforeConstant found IntInsn 60 [30May2024 20:32:45.184] [main/INFO] [net.minecraftforge.coremod.CoreMod.apotheosis/COREMODLOG]: Patching EffectRenderingInventoryScreen#renderEffects [30May2024 20:32:45.205] [main/INFO] [com.teampotato.redirector.Redirector/]: Redirecting net/minecraft/Util$OS [30May2024 20:32:45.218] [pool-4-thread-1/INFO] [net.minecraft.server.Bootstrap/]: ModernFix reached bootstrap stage (8.092 s after launch) [30May2024 20:32:45.232] [pool-4-thread-1/INFO] [com.teampotato.redirector.Redirector/]: Redirecting net/minecraft/Util$IdentityStrategy [30May2024 20:32:45.236] [pool-4-thread-1/INFO] [com.teampotato.redirector.Redirector/]: Redirecting net/minecraft/core/Holder$Reference$Type [30May2024 20:32:45.247] [pool-4-thread-1/WARN] [mixin/]: @Final field delegatesByName:Ljava/util/Map; in modernfix-forge.mixins.json:perf.forge_registry_alloc.ForgeRegistryMixin should be final [30May2024 20:32:45.247] [pool-4-thread-1/WARN] [mixin/]: @Final field delegatesByValue:Ljava/util/Map; in modernfix-forge.mixins.json:perf.forge_registry_alloc.ForgeRegistryMixin should be final [30May2024 20:32:45.284] [pool-4-thread-1/INFO] [ModernFix/]: Injecting BlockStateBase cache population hook into getOpacityIfCached from ca.spottedleaf.starlight.mixin.common.blockstate.BlockStateBaseMixin [30May2024 20:32:45.284] [pool-4-thread-1/INFO] [ModernFix/]: Injecting BlockStateBase cache population hook into getNeighborPathNodeType from me.jellysquid.mods.lithium.mixin.ai.pathing.AbstractBlockStateMixin [30May2024 20:32:45.284] [pool-4-thread-1/INFO] [ModernFix/]: Injecting BlockStateBase cache population hook into getPathNodeType from me.jellysquid.mods.lithium.mixin.ai.pathing.AbstractBlockStateMixin [30May2024 20:32:45.284] [pool-4-thread-1/INFO] [ModernFix/]: Injecting BlockStateBase cache population hook into m_60823_ from me.jellysquid.mods.lithium.mixin.block.flatten_states.AbstractBlockStateMixin [30May2024 20:32:45.284] [pool-4-thread-1/INFO] [ModernFix/]: Injecting BlockStateBase cache population hook into isConditionallyFullOpaque from ca.spottedleaf.starlight.mixin.common.blockstate.BlockStateBaseMixin [30May2024 20:32:45.284] [pool-4-thread-1/INFO] [ModernFix/]: Injecting BlockStateBase cache population hook into getAllFlags from me.jellysquid.mods.lithium.mixin.chunk.block_counting.AbstractBlockStateMixin [30May2024 20:32:45.725] [pool-4-thread-1/INFO] [com.teampotato.redirector.Redirector/]: Redirecting net/minecraft/core/Direction [30May2024 20:32:45.726] [pool-4-thread-1/INFO] [com.teampotato.redirector.Redirector/]: Redirecting net/minecraft/core/Direction$AxisDirection [30May2024 20:32:45.726] [pool-4-thread-1/INFO] [com.teampotato.redirector.Redirector/]: Redirecting net/minecraft/core/Direction$Axis [30May2024 20:32:45.741] [pool-4-thread-1/INFO] [com.teampotato.redirector.Redirector/]: Redirecting net/minecraft/world/level/material/PushReaction [30May2024 20:32:45.766] [pool-4-thread-1/INFO] [com.cupboard.Cupboard/]: Loaded config for: biomemusic.json [30May2024 20:32:45.768] [pool-4-thread-1/INFO] [com.teampotato.redirector.Redirector/]: Redirecting net/minecraft/world/level/block/state/BlockBehaviour$OffsetType [30May2024 20:32:45.791] [pool-4-thread-1/INFO] [com.teampotato.redirector.Redirector/]: Redirecting net/minecraft/world/level/pathfinder/BlockPathTypes    
  • Topics

×
×
  • Create New...

Important Information

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