Jump to content

Recommended Posts

Posted

Hi,

 

I'm wondering how to create NBT tags for Items in MC 1.8.9, so that every item got a different timer and all timers will be saved, so that after reloading the world, they are not resetted.

 

Thanks in advance.

Bektor

Developer of Primeval Forest.

Posted

Ok, I did it now this way:

 

	public int tickExist = -1;

@Override
public void onCreated(ItemStack stack, World worldIn, EntityPlayer playerIn) {
	stack.getSubCompound(Constants.MOD_ID, true);

	if(stack.getTagCompound() != null && stack.getTagCompound().getInteger("timer") == -1)
	       stack.getTagCompound().setInteger("timer", tickExist);
}

@Override
@SideOnly(Side.CLIENT)
public void addInformation(ItemStack stack, EntityPlayer playerIn, List<String> tooltip, boolean advanced) {
	if(stack.getTagCompound() != null) {
		this.tickExist = stack.getTagCompound().getInteger("timer");
	}
	tooltip.add(EnumChatFormatting.DARK_AQUA + "" + (15 - TimeUtil.ticksToSeconds(tickExist) < 0 ? "0" : 15 - TimeUtil.ticksToSeconds(tickExist) + " seconds left"));
}

In the update method, the

tickExist

are going to be updated.

So, is it correct that I'm using

stack.getTagCompound().getInteger("timer");

 

Oh and now all items got the same value. So, what is wrong?

Developer of Primeval Forest.

Posted

So I should do it that way:

stack.getSubCompound(Constants.MOD_ID, true).getInteger("timer")

And set it the same way? Correct?

 

And does I need to have a check in the addInformation to see if the NBTTagCompound is null or not?

And when will the onCreated method called? Only when the item gets created or when the object gets re-created (like after the Game was restarted)?

(just want to know, because I want to know if I have to check if the NBT Tag I want to set already exists or if I just can create it because it will never override an existing one, because it will never be called when the Game was loaded and the item already exists in the world which was loaded)

 

EDIT:

oh and how much performance does

stack.getSubCompound(Constants.MOD_ID, true).getInteger("timer")

cost? Because I'm wondering if its a good idea to use it in the update method, too, to set and get the "timer" variable. (use it here multiply times per update)

Developer of Primeval Forest.

Posted

Ok, thx. Now its working perfectly. And yeah, MC has such a performance, there are such things really negligible. xD

(I'm wondering how the performance would be when MC would use OpenGL 3.3, Java 8 and would be optimised on performance and speed (same graphics), I think it would run faster)

Developer of Primeval Forest.

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

    • My game was running smoothly for a few days, but once when I exited the forge app and opened it and minecraft again, it wouldn't move past "Loading bootstrap resources". I've looked up solutions online, but all I found was to just increase my ram or check if certain mods aren't compatible, though my ram is already half of my computer's max, and all of my mods shouldn't have issues with one another. I don't know much about code, tech or logs, so hopefully somebody out there could decipher this log file?   2025-01-24 20:25:27,222 main WARN Advanced terminal features are not available in this environment [20:25:27] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, SUPERBoBober, --version, forge-47.3.0, --gameDir, C:\Users\Bogdan\curseforge\minecraft\Instances\Profile2, --assetsDir, C:\Users\Bogdan\curseforge\minecraft\Install\assets, --assetIndex, 5, --uuid, e4373b79426b3fffa6159b893e4f6944, --accessToken, ????????, --clientId, 0, --xuid, 0, --userType, msa, --versionType, release, --width, 1024, --height, 768, --launchTarget, forgeclient, --fml.forgeVersion, 47.3.0, --fml.mcVersion, 1.20.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20230612.114412] [20:25:27] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 10.0.9+10.0.9+main.dcd20f30 starting: java version 17.0.8 by Microsoft; OS Windows 11 arch amd64 version 10.0 [20:25:28] [main/INFO] [ne.mi.fm.lo.ImmediateWindowHandler/]: Loading ImmediateWindowProvider fmlearlywindow [20:25:28] [main/INFO] [EARLYDISPLAY/]: Trying GL version 4.6 [20:25:28] [main/INFO] [EARLYDISPLAY/]: Requested GL version 4.6 got version 4.6 [20:25:29] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/C:/Users/Bogdan/curseforge/minecraft/Install/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%23100!/ Service=ModLauncher Env=CLIENT [20:25:29] [pool-4-thread-1/INFO] [EARLYDISPLAY/]: GL info: AMD Radeon RX 6600 GL version 4.6.0 Core Profile Context 23.10.2.231013, ATI Technologies Inc. [20:25:29] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file C:\Users\Bogdan\curseforge\minecraft\Install\libraries\net\minecraftforge\fmlcore\1.20.1-47.3.0\fmlcore-1.20.1-47.3.0.jar is missing mods.toml file [20:25:29] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file C:\Users\Bogdan\curseforge\minecraft\Install\libraries\net\minecraftforge\javafmllanguage\1.20.1-47.3.0\javafmllanguage-1.20.1-47.3.0.jar is missing mods.toml file [20:25:29] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file C:\Users\Bogdan\curseforge\minecraft\Install\libraries\net\minecraftforge\lowcodelanguage\1.20.1-47.3.0\lowcodelanguage-1.20.1-47.3.0.jar is missing mods.toml file [20:25:29] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file C:\Users\Bogdan\curseforge\minecraft\Install\libraries\net\minecraftforge\mclanguage\1.20.1-47.3.0\mclanguage-1.20.1-47.3.0.jar is missing mods.toml file [20:25:30] [main/WARN] [ne.mi.ja.se.JarSelector/]: Attempted to select two dependency jars from JarJar which have the same identification: Mod File:  and Mod File: . Using Mod File: [20:25:30] [main/WARN] [ne.mi.ja.se.JarSelector/]: Attempted to select a dependency jar for JarJar which was passed in as source: aeroblender. Using Mod File: C:\Users\Bogdan\curseforge\minecraft\Instances\Profile2\mods\aeroblender-1.20.1-1.0.1-neoforge.jar [20:25:30] [main/WARN] [ne.mi.ja.se.JarSelector/]: Attempted to select a dependency jar for JarJar which was passed in as source: curios. Using Mod File: C:\Users\Bogdan\curseforge\minecraft\Instances\Profile2\mods\curios-forge-5.11.1+1.20.1.jar [20:25:30] [main/INFO] [ne.mi.fm.lo.mo.JarInJarDependencyLocator/]: Found 26 dependencies adding them to mods collection [20:25:33] [main/INFO] [mixin/]: Compatibility level set to JAVA_17 [20:25:34] [main/INFO] [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Launching target 'forgeclient' with arguments [--version, forge-47.3.0, --gameDir, C:\Users\Bogdan\curseforge\minecraft\Instances\Profile2, --assetsDir, C:\Users\Bogdan\curseforge\minecraft\Install\assets, --uuid, e4373b79426b3fffa6159b893e4f6944, --username, SUPERBoBober, --assetIndex, 5, --accessToken, ????????, --clientId, 0, --xuid, 0, --userType, msa, --versionType, release, --width, 1024, --height, 768] [20:25:34] [main/WARN] [mixin/]: Reference map 'createdeco-forge-refmap.json' for createdeco.mixins.json could not be read. If this is a development environment you can ignore this message [20:25:34] [main/WARN] [mixin/]: Reference map 'handcrafted-forge-1.20.1-forge-refmap.json' for handcrafted.mixins.json could not be read. If this is a development environment you can ignore this message [20:25:34] [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 [20:25:34] [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 [20:25:34] [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 [20:25:34] [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 [20:25:34] [main/WARN] [mixin/]: Reference map 'farmersrespite.refmap.json' for farmersrespite.mixins.json could not be read. If this is a development environment you can ignore this message [20:25:34] [main/INFO] [Puzzles Lib/]: Loading 198 mods:     - aeroblender 1.20.1-1.0.1-neoforge     - aether 1.20.1-1.5.1-neoforge         |-- cumulus_menus 1.20.1-1.0.1-neoforge         \-- nitrogen_internals 1.20.1-1.0.11-neoforge     - alexscaves 2.0.2     - alexsdelight 1.5     - alexsmobs 1.22.9     - architectury 9.2.14     - ascended_quark 1.1.4     - athena 3.1.2     - attributefix 21.0.4     - attributeslib 1.3.7     - autochefsdelight 1.0.5+forge     - bagus_lib 1.20.1-5.3.0     - balm 7.3.11         \-- kuma_api 20.1.9-SNAPSHOT     - betteradvancements 0.4.2.25     - betterdungeons 1.20-Forge-4.0.4     - bettermineshafts 1.20-Forge-4.0.4     - betteroceanmonuments 1.20-Forge-3.0.4     - betterstrongholds 1.20-Forge-4.0.3     - biomesoplenty 19.0.0.94     - biomeswevegone 1.5.2     - bloodandmadness 2.0     - bloodmagic 3.3.3-45     - blue_skies 1.3.31     - bosses_of_mass_destruction 1.1.1     - bossominium 18.5     - botarium 2.3.4     - brutalbosses 1.20.1-7.1     - brutalharvest 1.14.4     - caelus 3.2.0+1.20.1     - cataclysm 2.43     - cerbons_api 1.0.0     - chisel 1.8.0     - choups_drakvyrn_mod 2.5.0     - citadel 2.6.1     - cloth_config 11.1.136     - cofh_core 11.0.2     - corgilib 4.0.3.3     - crafttweaker 14.0.50     - create 0.5.1.j         \-- flywheel 0.6.11-13     - create_central_kitchen 1.3.12         |-- create_dragon_lib 1.4.3         \-- mixinextras 0.2.0     - create_dd 0.1b.Release-Early-Dev     - create_enchantment_industry 1.2.9.d     - create_factory 0.4b-1.20.1     - create_new_age 1.1.2     - createaddition 1.20.1-1.2.5     - createdeco 2.0.2-1.20.1-forge     - cristellib 1.1.6     - ctov 3.4.11     - culinaryconstruct 5.2.1+1.20.1         \-- spectrelib 0.13.14+1.20.1     - cupboard 1.20.1-2.7     - curios 5.11.1+1.20.1     - deep_aether 1.20.1-1.0.4     - deep_dark_regrowth 1.2.6.1     - diamethyst_arrows 1.1.5-1.20.1     - diamethyst_golem 1.0.2-1.20.1     - diamethyst_mw 1.0.1-1.20.1     - diamethysts 1.9.7-1.20.1     - dragonseeker 1.2.0-1.20.1     - dungeons_arise 2.1.58-1.20.x     - dungeons_arise_seven_seas 1.0.2     - dynamicvillage 0.4     - endersdelight 1.0.3     - enhancedcelestials 1.20.1-5.0.2.3     - epicfight 20.9.6     - excompressum 20.1.6     - exdeorum 1.44     - fabledweaponry 1.20.1-1.0.7.5     - falchionmoveset 20.8.2     - farmers_delight_christmas_editio 1.0.0     - farmers_structures 1.0.0     - farmersdelight 1.20.1-1.2.6     - farmersrespite 1.20.1-2.1     - forge 47.3.0     - formations 1.0.3     - formationsnether 1.0.5     - friendsandfoes 3.0.7     - fusion 1.2.3     - geckolib 4.7     - glitchcore 0.0.1.1     - handcrafted 3.0.6     - hanew_village_mod 3.0.0     - hunters_return 1.20.1-11.6.4     - huntersmoon 1.20     - iceandfire 2.1.13-1.20.1     - illager_additions 1.20.1-0.0.2-alpha     - illager_trader 3.0.0     - illagerinvasion 8.0.6     - illagerraidmusic 1.1.1     - illagerrevolutionmod 1.4}     - illagerwarship 1.0.0     - immersive_armors 1.6.1+1.20.1     - immersive_melodies 0.3.0+1.20.1     - impactful 20.8.3     - indestructible 20.9.2     - interiors 0.5.6     - irons_spellbooks 1.20.1-3.4.0.7     - jade 11.12.3+forge     - jadeaddons 5.3.1+forge     - jei 15.20.0.106     - jeitweaker 8.0.6     - justenoughprofessions 3.0.1     - kotlinforforge 4.11.0     - kubejs 2001.6.5-build.16     - kubejs_create 2001.2.5-build.2     - lendersdelight 1.0.2-1.20.1     - lionfishapi 2.4-Fix     - lithostitched 1.4     - ls_spooky_music 1.0.1     - magistuarmory 9.21     - mantle 1.11.36     - medieval_buildings 1.0.2     - medieval_paintings 7.0     - medievalend 1.0.1     - medievalmusic 1.20.1-2.1     - medievalorigins 6.5.0+1.20.1-forge         \-- apugli 2.10.2+1.20.1-forge     - meetyourfight 1.20.1-1.4.1     - minecraft 1.20.1     - moremobvariants 1.3.0.1     - morevillagers 5.0.0     - mowzies_cataclysm 1.1.0     - mowziesdelight 1.1.2.4-1.20.1     - mowziesmobs 1.6.4     - mr_hero_proof 5.1.2     - mr_tidal_towns 1.3.4     - mutant_iceologer 2.0.2     - mutant_wolf 1.0.0     - mutantmonsters 8.0.7     - mutantsbuff 1.0.0     - nethersdelight 1.20.1-4.0     - oceansdelight 1.0.2-1.20     - octolib 0.4.2     - oculus 1.8.0     - ohthetreesyoullgrow 1.20.1-1.3.4     - origins 1.20.1-1.10.0.9         |-- additionalentityattributes 1.4.0.5+1.20.1         |-- apoli 1.20.1-2.9.0.8         \-- calio 1.20.1-1.11.0.5     - patchouli 1.20.1-84-FORGE     - pehkui 3.8.2+1.20.1-forge     - placebo 8.6.2     - playeranimator 1.0.2-rc1+1.20     - projectile_damage 3.2.2+1.20.1     - puzzleslib 8.1.25         \-- puzzlesaccessapi 8.0.7     - quark 4.0-460     - quarkoddities 1.20.1     - raccompat 0.1.3     - railways 1.6.7+forge-mc1.20.1     - ramcompat 0.1.4     - rechiseled 1.1.6     - rechiseledcreate 1.0.2     - relics 0.8.0.7     - repurposed_structures 7.1.15+1.20.1-forge     - resourcefullib 2.1.29     - rhino 2001.2.3-build.6     - simplecorelib 1.20.1-6.0.1.2     - sliceanddice 3.3.0     - soulsweapons 1.1.5-1.20.1-forge}     - spartanshields 3.1.1     - spartantoolkit 1.5.1     - spartantwilight 3.1.0     - spartanweaponry 3.1.3     - structure_gel 2.16.2     - supermartijn642configlib 1.1.8     - supermartijn642corelib 1.1.18     - sword_soaring 20.1.11.11     - t_and_t 0.0NONE     - takesapillage 1.0.3     - taxcp 1.0.1     - taxov 3.1.3     - taxtg 1.1.0     - tconstruct 3.9.1.19     - terrablender 3.0.1.7     - terralith 2.5.4     - tflostblocks 1.20.1-1.5.0     - tfmg 0.9.3-1.20.1     - thermal_dynamics 11.0.1     - thermal_expansion 11.0.1     - thermal_foundation 11.0.6         \-- thermal 11.0.6     - traveloptics 3.5.3-1.20.1     - twilightaether 1.20.1-1.0.0     - twilightdelight 2.0.13         \-- l2library 2.4.16     - twilightforest 4.3.2508     - twilighttweaks 1.2     - wom 20.1.8.5.6     - yungsapi 1.20-Forge-4.0.6     - zeta 1.0-24     - zillagersweararmor 1.20.1-1.4.0 [20:25:34] [main/WARN] [mixin/]: Reference map '${mod_id}.refmap.json' for medievalorigins.mixins.json could not be read. If this is a development environment you can ignore this message [20:25:34] [main/WARN] [mixin/]: Reference map 'cristellib-forge-refmap.json' for cristellib.mixins.json could not be read. If this is a development environment you can ignore this message [20:25:34] [main/WARN] [mixin/]: Reference map 'bloodmagic.refmap.json' for bloodmagic.mixins.json could not be read. If this is a development environment you can ignore this message [20:25:34] [main/WARN] [mixin/]: Reference map 'tfmg.refmap.json' for tfmg.mixins.json could not be read. If this is a development environment you can ignore this message [20:25:35] [main/INFO] [ne.mi.co.Co.placebo/COREMODLOG]: Patching IForgeItemStack#getEnchantmentLevel [20:25:35] [main/INFO] [ne.mi.co.Co.placebo/COREMODLOG]: Patching IForgeItemStack#getEnchantmentLevel [20:25:35] [main/WARN] [mixin/]: Error loading class: mekanism/client/render/entity/RenderFlame (java.lang.ClassNotFoundException: mekanism.client.render.entity.RenderFlame) [20:25:35] [main/WARN] [mixin/]: Error loading class: mekanism/client/render/armor/MekaSuitArmor (java.lang.ClassNotFoundException: mekanism.client.render.armor.MekaSuitArmor) [20:25:35] [main/WARN] [mixin/]: Error loading class: dev/tr7zw/skinlayers/SkinUtil (java.lang.ClassNotFoundException: dev.tr7zw.skinlayers.SkinUtil) [20:25:35] [main/WARN] [mixin/]: @Mixin target dev.tr7zw.skinlayers.SkinUtil was not found mixins.epicfight.json:SkinLayer3DMixinSkinUtil [20:25:35] [main/WARN] [mixin/]: Error loading class: dev/tr7zw/skinlayers/versionless/render/CustomModelPart (java.lang.ClassNotFoundException: dev.tr7zw.skinlayers.versionless.render.CustomModelPart) [20:25:35] [main/WARN] [mixin/]: @Mixin target dev.tr7zw.skinlayers.versionless.render.CustomModelPart was not found mixins.epicfight.json:SkinLayer3DMixinCustomModelPart [20:25:35] [main/WARN] [mixin/]: Error loading class: dev/tr7zw/skinlayers/versionless/render/CustomizableCube (java.lang.ClassNotFoundException: dev.tr7zw.skinlayers.versionless.render.CustomizableCube) [20:25:35] [main/WARN] [mixin/]: @Mixin target dev.tr7zw.skinlayers.versionless.render.CustomizableCube was not found mixins.epicfight.json:SkinLayer3DMixinCustomizableCubeWrapper$SkinLayer3DMixinCustomModelCube [20:25:35] [main/WARN] [mixin/]: Error loading class: de/teamlapen/vampirism/client/renderer/entity/layers/VampirePlayerHeadLayer (java.lang.ClassNotFoundException: de.teamlapen.vampirism.client.renderer.entity.layers.VampirePlayerHeadLayer) [20:25:35] [main/WARN] [mixin/]: @Mixin target de.teamlapen.vampirism.client.renderer.entity.layers.VampirePlayerHeadLayer was not found mixins.epicfight.json:VampirismMixinVampirePlayerHeadLayer [20:25:35] [main/WARN] [mixin/]: Error loading class: de/teamlapen/werewolves/client/render/layer/HumanWerewolfLayer (java.lang.ClassNotFoundException: de.teamlapen.werewolves.client.render.layer.HumanWerewolfLayer) [20:25:35] [main/WARN] [mixin/]: @Mixin target de.teamlapen.werewolves.client.render.layer.HumanWerewolfLayer was not found mixins.epicfight.json:WerewolvesMixinHumanWerewolfLayer [20:25:36] [main/WARN] [mixin/]: Error loading class: com/legacy/lost_aether/entity/AerwhaleKingEntity (java.lang.ClassNotFoundException: com.legacy.lost_aether.entity.AerwhaleKingEntity) [20:25:36] [main/WARN] [mixin/]: Error loading class: mezz/modnametooltip/TooltipEventHandler (java.lang.ClassNotFoundException: mezz.modnametooltip.TooltipEventHandler) [20:25:36] [main/WARN] [mixin/]: Error loading class: me/shedaniel/rei/impl/client/ClientHelperImpl (java.lang.ClassNotFoundException: me.shedaniel.rei.impl.client.ClientHelperImpl) [20:25:36] [main/WARN] [mixin/]: Error loading class: noobanidus/mods/lootr/config/ConfigManager (java.lang.ClassNotFoundException: noobanidus.mods.lootr.config.ConfigManager) [20:25:36] [main/WARN] [mixin/]: Error loading class: dan200/computercraft/shared/integration/MoreRedIntegration (java.lang.ClassNotFoundException: dan200.computercraft.shared.integration.MoreRedIntegration) [20:25:36] [main/WARN] [mixin/]: @Mixin target dan200.computercraft.shared.integration.MoreRedIntegration was not found create_central_kitchen.mixins.json:common.computercraft.MoreRedIntegrationMixin [20:25:36] [main/WARN] [mixin/]: Error loading class: com/sammy/minersdelight/content/block/copper_pot/CopperPotBlockEntity (java.lang.ClassNotFoundException: com.sammy.minersdelight.content.block.copper_pot.CopperPotBlockEntity) [20:25:36] [main/WARN] [mixin/]: @Mixin target com.sammy.minersdelight.content.block.copper_pot.CopperPotBlockEntity was not found create_central_kitchen.mixins.json:common.minersdelight.CopperPotBlockEntityMixin [20:25:36] [main/WARN] [mixin/]: Error loading class: com/sammy/minersdelight/content/block/sticky_basket/StickyBasketBlockEntity (java.lang.ClassNotFoundException: com.sammy.minersdelight.content.block.sticky_basket.StickyBasketBlockEntity) [20:25:36] [main/WARN] [mixin/]: @Mixin target com.sammy.minersdelight.content.block.sticky_basket.StickyBasketBlockEntity was not found create_central_kitchen.mixins.json:common.minersdelight.StickyBasketBlockEntityAccessor [20:25:36] [main/WARN] [mixin/]: Error loading class: com/sammy/minersdelight/content/block/sticky_basket/StickyBasketBlockEntity (java.lang.ClassNotFoundException: com.sammy.minersdelight.content.block.sticky_basket.StickyBasketBlockEntity) [20:25:36] [main/WARN] [mixin/]: @Mixin target com.sammy.minersdelight.content.block.sticky_basket.StickyBasketBlockEntity was not found create_central_kitchen.mixins.json:common.minersdelight.StickyBasketBlockEntityMixin [20:25:36] [main/WARN] [mixin/]: Error loading class: net/orcinus/overweightfarming/blocks/CropFullBlock (java.lang.ClassNotFoundException: net.orcinus.overweightfarming.blocks.CropFullBlock) [20:25:36] [main/WARN] [mixin/]: @Mixin target net.orcinus.overweightfarming.blocks.CropFullBlock was not found create_central_kitchen.mixins.json:common.overweightfarming.CropFullBlockMixin [20:25:37] [main/INFO] [MixinExtras|Service/]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.4.0). [20:25:38] [main/INFO] [ne.mi.co.Co.placebo/COREMODLOG]: Patching IForgeItemStack#getEnchantmentLevel [20:25:38] [main/INFO] [ne.mi.co.Co.placebo/COREMODLOG]: Patching IForgeItemStack#getEnchantmentLevel [20:25:39] [main/INFO] [ne.mi.co.Co.attributeslib/COREMODLOG]: Patching EffectRenderingInventoryScreen#renderEffects [20:25:39] [main/INFO] [ne.mi.co.Co.attributeslib/COREMODLOG]: Patching EffectRenderingInventoryScreen#renderEffects [20:25:40] [pool-7-thread-1/INFO] [ne.mi.co.Co.placebo/COREMODLOG]: Patching IForgeItemStack#getEnchantmentLevel [20:25:40] [pool-7-thread-1/INFO] [ne.mi.co.Co.placebo/COREMODLOG]: Patching IForgeItemStack#getEnchantmentLevel [20:25:40] [pool-7-thread-1/WARN] [mixin/]: @Final field f_31427_:[I in mixins.epicfight.json:MixinWitherBoss should be final [20:25:40] [pool-7-thread-1/WARN] [mixin/]: @Final field f_31428_:[I in mixins.epicfight.json:MixinWitherBoss should be final [20:25:41] [Datafixer Bootstrap/INFO] [mojang/DataFixerBuilder]: 188 Datafixer optimizations took 107 milliseconds [20:25:42] [pool-7-thread-1/WARN] [minecraft/SynchedEntityData]: defineId called for: class net.minecraft.world.entity.LivingEntity from class yesman.epicfight.world.capabilities.entitypatch.LivingEntityPatch [20:25:42] [pool-7-thread-1/WARN] [minecraft/SynchedEntityData]: defineId called for: class net.minecraft.world.entity.LivingEntity from class yesman.epicfight.world.capabilities.entitypatch.LivingEntityPatch [20:25:42] [pool-7-thread-1/WARN] [minecraft/SynchedEntityData]: defineId called for: class net.minecraft.world.entity.LivingEntity from class yesman.epicfight.world.capabilities.entitypatch.LivingEntityPatch [20:25:42] [pool-7-thread-1/WARN] [minecraft/SynchedEntityData]: defineId called for: class net.minecraft.world.entity.LivingEntity from class yesman.epicfight.world.capabilities.entitypatch.LivingEntityPatch [20:25:42] [pool-7-thread-1/WARN] [mixin/]: Method overwrite conflict for scheduleRandomTick in corgilib-common.mixins.json:chunk.MixinChunkAccess, previously written by dev.corgitaco.ohthetreesyoullgrow.mixin.chunk.MixinChunkAccess. Skipping method. [20:25:42] [pool-7-thread-1/WARN] [mixin/]: Method overwrite conflict for getScheduledRandomTicks in corgilib-common.mixins.json:chunk.MixinChunkAccess, previously written by dev.corgitaco.ohthetreesyoullgrow.mixin.chunk.MixinChunkAccess. Skipping method. [20:25:43] [pool-7-thread-1/WARN] [mixin/]: Mixin alexscaves.mixins.json:SwampHutPieceMixin has multiple constructors, (Lnet/minecraft/world/level/levelgen/structure/pieces/StructurePieceType;IIIIIILnet/minecraft/core/Direction;)V was selected [20:25:43] [pool-7-thread-1/INFO] [ne.mi.co.Co.exdeorum/COREMODLOG]: Successfully patched End City generation for void worlds [20:25:43] [Render thread/WARN] [mixin/]: Error loading class: net/caffeinemc/mods/sodium/api/memory/MemoryIntrinsics (java.lang.ClassNotFoundException: net.caffeinemc.mods.sodium.api.memory.MemoryIntrinsics) Exception in thread "Render thread" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException     at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:32)     at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53)     at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71)     at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:108)     at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:78)     at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)     at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)     at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) Caused by: java.lang.reflect.InvocationTargetException     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.base/java.lang.reflect.Method.invoke(Method.java:568)     at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.targets.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:111)     at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.targets.CommonLaunchHandler.clientService(CommonLaunchHandler.java:99)     at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$makeService$0(CommonClientLaunchHandler.java:25)     at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30)     ... 7 more Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.mojang.blaze3d.systems.RenderSystem     at TRANSFORMER/[email protected]/net.minecraft.SystemReport.m_143522_(SystemReport.java:66)     at TRANSFORMER/[email protected]/net.minecraft.client.Minecraft.m_167850_(Minecraft.java:2339)     at TRANSFORMER/[email protected]/net.minecraft.client.Minecraft.m_167872_(Minecraft.java:2332)     at TRANSFORMER/[email protected]/net.minecraft.client.main.Main.main(Main.java:191)     ... 15 more Caused by: java.lang.ExceptionInInitializerError: Exception org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered [in thread "Render thread"]     at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:392)     at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:250)     at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.service.modlauncher.MixinTransformationHandler.processClass(MixinTransformationHandler.java:131)     at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.launch.MixinLaunchPluginLegacy.processClass(MixinLaunchPluginLegacy.java:131)     at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.serviceapi.ILaunchPluginService.processClassWithFlags(ILaunchPluginService.java:156)     at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:88)     at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120)     at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50)     at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:113)     at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.lambda$findClass$15(ModuleClassLoader.java:219)     at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:229)     at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:219)     at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:135)     at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)     at TRANSFORMER/[email protected]/com.mojang.blaze3d.vertex.Tesselator.<init>(Tesselator.java:19)     at TRANSFORMER/[email protected]/com.mojang.blaze3d.vertex.Tesselator.<init>(Tesselator.java:23)     at TRANSFORMER/[email protected]/com.mojang.blaze3d.vertex.Tesselator.<clinit>(Tesselator.java:11)     at TRANSFORMER/[email protected]/com.mojang.blaze3d.systems.RenderSystem.<clinit>(RenderSystem.java:50)     at TRANSFORMER/[email protected]/net.minecraft.client.main.Main.main(Main.java:180)     ... 15 more
    • This is a minecraft forge forum, as explained in the FAQ (https://forums.minecraftforge.net/topic/125488-rules-and-frequently-asked-questions-faq/) and it appears you are using fabric. You would get more/better help posting wherever Fabric support is given.
    • Please read the FAQ (https://forums.minecraftforge.net/topic/125488-rules-and-frequently-asked-questions-faq/) and post logs as described there.  
    • Please read the FAQ (https://forums.minecraftforge.net/topic/125488-rules-and-frequently-asked-questions-faq/) and post logs as described. Without them, there is no way to know what is going on.  
  • Topics

×
×
  • Create New...

Important Information

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