Jump to content

[1.8.9] Problems with container


Minebot17

Recommended Posts

Hi, I have one problem. If I put in container 0.5 stack, the container will be one stack. Items are doubled. If I take these items by Left-Click, then she disappears. If I take by Right-Click, then she will take.

 

TileEntityMagnet:

 

package com.minebot.statics.gui;



import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.ChatComponentText;
import net.minecraft.util.ChatComponentTranslation;
import net.minecraft.util.IChatComponent;

public class TileEntityMagnet extends TileEntity implements IInventory
{
    private ItemStack[] inventory;
    private String customName;

    public TileEntityMagnet() {
        this.inventory = new ItemStack[this.getSizeInventory()];
    }

    public String getCustomName() {
        return this.customName;
    }

    public void setCustomName(String customName) {
        this.customName = customName;
    }

    @Override
    public String getName() {
        return this.hasCustomName() ? this.customName : "container.tutorial_tile_entity";
    }

    @Override
    public boolean hasCustomName() {
        return this.customName != null && !this.customName.equals("");
    }

    @Override
    public IChatComponent getDisplayName() {
        return this.hasCustomName() ? new ChatComponentText(this.getName()) : new ChatComponentTranslation(this.getName());
    }
    
    @Override
    public ItemStack getStackInSlot(int index) {
        if (index < 0 || index >= this.getSizeInventory())
            return null;
        return this.inventory[index];
    }

    @Override
    public ItemStack decrStackSize(int index, int count) {
        if (this.getStackInSlot(index) != null) {
            ItemStack itemstack;

            if (this.getStackInSlot(index).stackSize <= count) {
                itemstack = this.getStackInSlot(index);
                this.setInventorySlotContents(index, null);
                this.markDirty();
                return itemstack;
            } else {
                itemstack = this.getStackInSlot(index).splitStack(count);

                if (this.getStackInSlot(index).stackSize <= 0) {
                    this.setInventorySlotContents(index, null);
                } else {
                    this.setInventorySlotContents(index, this.getStackInSlot(index));
                }

                this.markDirty();
                return itemstack;
            }
        } else {
            return null;
        }
    }

    @Override
    public void setInventorySlotContents(int index, ItemStack stack) {
        if (index < 0 || index >= this.getSizeInventory())
            return;

        if (stack != null && stack.stackSize > this.getInventoryStackLimit())
            stack.stackSize = this.getInventoryStackLimit();
            
        if (stack != null && stack.stackSize == 0)
            stack = null;

        this.inventory[index] = stack;
        this.markDirty();
    }
    
    @Override
    public int getInventoryStackLimit() {
        return 64;
    }
    
    @Override
    public boolean isUseableByPlayer(EntityPlayer player) {
        return true;
    }
    
    @Override
    public void openInventory(EntityPlayer player) {
    }

    @Override
    public void closeInventory(EntityPlayer player) {
    }
    
    @Override
    public boolean isItemValidForSlot(int index, ItemStack stack) {
        return true;
    }
    
    @Override
    public int getField(int id) {
        return 0;
    }

    @Override
    public void setField(int id, int value) {
    }

    @Override
    public int getFieldCount() {
        return 0;
    }
    
    @Override
    public void clear() {
        for (int i = 0; i < this.getSizeInventory(); i++)
            this.setInventorySlotContents(i, null);
    }
    
    @Override
    public void writeToNBT(NBTTagCompound nbt) {
        super.writeToNBT(nbt);

        NBTTagList list = new NBTTagList();
        for (int i = 0; i < this.getSizeInventory(); ++i) {
            if (this.getStackInSlot(i) != null) {
                NBTTagCompound stackTag = new NBTTagCompound();
                stackTag.setByte("Slot", (byte) i);
                this.getStackInSlot(i).writeToNBT(stackTag);
                list.appendTag(stackTag);
            }
        }
        nbt.setTag("Items", list);

        if (this.hasCustomName()) {
            nbt.setString("CustomName", this.getCustomName());
        }
    }


    @Override
    public void readFromNBT(NBTTagCompound nbt) {
        super.readFromNBT(nbt);

        NBTTagList list = nbt.getTagList("Items", 10);
        for (int i = 0; i < list.tagCount(); ++i) {
            NBTTagCompound stackTag = list.getCompoundTagAt(i);
            int slot = stackTag.getByte("Slot") & 255;
            this.setInventorySlotContents(slot, ItemStack.loadItemStackFromNBT(stackTag));
        }

        if (nbt.hasKey("CustomName", ) {
            this.setCustomName(nbt.getString("CustomName"));
        }
    }

@Override
public int getSizeInventory() {
	return 5;
}

@Override
public ItemStack removeStackFromSlot(int index) {
        if (this.inventory[index] != null)
        {
            ItemStack itemstack = this.inventory[index];
            this.inventory[index] = null;
            return itemstack;
        }
        else
        {
            return null;
        }
}
}

 

 

ContainerMagnet:

 

package com.minebot.statics.gui;

import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.Container;
import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;

public class ContainerMagnet extends Container
{

    private TileEntityMagnet te;
    
public ContainerMagnet(IInventory playerInv, TileEntityMagnet te) {
        this.te = te;
        
        // Tile Entity, Slot 0-4, Slot IDs 0-4
        for(int i = 0; i <= 4; i++)
        {
        	int x = 44 + i * 18;
        	int y = 20;
            addSlotToContainer(new Slot((IInventory) te, i, x, y));
        }

        // Player Inventory, Slot 9-35, Slot IDs 9-35
        for (int y = 0; y < 3; ++y) {
            for (int x = 0; x < 9; ++x) {
                this.addSlotToContainer(new Slot(playerInv, x + y * 9 + 9, 8 + x * 18, 51 + y * 18));
            }
        }

        // Player Inventory, Slot 0-8, Slot IDs 36-44
        for (int x = 0; x < 9; ++x) {
            this.addSlotToContainer(new Slot(playerInv, x, 8 + x * 18, 109));
        }
}

@Override
public boolean canInteractWith(EntityPlayer playerIn) {

	 return te.isUseableByPlayer(playerIn);
}

@Override
public ItemStack transferStackInSlot(EntityPlayer playerIn, int index) 
{
        ItemStack itemstack = null;
        Slot slot = (Slot)this.inventorySlots.get(index);

        if (slot != null && slot.getHasStack())
        {
            ItemStack itemstack1 = slot.getStack();
            itemstack = itemstack1.copy();

            if (index < 5)
            {
                if (!this.mergeItemStack(itemstack1, 5, this.inventorySlots.size(), true))
                {
                    return null;
                }
            }
            else if (!this.mergeItemStack(itemstack1, 0, 5, false))
            {
                return null;
            }

            if (itemstack1.stackSize == 0)
            {
                slot.putStack((ItemStack)null);
            }
            else
            {
                slot.onSlotChanged();
            }
        }

        return itemstack;
}

}

 

 

GuiHandler:

 

package com.minebot.statics.gui;

import com.minebot.statics.ModInfo;

import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.world.World;
import net.minecraftforge.fml.common.network.IGuiHandler;

public class GuiHandler implements IGuiHandler{

@Override
public Object getServerGuiElement(int ID, EntityPlayer player, World world,
		int x, int y, int z) {
	if(ID == 0){ return new ContainerMagnet(player.inventory, ModInfo.magnetTile); }
	return null;
}

@Override
public Object getClientGuiElement(int ID, EntityPlayer player, World world,
		int x, int y, int z) {
	if(ID == 0){ return new GUIMagnet(player.inventory, ModInfo.magnetTile); }
	return null;
}

}

 

 

I register GuiHandler in init() (proxy is not) (like this: NetworkRegistry.INSTANCE.registerGuiHandler(Main.instance, new GuiHandler())) and register TileEntityMagnet in CommonProxy in preInin (like this: GameRegistry.registerTileEntity(TileEntityMagnet.class, "TileEntityMagnet"))

Link to comment
Share on other sites

Join the conversation

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

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

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

×   Your previous content has been restored.   Clear editor

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • 1.20.1 forge server isnt working   https://pastebin.com/ZfKffnCX
    • - Minecraft Crash Report ---- // This doesn't make any sense! Time: 2024-06-16 16:50:19 Description: Ticking entity java.lang.NoSuchMethodError: 'net.minecraft.world.entity.LivingEntity net.minecraftforge.event.entity.living.LivingKnockBackEvent.getEntityLiving()'     at com.charles445.damagetilt.EventHandler.onKnockback(EventHandler.java:30) ~[DamageTilt-1.19-forge-0.1.1.jar%23208!/:1.19-forge-0.1.1] {re:classloading}     at com.charles445.damagetilt.__EventHandler_onKnockback_LivingKnockBackEvent.invoke(.dynamic) ~[DamageTilt-1.19-forge-0.1.1.jar%23208!/:1.19-forge-0.1.1] {re:classloading,pl:eventbus:B}     at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.3.jar%2385!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.3.jar%2385!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.3.jar%2385!/:?] {}     at net.minecraftforge.common.ForgeHooks.onLivingKnockBack(ForgeHooks.java:331) ~[forge-1.19.2-43.4.0-universal.jar%23248!/:?] {re:classloading}     at net.minecraft.world.entity.LivingEntity.m_147240_(LivingEntity.java:1387) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cgm.mixins.json:common.LivingEntityMixin,pl:mixin:APP:tacz.mixins.json:common.LivingEntityMixin,pl:mixin:APP:rottencreatures-common.mixins.json:common.LivingEntityMixin,pl:mixin:APP:presencefootsteps.mixin.json:ILivingEntity,pl:mixin:APP:presencefootsteps.mixin.json:MLivingEntity,pl:mixin:A}     at net.minecraft.world.entity.LivingEntity.m_6469_(LivingEntity.java:1142) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cgm.mixins.json:common.LivingEntityMixin,pl:mixin:APP:tacz.mixins.json:common.LivingEntityMixin,pl:mixin:APP:rottencreatures-common.mixins.json:common.LivingEntityMixin,pl:mixin:APP:presencefootsteps.mixin.json:ILivingEntity,pl:mixin:APP:presencefootsteps.mixin.json:MLivingEntity,pl:mixin:A}     at net.minecraft.world.entity.animal.axolotl.Axolotl.m_7327_(Axolotl.java:386) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.world.entity.ai.behavior.MeleeAttack.m_6735_(MeleeAttack.java:50) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.world.entity.ai.behavior.MeleeAttack.m_6735_(MeleeAttack.java:17) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.world.entity.ai.behavior.Behavior.m_22554_(Behavior.java:49) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.world.entity.ai.Brain.m_21957_(Brain.java:516) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.world.entity.ai.Brain.m_21865_(Brain.java:475) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.world.entity.animal.axolotl.Axolotl.m_8024_(Axolotl.java:359) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.world.entity.Mob.m_6140_(Mob.java:733) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}     at net.minecraft.world.entity.LivingEntity.m_8107_(LivingEntity.java:2546) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cgm.mixins.json:common.LivingEntityMixin,pl:mixin:APP:tacz.mixins.json:common.LivingEntityMixin,pl:mixin:APP:rottencreatures-common.mixins.json:common.LivingEntityMixin,pl:mixin:APP:presencefootsteps.mixin.json:ILivingEntity,pl:mixin:APP:presencefootsteps.mixin.json:MLivingEntity,pl:mixin:A}     at net.minecraft.world.entity.Mob.m_8107_(Mob.java:517) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}     at net.minecraft.world.entity.AgeableMob.m_8107_(AgeableMob.java:127) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,re:classloading}     at net.minecraft.world.entity.animal.Animal.m_8107_(Animal.java:53) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,re:classloading,pl:mixin:APP:sanitydim.mixins.json:MixinAnimal,pl:mixin:A}     at net.minecraft.world.entity.LivingEntity.m_8119_(LivingEntity.java:2291) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cgm.mixins.json:common.LivingEntityMixin,pl:mixin:APP:tacz.mixins.json:common.LivingEntityMixin,pl:mixin:APP:rottencreatures-common.mixins.json:common.LivingEntityMixin,pl:mixin:APP:presencefootsteps.mixin.json:ILivingEntity,pl:mixin:APP:presencefootsteps.mixin.json:MLivingEntity,pl:mixin:A}     at net.minecraft.world.entity.Mob.m_8119_(Mob.java:318) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}     at net.minecraft.server.level.ServerLevel.m_8647_(ServerLevel.java:658) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:rottencreatures-common.mixins.json:common.ServerLevelMixin,pl:mixin:APP:zombieawareness.mixins.json:MixinPlaySound,pl:mixin:APP:zombieawareness.mixins.json:MixinLevelEvent,pl:mixin:APP:assets/sound_physics_remastered/sound_physics_remastered.mixins.json:ServerWorldMixin,pl:mixin:A}     at net.minecraft.world.level.Level.m_46653_(Level.java:457) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}     at net.minecraft.server.level.ServerLevel.m_184063_(ServerLevel.java:323) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:rottencreatures-common.mixins.json:common.ServerLevelMixin,pl:mixin:APP:zombieawareness.mixins.json:MixinPlaySound,pl:mixin:APP:zombieawareness.mixins.json:MixinLevelEvent,pl:mixin:APP:assets/sound_physics_remastered/sound_physics_remastered.mixins.json:ServerWorldMixin,pl:mixin:A}     at net.minecraft.world.level.entity.EntityTickList.m_156910_(EntityTickList.java:54) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.server.level.ServerLevel.m_8793_(ServerLevel.java:303) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:rottencreatures-common.mixins.json:common.ServerLevelMixin,pl:mixin:APP:zombieawareness.mixins.json:MixinPlaySound,pl:mixin:APP:zombieawareness.mixins.json:MixinLevelEvent,pl:mixin:APP:assets/sound_physics_remastered/sound_physics_remastered.mixins.json:ServerWorldMixin,pl:mixin:A}     at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:866) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:806) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.client.server.IntegratedServer.m_5705_(IntegratedServer.java:84) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:654) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:244) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading,pl:accesstransformer:B}     at java.lang.Thread.run(Thread.java:833) [?:?] {} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Server thread Suspected Mod:      DamageTilt (damagetilt), Version: 0.1.1         at TRANSFORMER/[email protected]/com.charles445.damagetilt.EventHandler.onKnockback(EventHandler.java:30) Stacktrace:     at com.charles445.damagetilt.EventHandler.onKnockback(EventHandler.java:30) ~[DamageTilt-1.19-forge-0.1.1.jar%23208!/:1.19-forge-0.1.1] {re:classloading}     at com.charles445.damagetilt.__EventHandler_onKnockback_LivingKnockBackEvent.invoke(.dynamic) ~[DamageTilt-1.19-forge-0.1.1.jar%23208!/:1.19-forge-0.1.1] {re:classloading,pl:eventbus:B}     at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.3.jar%2385!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.3.jar%2385!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.3.jar%2385!/:?] {}     at net.minecraftforge.common.ForgeHooks.onLivingKnockBack(ForgeHooks.java:331) ~[forge-1.19.2-43.4.0-universal.jar%23248!/:?] {re:classloading}     at net.minecraft.world.entity.LivingEntity.m_147240_(LivingEntity.java:1387) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cgm.mixins.json:common.LivingEntityMixin,pl:mixin:APP:tacz.mixins.json:common.LivingEntityMixin,pl:mixin:APP:rottencreatures-common.mixins.json:common.LivingEntityMixin,pl:mixin:APP:presencefootsteps.mixin.json:ILivingEntity,pl:mixin:APP:presencefootsteps.mixin.json:MLivingEntity,pl:mixin:A}     at net.minecraft.world.entity.LivingEntity.m_6469_(LivingEntity.java:1142) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cgm.mixins.json:common.LivingEntityMixin,pl:mixin:APP:tacz.mixins.json:common.LivingEntityMixin,pl:mixin:APP:rottencreatures-common.mixins.json:common.LivingEntityMixin,pl:mixin:APP:presencefootsteps.mixin.json:ILivingEntity,pl:mixin:APP:presencefootsteps.mixin.json:MLivingEntity,pl:mixin:A}     at net.minecraft.world.entity.animal.axolotl.Axolotl.m_7327_(Axolotl.java:386) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.world.entity.ai.behavior.MeleeAttack.m_6735_(MeleeAttack.java:50) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.world.entity.ai.behavior.MeleeAttack.m_6735_(MeleeAttack.java:17) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.world.entity.ai.behavior.Behavior.m_22554_(Behavior.java:49) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.world.entity.ai.Brain.m_21957_(Brain.java:516) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.world.entity.ai.Brain.m_21865_(Brain.java:475) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.world.entity.animal.axolotl.Axolotl.m_8024_(Axolotl.java:359) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.world.entity.Mob.m_6140_(Mob.java:733) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}     at net.minecraft.world.entity.LivingEntity.m_8107_(LivingEntity.java:2546) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cgm.mixins.json:common.LivingEntityMixin,pl:mixin:APP:tacz.mixins.json:common.LivingEntityMixin,pl:mixin:APP:rottencreatures-common.mixins.json:common.LivingEntityMixin,pl:mixin:APP:presencefootsteps.mixin.json:ILivingEntity,pl:mixin:APP:presencefootsteps.mixin.json:MLivingEntity,pl:mixin:A}     at net.minecraft.world.entity.Mob.m_8107_(Mob.java:517) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}     at net.minecraft.world.entity.AgeableMob.m_8107_(AgeableMob.java:127) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,re:classloading}     at net.minecraft.world.entity.animal.Animal.m_8107_(Animal.java:53) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,re:classloading,pl:mixin:APP:sanitydim.mixins.json:MixinAnimal,pl:mixin:A}     at net.minecraft.world.entity.LivingEntity.m_8119_(LivingEntity.java:2291) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cgm.mixins.json:common.LivingEntityMixin,pl:mixin:APP:tacz.mixins.json:common.LivingEntityMixin,pl:mixin:APP:rottencreatures-common.mixins.json:common.LivingEntityMixin,pl:mixin:APP:presencefootsteps.mixin.json:ILivingEntity,pl:mixin:APP:presencefootsteps.mixin.json:MLivingEntity,pl:mixin:A}     at net.minecraft.world.entity.Mob.m_8119_(Mob.java:318) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}     at net.minecraft.server.level.ServerLevel.m_8647_(ServerLevel.java:658) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:rottencreatures-common.mixins.json:common.ServerLevelMixin,pl:mixin:APP:zombieawareness.mixins.json:MixinPlaySound,pl:mixin:APP:zombieawareness.mixins.json:MixinLevelEvent,pl:mixin:APP:assets/sound_physics_remastered/sound_physics_remastered.mixins.json:ServerWorldMixin,pl:mixin:A}     at net.minecraft.world.level.Level.m_46653_(Level.java:457) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}     at net.minecraft.server.level.ServerLevel.m_184063_(ServerLevel.java:323) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:rottencreatures-common.mixins.json:common.ServerLevelMixin,pl:mixin:APP:zombieawareness.mixins.json:MixinPlaySound,pl:mixin:APP:zombieawareness.mixins.json:MixinLevelEvent,pl:mixin:APP:assets/sound_physics_remastered/sound_physics_remastered.mixins.json:ServerWorldMixin,pl:mixin:A}     at net.minecraft.world.level.entity.EntityTickList.m_156910_(EntityTickList.java:54) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.server.level.ServerLevel.m_8793_(ServerLevel.java:303) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:rottencreatures-common.mixins.json:common.ServerLevelMixin,pl:mixin:APP:zombieawareness.mixins.json:MixinPlaySound,pl:mixin:APP:zombieawareness.mixins.json:MixinLevelEvent,pl:mixin:APP:assets/sound_physics_remastered/sound_physics_remastered.mixins.json:ServerWorldMixin,pl:mixin:A} -- Entity being ticked -- Details:     Entity Type: minecraft:axolotl (net.minecraft.world.entity.animal.axolotl.Axolotl)     Entity ID: 963     Entity Name: Ajolote     Entity's Exact location: 54.92, 48.44, -15.72     Entity's Block location: World: (54,48,-16), Section: (at 6,0,0 in 3,3,-1; chunk contains blocks 48,-64,-16 to 63,319,-1), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,-64,-512 to 511,319,-1)     Entity's Momentum: -0.02, 0.14, 0.24     Entity's Passengers: []     Entity's Vehicle: null Stacktrace:     at net.minecraft.world.level.Level.m_46653_(Level.java:457) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}     at net.minecraft.server.level.ServerLevel.m_184063_(ServerLevel.java:323) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:rottencreatures-common.mixins.json:common.ServerLevelMixin,pl:mixin:APP:zombieawareness.mixins.json:MixinPlaySound,pl:mixin:APP:zombieawareness.mixins.json:MixinLevelEvent,pl:mixin:APP:assets/sound_physics_remastered/sound_physics_remastered.mixins.json:ServerWorldMixin,pl:mixin:A}     at net.minecraft.world.level.entity.EntityTickList.m_156910_(EntityTickList.java:54) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.server.level.ServerLevel.m_8793_(ServerLevel.java:303) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:rottencreatures-common.mixins.json:common.ServerLevelMixin,pl:mixin:APP:zombieawareness.mixins.json:MixinPlaySound,pl:mixin:APP:zombieawareness.mixins.json:MixinLevelEvent,pl:mixin:APP:assets/sound_physics_remastered/sound_physics_remastered.mixins.json:ServerWorldMixin,pl:mixin:A}     at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:866) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:806) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.client.server.IntegratedServer.m_5705_(IntegratedServer.java:84) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:654) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:244) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading,pl:accesstransformer:B}     at java.lang.Thread.run(Thread.java:833) [?:?] {} -- Affected level -- Details:     All players: 1 total; [ServerPlayer['xTheWolfGamingx'/223, l='ServerLevel[Mundo nuevo]', x=-0.76, y=33.00, z=10.07]]     Chunk stats: 2809     Level dimension: minecraft:overworld     Level spawn location: World: (0,103,0), Section: (at 0,7,0 in 0,6,0; chunk contains blocks 0,-64,0 to 15,319,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511)     Level time: 424 game time, 424 day time     Level name: Mundo nuevo     Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: true     Level weather: Rain time: 103098 (now: false), thunder time: 144079 (now: false)     Known server brands: forge     Level was modded: true     Level storage version: 0x04ABD - Anvil Stacktrace:     at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:866) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:806) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.client.server.IntegratedServer.m_5705_(IntegratedServer.java:84) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:654) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:244) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading,pl:accesstransformer:B}     at java.lang.Thread.run(Thread.java:833) [?:?] {} -- System Details -- Details:     Minecraft Version: 1.19.2     Minecraft Version ID: 1.19.2     Operating System: Windows 10 (amd64) version 10.0     Java Version: 17.0.8, Microsoft     Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft     Memory: 830277512 bytes (791 MiB) / 2818572288 bytes (2688 MiB) up to 10737418240 bytes (10240 MiB)     CPUs: 12     Processor Vendor: AuthenticAMD     Processor Name: AMD Ryzen 5 2600 Six-Core Processor                 Identifier: AuthenticAMD Family 23 Model 8 Stepping 2     Microarchitecture: Zen+     Frequency (GHz): 3.39     Number of physical packages: 1     Number of physical CPUs: 6     Number of logical CPUs: 12     Graphics card #0 name: Radeon RX 590 Series     Graphics card #0 vendor: Advanced Micro Devices, Inc. (0x1002)     Graphics card #0 VRAM (MB): 4095.00     Graphics card #0 deviceId: 0x67df     Graphics card #0 versionInfo: DriverVersion=31.0.21912.14     Memory slot #0 capacity (MB): 8192.00     Memory slot #0 clockSpeed (GHz): 2.13     Memory slot #0 type: DDR4     Memory slot #1 capacity (MB): 8192.00     Memory slot #1 clockSpeed (GHz): 2.13     Memory slot #1 type: DDR4     Virtual memory max (MB): 24486.16     Virtual memory used (MB): 15299.95     Swap memory total (MB): 8192.00     Swap memory used (MB): 188.92     JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx10G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M     Server Running: true     Player Count: 1 / 8; [ServerPlayer['xTheWolfGamingx'/223, l='ServerLevel[Mundo nuevo]', x=-0.76, y=33.00, z=10.07]]     Data Packs: vanilla, mod:campsite_structures, mod:ambientsounds (incompatible), mod:mutantmonsters (incompatible), mod:cgm (incompatible), mod:fallout_inspired_power_armor, mod:simpleshops (incompatible), mod:hunting_delight, mod:creativecore (incompatible), mod:ava, mod:bunker_down, mod:tacz (incompatible), mod:satako, mod:taccraft, mod:rottencreatures (incompatible), mod:sound_physics_remastered (incompatible), mod:marbledsarsenal, mod:mobsunscreen, mod:ags_hud_texts, mod:scorchedguns, mod:enhancedvisuals (incompatible), mod:securitycraft, mod:marbledsapi, mod:horror_element_mod, mod:zombieawareness (incompatible), mod:yungsapi, mod:additionalguns, mod:lostcities (incompatible), mod:damageindicator (incompatible), mod:projectarsenal, mod:demogorgon, mod:coroutil (incompatible), mod:simpleplanes (incompatible), mod:kevin_trophy, mod:wegotrunnners, mod:automobility (incompatible), mod:damagetilt (incompatible), mod:puzzleslib (incompatible), mod:k_turrets, mod:framework (incompatible), mod:firstaid (incompatible), mod:forge, mod:travelerstitles, mod:horde_hoard, mod:ags_day_counter, mod:geckolib3 (incompatible), mod:sanitydim, mod:presencefootsteps     World Generation: Experimental     Type: Integrated Server (map_client.txt)     Is Modded: Definitely; Client brand changed to 'forge'; Server brand changed to 'forge'     Launched Version: 1.19.2-forge-43.4.0     ModLauncher: 10.0.8+10.0.8+main.0ef7e830     ModLauncher launch target: forgeclient     ModLauncher naming: srg     ModLauncher services:          mixin-0.8.5.jar mixin PLUGINSERVICE          eventbus-6.0.3.jar eventbus PLUGINSERVICE          fmlloader-1.19.2-43.4.0.jar slf4jfixer PLUGINSERVICE          fmlloader-1.19.2-43.4.0.jar object_holder_definalize PLUGINSERVICE          fmlloader-1.19.2-43.4.0.jar runtime_enum_extender PLUGINSERVICE          fmlloader-1.19.2-43.4.0.jar capability_token_subclass PLUGINSERVICE          accesstransformers-8.0.4.jar accesstransformer PLUGINSERVICE          fmlloader-1.19.2-43.4.0.jar runtimedistcleaner PLUGINSERVICE          modlauncher-10.0.8.jar mixin TRANSFORMATIONSERVICE          modlauncher-10.0.8.jar fml TRANSFORMATIONSERVICE      FML Language Providers:          [email protected]         lowcodefml@null         javafml@null     Mod List:          client-1.19.2-20220805.130853-srg.jar             |Minecraft                     |minecraft                     |1.19.2              |DONE      |Manifest: a1:d4:5e:04:4f:d3:d6:e0:7b:37:97:cf:77:b0:de:ad:4a:47:ce:8c:96:49:5f:0a:cf:8c:ae:b2:6d:4b:8a:3f         campsite_structures-1.19.2-FORGE-1.0.3.jar        |Campsite Structures           |campsite_structures           |1.0.3               |DONE      |Manifest: NOSIGNATURE         AmbientSounds_FORGE_v5.2.13_mc1.19.2.jar          |Ambient Sounds                |ambientsounds                 |5.2.13              |DONE      |Manifest: NOSIGNATURE         MutantMonsters-v4.0.6-1.19.2-Forge.jar            |Mutant Monsters               |mutantmonsters                |4.0.6               |DONE      |Manifest: 9a:09:85:98:65:c4:8c:11:c5:49:f6:d6:33:23:39:df:8d:b4:ff:92:84:b8:bd:a5:83:9f:ac:7f:2a:d1:4b:6a         cgm-forge-1.19.2-1.3.7.jar                        |MrCrayfish's Gun Mod          |cgm                           |1.3.7               |DONE      |Manifest: NOSIGNATURE         (NoStructures)FalloutInspiredPA(1.19.2).jar       |Power armor                   |fallout_inspired_power_armor  |1                   |DONE      |Manifest: NOSIGNATURE         simpleshops-1.2.2.jar                             |Simple Shops                  |simpleshops                   |1.1.4               |DONE      |Manifest: NOSIGNATURE         Hunting_Delight Forge 1.19.2 2.9.9.jar            |Hunting delight               |hunting_delight               |2.9.9               |DONE      |Manifest: NOSIGNATURE         CreativeCore_FORGE_v2.9.4_mc1.19.2.jar            |CreativeCore                  |creativecore                  |2.9.3               |DONE      |Manifest: NOSIGNATURE         ava-1.19.2-2.2.791.jar                            |A.V.A - Alliance of Valiant Ar|ava                           |2.2.791             |DONE      |Manifest: NOSIGNATURE         bunker-down 1-1-4- 1-19-2.jar                     |Bunker Down                   |bunker_down                   |1.1.4               |DONE      |Manifest: NOSIGNATURE         tacz-1.19.2-1.0.0-beta.jar                        |Timeless & Classics Guns: Zero|tacz                          |1.0.0               |DONE      |Manifest: NOSIGNATURE         Satako-6.0.16-1.19.jar                            |Satako                        |satako                        |6.0.16-1.19         |DONE      |Manifest: NOSIGNATURE         TacCraft [Forge 1.19.2] 0.1.jar                   |TacCraft                      |taccraft                      |1.0.0               |DONE      |Manifest: NOSIGNATURE         rottencreatures-forge-1.19.2-1.0.1.jar            |Rotten Creatures              |rottencreatures               |1.0.1               |DONE      |Manifest: NOSIGNATURE         soundphysics-forge-1.19.2-1.0.18.jar              |Sound Physics Remastered      |sound_physics_remastered      |1.19.2-1.0.18       |DONE      |Manifest: NOSIGNATURE         marbledsarsenal-1.19.2-2.1.1.jar                  |Marbled's Arsenal             |marbledsarsenal               |2.1.1               |DONE      |Manifest: NOSIGNATURE         mobsunscreen-forge-1.19.2-3.0.9.jar               |Mob Sunscreen                 |mobsunscreen                  |3.0.9               |DONE      |Manifest: NOSIGNATURE         hud_texts_v1.0_1.19.2_[FORGE].jar                 |Hud Texts                     |ags_hud_texts                 |1.0                 |DONE      |Manifest: NOSIGNATURE         scorchedguns-1.12-1.19.2.jar                      |Scorched Guns                 |scorchedguns                  |0.7.2               |DONE      |Manifest: NOSIGNATURE         EnhancedVisuals_FORGE_v1.5.9_mc1.19.2.jar         |EnhancedVisuals               |enhancedvisuals               |1.5.9               |DONE      |Manifest: NOSIGNATURE         [1.19.2] SecurityCraft v1.9.6.1.jar               |SecurityCraft                 |securitycraft                 |1.9.6.1             |DONE      |Manifest: NOSIGNATURE         marbledsapi-1.19.2-1.0.7.jar                      |Marbled's API                 |marbledsapi                   |1.0.7               |DONE      |Manifest: NOSIGNATURE         Horror_elements_mod_1.5.6_1.19.2.jar              |Horror Element Mod            |horror_element_mod            |1.5.6               |DONE      |Manifest: NOSIGNATURE         zombieawareness-1.19.2-1.12.3.jar                 |Zombie Awareness              |zombieawareness               |1.19.2-1.12.3       |DONE      |Manifest: NOSIGNATURE         YungsApi-1.19.2-Forge-3.8.10.jar                  |YUNG's API                    |yungsapi                      |1.19.2-Forge-3.8.10 |DONE      |Manifest: NOSIGNATURE         additional-guns-0.8.2-1.19.2.jar                  |Additional Guns               |additionalguns                |0.8.2               |DONE      |Manifest: NOSIGNATURE         lostcities-1.19-6.0.29.jar                        |LostCities                    |lostcities                    |1.19-6.0.29         |DONE      |Manifest: NOSIGNATURE         Directional-Damage-Indicator-Mod-Forge-1.19.2.jar |Damage Indicator              |damageindicator               |1.0.0-1.19.2        |DONE      |Manifest: NOSIGNATURE         projectarsenal-0.4.0-1.19.2.jar                   |Project Arsenal               |projectarsenal                |0.4.0               |DONE      |Manifest: NOSIGNATURE         Demogorgon-2.0.1-1.19.2.jar                       |demogorgon                    |demogorgon                    |2.0.1               |DONE      |Manifest: NOSIGNATURE         coroutil-forge-1.19.2-1.3.6.jar                   |CoroUtil                      |coroutil                      |1.19.2-1.3.6        |DONE      |Manifest: NOSIGNATURE         simpleplanes-1.19.2-5.2.2.jar                     |Simple Planes                 |simpleplanes                  |1.19.2-5.2.2        |DONE      |Manifest: NOSIGNATURE         Ryan's Zombies v5.jar                             |Kevin trophy                  |kevin_trophy                  |1.0.0               |DONE      |Manifest: NOSIGNATURE         Wegotrunners0.5.1.19.2.jar                        |wegotrunnners                 |wegotrunnners                 |1.0.0               |DONE      |Manifest: NOSIGNATURE         automobility-0.4.2+1.19.2-forge.jar               |Automobility                  |automobility                  |0.4.2+1.19.2-forge  |DONE      |Manifest: NOSIGNATURE         DamageTilt-1.19-forge-0.1.1.jar                   |DamageTilt                    |damagetilt                    |0.1.1               |DONE      |Manifest: NOSIGNATURE         PuzzlesLib-v4.4.2-1.19.2-Forge.jar                |Puzzles Lib                   |puzzleslib                    |4.4.2               |DONE      |Manifest: 9a:09:85:98:65:c4:8c:11:c5:49:f6:d6:33:23:39:df:8d:b4:ff:92:84:b8:bd:a5:83:9f:ac:7f:2a:d1:4b:6a         K-Turrets-2.0.45-1.19.jar                         |K-Turrets                     |k_turrets                     |2.0.45-1.19         |DONE      |Manifest: NOSIGNATURE         framework-forge-1.19.2-0.6.16.jar                 |Framework                     |framework                     |0.6.16              |DONE      |Manifest: 0d:78:5f:44:c0:47:0c:8c:e2:63:a3:04:43:d4:12:7d:b0:7c:35:37:dc:40:b1:c1:98:ec:51:eb:3b:3c:45:99         firstaid-1.12.0.jar                               |First Aid                     |firstaid                      |1.12.0              |DONE      |Manifest: NOSIGNATURE         forge-1.19.2-43.4.0-universal.jar                 |Forge                         |forge                         |43.4.0              |DONE      |Manifest: 84:ce:76:e8:45:35:e4:0e:63:86:df:47:59:80:0f:67:6c:c1:5f:6e:5f:4d:b3:54:47:1a:9f:7f:ed:5e:f2:90         TravelersTitles-1.19.2-Forge-3.1.2.jar            |Traveler's Titles             |travelerstitles               |1.19.2-Forge-3.1.2  |DONE      |Manifest: NOSIGNATURE         eh1.3.1-1.19.2.jar                                |Horde Hoard                   |horde_hoard                   |1.1.0               |DONE      |Manifest: NOSIGNATURE         day_counter_v3.4_1.19.2_[FORGE].jar               |Day Counter                   |ags_day_counter               |3.4                 |DONE      |Manifest: NOSIGNATURE         geckolib-forge-1.19-3.1.40.jar                    |GeckoLib                      |geckolib3                     |3.1.40              |DONE      |Manifest: NOSIGNATURE         sanitydim-mc1.19.2-1.1.0.jar                      |Sanity: Descent Into Madness  |sanitydim                     |1.1.0               |DONE      |Manifest: NOSIGNATURE         PresenceFootsteps-1.19.2-1.6.4.1-forge.jar        |Presence Footsteps (Forge)    |presencefootsteps             |1.19.2-1.6.4.1      |DONE      |Manifest: NOSIGNATURE     Crash Report UUID: 0105f2e8-e4d1-4bdb-9b78-814e9fe0e356     FML: 43.4     Forge: net.minecraftforge:43.4.0
    • Its a little late now, but did you fix it? If so, how?
    • I tried to download the waystones mod and whenever i enter the game it gives me: error Loading mods 1 error has occurred during loading Mod file waystones-forge-1.21-21.0.1.jar needs language provider javafl.51 or above to load we have found 50.0.20 I've tried every search i can think of but i still cant seem to find a solution. i don't have much experience with downloading mods on Minecraft java seen that I've only played with mods on Minecraft PE. I've tried re-installing the mod several times and that has not worked.  please please someone help me out 
    • Its when minecraft tries loading patchouli- Im on the correct version of it and everything is up to date
  • Topics

×
×
  • Create New...

Important Information

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