Jump to content

[1.16.4] ItemStackHandler/Capability Shared Inventory Problem


Recommended Posts

Posted

Hello, I am a complete noob when it comes to Item Capabilities and Handlers, and I've just came across a very perplexing problem(to me)

I'm trying to make wands that cast spells depending on what Wand Focus is in the Wand's inventory, and I've succeeded! 

If you're using a single wand, but if you have multiple wands with different focuses in your inventory, that's a different story:

https://imgur.com/dFZgyx7

Here's the code for the Wand (please excuse the terrible coding):

package com.Polarice3.FireNBlood.items;

import com.Polarice3.FireNBlood.FireNBlood;
import com.Polarice3.FireNBlood.inventory.container.SoulItemContainer;
import com.Polarice3.FireNBlood.items.capability.SoulUsingItemCapability;
import com.Polarice3.FireNBlood.spells.*;
import com.Polarice3.FireNBlood.utils.RegistryHandler;
import com.Polarice3.FireNBlood.items.handler.SoulUsingItemHandler;
import net.minecraft.client.util.ITooltipFlag;
import net.minecraft.entity.Entity;
import net.minecraft.entity.LivingEntity;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.entity.player.ServerPlayerEntity;
import net.minecraft.inventory.EquipmentSlotType;
import net.minecraft.inventory.container.SimpleNamedContainerProvider;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.item.Rarity;
import net.minecraft.item.UseAction;
import net.minecraft.nbt.CompoundNBT;
import net.minecraft.nbt.INBT;
import net.minecraft.particles.ParticleTypes;
import net.minecraft.util.*;
import net.minecraft.util.text.ITextComponent;
import net.minecraft.util.text.TranslationTextComponent;
import net.minecraft.world.World;
import net.minecraftforge.common.capabilities.ICapabilityProvider;
import net.minecraftforge.fml.network.NetworkHooks;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.util.List;
import java.util.Objects;

import static com.Polarice3.FireNBlood.items.MagicFocusItem.FOCUS;

public class SoulWand extends Item{
    private static final String SOULUSE = "Soul Use";
    private static final String CASTTIME = "Cast Time";
    private static final String CURRENTFOCUS = "Focus";
    private int soulcost;
    private int duration;
    private int cooldown;
    private int cool;
    private SoundEvent castingsound;
    private Spells spell;

    public SoulWand() {
        super(new Properties().group(FireNBlood.TAB).maxStackSize(1).setNoRepair().rarity(Rarity.RARE));
    }

    @Override
    public void inventoryTick(ItemStack stack, World worldIn, Entity entityIn, int itemSlot, boolean isSelected) {
        LivingEntity livingEntity = (LivingEntity) entityIn;
        if (stack.getTag() == null){
            CompoundNBT compound = stack.getOrCreateTag();
            compound.putInt(SOULUSE, SoulUse(livingEntity));
            compound.putInt(CASTTIME, CastTime(livingEntity));
        }
        if (getFocus(stack) != ItemStack.EMPTY){
            this.ChangeFocus(stack);
            stack.getTag().putString(CURRENTFOCUS, FOCUS);
        } else {
            this.setSpellConditions(null);
            this.setSpell(null);
        }
        stack.getTag().putInt(SOULUSE, SoulUse(livingEntity));
        stack.getTag().putInt(CASTTIME, CastTime(livingEntity));
        super.inventoryTick(stack, worldIn, entityIn, itemSlot, isSelected);
    }

    public boolean SoulDiscount(LivingEntity entityLiving){
        return entityLiving.getItemStackFromSlot(EquipmentSlotType.CHEST).getItem() == RegistryHandler.DARKROBE.get()
                || entityLiving.getItemStackFromSlot(EquipmentSlotType.CHEST).getItem() == RegistryHandler.NECROROBE.get();
    }

    public boolean SoulCostUp(LivingEntity entityLiving){
        return entityLiving.isPotionActive(RegistryHandler.SUMMONDOWN.get());
    }

    public boolean ReduceCastTime(LivingEntity entityLiving){
        return entityLiving.getItemStackFromSlot(EquipmentSlotType.HEAD).getItem() == RegistryHandler.DARKHELM.get()
                || entityLiving.getItemStackFromSlot(EquipmentSlotType.HEAD).getItem() == RegistryHandler.NECROHELM.get();
    }

    public int SoulUse(LivingEntity entityLiving){
        if (SoulCostUp(entityLiving)){
            int amp = Objects.requireNonNull(entityLiving.getActivePotionEffect(RegistryHandler.SUMMONDOWN.get())).getAmplifier() + 2;
            return SoulCost() * amp;
        } else if (SoulDiscount(entityLiving)){
            return SoulCost()/2;
        } else {
            return SoulCost();
        }
    }

    public int CastTime(LivingEntity entityLiving){
        if (ReduceCastTime(entityLiving)){
            return CastDuration()/2;
        } else {
            return CastDuration();
        }
    }

    public void onUse(World worldIn, LivingEntity livingEntityIn, ItemStack stack, int count) {
        if (!worldIn.isRemote) {
            SoundEvent soundevent = this.CastingSound();
            int CastTime = stack.getUseDuration() - count;
            if (CastTime == 1) {
                if (soundevent != null) {
                    worldIn.playSound(null, livingEntityIn.getPosX(), livingEntityIn.getPosY(), livingEntityIn.getPosZ(), soundevent, SoundCategory.PLAYERS, 0.5F, 1.0F);
                } else {
                    worldIn.playSound(null, livingEntityIn.getPosX(), livingEntityIn.getPosY(), livingEntityIn.getPosZ(), SoundEvents.ENTITY_EVOKER_PREPARE_ATTACK, SoundCategory.PLAYERS, 0.5F, 1.0F);
                }
            }
            if (this.getSpell() instanceof ChargingSpells){
                ++this.cool;
                if (this.cool > Cooldown()){
                    this.cool = 0;
                    this.MagicResults(stack, worldIn, livingEntityIn);
                }
            }
        }
    }

    public int getUseDuration(ItemStack stack) {
        if (stack.getTag() != null) {
            return stack.getTag().getInt(CASTTIME);
        } else {
            return this.CastDuration();
        }
    }

    @Nonnull
    public UseAction getUseAction(ItemStack stack) {
        return UseAction.BOW;
    }

    @Nonnull
    public ItemStack onItemUseFinish(ItemStack stack, World worldIn, LivingEntity entityLiving) {
        super.onItemUseFinish(stack, worldIn, entityLiving);
        if (!(getSpell() instanceof ChargingSpells)){
            this.MagicResults(stack, worldIn, entityLiving);
        }
        if (this.cool > 0){
            cool = 0;
        }
        return stack;
    }

    @Nonnull
    public ActionResult<ItemStack> onItemRightClick(World worldIn, PlayerEntity playerIn, Hand handIn) {
        ItemStack itemstack = playerIn.getHeldItem(handIn);
        if (!playerIn.isCrouching()) {
            if (this.getSpell() != null) {
                playerIn.setActiveHand(handIn);
                for (int i = 0; i < playerIn.world.rand.nextInt(35) + 10; ++i) {
                    double d = worldIn.rand.nextGaussian() * 0.2D;
                    playerIn.world.addParticle(ParticleTypes.ENTITY_EFFECT, playerIn.getPosX(), playerIn.getPosYEye(), playerIn.getPosZ(), d, d, d);
                }
            }
            return ActionResult.resultConsume(itemstack);
        } else {
            if (!worldIn.isRemote) {
                SimpleNamedContainerProvider provider = new SimpleNamedContainerProvider(
                        (id, inventory, player) -> new SoulItemContainer(id, inventory, SoulUsingItemHandler.get(itemstack), itemstack, handIn), getDisplayName(itemstack));
                NetworkHooks.openGui((ServerPlayerEntity) playerIn, provider, (buffer) -> buffer.writeBoolean(handIn == Hand.MAIN_HAND));
            }
            return ActionResult.resultPass(itemstack);
        }

    }

    public void ChangeFocus(ItemStack itemStack){
        if (getFocus(itemStack).getItem() == RegistryHandler.VEXINGFOCUS.get()) {
            this.setSpellConditions(new VexSpell());
            this.setSpell(new VexSpell());
        } else
        if (getFocus(itemStack).getItem() == RegistryHandler.BITINGFOCUS.get()) {
            this.setSpellConditions(new FangSpell());
            this.setSpell(new FangSpell());
        } else
        if (getFocus(itemStack).getItem() == RegistryHandler.ROARINGFOCUS.get()) {
            this.setSpellConditions(new RoarSpell());
            this.setSpell(new RoarSpell());
        } else
        if (getFocus(itemStack).getItem() == RegistryHandler.NECROTURGYFOCUS.get()) {
            this.setSpellConditions(new ZombieSpell());
            this.setSpell(new ZombieSpell());
        } else
        if (getFocus(itemStack).getItem() == RegistryHandler.OSSEOUSFOCUS.get()) {
            this.setSpellConditions(new SkeletonSpell());
            this.setSpell(new SkeletonSpell());
        } else
        if (getFocus(itemStack).getItem() == RegistryHandler.CRIPPLINGFOCUS.get()) {
            this.setSpellConditions(new CrippleSpell());
            this.setSpell(new CrippleSpell());
        } else
        if (getFocus(itemStack).getItem() == RegistryHandler.SPIDERLINGFOCUS.get()) {
            this.setSpellConditions(new SpiderlingSpell());
            this.setSpell(new SpiderlingSpell());
        }
    }

    public void setSpellConditions(Spells spell){
        if (spell != null) {
            this.soulcost = spell.SoulCost();
            this.duration = spell.CastDuration();
            this.castingsound = spell.CastingSound();
            if (spell instanceof ChargingSpells){
                this.cooldown = ((ChargingSpells) spell).Cooldown();
            }
        } else {
            this.soulcost = 0;
            this.duration = 0;
            this.cooldown = 0;
            this.castingsound = SoundEvents.ENTITY_GENERIC_EXTINGUISH_FIRE;
        }
    }

    public void setSpell(Spells spell) {
        this.spell = spell;
    }

    public Spells getSpell(){
        return this.spell;
    }

    public int SoulCost() {
        return soulcost;
    }

    public int CastDuration() {
        return duration;
    }

    public int Cooldown() {
        return cooldown;
    }

    public SoundEvent CastingSound() {
        return castingsound;
    }

    public static ItemStack getFocus(ItemStack itemstack) {
        SoulUsingItemHandler handler = SoulUsingItemHandler.get(itemstack);
        return handler.getSlot();
    }

    public void MagicResults(ItemStack stack, World worldIn, LivingEntity entityLiving) {
        ItemStack foundStack = ItemStack.EMPTY;
        PlayerEntity playerEntity = (PlayerEntity) entityLiving;
        for (int i = 0; i <= 9; i++) {
            ItemStack itemStack = playerEntity.inventory.getStackInSlot(i);
            if (!itemStack.isEmpty() && itemStack.getItem() == RegistryHandler.GOLDTOTEM.get()) {
                foundStack = itemStack;
                break;
            }
        }
        if (this.getSpell() != null && !foundStack.isEmpty() && GoldTotemItem.currentSouls(foundStack) >= SoulUse(entityLiving)) {
            GoldTotemItem.decreaseSouls(foundStack, SoulUse(entityLiving));
            this.getSpell().WandResult(worldIn, entityLiving);
        } else {
            worldIn.playSound(null, entityLiving.getPosX(), entityLiving.getPosY(), entityLiving.getPosZ(), SoundEvents.BLOCK_FIRE_EXTINGUISH, SoundCategory.NEUTRAL, 1.0F, 1.0F);
            for(int i = 0; i < entityLiving.world.rand.nextInt(35) + 10; ++i) {
                double d = worldIn.rand.nextGaussian() * 0.2D;
                entityLiving.world.addParticle(ParticleTypes.CLOUD, entityLiving.getPosX(), entityLiving.getPosYEye(), entityLiving.getPosZ(), d, d, d);
            }
        }
    }

    @Override
    public CompoundNBT getShareTag(ItemStack stack) {
        CompoundNBT result = new CompoundNBT();
        CompoundNBT tag = super.getShareTag(stack);
        CompoundNBT cap = SoulUsingItemHandler.get(stack).serializeNBT();
        if (tag != null) {
            result.put("tag", tag);
        }
        if (cap != null) {
            result.put("cap", cap);
        }
        return result;
    }

    @Override
    public void readShareTag(ItemStack stack, @Nullable CompoundNBT nbt) {
        assert nbt != null;
        stack.setTag(nbt.getCompound("tag"));
        SoulUsingItemHandler.get(stack).deserializeNBT(nbt.getCompound("cap"));
    }

    @Override
    public boolean shouldCauseReequipAnimation(ItemStack oldStack, ItemStack newStack, boolean slotChanged) {
        return super.shouldCauseReequipAnimation(oldStack, newStack, slotChanged) && slotChanged;
    }

    @Override
    @Nullable
    public ICapabilityProvider initCapabilities(@Nonnull ItemStack stack, @Nullable CompoundNBT nbt) {
        return new SoulUsingItemCapability(stack);
    }

    @Override
    public void addInformation(ItemStack stack, @Nullable World worldIn, List<ITextComponent> tooltip, ITooltipFlag flagIn) {
        super.addInformation(stack, worldIn, tooltip, flagIn);
        if (stack.getTag() != null) {
            int SoulUse = stack.getTag().getInt(SOULUSE);
            tooltip.add(new TranslationTextComponent("info.firenblood.soulitems.cost", SoulUse));
        } else {
            tooltip.add(new TranslationTextComponent("info.firenblood.soulitems.cost", SoulCost()));
        }
        if (getFocus(stack) != ItemStack.EMPTY){
            tooltip.add(new TranslationTextComponent("info.firenblood.soulitems.focus", getFocus(stack).getItem().getName()));
        } else {
            tooltip.add(new TranslationTextComponent("info.firenblood.soulitems.focus", "Empty"));
        }
    }
}

What's weird is that the Wands show the Focus Tooltip text correctly, but when debugging, they seemed to tag the newly added wand's focus instead. It does that whenever the other wand is anywhere in the player's inventory.

I made the ChangeFocus function every tick as when I tried to make it so that it's called everytime the Container menu is closed, it would take the next Right Click for it to properly update.

The ItemStackHandler:

package com.Polarice3.FireNBlood.items.handler;

import com.Polarice3.FireNBlood.items.MagicFocusItem;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.CompoundNBT;
import net.minecraft.nbt.ListNBT;
import net.minecraft.util.NonNullList;
import net.minecraftforge.common.util.Constants;
import net.minecraftforge.common.util.LazyOptional;
import net.minecraftforge.items.CapabilityItemHandler;
import net.minecraftforge.items.IItemHandler;
import net.minecraftforge.items.ItemStackHandler;

import javax.annotation.Nonnull;

public class SoulUsingItemHandler extends ItemStackHandler {
    private final ItemStack itemStack;
    private int slot;

    public SoulUsingItemHandler(ItemStack itemStack) {
        this.itemStack = itemStack;
    }

    public ItemStack extractItem() {
        return extractItem(slot, 1, false);
    }

    public ItemStack insertItem(ItemStack insert) {
        return insertItem(slot, insert, false);
    }

    public ItemStack getSlot() {
        return getStackInSlot(slot);
    }

    @Override
    public boolean isItemValid(int slot, @Nonnull ItemStack stack)
    {
        return stack.getItem() instanceof MagicFocusItem;
    }

    @Override
    public int getSlotLimit(int slot) {
        return 1;
    }

    public NonNullList<ItemStack> getContents(){
        return stacks;
    }

    @Override
    public CompoundNBT serializeNBT() {
        CompoundNBT nbt = super.serializeNBT();
        ListNBT nbtTagList = new ListNBT();
        nbt.put("Items", nbtTagList);
        nbt.putInt("slot", slot);
        return nbt;
    }

    @Override
    public void deserializeNBT(CompoundNBT nbt) {
        super.deserializeNBT(nbt);
        ListNBT tagList = nbt.getList("Items", Constants.NBT.TAG_COMPOUND);
        for (int i = 0; i < tagList.size(); i++)
        {
            CompoundNBT itemTags = tagList.getCompound(i);
            if (nbt.contains("slot")) {
                slot = nbt.getInt("slot");
                stacks.set(slot, ItemStack.read(itemTags));
            }
        }
        onLoad();

    }

    @Override
    protected void onContentsChanged(int slot) {
        CompoundNBT nbt = itemStack.getOrCreateTag();
        nbt.putBoolean("firenblood-dirty", !nbt.getBoolean("firenblood-dirty"));
    }

    public static SoulUsingItemHandler orNull(ItemStack stack) {
        return (SoulUsingItemHandler) stack.getCapability(CapabilityItemHandler.ITEM_HANDLER_CAPABILITY).orElse(null);
    }

    public static LazyOptional<SoulUsingItemHandler> getOptional(ItemStack stack) {
        LazyOptional<IItemHandler> itemHandlerOpt = stack.getCapability(CapabilityItemHandler.ITEM_HANDLER_CAPABILITY);
        if (itemHandlerOpt.isPresent()) {
            IItemHandler handler = itemHandlerOpt.orElse(null);
            if (handler instanceof SoulUsingItemHandler)
                return LazyOptional.of(() -> (SoulUsingItemHandler) handler);
        }
        return LazyOptional.empty();
    }

    public static SoulUsingItemHandler get(ItemStack stack) {
        IItemHandler handler = stack.getCapability(CapabilityItemHandler.ITEM_HANDLER_CAPABILITY)
                .orElseThrow(() -> new IllegalArgumentException("ItemStack is missing item capability"));
        return (SoulUsingItemHandler) handler;
    }
}

And the Capability:

package com.Polarice3.FireNBlood.items.capability;

import com.Polarice3.FireNBlood.items.handler.SoulUsingItemHandler;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.CompoundNBT;
import net.minecraft.nbt.INBT;
import net.minecraft.nbt.ListNBT;
import net.minecraft.util.Direction;
import net.minecraftforge.common.capabilities.Capability;
import net.minecraftforge.common.capabilities.ICapabilitySerializable;
import net.minecraftforge.common.util.LazyOptional;
import net.minecraftforge.items.CapabilityItemHandler;
import net.minecraftforge.items.IItemHandler;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;

public class SoulUsingItemCapability implements ICapabilitySerializable<INBT> {
    private final ItemStack stack;
    private final LazyOptional<IItemHandler> holder = LazyOptional.of(this::getHandler);
    private SoulUsingItemHandler handler;

    public SoulUsingItemCapability(ItemStack stack) {
        this.stack = stack;
    }

    @Nonnull
    private SoulUsingItemHandler getHandler() {
        if (handler == null) {
            handler = new SoulUsingItemHandler(stack);
        }
        return handler;
    }

    @Nonnull
    @Override
    public <T> LazyOptional<T> getCapability(@Nonnull Capability<T> cap, @Nullable Direction side) {
        return cap == CapabilityItemHandler.ITEM_HANDLER_CAPABILITY ? holder.cast() : LazyOptional.empty();
    }

    public INBT serializeNBT() {
        return CapabilityItemHandler.ITEM_HANDLER_CAPABILITY.writeNBT(getHandler(), null);
    }

    public void deserializeNBT(INBT nbt) {
        CapabilityItemHandler.ITEM_HANDLER_CAPABILITY.readNBT(getHandler(), null, nbt);
    }
}

The ItemHandler and Capability are cobbled together from what I can find on the Internet relating to Items holding inventory without any mention of TileEntities.

Any ideas on how I can make each wand use their own Focus rather than copying the last one? Or how to improve my codes?

Posted (edited)
2 hours ago, diesieben07 said:

You cannot store these here. There is only one instance of your item class. All dynamic things must be stored in the ItemStack, either via NBT or via a capability.

 

It worked! Each wand does a different spell! I made a new class to cast spells based on Integers to help. The new code looks messy currently, but now it works!

package com.Polarice3.FireNBlood.items;

import com.Polarice3.FireNBlood.FireNBlood;
import com.Polarice3.FireNBlood.inventory.container.SoulItemContainer;
import com.Polarice3.FireNBlood.items.capability.SoulUsingItemCapability;
import com.Polarice3.FireNBlood.spells.*;
import com.Polarice3.FireNBlood.utils.RegistryHandler;
import com.Polarice3.FireNBlood.items.handler.SoulUsingItemHandler;
import net.minecraft.client.util.ITooltipFlag;
import net.minecraft.entity.Entity;
import net.minecraft.entity.LivingEntity;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.entity.player.ServerPlayerEntity;
import net.minecraft.inventory.EquipmentSlotType;
import net.minecraft.inventory.container.SimpleNamedContainerProvider;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.item.Rarity;
import net.minecraft.item.UseAction;
import net.minecraft.nbt.CompoundNBT;
import net.minecraft.particles.ParticleTypes;
import net.minecraft.util.*;
import net.minecraft.util.text.ITextComponent;
import net.minecraft.util.text.TranslationTextComponent;
import net.minecraft.world.World;
import net.minecraftforge.common.capabilities.ICapabilityProvider;
import net.minecraftforge.fml.network.NetworkHooks;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.util.List;
import java.util.Objects;

import static com.Polarice3.FireNBlood.items.MagicFocusItem.FOCUS;

public class SoulWand extends Item{
    private static final String SOULUSE = "Soul Use";
    private static final String CASTTIME = "Cast Time";
    private static final String CURRENTFOCUS = "Focus";
    private static final String SOULCOST = "Soul Cost";
    private static final String DURATION = "Duration";
    private static final String COOLDOWN = "Cooldown";
    private static final String CASTSOUND = "Cast Sound";
    private static final String SPELL = "Spell";
    private static final String COOL = "Cool";

    public SoulWand() {
        super(new Properties().group(FireNBlood.TAB).maxStackSize(1).setNoRepair().rarity(Rarity.RARE));
    }

    @Override
    public void inventoryTick(ItemStack stack, World worldIn, Entity entityIn, int itemSlot, boolean isSelected) {
        if (entityIn instanceof LivingEntity) {
            LivingEntity livingEntity = (LivingEntity) entityIn;
            if (stack.getTag() == null) {
                CompoundNBT compound = stack.getOrCreateTag();
                compound.putInt(SOULUSE, SoulUse(livingEntity, stack));
                compound.putInt(SOULCOST, 0);
                compound.putInt(CASTTIME, CastTime(livingEntity, stack));
                compound.putInt(COOL, 0);
            }
            if (getFocus(stack) != ItemStack.EMPTY && getFocus(stack).getTag() != null) {
                stack.getTag().putString(CURRENTFOCUS, FOCUS);
                this.ChangeFocus(stack);
                stack.getTag().putString(CURRENTFOCUS, FOCUS);
            } else {
                stack.getTag().putString(CURRENTFOCUS, "none");
                this.setSpellConditions(null, stack);
            }
            stack.getTag().putInt(SOULUSE, SoulUse(livingEntity, stack));
            stack.getTag().putInt(CASTTIME, CastTime(livingEntity, stack));
        }
        super.inventoryTick(stack, worldIn, entityIn, itemSlot, isSelected);
    }

    public boolean SoulDiscount(LivingEntity entityLiving){
        return entityLiving.getItemStackFromSlot(EquipmentSlotType.CHEST).getItem() == RegistryHandler.DARKROBE.get()
                || entityLiving.getItemStackFromSlot(EquipmentSlotType.CHEST).getItem() == RegistryHandler.NECROROBE.get();
    }

    public boolean SoulCostUp(LivingEntity entityLiving){
        return entityLiving.isPotionActive(RegistryHandler.SUMMONDOWN.get());
    }

    public boolean ReduceCastTime(LivingEntity entityLiving){
        return entityLiving.getItemStackFromSlot(EquipmentSlotType.HEAD).getItem() == RegistryHandler.DARKHELM.get()
                || entityLiving.getItemStackFromSlot(EquipmentSlotType.HEAD).getItem() == RegistryHandler.NECROHELM.get();
    }

    public int SoulUse(LivingEntity entityLiving, ItemStack stack){
        if (SoulCostUp(entityLiving)){
            int amp = Objects.requireNonNull(entityLiving.getActivePotionEffect(RegistryHandler.SUMMONDOWN.get())).getAmplifier() + 2;
            return SoulCost(stack) * amp;
        } else if (SoulDiscount(entityLiving)){
            return SoulCost(stack)/2;
        } else {
            return SoulCost(stack);
        }
    }

    public int CastTime(LivingEntity entityLiving, ItemStack stack){
        if (ReduceCastTime(entityLiving)){
            return CastDuration(stack)/2;
        } else {
            return CastDuration(stack);
        }
    }

    public void onUse(World worldIn, LivingEntity livingEntityIn, ItemStack stack, int count) {
        if (!worldIn.isRemote) {
            SoundEvent soundevent = this.CastingSound(stack);
            int CastTime = stack.getUseDuration() - count;
            if (CastTime == 1) {
                if (soundevent != null) {
                    worldIn.playSound(null, livingEntityIn.getPosX(), livingEntityIn.getPosY(), livingEntityIn.getPosZ(), soundevent, SoundCategory.PLAYERS, 0.5F, 1.0F);
                } else {
                    worldIn.playSound(null, livingEntityIn.getPosX(), livingEntityIn.getPosY(), livingEntityIn.getPosZ(), SoundEvents.ENTITY_EVOKER_PREPARE_ATTACK, SoundCategory.PLAYERS, 0.5F, 1.0F);
                }
            }
            if (this.getSpell(stack) instanceof ChargingSpells){
                assert stack.getTag() != null;
                stack.getTag().putInt(COOL, stack.getTag().getInt(COOL) + 1);
                if (stack.getTag().getInt(COOL) > Cooldown(stack)){
                    stack.getTag().putInt(COOL, 0);
                    this.MagicResults(stack, worldIn, livingEntityIn);
                }
            }
        }
    }

    public int getUseDuration(ItemStack stack) {
        if (stack.getTag() != null) {
            return stack.getTag().getInt(CASTTIME);
        } else {
            return this.CastDuration(stack);
        }
    }

    @Nonnull
    public UseAction getUseAction(ItemStack stack) {
        return UseAction.BOW;
    }

    @Nonnull
    public ItemStack onItemUseFinish(ItemStack stack, World worldIn, LivingEntity entityLiving) {
        super.onItemUseFinish(stack, worldIn, entityLiving);
        if (!(this.getSpell(stack) instanceof ChargingSpells)){
            this.MagicResults(stack, worldIn, entityLiving);
        }
        if (stack.getTag().getInt(COOL) > 0){
            stack.getTag().putInt(COOL, 0);
        }
        return stack;
    }

    @Nonnull
    public ActionResult<ItemStack> onItemRightClick(World worldIn, PlayerEntity playerIn, Hand handIn) {
        ItemStack itemstack = playerIn.getHeldItem(handIn);
        if (!playerIn.isCrouching()) {
            if (this.getSpell(itemstack) != null) {
                playerIn.setActiveHand(handIn);
                for (int i = 0; i < playerIn.world.rand.nextInt(35) + 10; ++i) {
                    double d = worldIn.rand.nextGaussian() * 0.2D;
                    playerIn.world.addParticle(ParticleTypes.ENTITY_EFFECT, playerIn.getPosX(), playerIn.getPosYEye(), playerIn.getPosZ(), d, d, d);
                }
            }
            return ActionResult.resultConsume(itemstack);
        } else {
            if (!worldIn.isRemote) {
                SimpleNamedContainerProvider provider = new SimpleNamedContainerProvider(
                        (id, inventory, player) -> new SoulItemContainer(id, inventory, SoulUsingItemHandler.get(itemstack), itemstack, handIn), getDisplayName(itemstack));
                NetworkHooks.openGui((ServerPlayerEntity) playerIn, provider, (buffer) -> buffer.writeBoolean(handIn == Hand.MAIN_HAND));
            }
            return ActionResult.resultPass(itemstack);
        }

    }

    public void ChangeFocus(ItemStack itemStack){
        if (getFocus(itemStack).getTag().getString(FOCUS).contains("vexing")) {
            this.setSpellConditions(new VexSpell(), itemStack);
            this.setSpell(0, itemStack);
        } else if (getFocus(itemStack).getTag().getString(FOCUS).contains("biting")) {
            this.setSpellConditions(new FangSpell(), itemStack);
            this.setSpell(1, itemStack);
        } else if (getFocus(itemStack).getTag().getString(FOCUS).contains("roaring")) {
            this.setSpellConditions(new RoarSpell(), itemStack);
            this.setSpell(2, itemStack);
        } else if (getFocus(itemStack).getTag().getString(FOCUS).contains("necroturgy")) {
            this.setSpellConditions(new ZombieSpell(), itemStack);
            this.setSpell(3, itemStack);
        } else if (getFocus(itemStack).getTag().getString(FOCUS).contains("osseous")) {
            this.setSpellConditions(new SkeletonSpell(), itemStack);
            this.setSpell(4, itemStack);
        } else if (getFocus(itemStack).getTag().getString(FOCUS).contains("crippling")) {
            this.setSpellConditions(new CrippleSpell(), itemStack);
            this.setSpell(5, itemStack);
        } else if (getFocus(itemStack).getTag().getString(FOCUS).contains("spiderling")) {
            this.setSpellConditions(new SpiderlingSpell(), itemStack);
            this.setSpell(6, itemStack);
        }
    }

    public void setSpellConditions(Spells spell, ItemStack stack){
        assert stack.getTag() != null;
        if (spell != null) {
            stack.getTag().putInt(SOULCOST, spell.SoulCost());
            stack.getTag().putInt(DURATION, spell.CastDuration());
            if (spell instanceof ChargingSpells){
                stack.getTag().putInt(COOLDOWN, ((ChargingSpells) spell).Cooldown());
            }
        } else {
            stack.getTag().putInt(SOULCOST, 0);
            stack.getTag().putInt(DURATION, 0);
            stack.getTag().putInt(COOLDOWN, 0);
        }
    }

    public void setSpell(int spellint, ItemStack stack) {
        assert stack.getTag() != null;
        stack.getTag().putInt(SPELL, spellint);
    }

    public Spells getSpell(ItemStack stack){
        assert stack.getTag() != null;
        return new CastSpells(stack.getTag().getInt(SPELL)).getSpell();
    }

    public int SoulCost(ItemStack itemStack) {
        if (itemStack.getTag() == null){
            return 0;
        } else {
            return itemStack.getTag().getInt(SOULCOST);
        }
    }

    public int CastDuration(ItemStack itemStack) {
        assert itemStack.getTag() != null;
        return itemStack.getTag().getInt(DURATION);
    }

    public int Cooldown(ItemStack itemStack) {
        assert itemStack.getTag() != null;
        return itemStack.getTag().getInt(COOLDOWN);
    }

    public SoundEvent CastingSound(ItemStack stack) {
        return this.getSpell(stack).CastingSound();
    }

    public static ItemStack getFocus(ItemStack itemstack) {
        SoulUsingItemHandler handler = SoulUsingItemHandler.get(itemstack);
        return handler.getSlot();
    }

    public void MagicResults(ItemStack stack, World worldIn, LivingEntity entityLiving) {
        ItemStack foundStack = ItemStack.EMPTY;
        PlayerEntity playerEntity = (PlayerEntity) entityLiving;
        for (int i = 0; i <= 9; i++) {
            ItemStack itemStack = playerEntity.inventory.getStackInSlot(i);
            if (!itemStack.isEmpty() && itemStack.getItem() == RegistryHandler.GOLDTOTEM.get()) {
                foundStack = itemStack;
                break;
            }
        }
        if (this.getSpell(stack) != null && !foundStack.isEmpty() && GoldTotemItem.currentSouls(foundStack) >= SoulUse(entityLiving, stack)) {
            GoldTotemItem.decreaseSouls(foundStack, SoulUse(entityLiving, stack));
            assert stack.getTag() != null;
            this.getSpell(stack).WandResult(worldIn, entityLiving);
        } else {
            worldIn.playSound(null, entityLiving.getPosX(), entityLiving.getPosY(), entityLiving.getPosZ(), SoundEvents.BLOCK_FIRE_EXTINGUISH, SoundCategory.NEUTRAL, 1.0F, 1.0F);
            for(int i = 0; i < entityLiving.world.rand.nextInt(35) + 10; ++i) {
                double d = worldIn.rand.nextGaussian() * 0.2D;
                entityLiving.world.addParticle(ParticleTypes.CLOUD, entityLiving.getPosX(), entityLiving.getPosYEye(), entityLiving.getPosZ(), d, d, d);
            }
        }
    }

    @Override
    public CompoundNBT getShareTag(ItemStack stack) {
        CompoundNBT result = new CompoundNBT();
        CompoundNBT tag = super.getShareTag(stack);
        CompoundNBT cap = SoulUsingItemHandler.get(stack).serializeNBT();
        if (tag != null) {
            result.put("tag", tag);
        }
        if (cap != null) {
            result.put("cap", cap);
        }
        return result;
    }

    @Override
    public void readShareTag(ItemStack stack, @Nullable CompoundNBT nbt) {
        assert nbt != null;
        stack.setTag(nbt.getCompound("tag"));
        SoulUsingItemHandler.get(stack).deserializeNBT(nbt.getCompound("cap"));
    }

    @Override
    public boolean shouldCauseReequipAnimation(ItemStack oldStack, ItemStack newStack, boolean slotChanged) {
        return super.shouldCauseReequipAnimation(oldStack, newStack, slotChanged) && slotChanged;
    }

    @Override
    @Nullable
    public ICapabilityProvider initCapabilities(@Nonnull ItemStack stack, @Nullable CompoundNBT nbt) {
        return new SoulUsingItemCapability(stack);
    }

    @Override
    public void addInformation(ItemStack stack, @Nullable World worldIn, List<ITextComponent> tooltip, ITooltipFlag flagIn) {
        super.addInformation(stack, worldIn, tooltip, flagIn);
        if (stack.getTag() != null) {
            int SoulUse = stack.getTag().getInt(SOULUSE);
            tooltip.add(new TranslationTextComponent("info.firenblood.soulitems.cost", SoulUse));
        } else {
            tooltip.add(new TranslationTextComponent("info.firenblood.soulitems.cost", SoulCost(stack)));
        }
        if (getFocus(stack) != ItemStack.EMPTY){
            tooltip.add(new TranslationTextComponent("info.firenblood.soulitems.focus", getFocus(stack).getItem().getName()));
        } else {
            tooltip.add(new TranslationTextComponent("info.firenblood.soulitems.focus", "Empty"));
        }
    }
}

Also, I mistakenly labelled this post 1.16.4, when I've already updated my mod to 1.16.5!

Edited by dun

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

    • Prism Launcher version: 9.1 (official)     Launched instance in online mode   login.microsoftonline.com resolves to: [2603:1056:2000:28::3, 2603:1056:2000:38::1, 2603:1056:2000:38::5, 2603:1056:2000:38::2, 2603:1057:2:38::2, 2603:1056:2000:28::2, 2603:1057:2:28::2, 2603:1056:2000:30::4, 20.190.173.72, 20.190.173.132, 40.126.45.17, 20.190.173.130, 20.190.173.2, 20.190.173.66, 20.190.173.1, 40.126.45.19]     session.minecraft.net resolves to: [2620:1ec:bdf::33, 13.107.246.33]     textures.minecraft.net resolves to: [2620:1ec:bdf::33, 13.107.246.33]     api.mojang.com resolves to: [2620:1ec:bdf::33, 13.107.246.33]     Minecraft folder is: C:/Users/phgc2/AppData/Roaming/PrismLauncher/instances/imersivo/minecraft     Java path is: C:/Users/phgc2/AppData/Roaming/PrismLauncher/java/java-runtime-gamma/bin/javaw.exe     Java is version 17.0.8, using 64 (amd64) architecture, from Microsoft.     Main Class: io.github.zekerzhayard.forgewrapper.installer.Main   Native path: C:/Users/phgc2/AppData/Roaming/PrismLauncher/instances/imersivo/natives   Traits: traits feature:is_quick_play_singleplayer traits feature:is_quick_play_multiplayer traits FirstThreadOnMacOS traits XR:Initial   Libraries: C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-glfw-natives-windows-arm64/3.3.1/lwjgl-glfw-natives-windows-arm64-3.3.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-glfw-natives-windows-x86/3.3.1/lwjgl-glfw-natives-windows-x86-3.3.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-glfw-natives-windows/3.3.1/lwjgl-glfw-natives-windows-3.3.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-glfw/3.3.1/lwjgl-glfw-3.3.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-jemalloc-natives-windows-arm64/3.3.1/lwjgl-jemalloc-natives-windows-arm64-3.3.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-jemalloc-natives-windows-x86/3.3.1/lwjgl-jemalloc-natives-windows-x86-3.3.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-jemalloc-natives-windows/3.3.1/lwjgl-jemalloc-natives-windows-3.3.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-jemalloc/3.3.1/lwjgl-jemalloc-3.3.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-natives-windows-arm64/3.3.1/lwjgl-natives-windows-arm64-3.3.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-natives-windows-x86/3.3.1/lwjgl-natives-windows-x86-3.3.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-natives-windows/3.3.1/lwjgl-natives-windows-3.3.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-openal-natives-windows-arm64/3.3.1/lwjgl-openal-natives-windows-arm64-3.3.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-openal-natives-windows-x86/3.3.1/lwjgl-openal-natives-windows-x86-3.3.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-openal-natives-windows/3.3.1/lwjgl-openal-natives-windows-3.3.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-openal/3.3.1/lwjgl-openal-3.3.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-opengl-natives-windows-arm64/3.3.1/lwjgl-opengl-natives-windows-arm64-3.3.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-opengl-natives-windows-x86/3.3.1/lwjgl-opengl-natives-windows-x86-3.3.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-opengl-natives-windows/3.3.1/lwjgl-opengl-natives-windows-3.3.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-opengl/3.3.1/lwjgl-opengl-3.3.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-stb-natives-windows-arm64/3.3.1/lwjgl-stb-natives-windows-arm64-3.3.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-stb-natives-windows-x86/3.3.1/lwjgl-stb-natives-windows-x86-3.3.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-stb-natives-windows/3.3.1/lwjgl-stb-natives-windows-3.3.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-stb/3.3.1/lwjgl-stb-3.3.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-tinyfd-natives-windows-arm64/3.3.1/lwjgl-tinyfd-natives-windows-arm64-3.3.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-tinyfd-natives-windows-x86/3.3.1/lwjgl-tinyfd-natives-windows-x86-3.3.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-tinyfd-natives-windows/3.3.1/lwjgl-tinyfd-natives-windows-3.3.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-tinyfd/3.3.1/lwjgl-tinyfd-3.3.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl/3.3.1/lwjgl-3.3.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/com/github/oshi/oshi-core/6.2.2/oshi-core-6.2.2.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/com/google/code/gson/gson/2.10/gson-2.10.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/com/google/guava/guava/31.1-jre/guava-31.1-jre.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/com/ibm/icu/icu4j/71.1/icu4j-71.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/com/mojang/authlib/4.0.43/authlib-4.0.43.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/com/mojang/blocklist/1.0.10/blocklist-1.0.10.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/com/mojang/brigadier/1.1.8/brigadier-1.1.8.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/com/mojang/datafixerupper/6.0.8/datafixerupper-6.0.8.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/com/mojang/logging/1.1.1/logging-1.1.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/com/mojang/patchy/2.2.10/patchy-2.2.10.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/com/mojang/text2speech/1.17.9/text2speech-1.17.9.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/commons-codec/commons-codec/1.15/commons-codec-1.15.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/commons-io/commons-io/2.11.0/commons-io-2.11.0.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/commons-logging/commons-logging/1.2/commons-logging-1.2.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/io/netty/netty-buffer/4.1.82.Final/netty-buffer-4.1.82.Final.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/io/netty/netty-codec/4.1.82.Final/netty-codec-4.1.82.Final.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/io/netty/netty-common/4.1.82.Final/netty-common-4.1.82.Final.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/io/netty/netty-handler/4.1.82.Final/netty-handler-4.1.82.Final.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/io/netty/netty-resolver/4.1.82.Final/netty-resolver-4.1.82.Final.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/io/netty/netty-transport-classes-epoll/4.1.82.Final/netty-transport-classes-epoll-4.1.82.Final.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/io/netty/netty-transport-native-unix-common/4.1.82.Final/netty-transport-native-unix-common-4.1.82.Final.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/io/netty/netty-transport/4.1.82.Final/netty-transport-4.1.82.Final.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/it/unimi/dsi/fastutil/8.5.9/fastutil-8.5.9.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/net/java/dev/jna/jna-platform/5.12.1/jna-platform-5.12.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/net/java/dev/jna/jna/5.12.1/jna-5.12.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/net/sf/jopt-simple/jopt-simple/5.0.4/jopt-simple-5.0.4.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/apache/commons/commons-compress/1.21/commons-compress-1.21.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/apache/httpcomponents/httpclient/4.5.13/httpclient-4.5.13.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/apache/httpcomponents/httpcore/4.4.15/httpcore-4.4.15.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/apache/logging/log4j/log4j-api/2.19.0/log4j-api-2.19.0.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/apache/logging/log4j/log4j-core/2.19.0/log4j-core-2.19.0.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/apache/logging/log4j/log4j-slf4j2-impl/2.19.0/log4j-slf4j2-impl-2.19.0.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/joml/joml/1.10.5/joml-1.10.5.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/slf4j/slf4j-api/2.0.1/slf4j-api-2.0.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/io/github/zekerzhayard/ForgeWrapper/prism-2024-02-29/ForgeWrapper-prism-2024-02-29.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/cpw/mods/securejarhandler/2.1.10/securejarhandler-2.1.10.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/ow2/asm/asm/9.7/asm-9.7.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/ow2/asm/asm-commons/9.7/asm-commons-9.7.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/ow2/asm/asm-tree/9.7/asm-tree-9.7.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/ow2/asm/asm-util/9.7/asm-util-9.7.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/ow2/asm/asm-analysis/9.7/asm-analysis-9.7.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/net/minecraftforge/accesstransformers/8.0.4/accesstransformers-8.0.4.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/antlr/antlr4-runtime/4.9.1/antlr4-runtime-4.9.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/net/minecraftforge/eventbus/6.0.5/eventbus-6.0.5.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/net/minecraftforge/forgespi/7.0.1/forgespi-7.0.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/net/minecraftforge/coremods/5.1.6/coremods-5.1.6.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/cpw/mods/modlauncher/10.0.9/modlauncher-10.0.9.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/net/minecraftforge/unsafe/0.2.0/unsafe-0.2.0.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/net/minecraftforge/mergetool/1.1.5/mergetool-1.1.5-api.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/com/electronwill/night-config/core/3.6.4/core-3.6.4.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/com/electronwill/night-config/toml/3.6.4/toml-3.6.4.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/apache/maven/maven-artifact/3.8.5/maven-artifact-3.8.5.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/net/jodah/typetools/0.6.3/typetools-0.6.3.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/net/minecrell/terminalconsoleappender/1.2.0/terminalconsoleappender-1.2.0.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/jline/jline-reader/3.12.1/jline-reader-3.12.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/jline/jline-terminal/3.12.1/jline-terminal-3.12.1.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/org/openjdk/nashorn/nashorn-core/15.3/nashorn-core-15.3.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/net/minecraftforge/JarJarSelector/0.3.19/JarJarSelector-0.3.19.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/net/minecraftforge/JarJarMetadata/0.3.19/JarJarMetadata-0.3.19.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/cpw/mods/bootstraplauncher/1.1.2/bootstraplauncher-1.1.2.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/net/minecraftforge/JarJarFileSystems/0.3.19/JarJarFileSystems-0.3.19.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/net/minecraftforge/fmlloader/1.20.1-47.3.0/fmlloader-1.20.1-47.3.0.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/net/minecraftforge/fmlearlydisplay/1.20.1-47.3.0/fmlearlydisplay-1.20.1-47.3.0.jar C:/Users/phgc2/AppData/Roaming/PrismLauncher/libraries/com/mojang/minecraft/1.20.1/minecraft-1.20.1-client.jar   Native libraries:   Mods: [🖿] (folder) [✔] [1.20.1-forge]-Epic-Knights-9.21 [✔] aaa_particles_world-forge-1.20.1-1.0.3 [✔] aaa_particles-1.20.1-1.4.10-forge [✔] advancednetherite-forge-2.1.3-1.20.1 [✔] AdvancementPlaques-1.20.1-forge-1.6.7 [✔] AI-Improvements-1.20-0.5.2 [✔] aileron-1.20.1-forge-1.0.3 [✔] almostunified-forge-1.20.1-0.9.4 [✔] ancient_forkway-1.0.4-forge-1.20.1 [✔] architectury-9.2.14-forge [✔] artifacts-forge-9.5.13 [✔] atmospheric-1.20.1-6.0.0 [✔] AutoLeveling-1.20-1.19b [✔] azurelib-neo-1.20.1-2.0.41 [✔] BadOptimizations-2.2.1-1.20.1 [✔] better_hp-7.5.2-1.20.1-forge [✔] better_mob_drops [✔] BetterAdvancements-Forge-1.20.1-0.4.2.25 [✔] betterchunkloading-1.20.1-5.2 [✔] BetterCompatibilityChecker-3.0.1-build.58+mc1.20 [✔] betterfpsdist-1.20.1-6.0 [✔] blueprint-1.20.1-7.1.0 [✔] blur-forge-3.1.1 [✔] Bookshelf-Forge-1.20.1-20.2.13 [✔] Bountiful-6.0.4+1.20.1-forge [✔] brb-1.10.0-rc5+1.20.0-1 [✔] bygonenether-1.3.2-1.20.x [✔] canary-mc1.20.1-0.3.3.jar [✔] CarbonConfig-1.20-1.2.6 [✔] cataclysm_tools-1.0.0-forge-1.20.1 [✔] CataclysmWeaponery2.0-1.20.1 [✔] celestisynth-1.20.1-1.3.1 [✔] champions-forge-1.20.1-2.1.7.1-beta-8 [✔] chat_heads-0.13.7-forge-1.20 [✔] Chunk-Pregenerator-1.20-4.4.4 [✔] citadel-2.6.1-1.20.1 [✔] clean_tooltips-1.0-forge-1.20.1 [✔] cloth-config-11.1.136-forge [✔] collective-1.20.1-7.87 [✔] comforts-forge-6.4.0+1.20.1 [✔] CommonCapabilities-1.20.1-2.9.4 [✔] configured-forge-1.20.1-2.2.3 [✔] Connector-1.0.0-beta.46+1.20.1 [✔] ConnectorExtras-1.11.2+1.20.1 [✔] Controlling-forge-1.20.1-12.0.2 [✔] Corgilib-Forge-1.20.1-4.0.3.3 [✔] cosmeticarmorreworked-1.20.1-v1a [✔] CosmeticArmours - 1.4.5.1 - 1.20.1 - Forge [✘] CraftTweaker-forge-1.20.1-14.0.48.jar (disabled) [✔] create-1.20.1-0.5.1.j [✔] CreativeCore_FORGE_v2.12.28_mc1.20.1 [✔] cristellib-1.1.6-forge [✔] CullLessLeaves-Reforged-1.20.1-1.0.5 [✔] cupboard-1.20.1-2.7 [✔] curios-forge-5.11.1+1.20.1 [✔] CyclopsCore-1.20.1-1.19.5 [✔] deeperdarker-forge-1.20.1-1.3.3 [✔] dragonfight-1.20.1-4.6 [✔] dragonseeker-1.2.0-1.20.1 [✔] dummmmmmy-1.20-2.0.2 [✔] Dungeon Now Loading-forge-1.20.1-1.5 [✘] dungeons_enhanced-1.20.1-5.3.0.jar (disabled) [✔] dungeons_plus-1.20.1-1.5.0 [✔] dynamic-fps-3.7.7+minecraft-1.20.0-forge [✔] Eldritch_End-FORGE-MC1.20.1-0.3.2 [✔] ElysiumAPI-1.20.1-1.0.2 [✔] embeddium-0.3.31+mc1.20.1 [✔] embeddiumplus-1.20.1-v1.2.13 [✔] EnchantmentDescriptions-Forge-1.20.1-17.1.19 [✔] endergetic-1.20.1-5.0.0 [✔] endrem_forge-5.3.3-R-1.20.1 [✔] EnhancedAI-2.5.2-mc1.20.1 [✔] EnhancedVisuals_FORGE_v1.8.1_mc1.20.1 [✔] entity_model_features_forge_1.20.1-2.4.1 [✔] entity_model_features_forge_1.20.1-2.4.1.jar [✔] entity_texture_features_forge_1.20.1-6.2.9 [✔] entityculling-forge-1.7.2-mc1.20.1 [✔] expanded_ecosphere-3.2.4-forge [✔] extragore-1.20.1-5.2.3.1 [✔] fasterblockplacement-1.0.1 [✔] FastFurnace-1.20.1-8.0.2 [✔] FastLeafDecay-32 [✔] Fastload-Reforged-mc1.20.1-3.4.0 [✔] FastSuite-1.20.1-5.0.1 [✔] FastWorkbench-1.20.1-8.0.4 [✔] ferritecore-6.0.1-forge [✔] firstperson-forge-2.4.8-mc1.20.1 [✔] Fog-forge-1.5.3-1.20.1 [✔] formations-1.0.3-forge-mc1.20.2 [✔] formationsnether-1.0.5 [✔] fortune_on_netherite_1.1.0_forge_1.20.1 [✔] framework-forge-1.20.1-0.7.12 [✔] ftb-chunks-forge-2001.3.4 [✔] ftb-library-forge-2001.2.7 [✔] ftb-teams-forge-2001.3.0 [✔] geckolib-forge-1.20.1-4.7 [✔] GlitchCore-forge-1.20.1-0.0.1.1 [✔] GlobalGameRules-1.20-8.0.0.11 [✔] goblintraders-forge-1.20.1-1.9.3 [✔] guardvillagers-1.20.1-1.6.10 [✔] HammerLib-1.20.1-20.1.29 [✔] harderspawners-1.20-46.25.3 [✔] healingcampfire-1.20.1-6.1 [✘] Highlighter-1.20.1-forge-1.1.9.jar (disabled) [✔] highlight-forge-1.20-2.0.1 [✔] iceandfire-2.1.13-1.20.1-beta-5 [✔] Iceberg-1.20.1-forge-1.1.25 [✘] idas_forge-1.10.3+1.20.1.jar (disabled) [✔] illageandspillagerespillaged-1.2.2 [✔] illagersweararmor-1.20.1-1.3.5 [✔] ImmediatelyFast-Forge-1.3.3+1.20.4 [✔] infernalfurnace-1.0.0-1.20.1 [✔] InsaneLib-1.16.1-mc1.20.1 [✔] integrated_api-1.5.1+1.20.1-forge [✔] integrated_villages-1.1.5+1.20.1-forge [✔] IntegratedCrafting-1.20.1-1.1.9 [✔] IntegratedDynamics-1.20.1-1.25.0 [✔] IntegratedScripting-1.20.1-1.0.9 [✔] IntegratedTerminals-1.20.1-1.6.3 [✔] IntegratedTunnels-1.20.1-1.8.33 [✘] Jadens-Nether-Expansion-2.2.1.jar (disabled) [✔] jeed-1.20-2.2.2 [✔] jei-1.20.1-forge-15.20.0.106 [✔] jeiintegration_1.20.1-10.0.0 [✔] justenoughbreeding-forge-1.20-1.20.1-1.5.0 [✔] Kambrik-6.1.1+1.20.1-forge [✔] kotlinforforge-4.11.0-all [✔] kubejs-forge-2001.6.5-build.16 [✔] L_Enders_Cataclysm-2.35- 1.20.1 [✔] legendary_additions-1.20.1-1.0.9 [✔] legendarycreatures-1.20.1-1.0.15 [✔] legendarymonsters-1.6.2 MC 1.20.1 [✔] legendarysurvivaloverhaul-1.20.1-2.2.14 [✘] LegendaryTooltips-1.20.1-forge-1.4.5.jar (disabled) [✔] letsdo-API-forge-1.2.15-forge [✔] letsdo-beachparty-forge-1.1.5 [✔] Library_of_Exile-1.20.1-1.5.7 [✔] lionfishapi-2.4 [✔] lootbeams-1.20.1-1.2.6 [✔] lootintegrations_valhelsia-1.0 [✔] lootintegrations-1.20.1-4.0 [✔] lootjs-forge-1.20.1-2.12.0 [✔] lootr-forge-1.20-0.7.35.90 [✔] memoryleakfix-forge-1.17+-1.1.5 [✔] Mine_and_Slash-1.20.1-6.0.5 [✔] mobsunscreen-forge-1.20.1-3.1.1 [✘] modernfix-forge-5.20.0+mc1.20.1.jar (disabled) [✔] Mo'Enchantments-1.20.1-1.10 [✔] monolib-forge-1.20.1-1.4.1 [✔] moonlight-1.20-2.13.47-forge [✔] more_beautiful_torches-merged-1.20.1-3.0.0 [✔] morevillagers-forge-1.20.1-5.0.0 [✔] MouseTweaks-forge-mc1.20.1-2.25.1 [✔] MRU-1.0.4+1.20.1+forge [✔] multimine-1.20.1.4 [✔] nbc-all-2.0-1.20+ [✔] Necronomicon-Forge-1.6.0+1.20.1 [✔] nyfsspiders-forge-1.20.1-2.1.1 [✔] OctoLib-FORGE-0.4.2+1.20.1 [✔] oculus-mc1.20.1-1.8.0 [✔] Oh-The-Biomes-Weve-Gone-Forge-1.5.1 [✔] Oh-The-Trees-Youll-Grow-forge-1.20.1-1.3.4 [✔] palegarden-1.0.7-forge-1.20.1 [✔] Paraglider-forge-20.1.3 [✔] Patchouli-1.20.1-84-FORGE [✔] Placebo-1.20.1-8.6.2 [✔] player-animation-lib-forge-1.0.2-rc1+1.20 [✔] polymorph-forge-0.49.8+1.20.1 [✔] Prism-1.20.1-forge-1.0.5 [✔] projectvibrantjourneys-1.20.1-6.0.4 [✘] Quark-4.0-460.jar (disabled) [✘] QuarkOddities-1.20.1.jar (disabled) [✔] radium-mc1.20.1-0.12.4+git.26c9d8e [✔] rarcompat-1.20.1-0.1.7 [✔] rare-ice-0.6.0 [✔] relics_vivid_light-1.0 [✔] relics-1.20.1-0.8.0.7 [✔] repurposed_structures-7.1.15+1.20.1-forge [✔] rhino-forge-2001.2.3-build.6 [✘] rubidium-extra-0.5.4.3+mc1.20.1-build.121.jar (disabled) [✔] saturn-mc1.20.1-0.1.3 [✔] savage_and_ravage-1.20.1-6.0.0 [✔] Searchables-forge-1.20.1-1.0.3 [✔] SereneSeasons-forge-1.20.1-9.1.0.0 [✔] SereneShrubbery-1.20.1-v2.0.0 [✔] Shrines-1.20.1-6.0.2 [✔] skinlayers3d-forge-1.7.4-mc1.20.1 [✔] skinlayers3d-forge-1.7.4-mc1.20.1.jar [✔] smarterfarmers-1.20-2.1.0 [✔] sound-physics-remastered-forge-1.20.1-1.4.8 [✔] spartanfire-1.20.1-2.1.0 [✔] spartantoolkit-1.20.1-1.5.1 [✔] SpartanWeaponry-1.20.1-forge-3.1.3-all [✔] starlight-1.1.2+forge.1cda73c [✔] structure_gel-1.20.1-2.16.2 [✔] supplementaries-1.20-3.1.11 [✔] TerraBlender-forge-1.20.1-3.0.1.7 [✔] TES-forge-1.20.1-1.5.1 [✔] The_Graveyard_3.1_(FORGE)_for_1.20.1 [✔] the-conjurer-1.20.1-1.1.6 [✔] theoneprobe-1.20.1-10.0.2 [✔] toofast-1.20-0.4.3.5 [✔] TravelersTitles-1.20-Forge-4.0.2 [✔] tru.e-ending-v1.1.0c [✔] trulytreasures-1.20-3.0.0-forge [✔] Tumbleweed-forge-1.20.1-0.5.5 [✔] upgrade_aquatic-1.20.1-6.0.1 [✔] valhelsia_core-forge-1.20.1-1.1.2 [✔] valhelsia_furniture-forge-1.20.1-1.1.3 [✔] valhelsia_structures-forge-1.20.1-1.1.2 [✔] villagernames-1.20.1-8.1 [✔] visuality-forge-2.0.2 [✔] wandering-bags-1.20.1-2.0.7 [✔] Waves-1.20.1-1.1.1 [✔] wings-2.1.4-all [✔] XaerosWorldMap_1.39.2_Forge_1.20.jar [✔] YetAnotherConfigLib-3.6.2+1.20.1-forge [✔] YungsApi-1.20-Forge-4.0.6 [✔] YungsBetterDungeons-1.20-Forge-4.0.4 [✔] YungsBetterEndIsland-1.20-Forge-2.0.6 [✔] YungsBetterNetherFortresses-1.20-Forge-2.0.6 [✔] YungsExtras-1.20-Forge-4.0.3 [✘] Zeta-1.0-24.jar (disabled)   Params: --username --version 1.20.1 --gameDir C:/Users/phgc2/AppData/Roaming/PrismLauncher/instances/imersivo/minecraft --assetsDir C:/Users/phgc2/AppData/Roaming/PrismLauncher/assets --assetIndex 5 --uuid --accessToken --userType --versionType release --launchTarget forgeclient --fml.forgeVersion 47.3.0 --fml.mcVersion 1.20.1 --fml.forgeGroup net.minecraftforge --fml.mcpVersion 20230612.114412   Window size: 854 x 480   Launcher: standard   Java Arguments: [-XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump, -Xms512m, -Xmx12800m, -Duser.language=en]     Minecraft process ID: 16696     Checking: MC_SLIM Checking: MERGED_MAPPINGS Checking: MAPPINGS Checking: MC_EXTRA Checking: MOJMAPS Checking: PATCHED Checking: MC_SRG 2025-01-11 01:55:22,214 main WARN Advanced terminal features are not available in this environment [01:55:22] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, p3dr05009, --version, 1.20.1, --gameDir, C:/Users/phgc2/AppData/Roaming/PrismLauncher/instances/imersivo/minecraft, --assetsDir, C:/Users/phgc2/AppData/Roaming/PrismLauncher/assets, --assetIndex, 5, --uuid, <PROFILE ID>, --accessToken, ????????, --userType, msa, --versionType, release, --launchTarget, forgeclient, --fml.forgeVersion, 47.3.0, --fml.mcVersion, 1.20.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20230612.114412, --width, 854, --height, 480] [01:55:22] [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 [01:55:23] [main/INFO] [ne.mi.fm.lo.ImmediateWindowHandler/]: Loading ImmediateWindowProvider fmlearlywindow [01:55:23] [main/INFO] [EARLYDISPLAY/]: Trying GL version 4.6 [01:55:24] [main/INFO] [EARLYDISPLAY/]: Requested GL version 4.6 got version 4.6 [01:55:24] [main/INFO] [mixin-transmog/]: Mixin Transmogrifier is definitely up to no good... [01:55:24] [main/INFO] [mixin-transmog/]: crimes against java were committed [01:55:24] [main/INFO] [mixin-transmog/]: Original mixin transformation service successfully crobbed by mixin-transmogrifier! [01:55:24] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/C:/Users/phgc2/AppData/Roaming/PrismLauncher/instances/imersivo/minecraft/mods/Connector-1.0.0-beta.46+1.20.1.jar%23364%23367!/ Service=ModLauncher Env=CLIENT [01:55:24] [pool-2-thread-1/INFO] [EARLYDISPLAY/]: GL info: NVIDIA GeForce GTX 1070/PCIe/SSE2 GL version 4.6.0 NVIDIA 566.14, NVIDIA Corporation [01:55:24] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file C:\Users\phgc2\AppData\Roaming\PrismLauncher\libraries\net\minecraftforge\fmlcore\1.20.1-47.3.0\fmlcore-1.20.1-47.3.0.jar is missing mods.toml file [01:55:24] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file C:\Users\phgc2\AppData\Roaming\PrismLauncher\libraries\net\minecraftforge\javafmllanguage\1.20.1-47.3.0\javafmllanguage-1.20.1-47.3.0.jar is missing mods.toml file [01:55:24] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file C:\Users\phgc2\AppData\Roaming\PrismLauncher\libraries\net\minecraftforge\lowcodelanguage\1.20.1-47.3.0\lowcodelanguage-1.20.1-47.3.0.jar is missing mods.toml file [01:55:24] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file C:\Users\phgc2\AppData\Roaming\PrismLauncher\libraries\net\minecraftforge\mclanguage\1.20.1-47.3.0\mclanguage-1.20.1-47.3.0.jar is missing mods.toml file [01:55:25] [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: [01:55:25] [main/WARN] [ne.mi.ja.se.JarSelector/]: Attempted to select a dependency jar for JarJar which was passed in as source: cloth_config. Using Mod File: C:\Users\phgc2\AppData\Roaming\PrismLauncher\instances\imersivo\minecraft\mods\cloth-config-11.1.136-forge.jar [01:55:25] [main/WARN] [ne.mi.ja.se.JarSelector/]: Attempted to select a dependency jar for JarJar which was passed in as source: architectury. Using Mod File: C:\Users\phgc2\AppData\Roaming\PrismLauncher\instances\imersivo\minecraft\mods\architectury-9.2.14-forge.jar [01:55:25] [main/INFO] [ne.mi.fm.lo.mo.JarInJarDependencyLocator/]: Found 48 dependencies adding them to mods collection [01:55:26] [main/INFO] [or.si.co.lo.DependencyResolver/]: Dependency resolution found 1 candidates to load [01:55:27] [main/INFO] [or.si.co.se.ha.ModuleLayerMigrator/]: Successfully made module authlib transformable [01:55:30] [main/INFO] [mixin/]: Compatibility level set to JAVA_17 [01:55:30] [main/INFO] [mixin/]: Successfully loaded Mixin Connector [com.sonicether.soundphysics.MixinConnector] [01:55:30] [main/INFO] [mixin/]: Successfully loaded Mixin Connector [com.robertx22.mmorpg.MixinConnector] [01:55:30] [main/INFO] [mixin/]: Successfully loaded Mixin Connector [ca.spottedleaf.starlight.mixin.MixinConnector] [01:55:30] [main/INFO] [mixin/]: Successfully loaded Mixin Connector [com.robertx22.library_of_exile.MixinConnector] [01:55:30] [main/INFO] [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Launching target 'forgeclient' with arguments [--version, 1.20.1, --gameDir, C:\Users\phgc2\AppData\Roaming\PrismLauncher\instances\imersivo\minecraft, --assetsDir, C:\Users\phgc2\AppData\Roaming\PrismLauncher\assets, --uuid, <PROFILE ID>, --username, p3dr05009, --assetIndex, 5, --accessToken, ????????, --userType, msa, --versionType, release, --width, 854, --height, 480] [01:55:30] [main/INFO] [co.ab.sa.co.Saturn/]: Loaded Saturn config file with 4 configurable options [01:55:30] [main/INFO] [Embeddium/]: Loaded configuration file for Embeddium: 281 options available, 3 override(s) found [01:55:30] [main/INFO] [Embeddium-GraphicsAdapterProbe/]: Searching for graphics cards... [01:55:31] [main/INFO] [Embeddium-GraphicsAdapterProbe/]: Found graphics card: GraphicsAdapterInfo[vendor=NVIDIA, name=NVIDIA GeForce GTX 1070, version=DriverVersion=32.0.15.6614] [01:55:31] [main/WARN] [Embeddium-Workarounds/]: Embeddium has applied one or more workarounds to prevent crashes or other issues on your system: [NVIDIA_THREADED_OPTIMIZATIONS] [01:55:31] [main/WARN] [Embeddium-Workarounds/]: This is not necessarily an issue, but it may result in certain features or optimizations being disabled. You can sometimes fix these issues by upgrading your graphics driver. [01:55:31] [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 [01:55:31] [main/WARN] [mixin/]: Reference map 'expanded_ecosphere-forge-refmap.json' for wwoo.mixins.json could not be read. If this is a development environment you can ignore this message [01:55:31] [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 [01:55:31] [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 [01:55:31] [main/INFO] [Radium Config/]: Loaded configuration file for Radium: 125 options available, 1 override(s) found [01:55:31] [main/WARN] [mixin/]: Reference map 'graveyard-FORGE-forge-refmap.json' for graveyard-forge.mixins.json could not be read. If this is a development environment you can ignore this message [01:55:31] [main/WARN] [mixin/]: Reference map 'waves.refmap.json' for waves.mixins.json could not be read. If this is a development environment you can ignore this message [01:55:31] [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 [01:55:32] [main/WARN] [mixin/]: Reference map 'more_beautiful_torches.refmap.json' for forge-more_beautiful_torches.forge.mixins.json could not be read. If this is a development environment you can ignore this message [01:55:32] [main/INFO] [BadOptimizations/]: Loading config file [01:55:32] [main/INFO] [BadOptimizations/]: Config version: 4 [01:55:32] [main/INFO] [BadOptimizations/]: BadOptimizations config dump: [01:55:32] [main/INFO] [BadOptimizations/]: enable_toast_optimizations: true [01:55:32] [main/INFO] [BadOptimizations/]: ignore_mod_incompatibilities: false [01:55:32] [main/INFO] [BadOptimizations/]: lightmap_time_change_needed_for_update: 80 [01:55:32] [main/INFO] [BadOptimizations/]: enable_lightmap_caching: true [01:55:32] [main/INFO] [BadOptimizations/]: enable_particle_manager_optimization: true [01:55:32] [main/INFO] [BadOptimizations/]: enable_entity_renderer_caching: true [01:55:32] [main/INFO] [BadOptimizations/]: log_config: true [01:55:32] [main/INFO] [BadOptimizations/]: enable_remove_redundant_fov_calculations: true [01:55:32] [main/INFO] [BadOptimizations/]: config_version: 4 [01:55:32] [main/INFO] [BadOptimizations/]: enable_sky_angle_caching_in_worldrenderer: true [01:55:32] [main/INFO] [BadOptimizations/]: enable_block_entity_renderer_caching: true [01:55:32] [main/INFO] [BadOptimizations/]: skycolor_time_change_needed_for_update: 3 [01:55:32] [main/INFO] [BadOptimizations/]: enable_entity_flag_caching: true [01:55:32] [main/INFO] [BadOptimizations/]: enable_debug_renderer_disable_if_not_needed: true [01:55:32] [main/INFO] [BadOptimizations/]: enable_sky_color_caching: true [01:55:32] [main/INFO] [BadOptimizations/]: enable_remove_tutorial_if_not_demo: true [01:55:32] [main/INFO] [BadOptimizations/]: show_f3_text: true [01:55:32] [main/WARN] [mixin/]: Reference map '' for adapter.init.mixins.json could not be read. If this is a development environment you can ignore this message [01:55:32] [main/ERROR] [ne.mi.co.tr.CoreModBaseTransformer/COREMOD]: Error occurred applying transform of coremod wings_core.js function CameraTransformer org.openjdk.nashorn.internal.runtime.ECMAException: Failed to find instruction at org.openjdk.nashorn.internal.runtime.ECMAException.create(ECMAException.java:113) ~[nashorn-core-15.3.jar:?] {} at org.openjdk.nashorn.internal.scripts.Script$Recompilation$110$11045A$\^eval\_.L:3#atFirst#L:363#L:364(<eval>:372) ~[?:?] {} at org.openjdk.nashorn.internal.scripts.Script$Recompilation$100$10134ADA$\^eval\_.L:3#addTransformer-1#L:333#L:337(<eval>:338) ~[?:?] {} at org.openjdk.nashorn.internal.objects.NativeArray$4.forEach(NativeArray.java:1549) ~[nashorn-core-15.3.jar:?] {} at org.openjdk.nashorn.internal.runtime.arrays.IteratorAction.apply(IteratorAction.java:110) ~[nashorn-core-15.3.jar:?] {} at org.openjdk.nashorn.internal.objects.NativeArray.forEach(NativeArray.java:1552) ~[nashorn-core-15.3.jar:?] {} at org.openjdk.nashorn.internal.scripts.Script$Recompilation$99$9855A$\^eval\_.L:3#addTransformer-1#L:333(<eval>:337) ~[?:?] {} at org.openjdk.nashorn.internal.scripts.Script$Recompilation$98$8862ADA$\^eval\_.L:3#addTransformer#transformer#L:302(<eval>:303) ~[?:?] {} at org.openjdk.nashorn.internal.objects.NativeArray$4.forEach(NativeArray.java:1549) ~[nashorn-core-15.3.jar:?] {} at org.openjdk.nashorn.internal.runtime.arrays.IteratorAction.apply(IteratorAction.java:110) ~[nashorn-core-15.3.jar:?] {} at org.openjdk.nashorn.internal.objects.NativeArray.forEach(NativeArray.java:1552) ~[nashorn-core-15.3.jar:?] {} at org.openjdk.nashorn.internal.scripts.Script$Recompilation$97$8809A$\^eval\_.L:3#addTransformer#transformer(<eval>:302) ~[?:?] {} at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:648) ~[nashorn-core-15.3.jar:?] {} at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) ~[nashorn-core-15.3.jar:?] {} at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) ~[nashorn-core-15.3.jar:?] {} at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.call(ScriptObjectMirror.java:111) ~[nashorn-core-15.3.jar:?] {} at net.minecraftforge.coremod.NashornFactory.lambda$getFunction$0(NashornFactory.java:22) ~[coremods-5.1.6.jar:5.1.6] {} at net.minecraftforge.coremod.transformer.CoreModClassTransformer.runCoremod(CoreModClassTransformer.java:22) ~[coremods-5.1.6.jar:?] {} at net.minecraftforge.coremod.transformer.CoreModClassTransformer.runCoremod(CoreModClassTransformer.java:14) ~[coremods-5.1.6.jar:?] {} at net.minecraftforge.coremod.transformer.CoreModBaseTransformer.transform(CoreModBaseTransformer.java:42) ~[coremods-5.1.6.jar:?] {} at cpw.mods.modlauncher.TransformerHolder.transform(TransformerHolder.java:41) ~[modlauncher-10.0.9.jar:?] {} at cpw.mods.modlauncher.ClassTransformer.performVote(ClassTransformer.java:179) ~[modlauncher-10.0.9.jar:?] {} at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:117) ~[modlauncher-10.0.9.jar:?] {} at cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50) ~[modlauncher-10.0.9.jar:?] {} at cpw.mods.cl.ModuleClassLoader.getMaybeTransformedClassBytes(ModuleClassLoader.java:250) ~[securejarhandler-2.1.10.jar:?] {} at cpw.mods.modlauncher.TransformingClassLoader.buildTransformedClassNodeFor(TransformingClassLoader.java:58) ~[modlauncher-10.0.9.jar:?] {} at cpw.mods.modlauncher.LaunchPluginHandler.lambda$announceLaunch$10(LaunchPluginHandler.java:100) ~[modlauncher-10.0.9.jar:?] {} at org.spongepowered.asm.launch.MixinLaunchPluginLegacy.getClassNode(MixinLaunchPluginLegacy.java:222) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {} at org.spongepowered.asm.launch.MixinLaunchPluginLegacy.getClassNode(MixinLaunchPluginLegacy.java:207) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {} at org.spongepowered.asm.mixin.transformer.ClassInfo.forName(ClassInfo.java:2056) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {} at org.spongepowered.asm.mixin.transformer.MixinInfo.getTargetClass(MixinInfo.java:1018) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {} at org.spongepowered.asm.mixin.transformer.MixinInfo.readTargetClasses(MixinInfo.java:1008) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {} at org.spongepowered.asm.mixin.transformer.MixinInfo.parseTargets(MixinInfo.java:896) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {} at org.spongepowered.asm.mixin.transformer.MixinConfig.prepareMixins(MixinConfig.java:869) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {} at org.spongepowered.asm.mixin.transformer.MixinConfig.prepare(MixinConfig.java:781) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {} at org.spongepowered.asm.mixin.transformer.MixinProcessor.prepareConfigs(MixinProcessor.java:540) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {} at org.spongepowered.asm.mixin.transformer.MixinProcessor.select(MixinProcessor.java:462) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {} at org.spongepowered.asm.mixin.transformer.MixinProcessor.checkSelect(MixinProcessor.java:438) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {} at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:290) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {} at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:250) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {} at org.spongepowered.asm.service.modlauncher.MixinTransformationHandler.processClass(MixinTransformationHandler.java:131) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {} at org.spongepowered.asm.launch.MixinLaunchPluginLegacy.processClass(MixinLaunchPluginLegacy.java:131) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {} at cpw.mods.modlauncher.serviceapi.ILaunchPluginService.processClassWithFlags(ILaunchPluginService.java:156) ~[modlauncher-10.0.9.jar:10.0.9+10.0.9+main.dcd20f30] {} at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:88) ~[modlauncher-10.0.9.jar:?] {} at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) ~[modlauncher-10.0.9.jar:?] {} at cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50) ~[modlauncher-10.0.9.jar:?] {} at cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:113) ~[securejarhandler-2.1.10.jar:?] {} at cpw.mods.cl.ModuleClassLoader.lambda$findClass$15(ModuleClassLoader.java:219) ~[securejarhandler-2.1.10.jar:?] {} at cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:229) ~[securejarhandler-2.1.10.jar:?] {} at cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:219) ~[securejarhandler-2.1.10.jar:?] {} at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:135) ~[securejarhandler-2.1.10.jar:?] {} at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?] {} at java.lang.Class.forName0(Native Method) ~[?:?] {} at java.lang.Class.forName(Class.java:467) ~[?:?] {} at org.sinytra.connector.service.ConnectorLoaderService$1.lambda$updateModuleReads$0(ConnectorLoaderService.java:65) ~[Connector-1.0.0-beta.46+1.20.1.jar%23364!/:1.0.0-beta.46+1.20.1] {} at cpw.mods.modlauncher.api.LamdbaExceptionUtils.uncheck(LamdbaExceptionUtils.java:95) ~[modlauncher-10.0.9.jar%23140!/:10.0.9+10.0.9+main.dcd20f30] {} at org.sinytra.connector.service.ConnectorLoaderService$1.updateModuleReads(ConnectorLoaderService.java:65) ~[Connector-1.0.0-beta.46+1.20.1.jar%23364!/:1.0.0-beta.46+1.20.1] {} at net.minecraftforge.fml.loading.ImmediateWindowHandler.acceptGameLayer(ImmediateWindowHandler.java:71) ~[fmlloader-1.20.1-47.3.0.jar:1.0] {} at net.minecraftforge.fml.loading.FMLLoader.beforeStart(FMLLoader.java:207) ~[fmlloader-1.20.1-47.3.0.jar:1.0] {} at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.launchService(CommonLaunchHandler.java:92) ~[fmlloader-1.20.1-47.3.0.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) ~[modlauncher-10.0.9.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) ~[modlauncher-10.0.9.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) ~[modlauncher-10.0.9.jar:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:108) ~[modlauncher-10.0.9.jar:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:78) ~[modlauncher-10.0.9.jar:?] {} at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) ~[modlauncher-10.0.9.jar:?] {} at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) ~[modlauncher-10.0.9.jar:?] {} at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) ~[bootstraplauncher-1.1.2.jar:?] {} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {} at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {} at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {} at io.github.zekerzhayard.forgewrapper.installer.Main.main(Main.java:67) ~[?:?] {} at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:105) ~[?:?] {} at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129) ~[?:?] {} at org.prismlauncher.EntryPoint.main(EntryPoint.java:70) ~[?:?] {} [01:55:33] [main/INFO] [ne.mi.co.Co.placebo/COREMODLOG]: Patching IForgeItemStack#getEnchantmentLevel [01:55:33] [main/INFO] [ne.mi.co.Co.placebo/COREMODLOG]: Patching IForgeItemStack#getEnchantmentLevel [01:55:33] [main/WARN] [mixin/]: Error loading class: vazkii/quark/base/module/ModuleFinder (java.lang.ClassNotFoundException: vazkii.quark.base.module.ModuleFinder) [01:55:33] [main/WARN] [debug/]: dzwdz.chat_heads.mixin.ChatComponentMixin false false [01:55:33] [main/WARN] [debug/]: dzwdz.chat_heads.mixin.ChatComponentMixin2 false false [01:55:33] [main/WARN] [debug/]: dzwdz.chat_heads.mixin.ChatListenerMixin false false [01:55:33] [main/WARN] [debug/]: dzwdz.chat_heads.mixin.ClientPacketListenerMixin false false [01:55:33] [main/WARN] [debug/]: dzwdz.chat_heads.mixin.CommandSuggestionSuggestionsListMixin false false [01:55:33] [main/WARN] [debug/]: dzwdz.chat_heads.mixin.ConnectionMixin false false [01:55:33] [main/WARN] [debug/]: dzwdz.chat_heads.mixin.DownloadedPackSourceMixin false false [01:55:33] [main/WARN] [debug/]: dzwdz.chat_heads.mixin.FontStringRenderOutputMixin false false [01:55:33] [main/WARN] [debug/]: dzwdz.chat_heads.mixin.GuiMessageLineMixin false false [01:55:33] [main/WARN] [debug/]: dzwdz.chat_heads.mixin.GuiMessageMixin false false [01:55:33] [main/WARN] [debug/]: dzwdz.chat_heads.mixin.HttpTextureMixin false false [01:55:33] [main/WARN] [debug/]: dzwdz.chat_heads.mixin.PlayerChatMessageMixin false false [01:55:33] [main/WARN] [debug/]: dzwdz.chat_heads.mixin.SkinManagerMixin false false [01:55:33] [main/WARN] [debug/]: dzwdz.chat_heads.mixin.compat.EmojifulMixin true false [01:55:33] [main/WARN] [mixin/]: Error loading class: vazkii/neat/HealthBarRenderer (java.lang.ClassNotFoundException: vazkii.neat.HealthBarRenderer) [01:55:33] [main/WARN] [mixin/]: @Mixin target vazkii.neat.HealthBarRenderer was not found autoleveling.mixins.json:neat/HealthBarRendererMixin from mod autoleveling [01:55:33] [main/WARN] [mixin/]: Error loading class: vectorwing/farmersdelight/common/block/TomatoVineBlock (java.lang.ClassNotFoundException: vectorwing.farmersdelight.common.block.TomatoVineBlock) [01:55:33] [main/WARN] [mixin/]: Error loading class: mekanism/client/render/entity/RenderFlame (java.lang.ClassNotFoundException: mekanism.client.render.entity.RenderFlame) [01:55:33] [main/WARN] [mixin/]: Error loading class: mekanism/client/render/armor/MekaSuitArmor (java.lang.ClassNotFoundException: mekanism.client.render.armor.MekaSuitArmor) [01:55:33] [main/WARN] [Radium Config/]: Force-disabling mixin 'alloc.blockstate.StateMixin' as option 'mixin.alloc.blockstate' (added by mods [ferritecore]) disables it and children [01:55:34] [main/INFO] [co.cu.Cupboard/]: Loaded config for: betterfpsdist.json [01:55:34] [main/WARN] [mixin/]: Error loading class: dev/emi/emi/screen/EmiScreenManager (java.lang.ClassNotFoundException: dev.emi.emi.screen.EmiScreenManager) [01:55:34] [main/WARN] [mixin/]: Error loading class: me/shedaniel/rei/impl/client/gui/ScreenOverlayImpl (java.lang.ClassNotFoundException: me.shedaniel.rei.impl.client.gui.ScreenOverlayImpl) [01:55:34] [main/WARN] [mixin/]: Error loading class: net/fabricmc/fabric/impl/datagen/FabricDataGenHelper (java.lang.ClassNotFoundException: net.fabricmc.fabric.impl.datagen.FabricDataGenHelper) [01:55:34] [main/WARN] [mixin/]: Error loading class: mezz/modnametooltip/TooltipEventHandler (java.lang.ClassNotFoundException: mezz.modnametooltip.TooltipEventHandler) [01:55:34] [main/WARN] [mixin/]: Error loading class: me/shedaniel/rei/impl/client/ClientHelperImpl (java.lang.ClassNotFoundException: me.shedaniel.rei.impl.client.ClientHelperImpl) [01:55:34] [main/WARN] [mixin/]: Error loading class: vazkii/quark/addons/oddities/inventory/BackpackMenu (java.lang.ClassNotFoundException: vazkii.quark.addons.oddities.inventory.BackpackMenu) [01:55:35] [main/INFO] [memoryleakfix/]: [MemoryLeakFix] Will be applying 3 memory leak fixes! [01:55:35] [main/INFO] [memoryleakfix/]: [MemoryLeakFix] Currently enabled memory leak fixes: [targetEntityLeak, biomeTemperatureLeak, hugeScreenshotLeak] [01:55:35] [main/WARN] [Embeddium/]: Force-disabling mixin 'features.render.world.sky.WorldRendererMixin' as rule 'mixin.features.render.world.sky' (added by mods [oculus]) disables it and children [01:55:35] [main/WARN] [Embeddium/]: Force-disabling mixin 'features.render.world.sky.ClientWorldMixin' as rule 'mixin.features.render.world.sky' (added by mods [oculus]) disables it and children [01:55:35] [main/WARN] [Embeddium/]: Force-disabling mixin 'features.render.world.sky.BackgroundRendererMixin' as rule 'mixin.features.render.world.sky' (added by mods [oculus]) disables it and children [01:55:35] [main/WARN] [Embeddium/]: Force-disabling mixin 'features.render.gui.font.GlyphRendererMixin' as rule 'mixin.features.render.gui.font' (added by mods [oculus]) disables it and children [01:55:35] [main/WARN] [Embeddium/]: Force-disabling mixin 'features.render.gui.font.FontSetMixin' as rule 'mixin.features.render.gui.font' (added by mods [oculus]) disables it and children [01:55:35] [main/WARN] [Embeddium/]: Force-disabling mixin 'features.render.entity.shadows.EntityRenderDispatcherMixin' as rule 'mixin.features.render.entity' (added by mods [oculus]) disables it and children [01:55:35] [main/WARN] [Embeddium/]: Force-disabling mixin 'features.render.entity.remove_streams.ModelPartMixin' as rule 'mixin.features.render.entity' (added by mods [oculus]) disables it and children [01:55:35] [main/WARN] [Embeddium/]: Force-disabling mixin 'features.render.entity.remove_streams.HierarchicalModelMixin' as rule 'mixin.features.render.entity' (added by mods [oculus]) disables it and children [01:55:35] [main/WARN] [Embeddium/]: Force-disabling mixin 'features.render.entity.fast_render.ModelPartMixin' as rule 'mixin.features.render.entity' (added by mods [oculus]) disables it and children [01:55:35] [main/WARN] [Embeddium/]: Force-disabling mixin 'features.render.entity.fast_render.CuboidMixin' as rule 'mixin.features.render.entity' (added by mods [oculus]) disables it and children [01:55:35] [main/WARN] [Embeddium/]: Force-disabling mixin 'features.render.entity.cull.EntityRendererMixin' as rule 'mixin.features.render.entity' (added by mods [oculus]) disables it and children [01:55:35] [main/WARN] [mixin/]: Error loading class: org/jetbrains/annotations/ApiStatus$Internal (java.lang.ClassNotFoundException: org.jetbrains.annotations.ApiStatus$Internal) [01:55:35] [main/INFO] [MixinExtras|Service/]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.4.1). [01:55:37] [main/INFO] [ne.mi.co.Co.placebo/COREMODLOG]: Patching IForgeItemStack#getEnchantmentLevel [01:55:37] [main/INFO] [ne.mi.co.Co.placebo/COREMODLOG]: Patching IForgeItemStack#getEnchantmentLevel [01:55:37] [main/WARN] [mixin/]: @Inject(@At("INVOKE_ASSIGN")) Shift.BY=3 on jeed-common.mixins.json:EffectsRenderingInventoryScreenMixin from mod jeed::handler$dei000$jeed$captureEffect exceeds the maximum allowed value: 0. Increase the value of maxShiftBy to suppress this warning. [01:55:37] [pool-4-thread-1/WARN] [mixin/]: Method overwrite conflict for m_6104_ in embeddium.mixins.json:features.options.render_layers.LeavesBlockMixin from mod embeddium, previously written by me.srrapero720.embeddiumplus.mixins.impl.leaves_culling.LeavesBlockMixin. Skipping method. [01:55:38] [pool-4-thread-1/INFO] [ne.mi.co.Co.placebo/COREMODLOG]: Patching IForgeItemStack#getEnchantmentLevel [01:55:38] [pool-4-thread-1/INFO] [ne.mi.co.Co.placebo/COREMODLOG]: Patching IForgeItemStack#getEnchantmentLevel [01:55:39] [pool-4-thread-1/WARN] [mixin/]: Method overwrite conflict for scheduleRandomTick in corgilib-common.mixins.json:chunk.MixinChunkAccess from mod corgilib, previously written by dev.corgitaco.ohthetreesyoullgrow.mixin.chunk.MixinChunkAccess. Skipping method. [01:55:39] [pool-4-thread-1/WARN] [mixin/]: Method overwrite conflict for getScheduledRandomTicks in corgilib-common.mixins.json:chunk.MixinChunkAccess from mod corgilib, previously written by dev.corgitaco.ohthetreesyoullgrow.mixin.chunk.MixinChunkAccess. Skipping method. [01:55:39] [Datafixer Bootstrap/INFO] [mojang/DataFixerBuilder]: 188 Datafixer optimizations took 104 milliseconds [01:55:39] [pool-4-thread-1/INFO] [mixin/]: savage_and_ravage.mixins.json:RaiderAccessor from mod savage_and_ravage->@Accessor[FIELD_GETTER]::getIsCelebrating()Lnet/minecraft/network/syncher/EntityDataAccessor; should be static as its target is [01:55:40] [pool-4-thread-1/WARN] [mixin/]: @Final field f_26027_:Lnet/minecraft/world/entity/ai/targeting/TargetingConditions; in guardvillagers.mixins.json:DefendVillageGoalGolemMixin from mod guardvillagers should be final [01:55:40] [pool-4-thread-1/WARN] [mixin/]: Static binding violation: PRIVATE @Overwrite method m_135379_ in lithium.mixins.json:entity.data_tracker.use_arrays.DataTrackerMixin from mod radium cannot reduce visibiliy of PUBLIC target method, visibility will be upgraded. Exception caught from launcher 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 io.github.zekerzhayard.forgewrapper.installer.Main.main(Main.java:67) at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:105) at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129) at org.prismlauncher.EntryPoint.main(EntryPoint.java:70) Caused by: 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) ... 8 more 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) ... 15 more Caused by: java.lang.RuntimeException: java.lang.NoClassDefFoundError: net/fabricmc/fabric/api/item/v1/FabricItemSettings at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.BackgroundWaiter.runAndTick(BackgroundWaiter.java:32) at TRANSFORMER/[email protected]/net.minecraft.client.main.Main.main(Main.java:151) ... 23 more Caused by: java.lang.NoClassDefFoundError: net/fabricmc/fabric/api/item/v1/FabricItemSettings at TRANSFORMER/[email protected]/net.minecraft.world.entity.vehicle.Boat$Type.handler$bho000$eldritch_end$addCustomBoatType(Boat.java:1020) at TRANSFORMER/[email protected]/net.minecraft.world.entity.vehicle.Boat$Type.<clinit>(Boat.java:885) at TRANSFORMER/[email protected]/net.minecraft.world.item.Items.<clinit>(Items.java:757) at TRANSFORMER/[email protected]/net.minecraft.world.level.block.ComposterBlock.m_51988_(ComposterBlock.java:60) at TRANSFORMER/[email protected]/net.minecraft.server.Bootstrap.m_135870_(Bootstrap.java:47) at TRANSFORMER/[email protected]/net.minecraft.client.main.Main.lambda$main$0(Main.java:151) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.lang.ClassNotFoundException: net.fabricmc.fabric.api.item.v1.FabricItemSettings at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525) at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:137) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525) at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:137) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525) ... 11 more Exiting with ERROR Process exited with code 2. Can Someone Help Solve This Problem ?
    • Hello, thank you for viewing my topic, this is what I want your help with: i've been wanting to make my own mod but time doesnt allow it because im just in high school and very busy with exams. what i want to create is a mod related to magic and sorcery with spells that affect the environment (eg: a spell that creates a ring of fire) i know its bullshit but i want to do it, can you help me by commenting information you know or related documents about my idea and again thank you guys           ||in my country, a school year is divided into 2 semesters and recently i finished semester 1, taking advantage of this small break to learn java and programming, i know its not enough but every little bit is good ||   btw this is my first time writing like this plus my english skill, it makes this topic become corny
    • I canot use any mods they wont pop up i have watched like very vid on it
    • I've been trying to open minecraft for a while now and I don't know what happens. Sometimes it loads all mods with no problem and starts, but when I try to join a server with friends it crashes; The rest of the time it just freezes when it's loading registries and crashes again, I'm just tired of it Here is the crash report in different links: https://paste.ee/p/dWYBm4Us https://mclo.gs/Qh11YiV
    • Forge only supports Java Edition, you'll need to ask elsewhere for Pocket Edition support. Also, don't post in unrelated topics. I've split your post into its own topic.
  • Topics

×
×
  • Create New...

Important Information

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