Jump to content

[SOLVED] [1.8.9] Model definition for location * not found


Recommended Posts

Posted

I have a block with two properties, one for the rotation and one to dertermine the model based on an internal state. When I load the game, I get those kinds of errors:

Model definition for location rfutilities:blockCapacitor#facing=south,type=4 not found

 

This is my block class:

package XFactHD.rfutilities.common.blocks.block;

import XFactHD.rfutilities.common.blocks.itemBlock.ItemBlockRFCapacitor;
import XFactHD.rfutilities.common.blocks.tileEntity.TileEntityCapacitor;
import net.minecraft.block.material.Material;
import net.minecraft.block.properties.PropertyDirection;
import net.minecraft.block.properties.PropertyInteger;
import net.minecraft.block.state.BlockState;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.*;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;

import java.util.Arrays;

public class BlockCapacitor extends BlockBaseRFU
{
    public static PropertyDirection ORIENTATION = PropertyDirection.create("facing", Arrays.asList(EnumFacing.NORTH, EnumFacing.EAST, EnumFacing.SOUTH, EnumFacing.WEST));
    private static PropertyInteger TYPE = PropertyInteger.create("type", 1, 7);

    public BlockCapacitor()
    {
        super("blockCapacitor", Material.iron, ItemBlockRFCapacitor.class, "");
    }

    @Override
    public void onBlockPlacedBy(World world, BlockPos pos, IBlockState state, EntityLivingBase entity, ItemStack stack)
    {
        int l = MathHelper.floor_double((double) (entity.rotationYaw * 4.0F / 360.0F) + 0.5D) & 3;

        if (l == 0)
        {
            world.setBlockState(pos, state.withProperty(ORIENTATION, EnumFacing.NORTH), 2);
        }

        if (l == 1)
        {
            world.setBlockState(pos, state.withProperty(ORIENTATION, EnumFacing.EAST), 2);
        }

        if (l == 2)
        {
            world.setBlockState(pos, state.withProperty(ORIENTATION, EnumFacing.SOUTH), 2);
        }

        if (l == 3)
        {
            world.setBlockState(pos, state.withProperty(ORIENTATION, EnumFacing.WEST), 2);
        }

        TileEntity te = world.getTileEntity(pos);
        if (entity instanceof EntityPlayer && te instanceof TileEntityCapacitor)
        {
            if ((stack.getTagCompound()) != null)
            {
                ((TileEntityCapacitor)te).type = stack.getTagCompound().getInteger("type");
                world.markBlockForUpdate(pos);
                //LogHelper.info("Type on stack: " + type + "; Type on tile: " + ((TileEntityCapacitor)world.getTileEntity(x, y, z)).type);
                te.markDirty();
            }
        }
    }

    @Override
    public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumFacing side, float hitX, float hitY, float hitZ)
    {
        TileEntity te = world.getTileEntity(pos);
        if (te instanceof TileEntityCapacitor /*&& player.getCurrentEquippedItem() != null && player.getCurrentEquippedItem().getItem() instanceof ItemMultimeter*/ && !world.isRemote)
        {
            player.addChatComponentMessage(new ChatComponentText(StatCollector.translateToLocal("desc.rfutilities:stored.name") + " " + ((TileEntityCapacitor)te).getEnergyStored(EnumFacing.DOWN) + " " + StatCollector.translateToLocal("desc.rfutilities:rf.name") + " / " + ((TileEntityCapacitor)te).getMaxEnergyStored(EnumFacing.DOWN) + " " + StatCollector.translateToLocal("desc.rfutilities:rf.name")));
            //LogHelper.info(((TileEntityCapacitor)world.getTileEntity(x, y, z)).type);
            return true;
        }
        return false;
    }

    @Override
    protected BlockState createBlockState()
    {
        return new BlockState(this, ORIENTATION, TYPE);
    }

    @Override
    public IBlockState getStateFromMeta(int meta)
    {
        if (EnumFacing.getFront(meta) == EnumFacing.UP || EnumFacing.getFront(meta) == EnumFacing.DOWN)
        {
            return getDefaultState().withProperty(ORIENTATION, EnumFacing.NORTH);
        }
        return getDefaultState().withProperty(ORIENTATION, EnumFacing.getFront(meta));
    }

    @Override
    public int getMetaFromState(IBlockState state)
    {
        return state.getValue(ORIENTATION).getIndex();
    }

    @Override
    public IBlockState getActualState(IBlockState state, IBlockAccess world, BlockPos pos)
    {
        EnumFacing dir = state.getValue(ORIENTATION);
        TileEntity te = world.getTileEntity(pos);
        int cap = 1;
        if (te instanceof TileEntityCapacitor)
        {
            cap = ((TileEntityCapacitor)te).type;
        }
        if (cap == 0)
        {
            return state.withProperty(ORIENTATION, dir).withProperty(TYPE, 1);
        }
        return state.withProperty(ORIENTATION, dir).withProperty(TYPE, cap);
    }

    @Override
    public ItemStack getPickBlock(MovingObjectPosition target, World world, BlockPos pos, EntityPlayer player)
    {
        ItemStack stack = new ItemStack(this, 1);
        NBTTagCompound compound = new NBTTagCompound();
        compound.setInteger("TYPE", ((TileEntityCapacitor)world.getTileEntity(pos)).type);
        stack.setTagCompound(compound);
        return stack;
    }

    //I know that this is the wrong method but createTileEntity(World world, IBlockState state) is for not called for some reason, even if I do not implement ITileEntityProvider
    @Override
    public TileEntity createNewTileEntity(World world, int meta)
    {
        return new TileEntityCapacitor();
    }

    @Override
    public boolean isOpaqueCube()
    {
        return false;
    }
}

 

This is the blockstate file:

{
"variants": {
	"facing=EAST, type=1": { "model":"rfutilities:blockCapacitor", "y": 90 },
	"facing=EAST, type=2": { "model":"rfutilities:blockCapacitorHardened", "y": 90 },
	"facing=EAST, type=3": { "model":"rfutilities:blockCapacitorReinforced", "y": 90 },
	"facing=EAST, type=4": { "model":"rfutilities:blockCapacitorResonant", "y": 90 },
	"facing=EAST, type=5": { "model":"rfutilities:blockCapacitorBasic", "y": 90 },
	"facing=EAST, type=6": { "model":"rfutilities:blockCapacitorDouble", "y": 90 },
	"facing=EAST, type=7": { "model":"rfutilities:blockCapacitorOctadic", "y": 90 },

	"facing=NORTH, type=1": { "model":"rfutilities:blockCapacitor" },
	"facing=NORTH, type=2": { "model":"rfutilities:blockCapacitorHardened" },
	"facing=NORTH, type=3": { "model":"rfutilities:blockCapacitorReinforced" },
	"facing=NORTH, type=4": { "model":"rfutilities:blockCapacitorResonant" },
	"facing=NORTH, type=5": { "model":"rfutilities:blockCapacitorBasic" },
	"facing=NORTH, type=6": { "model":"rfutilities:blockCapacitorDouble" },
	"facing=NORTH, type=7": { "model":"rfutilities:blockCapacitorOctadic" },

	"facing=SOUTH, type=1": { "model":"rfutilities:blockCapacitor", "y": 180 },
	"facing=SOUTH, type=2": { "model":"rfutilities:blockCapacitorHardened", "y": 180 },
	"facing=SOUTH, type=3": { "model":"rfutilities:blockCapacitorReinforced", "y": 180 },
	"facing=SOUTH, type=4": { "model":"rfutilities:blockCapacitorResonant", "y": 180 },
	"facing=SOUTH, type=5": { "model":"rfutilities:blockCapacitorBasic", "y": 180 },
	"facing=SOUTH, type=6": { "model":"rfutilities:blockCapacitorDouble", "y": 180 },
	"facing=SOUTH, type=7": { "model":"rfutilities:blockCapacitorOctadic", "y": 180 },

	"facing=WEST, type=1": { "model":"rfutilities:blockCapacitor", "y": 270 },
	"facing=WEST, type=2": { "model":"rfutilities:blockCapacitorHardened", "y": 270 },
	"facing=WEST, type=3": { "model":"rfutilities:blockCapacitorReinforced", "y": 270 },
	"facing=WEST, type=4": { "model":"rfutilities:blockCapacitorResonant", "y": 270 },
	"facing=WEST, type=5": { "model":"rfutilities:blockCapacitorBasic", "y": 270 },
	"facing=WEST, type=6": { "model":"rfutilities:blockCapacitorDouble", "y": 270 },
	"facing=WEST, type=7": { "model":"rfutilities:blockCapacitorOctadic", "y": 270 }
}
}

 

I have already looked at some of the topics that are similar or equal to mine but the solutions provided there didn't fix it.

For example, I tried putting

sourceSets { main { output.resourcesDir = output.classesDir } }

and/or

idea { module { inheritOutputDirs = true } }

into my build.gradle

Posted

Yep, that was the problem and if I think about it again, it makes sense because toString() gives a lowercase String back :-[.

Posted

Ok, it seems to not have solved it. For two blocks, it tells me, the same thing again although the syntax and all the references of filenames are correct. I am pretty much at the end of my ideas right now.

Posted

First block:

package XFactHD.rfutilities.common.blocks.block;

import XFactHD.rfutilities.common.blocks.itemBlock.ItemBlockRFCapacitor;
import XFactHD.rfutilities.common.blocks.tileEntity.TileEntityCapacitor;
//import cofh.thermalexpansion.item.tool.ItemMultimeter;
import net.minecraft.block.material.Material;
import net.minecraft.block.properties.PropertyDirection;
import net.minecraft.block.properties.PropertyInteger;
import net.minecraft.block.state.BlockState;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.*;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;

import java.util.Arrays;

public class BlockCapacitor extends BlockBaseRFU
{
    public static PropertyDirection ORIENTATION = PropertyDirection.create("facing", Arrays.asList(EnumFacing.NORTH, EnumFacing.EAST, EnumFacing.SOUTH, EnumFacing.WEST));
    private static PropertyInteger TYPE = PropertyInteger.create("type", 1, 7);

    public BlockCapacitor()
    {
        super("blockCapacitor", Material.iron, ItemBlockRFCapacitor.class, "");
    }

    @Override
    public void onBlockPlacedBy(World world, BlockPos pos, IBlockState state, EntityLivingBase entity, ItemStack stack)
    {
        int l = MathHelper.floor_double((double) (entity.rotationYaw * 4.0F / 360.0F) + 0.5D) & 3;

        if (l == 0)
        {
            world.setBlockState(pos, state.withProperty(ORIENTATION, EnumFacing.NORTH), 2);
        }

        if (l == 1)
        {
            world.setBlockState(pos, state.withProperty(ORIENTATION, EnumFacing.EAST), 2);
        }

        if (l == 2)
        {
            world.setBlockState(pos, state.withProperty(ORIENTATION, EnumFacing.SOUTH), 2);
        }

        if (l == 3)
        {
            world.setBlockState(pos, state.withProperty(ORIENTATION, EnumFacing.WEST), 2);
        }

        TileEntity te = world.getTileEntity(pos);
        if (entity instanceof EntityPlayer && te instanceof TileEntityCapacitor)
        {
            if ((stack.getTagCompound()) != null)
            {
                ((TileEntityCapacitor)te).type = stack.getTagCompound().getInteger("type");
                world.markBlockForUpdate(pos);
                //LogHelper.info("Type on stack: " + type + "; Type on tile: " + ((TileEntityCapacitor)world.getTileEntity(x, y, z)).type);
                te.markDirty();
            }
        }
    }

    @Override
    public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumFacing side, float hitX, float hitY, float hitZ)
    {
        TileEntity te = world.getTileEntity(pos);
        if (te instanceof TileEntityCapacitor /*&& player.getCurrentEquippedItem() != null && player.getCurrentEquippedItem().getItem() instanceof ItemMultimeter*/ && !world.isRemote)
        {
            player.addChatComponentMessage(new ChatComponentText(StatCollector.translateToLocal("desc.rfutilities:stored.name") + " " + ((TileEntityCapacitor)te).getEnergyStored(EnumFacing.DOWN) + " " + StatCollector.translateToLocal("desc.rfutilities:rf.name") + " / " + ((TileEntityCapacitor)te).getMaxEnergyStored(EnumFacing.DOWN) + " " + StatCollector.translateToLocal("desc.rfutilities:rf.name")));
            //LogHelper.info(((TileEntityCapacitor)world.getTileEntity(x, y, z)).type);
            return true;
        }
        return false;
    }

    @Override
    protected BlockState createBlockState()
    {
        return new BlockState(this, ORIENTATION, TYPE);
    }

    @Override
    public IBlockState getStateFromMeta(int meta)
    {
        if (EnumFacing.getFront(meta) == EnumFacing.UP || EnumFacing.getFront(meta) == EnumFacing.DOWN)
        {
            return getDefaultState().withProperty(ORIENTATION, EnumFacing.NORTH);
        }
        return getDefaultState().withProperty(ORIENTATION, EnumFacing.getFront(meta));
    }

    @Override
    public int getMetaFromState(IBlockState state)
    {
        return state.getValue(ORIENTATION).getIndex();
    }

    @Override
    public IBlockState getActualState(IBlockState state, IBlockAccess world, BlockPos pos)
    {
        EnumFacing dir = state.getValue(ORIENTATION);
        TileEntity te = world.getTileEntity(pos);
        int cap = 1;
        if (te instanceof TileEntityCapacitor)
        {
            cap = ((TileEntityCapacitor)te).type;
        }
        if (cap == 0)
        {
            return state.withProperty(ORIENTATION, dir).withProperty(TYPE, 1);
        }
        return state.withProperty(ORIENTATION, dir).withProperty(TYPE, cap);
    }

    @Override
    public ItemStack getPickBlock(MovingObjectPosition target, World world, BlockPos pos, EntityPlayer player)
    {
        ItemStack stack = new ItemStack(this, 1);
        NBTTagCompound compound = new NBTTagCompound();
        compound.setInteger("TYPE", ((TileEntityCapacitor)world.getTileEntity(pos)).type);
        stack.setTagCompound(compound);
        return stack;
    }

    @Override
    public TileEntity createNewTileEntity(World world, int meta)
    {
        return new TileEntityCapacitor();
    }

    @Override
    public boolean isOpaqueCube()
    {
        return false;
    }
}

 

First blockstate file (file name: blockCapacitor.json):

{
"variants": {
	"facing=east, type=1": { "model":"rfutilities:blockCapacitor", "y": 90 },
	"facing=east, type=2": { "model":"rfutilities:blockCapacitorHardened", "y": 90 },
	"facing=east, type=3": { "model":"rfutilities:blockCapacitorReinforced", "y": 90 },
	"facing=east, type=4": { "model":"rfutilities:blockCapacitorResonant", "y": 90 },
	"facing=east, type=5": { "model":"rfutilities:blockCapacitorBasic", "y": 90 },
	"facing=east, type=6": { "model":"rfutilities:blockCapacitorDouble", "y": 90 },
	"facing=east, type=7": { "model":"rfutilities:blockCapacitorOctadic", "y": 90 },

	"facing=north, type=1": { "model":"rfutilities:blockCapacitor" },
	"facing=north, type=2": { "model":"rfutilities:blockCapacitorHardened" },
	"facing=north, type=3": { "model":"rfutilities:blockCapacitorReinforced" },
	"facing=north, type=4": { "model":"rfutilities:blockCapacitorResonant" },
	"facing=north, type=5": { "model":"rfutilities:blockCapacitorBasic" },
	"facing=north, type=6": { "model":"rfutilities:blockCapacitorDouble" },
	"facing=north, type=7": { "model":"rfutilities:blockCapacitorOctadic" },

	"facing=south, type=1": { "model":"rfutilities:blockCapacitor", "y": 180 },
	"facing=south, type=2": { "model":"rfutilities:blockCapacitorHardened", "y": 180 },
	"facing=south, type=3": { "model":"rfutilities:blockCapacitorReinforced", "y": 180 },
	"facing=south, type=4": { "model":"rfutilities:blockCapacitorResonant", "y": 180 },
	"facing=south, type=5": { "model":"rfutilities:blockCapacitorBasic", "y": 180 },
	"facing=south, type=6": { "model":"rfutilities:blockCapacitorDouble", "y": 180 },
	"facing=south, type=7": { "model":"rfutilities:blockCapacitorOctadic", "y": 180 },

	"facing=west, type=1": { "model":"rfutilities:blockCapacitor", "y": 270 },
	"facing=west, type=2": { "model":"rfutilities:blockCapacitorHardened", "y": 270 },
	"facing=west, type=3": { "model":"rfutilities:blockCapacitorReinforced", "y": 270 },
	"facing=west, type=4": { "model":"rfutilities:blockCapacitorResonant", "y": 270 },
	"facing=west, type=5": { "model":"rfutilities:blockCapacitorBasic", "y": 270 },
	"facing=west, type=6": { "model":"rfutilities:blockCapacitorDouble", "y": 270 },
	"facing=west, type=7": { "model":"rfutilities:blockCapacitorOctadic", "y": 270 }
}
}

 

One of the associated models (file name: blockCapacitor.json):

{
    "textures": {
        "0": "blocks/stone_slab_top",
        "1": "rfutilities:blocks/capacitor"
    },
    "elements": [
        {
            "name": "Base",
            "from": [ 0.0, 0.0, 0.0 ], 
            "to": [ 16.0, 1.0, 16.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
                "east": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
                "south": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
                "west": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
                "up": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
                "down": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }
            }
        },
        {
            "name": "ConnectorLeft",
            "from": [ 0.0, 1.0, 5.0 ], 
            "to": [ 1.0, 7.0, 11.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 4.299999999999999, 4.499999999999998, 4.500000000000002, 6.0 ] },
                "east": { "texture": "#1", "uv": [ 7.800000000000001, 4.500000000000002, 9.2, 6.0 ] },
                "south": { "texture": "#1", "uv": [ 4.299999999999999, 4.499999999999998, 4.500000000000002, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 4.299999999999999, 4.499999999999998, 5.700000000000001, 6.0 ] },
                "up": { "texture": "#1", "uv": [ 4.299999999999999, 4.499999999999998, 4.499999999999998, 6.0 ] }
            }
        },
        {
            "name": "ConnectorRight",
            "from": [ 15.0, 1.0, 5.0 ], 
            "to": [ 16.0, 7.0, 11.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 4.299999999999999, 4.499999999999998, 4.500000000000002, 6.0 ] },
                "east": { "texture": "#1", "uv": [ 6.0, 4.499999999999998, 7.500000000000002, 6.0 ] },
                "south": { "texture": "#1", "uv": [ 4.299999999999999, 4.499999999999998, 4.500000000000002, 6.0 ] },
                "west": { "texture": "#1", "uv": [ 7.800000000000001, 4.500000000000002, 9.199999999999996, 6.0 ] },
                "up": { "texture": "#1", "uv": [ 4.299999999999999, 4.499999999999998, 4.500000000000002, 6.0 ] }
            }
        },
        {
            "name": "WireLeft",
            "from": [ 1.0, 3.0, 7.0 ], 
            "to": [ 7.0, 5.0, 9.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 0.0, 7.0, 4.0, 8.0 ] },
                "east": { "texture": "#1", "uv": [ 0.0, 7.0, 1.0, 8.0 ] },
                "south": { "texture": "#1", "uv": [ 0.0, 7.0, 4.0, 8.0 ] },
                "up": { "texture": "#1", "uv": [ 0.0, 7.0, 4.0, 8.0 ] },
                "down": { "texture": "#1", "uv": [ 0.0, 7.0, 4.0, 8.0 ] }
            }
        },
        {
            "name": "WireRight",
            "from": [ 9.0, 3.0, 7.0 ], 
            "to": [ 15.0, 5.0, 9.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 0.0, 7.0, 4.0, 8.0 ] },
                "south": { "texture": "#1", "uv": [ 0.0, 7.0, 4.0, 8.0 ] },
                "west": { "texture": "#1", "uv": [ 0.0, 7.0, 1.0, 8.0 ] },
                "up": { "texture": "#1", "uv": [ 0.0, 7.0, 4.0, 8.0 ] },
                "down": { "texture": "#1", "uv": [ 0.0, 7.0, 4.0, 8.0 ] }
            }
        },
        {
            "name": "WireLeftVert",
            "from": [ 5.0, 5.0, 7.0 ], 
            "to": [ 7.0, 6.0, 9.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 0.0, 7.0, 2.0, 7.499999999999998 ] },
                "east": { "texture": "#1", "uv": [ 0.0, 7.0, 2.0, 7.499999999999998 ] },
                "south": { "texture": "#1", "uv": [ 0.0, 7.0, 2.0, 7.499999999999998 ] },
                "west": { "texture": "#1", "uv": [ 0.0, 7.0, 2.0, 7.499999999999998 ] }
            }
        },
        {
            "name": "WireRightVert",
            "from": [ 9.0, 5.0, 7.0 ], 
            "to": [ 11.0, 6.0, 9.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 0.0, 7.0, 2.0, 7.500000000000002 ] },
                "east": { "texture": "#1", "uv": [ 0.0, 7.0, 2.0, 7.499999999999998 ] },
                "south": { "texture": "#1", "uv": [ 0.0, 7.0, 2.0, 7.499999999999999 ] },
                "west": { "texture": "#1", "uv": [ 0.0, 7.0, 2.0, 7.499999999999998 ] }
            }
        },
        {
            "name": "Capacitor",
            "from": [ 4.0, 6.0, 4.0 ], 
            "to": [ 12.0, 18.0, 12.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 2.0, 2.0, 4.0, 5.0 ] },
                "east": { "texture": "#1", "uv": [ 2.0, 2.0, 4.0, 5.0 ] },
                "south": { "texture": "#1", "uv": [ 0.0, 2.0, 2.0, 5.0 ] },
                "west": { "texture": "#1", "uv": [ 2.0, 2.0, 4.0, 5.0 ] },
                "up": { "texture": "#1", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
                "down": { "texture": "#1", "uv": [ 2.0, 0.0, 4.0, 2.0 ] }
            }
        }
    ]
}

 

Second block:

package XFactHD.rfutilities.common.blocks.block;

import XFactHD.rfutilities.common.blocks.tileEntity.TileEntitySwitch;
//import cofh.thermalexpansion.item.tool.ItemWrench;
import net.minecraft.block.material.Material;
import net.minecraft.block.properties.IProperty;
import net.minecraft.block.properties.PropertyBool;
import net.minecraft.block.properties.PropertyDirection;
import net.minecraft.block.state.BlockState;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.BlockPos;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.MathHelper;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;

import java.util.Arrays;

public class BlockSwitch extends BlockBaseRFU
{
    public static PropertyDirection facing = PropertyDirection.create("facing", Arrays.asList(EnumFacing.NORTH, EnumFacing.EAST, EnumFacing.SOUTH, EnumFacing.WEST));
    private static PropertyBool status = PropertyBool.create("status");

    public BlockSwitch()
    {
        super("blockSwitch", Material.iron, ItemBlock.class, "");
        //setCreativeTab(RFUtilities.creativeTab);
    }

    @Override
    protected BlockState createBlockState()
    {
        return new BlockState(this, facing, status);
    }

    @Override
    public IBlockState getStateFromMeta(int meta)
    {
        EnumFacing f;
        switch (meta)
        {
            case 0: f = EnumFacing.NORTH; break;
            case 1: f = EnumFacing.SOUTH; break;
            case 2: f = EnumFacing.WEST; break;
            case 3: f = EnumFacing.EAST; break;
            default: return super.getStateFromMeta(meta);
        }
        return getDefaultState().withProperty(facing, f);
    }

    @Override
    public int getMetaFromState(IBlockState state)
    {
        return state.getValue(facing).getIndex();
    }

    @Override
    public IBlockState getActualState(IBlockState state, IBlockAccess world, BlockPos pos)
    {
        EnumFacing dir = state.getValue(facing);
        TileEntity te = world.getTileEntity(pos);
        boolean on = false;
        if (te instanceof TileEntitySwitch)
        {
            on = ((TileEntitySwitch)te).getIsOn();
        }
        return state.withProperty(facing, dir).withProperty(status, on);
    }

    @Override
    public void onBlockPlacedBy(World world, BlockPos pos, IBlockState state, EntityLivingBase entityLivingBase, ItemStack stack)
    {
        int l = MathHelper.floor_double((double) (entityLivingBase.rotationYaw * 4.0F / 360.0F) + 0.5D) & 3;

        if (l == 0)
        {
            world.setBlockState(pos, state.withProperty(facing, EnumFacing.NORTH), 2);
        }

        if (l == 1)
        {
            world.setBlockState(pos, state.withProperty(facing, EnumFacing.EAST), 2);
        }

        if (l == 2)
        {
            world.setBlockState(pos, state.withProperty(facing, EnumFacing.SOUTH), 2);
        }

        if (l == 3)
        {
            world.setBlockState(pos, state.withProperty(facing, EnumFacing.WEST), 2);
        }
    }

    @Override
    public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumFacing side, float hitX, float hitY, float hitZ)
    {
        if (player.getCurrentEquippedItem() == null /*|| !(player.getCurrentEquippedItem().getItem() instanceof ItemWrench)*/)
        {
            TileEntity te = world.getTileEntity(pos);
            if (te instanceof TileEntitySwitch)
            {
                ((TileEntitySwitch)te).setIsOn(!((TileEntitySwitch)te).getIsOn());
                world.markBlockForUpdate(pos);
                if (world.isRemote)
                {
                    world.markBlockRangeForRenderUpdate(pos.add(-1, -1, -1), pos.add(1, 1, 1));
                }
            }
        }
        return true;
    }

    @Override
    public TileEntity createNewTileEntity(World world, int meta)
    {
        return new TileEntitySwitch();
    }

    @Override
    public boolean isOpaqueCube()
    {
        return false;
    }
}

 

Second blockstate file (file name:blockSwitch.json):

{
"variants": {
	"facing=north, status=false": { "model": "rfutilities:blockSwitchOff" },
	"facing=north, status=true": { "model": "rfutilities:blockSwitchOn" },

	"facing=east, status=false": { "model": "rfutilities:blockSwitchOff", "y": 90 },
	"facing=east, status=true": { "model": "rfutilities:blockSwitchOn", "y": 90 },

	"facing=south, status=false": { "model": "rfutilities:blockSwitchOff", "y": 180 },
	"facing=south, status=true": { "model": "rfutilities:blockSwitchOn", "y": 180 },

	"facing=west, status=false": { "model": "rfutilities:blockSwitchOff", "y": 270 },
	"facing=west, status=true": { "model": "rfutilities:blockSwitchOn", "y": 270 }
}
}

 

One of the associated models (file name: blockSwitchOff.json):

{
    "textures": {
        "0": "blocks/stone_slab_top",
        "1": "blocks/switch",
        "2": "blocks/cauldron_side"
    },
    "elements": [
        {
            "name": "Base",
            "from": [ 0.0, 0.0, 0.0 ], 
            "to": [ 16.0, 1.0, 16.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
                "east": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
                "south": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
                "west": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
                "up": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
                "down": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }
            }
        },
        {
            "name": "ConnectorLeft",
            "from": [ 0.0, 1.0, 5.0 ], 
            "to": [ 1.0, 7.0, 11.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 0.0, 7.0, 1.0, 10.0 ] },
                "east": { "texture": "#1", "uv": [ 0.0, 7.0, 6.0, 10.0 ] },
                "south": { "texture": "#1", "uv": [ 0.0, 7.0, 1.0, 10.0 ] },
                "west": { "texture": "#1", "uv": [ 0.0, 7.0, 6.0, 10.0 ] },
                "up": { "texture": "#1", "uv": [ 0.0, 7.0, 1.0, 10.0 ] }
            }
        },
        {
            "name": "ConnectorRight",
            "from": [ 15.0, 1.0, 5.0 ], 
            "to": [ 16.0, 7.0, 11.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 0.0, 7.0, 1.0, 10.0 ] },
                "east": { "texture": "#1", "uv": [ 0.0, 7.0, 6.0, 10.0 ] },
                "south": { "texture": "#1", "uv": [ 0.0, 7.0, 1.0, 10.0 ] },
                "west": { "texture": "#1", "uv": [ 0.0, 7.0, 6.0, 10.0 ] },
                "up": { "texture": "#1", "uv": [ 0.0, 7.0, 1.0, 10.0 ] }
            }
        },
        {
            "name": "WireLeft",
            "from": [ 1.0, 3.0, 7.0 ], 
            "to": [ 2.0, 5.0, 9.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 0.0, 0.0, 1.0, 2.0 ] },
                "east": { "texture": "#1", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
                "south": { "texture": "#1", "uv": [ 0.0, 0.0, 1.0, 2.0 ] },
                "west": { "texture": "#1", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
                "up": { "texture": "#1", "uv": [ 0.0, 0.0, 1.0, 2.0 ] },
                "down": { "texture": "#1", "uv": [ 0.0, 0.0, 1.0, 2.0 ] }
            }
        },
        {
            "name": "WireRight",
            "from": [ 14.0, 3.0, 7.0 ], 
            "to": [ 15.0, 5.0, 9.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 0.0, 0.0, 1.0, 2.0 ] },
                "east": { "texture": "#1", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
                "south": { "texture": "#1", "uv": [ 0.0, 0.0, 1.0, 2.0 ] },
                "west": { "texture": "#1", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
                "up": { "texture": "#1", "uv": [ 0.0, 0.0, 1.0, 2.0 ] },
                "down": { "texture": "#1", "uv": [ 0.0, 0.0, 1.0, 2.0 ] }
            }
        },
        {
            "name": "SwitchCase",
            "from": [ 2.0, 2.0, 5.0 ], 
            "to": [ 14.0, 8.0, 11.0 ], 
            "faces": {
                "north": { "texture": "#2", "uv": [ 2.0, 0.0, 14.0, 6.0 ] },
                "east": { "texture": "#2", "uv": [ 5.0, 0.0, 11.0, 6.0 ] },
                "south": { "texture": "#2", "uv": [ 2.0, 0.0, 14.0, 6.0 ] },
                "west": { "texture": "#2", "uv": [ 5.0, 0.0, 11.0, 6.0 ] },
                "up": { "texture": "#2", "uv": [ 2.0, 0.0, 14.0, 6.0 ] },
                "down": { "texture": "#2", "uv": [ 2.0, 0.0, 14.0, 6.0 ] }
            }
        },
        {
            "name": "LightFront",
            "from": [ 7.0, 4.0, 11.0 ], 
            "to": [ 9.0, 6.0, 12.0 ], 
            "faces": {
                "east": { "texture": "#1", "uv": [ 0.0, 3.0, 1.0, 4.0 ] },
                "south": { "texture": "#1", "uv": [ 0.0, 3.0, 1.0, 4.0 ] },
                "west": { "texture": "#1", "uv": [ 0.0, 3.0, 1.0, 4.0 ] },
                "up": { "texture": "#1", "uv": [ 0.0, 3.0, 1.0, 4.0 ] },
                "down": { "texture": "#1", "uv": [ 0.0, 3.0, 1.0, 4.0 ] }
            }
        },
        {
            "name": "LightBack",
            "from": [ 7.0, 4.0, 4.0 ], 
            "to": [ 9.0, 6.0, 5.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 0.0, 3.0, 1.0, 4.0 ] },
                "east": { "texture": "#1", "uv": [ 0.0, 3.0, 1.0, 4.0 ] },
                "west": { "texture": "#1", "uv": [ 0.0, 3.0, 1.0, 4.0 ] },
                "up": { "texture": "#1", "uv": [ 0.0, 3.0, 1.0, 4.0 ] },
                "down": { "texture": "#1", "uv": [ 0.0, 3.0, 1.0, 4.0 ] }
            }
        },
        {
            "name": "SwitchLeft",
            "from": [ 4.500000007450581, 5.499999992549419, 6.0 ], 
            "to": [ 8.50000000745058, 8.49999999254942, 10.0 ], 
            "rotation": { "origin": [ 8.0, 8.0, 8.0 ], "axis": "z", "angle": -22.5 },
            "faces": {
                "north": { "texture": "#1", "uv": [ 5.0, 4.0, 8.0, 6.0 ] },
                "south": { "texture": "#1", "uv": [ 5.0, 4.0, 6.0, 6.0 ], "rotation": 180 },
                "west": { "texture": "#1", "uv": [ 5.0, 4.0, 8.0, 6.0 ] },
                "up": { "texture": "#1", "uv": [ 0.0, 4.500000000000002, 4.500000000000002, 6.500000000000002 ] }
            }
        },
        {
            "name": "SwitchRight",
            "from": [ 8.000000014901161, 5.499999992549419, 6.0 ], 
            "to": [ 12.000000014901161, 8.49999999254942, 10.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 5.0, 4.0, 8.0, 6.0 ] },
                "east": { "texture": "#1", "uv": [ 5.0, 4.0, 8.0, 6.0 ] },
                "south": { "texture": "#1", "uv": [ 5.0, 4.0, 8.0, 6.0 ] },
                "up": { "texture": "#1", "uv": [ 0.0, 4.499999999999998, 4.000000000000002, 6.499999999999998 ] }
            }
        }
    ]
}

Posted

I just realized that while looking at it again. I didn't read your comment attentive enough and thought that I should remove all the spaces... :-[

Join the conversation

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

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

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

×   Your previous content has been restored.   Clear editor

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

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I have solved this problem with this Commands (Fedora): sudo dnf install java-latest-openjdk sudo dnf install java-latest-openjdk-develsudo
    • Try other builds of it or report it to the creators  
    • My friends get this error: "Failed to connect to the server: finishConnect(..) failed: Connection refused". The server is modded, and runs on my system, i also turned off the firewall. My friends join the server through playit.gg.
    • This is the log after I got it working: Prism Launcher version: 9.4 (official) Launched instance in online mode login.microsoftonline.com resolves to:     [40.126.53.19, 40.126.53.16, 20.190.181.4, 40.126.53.8, 40.126.53.21, 40.126.53.12, 20.231.128.65, 40.126.53.18, 2603:1027:1:28::11, 2603:1027:1:28::10, 2603:1027:1:28::21, 2603:1027:1:28::e, 2603:1027:1:28::5, 2603:1027:1:28::22, 2603:1027:1:28::13, 2603:1027:1:28::6] session.minecraft.net resolves to:     [13.107.253.72, 2620:1ec:29:1::72] textures.minecraft.net resolves to:     [13.107.253.72, 2620:1ec:29:1::72] api.mojang.com resolves to:     [13.107.253.72, 2620:1ec:29:1::72] Minecraft folder is: C:/Users/gabri/AppData/Roaming/PrismLauncher/instances/LabyMod-4-1.21.5/minecraft Java path is: C:/Program Files/Java/jdk-21/bin/java.exe Checking Java version... Java is version 21.0.8, using 64 (amd64) architecture, from Oracle Corporation. Main Class:   net.minecraft.launchwrapper.Launch Native path:   C:/Users/gabri/AppData/Roaming/PrismLauncher/instances/LabyMod-4-1.21.5/natives Libraries:   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/fasterxml/jackson/core/jackson-annotations/2.13.4/jackson-annotations-2.13.4.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/fasterxml/jackson/core/jackson-core/2.13.4/jackson-core-2.13.4.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/fasterxml/jackson/core/jackson-databind/2.13.4.2/jackson-databind-2.13.4.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/github/oshi/oshi-core/6.6.5/oshi-core-6.6.5.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/github/stephenc/jcip/jcip-annotations/1.0-1/jcip-annotations-1.0-1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/google/guava/failureaccess/1.0.2/failureaccess-1.0.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/google/guava/guava/33.3.1-jre/guava-33.3.1-jre.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/ibm/icu/icu4j/76.1/icu4j-76.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/microsoft/azure/msal4j/1.17.2/msal4j-1.17.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/mojang/authlib/6.0.58/authlib-6.0.58.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/mojang/blocklist/1.0.10/blocklist-1.0.10.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/mojang/brigadier/1.3.10/brigadier-1.3.10.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/mojang/datafixerupper/8.0.16/datafixerupper-8.0.16.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/mojang/jtracy/1.0.29/jtracy-1.0.29.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/mojang/jtracy/1.0.29/jtracy-1.0.29-natives-windows.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/mojang/logging/1.5.10/logging-1.5.10.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/mojang/patchy/2.2.10/patchy-2.2.10.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/mojang/text2speech/1.18.11/text2speech-1.18.11.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/nimbusds/content-type/2.3/content-type-2.3.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/nimbusds/lang-tag/1.7/lang-tag-1.7.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/nimbusds/nimbus-jose-jwt/9.40/nimbus-jose-jwt-9.40.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/nimbusds/oauth2-oidc-sdk/11.18/oauth2-oidc-sdk-11.18.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/commons-codec/commons-codec/1.17.1/commons-codec-1.17.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/commons-io/commons-io/2.17.0/commons-io-2.17.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/commons-logging/commons-logging/1.3.4/commons-logging-1.3.4.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/io/netty/netty-buffer/4.1.118.Final/netty-buffer-4.1.118.Final.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/io/netty/netty-codec/4.1.118.Final/netty-codec-4.1.118.Final.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/io/netty/netty-common/4.1.118.Final/netty-common-4.1.118.Final.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/io/netty/netty-handler/4.1.118.Final/netty-handler-4.1.118.Final.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/io/netty/netty-resolver/4.1.118.Final/netty-resolver-4.1.118.Final.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/io/netty/netty-transport-classes-epoll/4.1.118.Final/netty-transport-classes-epoll-4.1.118.Final.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/io/netty/netty-transport-native-unix-common/4.1.118.Final/netty-transport-native-unix-common-4.1.118.Final.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/io/netty/netty-transport/4.1.118.Final/netty-transport-4.1.118.Final.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/minidev/accessors-smart/2.5.1/accessors-smart-2.5.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/minidev/json-smart/2.5.1/json-smart-2.5.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/sf/jopt-simple/jopt-simple/5.0.4/jopt-simple-5.0.4.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/apache/commons/commons-compress/1.27.1/commons-compress-1.27.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/apache/commons/commons-lang3/3.17.0/commons-lang3-3.17.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/apache/httpcomponents/httpclient/4.5.14/httpclient-4.5.14.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/apache/httpcomponents/httpcore/4.4.16/httpcore-4.4.16.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/apache/logging/log4j/log4j-api/2.24.1/log4j-api-2.24.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/apache/logging/log4j/log4j-core/2.24.1/log4j-core-2.24.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/apache/logging/log4j/log4j-slf4j2-impl/2.24.1/log4j-slf4j2-impl-2.24.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/jcraft/jorbis/0.0.17/jorbis-0.0.17.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/joml/joml/1.10.8/joml-1.10.8.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/lz4/lz4-java/1.8.0/lz4-java-1.8.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/slf4j/slf4j-api/2.0.16/slf4j-api-2.0.16.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/neoforged/javadoctor/gson-io/2.0.0/gson-io-2.0.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/jetbrains/kotlin/kotlin-stdlib/2.1.21/kotlin-stdlib-2.1.21.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/imgui/imgui-java-app/1.0.2/imgui-java-app-1.0.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/dnsjava/4.0.0/dnsjava-4.0.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/laby-dev-login/1.0.1/laby-dev-login-1.0.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/google/auto/service/auto-service-annotations/1.1.1/auto-service-annotations-1.1.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/aopalliance/aopalliance/1.0/aopalliance-1.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/typesafe/config/1.4.2/config-1.4.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/jetbrains/kotlin/kotlin-reflect/2.1.21/kotlin-reflect-2.1.21.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/github/usefulness/webp-imageio/0.8.0/webp-imageio-0.8.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/ow2/asm/asm/9.7/asm-9.7.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/github/vatbub/mslinks/1.0.6.2/mslinks-1.0.6.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/jitsi/jain-sip-ri-ossonly/1.2.279-jitsi-oss1/jain-sip-ri-ossonly-1.2.279-jitsi-oss1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/imgui/imgui-java-binding/1.0.2/imgui-java-binding-1.0.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/jitsi/jicoco-config/1.1-127-gf49982f/jicoco-config-1.1-127-gf49982f.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/google/auto/auto-common/1.2.1/auto-common-1.2.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/google/errorprone/error_prone_annotations/2.27.0/error_prone_annotations-2.27.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/imgui/imgui-java-natives-windows/1.0.2/imgui-java-natives-windows-1.0.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/labypeer/client/4.2/client-4.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/ca/weblite/java-objc-bridge/1.1/java-objc-bridge-1.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/AutoRenamingTool/0.1.4.1.0.2/AutoRenamingTool-0.1.4.1.0.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/neoforged/installertools/cli-utils/2.1.2/cli-utils-2.1.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/google/code/gson/gson/2.11.0/gson-2.11.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/google/auto/service/auto-service/1.1.1/auto-service-1.1.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/junit/platform/junit-platform-engine/1.8.2/junit-platform-engine-1.8.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/sponge-mixin/0.5.3.0.15.5.mixin.0.8.7/sponge-mixin-0.5.3.0.15.5.mixin.0.8.7.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/googlecode/json-simple/json-simple/1.1.1/json-simple-1.1.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/bitlet/weupnp/0.1.4/weupnp-0.1.4.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/ow2/asm/asm-util/9.7/asm-util-9.7.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/pt/davidafsilva/apple/jkeychain/1.1.0/jkeychain-1.1.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/jitsi/jitsi-metaconfig/1.0-9-g5e1b624/jitsi-metaconfig-1.0-9-g5e1b624.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/io/github/llamalad7/mixinextras-common/0.4.1/mixinextras-common-0.4.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/opentelecoms/sdp/sdp-api/1.0/sdp-api-1.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/imgui/imgui-java-lwjgl3/1.0.2/imgui-java-lwjgl3-1.0.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/AccessWidener/0.2.1/AccessWidener-0.2.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/google/j2objc/j2objc-annotations/2.8/j2objc-annotations-2.8.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/minecraftforge/srgutils/0.5.4/srgutils-0.5.4.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/javax/inject/javax.inject/1/javax.inject-1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/jncrmx/discord-game-sdk4j/0.5.6/discord-game-sdk4j-0.5.6.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/imgui/imgui-java-natives-linux/1.0.2/imgui-java-natives-linux-1.0.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/junit/jupiter/junit-jupiter-api/5.8.2/junit-jupiter-api-5.8.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/jitsi/jitsi-utils/1.0-127-g6c65524/jitsi-utils-1.0-127-g6c65524.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/ow2/asm/asm-tree/9.7/asm-tree-9.7.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/serverapi/core/1.0.5/core-1.0.5.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/minecraft/launchwrapper/3.2.1/launchwrapper-3.2.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/jetbrains/annotations/24.0.1/annotations-24.0.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/ow2/asm/asm-commons/9.7/asm-commons-9.7.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/imgui/imgui-java-natives-macos/1.0.2/imgui-java-natives-macos-1.0.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/junit/platform/junit-platform-commons/1.8.2/junit-platform-commons-1.8.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/imgui/imgui-java-natives-macos-arm64/1.0.2/imgui-java-natives-macos-arm64-1.0.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/io/sentry/sentry/6.13.0/sentry-6.13.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/opentelecoms/sdp/java-sdp-nist-bridge/1.2/java-sdp-nist-bridge-1.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/labypeer/common/4.2/common-4.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/checkerframework/checker-qual/3.33.0/checker-qual-3.33.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/serverapi/api/1.0.5/api-1.0.5.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/java/dev/jna/jna-platform/5.15.0/jna-platform-5.15.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/it/unimi/dsi/fastutil/8.5.14/fastutil-8.5.14.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/ow2/asm/asm-analysis/9.7/asm-analysis-9.7.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/account-manager/1.4.12/account-manager-1.4.12.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/jitsi/ice4j/3.0-68-gd289f12/ice4j-3.0-68-gd289f12.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/junit/jupiter/junit-jupiter-engine/5.8.2/junit-jupiter-engine-5.8.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/squareup/javapoet/1.13.0/javapoet-1.13.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/opentest4j/opentest4j/1.2.0/opentest4j-1.2.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/instances/LabyMod-4-1.21.5/libraries/LabyMod-4.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/mojang/minecraft/1.21.5/minecraft-1.21.5-client.jar Native libraries: Params:   --username  --version 1.21.5 --gameDir C:/Users/gabri/AppData/Roaming/PrismLauncher/instances/LabyMod-4-1.21.5/minecraft --assetsDir C:/Users/gabri/AppData/Roaming/PrismLauncher/assets --assetIndex 24 --uuid  --accessToken  --clientId  --xuid  --userType  --versionType release --dummyMinecraftClass net.minecraft.client.main.Main --tweakClass net.labymod.core.loader.vanilla.launchwrapper.LabyModLaunchWrapperTweaker Window size: 854 x 480 Launcher: standard Die Java-Hauptversion ist nicht kompatibel. Einige Dinge könnten nicht funktionieren. Java Arguments: [-Dnet.labymod.running-version=1.21.5, -Dnet.labymod.launcher=multimc, -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump, -Xms512m, -Xmx4096m, -Duser.language=en] Minecraft process ID: 11532 [18:49:52] [main/INFO]: Loading tweak class name net.labymod.core.loader.vanilla.launchwrapper.LabyModLaunchWrapperTweaker [18:49:52] [main/INFO]: Using primary tweak class name net.labymod.core.loader.vanilla.launchwrapper.LabyModLaunchWrapperTweaker [18:49:52] [main/INFO]: Calling tweak class net.labymod.core.loader.vanilla.launchwrapper.LabyModLaunchWrapperTweaker [18:49:53] [main/INFO]: Library C:\Users\gabri\AppData\Roaming\PrismLauncher\instances\LabyMod-4-1.21.5\minecraft\labymod-neo\libraries\org\lwjgl\lwjgl-stb\3.3.3\lwjgl-stb-3.3.3.jar [18:49:53] [main/INFO]: Library C:\Users\gabri\AppData\Roaming\PrismLauncher\instances\LabyMod-4-1.21.5\minecraft\labymod-neo\libraries\org\lwjgl\lwjgl-glfw\3.3.3\lwjgl-glfw-3.3.3-natives-windows.jar [18:49:53] [main/INFO]: Library C:\Users\gabri\AppData\Roaming\PrismLauncher\instances\LabyMod-4-1.21.5\minecraft\labymod-neo\libraries\org\lwjgl\lwjgl-jemalloc\3.3.3\lwjgl-jemalloc-3.3.3-natives-windows.jar [18:49:53] [main/INFO]: Library C:\Users\gabri\AppData\Roaming\PrismLauncher\instances\LabyMod-4-1.21.5\minecraft\labymod-neo\libraries\org\lwjgl\lwjgl-glfw\3.3.3\lwjgl-glfw-3.3.3.jar [18:49:53] [main/INFO]: Library C:\Users\gabri\AppData\Roaming\PrismLauncher\instances\LabyMod-4-1.21.5\minecraft\labymod-neo\libraries\org\lwjgl\lwjgl-tinyfd\3.3.3\lwjgl-tinyfd-3.3.3-natives-windows.jar [18:49:53] [main/INFO]: Library C:\Users\gabri\AppData\Roaming\PrismLauncher\instances\LabyMod-4-1.21.5\minecraft\labymod-neo\libraries\org\lwjgl\lwjgl-openal\3.3.3\lwjgl-openal-3.3.3-natives-windows.jar [18:49:53] [main/INFO]: Library C:\Users\gabri\AppData\Roaming\PrismLauncher\instances\LabyMod-4-1.21.5\minecraft\labymod-neo\libraries\org\lwjgl\lwjgl-opengl\3.3.3\lwjgl-opengl-3.3.3-natives-windows.jar [18:49:53] [main/INFO]: Library C:\Users\gabri\AppData\Roaming\PrismLauncher\instances\LabyMod-4-1.21.5\minecraft\labymod-neo\libraries\org\lwjgl\lwjgl-freetype\3.3.3\lwjgl-freetype-3.3.3-natives-windows.jar [18:49:53] [main/INFO]: Library C:\Users\gabri\AppData\Roaming\PrismLauncher\instances\LabyMod-4-1.21.5\minecraft\labymod-neo\libraries\org\lwjgl\lwjgl-freetype\3.3.3\lwjgl-freetype-3.3.3.jar [18:49:53] [main/INFO]: Library C:\Users\gabri\AppData\Roaming\PrismLauncher\instances\LabyMod-4-1.21.5\minecraft\labymod-neo\libraries\org\lwjgl\lwjgl-tinyfd\3.3.3\lwjgl-tinyfd-3.3.3.jar [18:49:53] [main/INFO]: Library C:\Users\gabri\AppData\Roaming\PrismLauncher\instances\LabyMod-4-1.21.5\minecraft\labymod-neo\libraries\org\lwjgl\lwjgl\3.3.3\lwjgl-3.3.3.jar [18:49:53] [main/INFO]: Library C:\Users\gabri\AppData\Roaming\PrismLauncher\instances\LabyMod-4-1.21.5\minecraft\labymod-neo\libraries\org\lwjgl\lwjgl\3.3.3\lwjgl-3.3.3-natives-windows.jar [18:49:53] [main/INFO]: Library C:\Users\gabri\AppData\Roaming\PrismLauncher\instances\LabyMod-4-1.21.5\minecraft\labymod-neo\libraries\org\lwjgl\lwjgl-openal\3.3.3\lwjgl-openal-3.3.3.jar [18:49:53] [main/INFO]: Library C:\Users\gabri\AppData\Roaming\PrismLauncher\instances\LabyMod-4-1.21.5\minecraft\labymod-neo\libraries\org\lwjgl\lwjgl-jemalloc\3.3.3\lwjgl-jemalloc-3.3.3.jar [18:49:53] [main/INFO]: Library C:\Users\gabri\AppData\Roaming\PrismLauncher\instances\LabyMod-4-1.21.5\minecraft\labymod-neo\libraries\net\labymod\thin-lwjgl\1.0.0\thin-lwjgl-1.0.0.jar [18:49:53] [main/INFO]: Library C:\Users\gabri\AppData\Roaming\PrismLauncher\instances\LabyMod-4-1.21.5\minecraft\labymod-neo\libraries\org\lwjgl\lwjgl-stb\3.3.3\lwjgl-stb-3.3.3-natives-windows.jar [18:49:53] [main/INFO]: Library C:\Users\gabri\AppData\Roaming\PrismLauncher\instances\LabyMod-4-1.21.5\minecraft\labymod-neo\libraries\org\lwjgl\lwjgl-opengl\3.3.3\lwjgl-opengl-3.3.3.jar [18:49:53] [main/INFO]: Preloaded org.lwjgl.opengl.GL [18:49:53] [main/INFO]: Preloaded org.lwjgl.system.MemoryStack [18:49:53] [main/INFO]: Preloaded org.lwjgl.system.macosx.MacOSXLibraryBundle [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWCursorPosCallback [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWKeyCallback [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWCharModsCallback [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWNativeNSGL [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWMouseButtonCallback [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWNativeWGL [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWMonitorCallback [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWErrorCallback [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWCursorEnterCallback [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.package-info [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWNativeWin32 [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWWindowRefreshCallback [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFW [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWWindowContentScaleCallback [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWVulkan [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWNativeGLX [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWGammaRamp [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWWindowIconifyCallback [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWScrollCallback [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWNativeEGL [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.EventLoop [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWNativeCocoa [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWWindowSizeCallback [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWWindowPosCallback [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWWindowMaximizeCallback [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWFramebufferSizeCallback [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWImage [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWJoystickCallback [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWWindowCloseCallback [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWDropCallback [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWWindowFocusCallback [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWVidMode [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.Callbacks [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWCharCallback [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWNativeWayland [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWNativeX11 [18:49:53] [main/INFO]: Preloaded org.lwjgl.glfw.GLFWGamepadState [18:49:53] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.7 Source=file:/C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/sponge-mixin/0.5.3.0.15.5.mixin.0.8.7/sponge-mixin-0.5.3.0.15.5.mixin.0.8.7.jar Service=LabyMod Env=UNKNOWN [18:49:53] [main/INFO]: FML platform manager could not load class cpw.mods.fml.relauncher.CoreModManager. Proceeding without FML support. [18:49:53] [main/INFO]: FML platform manager could not load class cpw.mods.fml.relauncher.CoreModManager. Proceeding without FML support. [18:49:53] [main/INFO]: Compatibility level set to JAVA_21 [18:49:55] [main/INFO]: Executing sub addon loader ClasspathAddonLoader with stage INITIAL [18:49:55] [main/INFO]: Executing sub addon loader InstalledAddonLoader with stage INITIAL [18:49:55] [main/INFO]: Executing sub addon loader AdditionalAddonLoader with stage INITIAL [18:49:55] [main/INFO]: Executing sub addon loader AddonUpdater with stage UPDATE [18:49:55] [main/INFO]: Checking for addon updates... [18:49:56] [main/INFO]: Executing sub addon loader AdditionalAddonDownloader with stage DOWNLOAD [18:49:56] [main/INFO]: Executing sub addon loader DefaultAddonDownloader with stage DOWNLOAD [18:49:56] [main/INFO]: Executing sub addon loader AddonDependencyDownloader with stage DOWNLOAD [18:49:56] [main/INFO]: Executing sub addon loader AddonSortingVerifier with stage VERIFY [18:49:56] [main/INFO]: Executing sub addon loader AddonCompatibilityVerifier with stage VERIFY [18:49:56] [main/INFO]: Executing sub addon loader IncompatibleAddonVerifier with stage VERIFY [18:49:56] [main/INFO]: Executing sub addon loader AddonDependencyVerifier with stage VERIFY [18:49:56] [main/INFO]: Executing sub addon loader UnusedDependencyVerifier with stage VERIFY [18:49:56] [main/INFO]: Filtering out unused dependencies [18:49:56] [main/INFO]: Executing sub addon loader AddonPreparer with stage PREPARE [18:49:56] [main/INFO]: Loading addon flux v1.2.27 [18:49:56] [main/INFO]: Preparing all Loaded Addons... [18:49:56] [main/INFO]: Initializing Addon flux v1.2.27 [18:49:56] [main/INFO]: Loading tweak class name org.spongepowered.asm.mixin.EnvironmentStateTweaker [18:49:56] [main/INFO]: Calling tweak class org.spongepowered.asm.mixin.EnvironmentStateTweaker [18:49:57] [main/WARN]: Error loading class: net/optifine/render/VertexBuilderDummy (java.lang.ClassNotFoundException: The specified class 'net.optifine.render.VertexBuilderDummy' was not found) [18:49:58] [main/WARN]: Error loading class: net/optifine/gui/TooltipManager (java.lang.ClassNotFoundException: The specified class 'net.optifine.gui.TooltipManager' was not found) [18:49:58] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main} [18:49:58] [main/INFO]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.4.1). [18:50:02] [Datafixer Bootstrap/INFO]: 263 Datafixer optimizations took 1762 milliseconds [18:50:08] [main/INFO]: Completely ignored arguments: [--dummyMinecraftClass, net.minecraft.client.main.Main] [18:50:08] [Render thread/INFO]: LabyMod Version: 4.2.70 [18:50:08] [Render thread/INFO]: Minecraft Version: 1.21.5 [18:50:09] [Render thread/INFO]: Downloading labymod-neo\assets\shader.jar... [18:50:09] [Render thread/INFO]: Downloading labymod-neo\assets\common.jar... [18:50:10] [Render thread/INFO]: Downloading labymod-neo\assets\fonts.jar... [18:50:12] [Render thread/INFO]: Downloading labymod-neo\assets\vanilla-theme.jar... [18:50:12] [Render thread/INFO]: Downloading labymod-neo\assets\fancy-theme.jar... [18:50:13] [Render thread/INFO]: Downloading labymod-neo\assets\i18n.jar... [18:50:14] [Render thread/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD] [18:50:14] [Render thread/INFO]: Setting user: Gali1107 [18:50:14] [Render thread/INFO]: Backend library: LWJGL version 3.3.3+5 [18:50:15] [Render thread/INFO]: Using optional rendering extensions: GL_KHR_debug, GL_ARB_vertex_attrib_binding, GL_ARB_direct_state_access [18:50:16] [Render thread/INFO]: GL Information: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2, 3.2.0 NVIDIA 560.94, NVIDIA Corporation [18:50:16] [Render thread/INFO]: Loading accounts... [18:50:16] [pool-16-thread-1/INFO]: Loaded all accounts. Refreshing external sessions... [18:50:16] [pool-16-thread-1/INFO]: External sessions refreshed. [18:50:18] [Render thread/INFO]: Reloading ResourceManager: vanilla, labymod, flux [18:50:18] [Render thread/WARN]: Shader Schematic Default could not find uniform named PreviousViewMatrix in the specified shader program! [18:50:18] [Render thread/WARN]: Shader Schematic Default could not find uniform named PreviousProjectionMatrix in the specified shader program! [18:50:18] [LabyConnectNio#0/INFO]: Updating incentive inventory: available: true, opened: true [18:50:18] [LabyConnectNio#0/INFO]: Updated inventory with 0 items. [18:50:19] [Render thread/WARN]: Shader labymod:shaders/post/menu_blur.json could not find uniform named Time in the specified shader program! [18:50:19] [Render thread/WARN]: Shader labymod:shaders/post/menu_blur.json could not find uniform named ScreenSize in the specified shader program! [18:50:19] [Render thread/WARN]: Shader labymod:shaders/post/menu_blur.json could not find uniform named SourceSize in the specified shader program! [18:50:19] [Worker-Main-9/INFO]: Found unifont_all_no_pua-16.0.01.hex, loading [18:50:20] [Worker-Main-6/INFO]: Found unifont_jp_patch-16.0.01.hex, loading [18:50:22] [Render thread/WARN]: minecraft:pipeline/entity_translucent_emissive shader program does not use sampler Sampler2 defined in the pipeline. This might be a bug. [18:50:22] [Render thread/INFO]: OpenAL initialized on device OpenAL Soft on SteelSeries Sonar - Gaming (SteelSeries Sonar Virtual Audio Device) [18:50:22] [Render thread/INFO]: Sound engine started [18:50:23] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas [18:50:23] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/signs.png-atlas [18:50:23] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas [18:50:23] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas [18:50:23] [Render thread/INFO]: Created: 2048x1024x4 minecraft:textures/atlas/armor_trims.png-atlas [18:50:23] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas [18:50:23] [Render thread/INFO]: Created: 128x64x4 minecraft:textures/atlas/decorated_pot.png-atlas [18:50:23] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas [18:50:23] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas [18:50:23] [Render thread/INFO]: Created: 64x64x0 minecraft:textures/atlas/map_decorations.png-atlas [18:50:23] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/particles.png-atlas [18:50:23] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/paintings.png-atlas [18:50:23] [Render thread/INFO]: Created: 256x128x0 minecraft:textures/atlas/mob_effects.png-atlas [18:50:23] [Render thread/INFO]: Created: 1024x512x0 minecraft:textures/atlas/gui.png-atlas [18:50:25] [Render thread/INFO]: [STDOUT]: No attribute was found: Position [18:50:25] [Render thread/INFO]: [STDOUT]: No attribute was found: Color [18:50:25] [Render thread/WARN]: Shader DefaultShaderProgram[programId=205, vertexShader=204, fragmentShader=203, linked=true] could not find uniform named u_textureMat in the specified shader program! [18:50:25] [Render thread/WARN]: Shader DefaultShaderProgram[programId=205, vertexShader=204, fragmentShader=203, linked=true] could not find uniform named u_screenSize in the specified shader program! [18:50:25] [Render thread/WARN]: Shader DefaultShaderProgram[programId=205, vertexShader=204, fragmentShader=203, linked=true] could not find uniform named u_partialTicks in the specified shader program! [18:50:25] [Render thread/WARN]: Shader DefaultShaderProgram[programId=205, vertexShader=204, fragmentShader=203, linked=true] could not find uniform named u_colorModulator in the specified shader program! [18:50:25] [Render thread/WARN]: Shader DefaultShaderProgram[programId=205, vertexShader=204, fragmentShader=203, linked=true] could not find uniform named u_light0Direction in the specified shader program! [18:50:25] [Render thread/WARN]: Shader DefaultShaderProgram[programId=205, vertexShader=204, fragmentShader=203, linked=true] could not find uniform named u_light1Direction in the specified shader program! [18:50:25] [Render thread/WARN]: Shader DefaultShaderProgram[programId=205, vertexShader=204, fragmentShader=203, linked=true] could not find uniform named u_fogStart in the specified shader program! [18:50:25] [Render thread/WARN]: Shader DefaultShaderProgram[programId=205, vertexShader=204, fragmentShader=203, linked=true] could not find uniform named u_fogEnd in the specified shader program! [18:50:25] [Render thread/WARN]: Shader DefaultShaderProgram[programId=205, vertexShader=204, fragmentShader=203, linked=true] could not find uniform named u_fogColor in the specified shader program! [18:50:25] [Render thread/WARN]: Shader DefaultShaderProgram[programId=205, vertexShader=204, fragmentShader=203, linked=true] could not find uniform named u_lineWidth in the specified shader program! [18:50:25] [Render thread/WARN]: Shader DefaultShaderProgram[programId=205, vertexShader=204, fragmentShader=203, linked=true] could not find uniform named u_gameTime in the specified shader program! [18:50:26] [LabyMod-Worker-Main-1/WARN]: Unable to load some emotes. (Cause: Response Code: 404, Emotes: 10, 16, 17, 21, 26, 23, 24, 27, 28, 25, 29, 30, 35, 39, 48, 56, 58, 65, 66, 68, 67, 71, 72, 73, 80, 81, 87, 95, 94, 91, 100, 102, 103, 104, 106, 107, 109, 108, 110, 115, 116, 99, 118, 119, 120, 123, 125, 127, 129, 132, 147, 151, 155, 160, 165, 168, 169, 177, 205, 208, 210, 212, 220) [18:50:26] [LabyMod-Worker-Main-1/WARN]: Unable to load some emotes. (Cause: Response Code: 404 (Props), Emotes: 241, 243, 247, 253) [18:50:26] [LabyMod-Worker-Main-1/WARN]: Unable to load some emotes. (Cause: No animations, Emotes: 229, 231) [18:50:26] [LabyMod-Worker-Main-1/WARN]: Unable to load emote. (Cause: Response Code: 404 (Player Model), Emote: 221) [18:50:27] [LabyMod-Worker-Main-1/INFO]: Service initialized with 11 incentives. (mystery_egg, halloween, egg_iron, fortune, egg_emerald, egg_diamond, pirate_chest, ball, xmas_present, egg_gold, egg_copper) [18:50:29] [Render thread/ERROR]: ResponseError { code: InvalidPermissions, message: "Not authenticated or invalid scope" } [18:50:37] [Render thread/INFO]: [STDOUT]: No attribute was found: UV2 [18:50:37] [Render thread/INFO]: [STDOUT]: No attribute was found: Position [18:50:37] [Render thread/INFO]: [STDOUT]: No attribute was found: Color [18:50:37] [Render thread/INFO]: [STDOUT]: No attribute was found: UV0 [18:50:37] [Render thread/INFO]: [STDOUT]: No attribute was found: UV2 [18:50:37] [Render thread/WARN]: Shader DefaultShaderProgram[programId=230, vertexShader=229, fragmentShader=228, linked=true] could not find uniform named u_textureMat in the specified shader program! [18:50:37] [Render thread/WARN]: Shader DefaultShaderProgram[programId=230, vertexShader=229, fragmentShader=228, linked=true] could not find uniform named u_screenSize in the specified shader program! [18:50:37] [Render thread/WARN]: Shader DefaultShaderProgram[programId=230, vertexShader=229, fragmentShader=228, linked=true] could not find uniform named u_partialTicks in the specified shader program! [18:50:37] [Render thread/WARN]: Shader DefaultShaderProgram[programId=230, vertexShader=229, fragmentShader=228, linked=true] could not find uniform named u_colorModulator in the specified shader program! [18:50:37] [Render thread/WARN]: Shader DefaultShaderProgram[programId=230, vertexShader=229, fragmentShader=228, linked=true] could not find uniform named u_light0Direction in the specified shader program! [18:50:37] [Render thread/WARN]: Shader DefaultShaderProgram[programId=230, vertexShader=229, fragmentShader=228, linked=true] could not find uniform named u_light1Direction in the specified shader program! [18:50:37] [Render thread/WARN]: Shader DefaultShaderProgram[programId=230, vertexShader=229, fragmentShader=228, linked=true] could not find uniform named u_fogStart in the specified shader program! [18:50:37] [Render thread/WARN]: Shader DefaultShaderProgram[programId=230, vertexShader=229, fragmentShader=228, linked=true] could not find uniform named u_fogEnd in the specified shader program! [18:50:37] [Render thread/WARN]: Shader DefaultShaderProgram[programId=230, vertexShader=229, fragmentShader=228, linked=true] could not find uniform named u_fogColor in the specified shader program! [18:50:37] [Render thread/WARN]: Shader DefaultShaderProgram[programId=230, vertexShader=229, fragmentShader=228, linked=true] could not find uniform named u_lineWidth in the specified shader program! [18:50:37] [Render thread/WARN]: Shader DefaultShaderProgram[programId=230, vertexShader=229, fragmentShader=228, linked=true] could not find uniform named u_gameTime in the specified shader program! [18:50:37] [Render thread/WARN]: Shader DefaultShaderProgram[programId=230, vertexShader=229, fragmentShader=228, linked=true] could not find uniform named BorderThickness in the specified shader program! [18:50:37] [Render thread/WARN]: Shader DefaultShaderProgram[programId=230, vertexShader=229, fragmentShader=228, linked=true] could not find uniform named BorderSoftness in the specified shader program! [18:50:37] [Render thread/WARN]: Shader DefaultShaderProgram[programId=230, vertexShader=229, fragmentShader=228, linked=true] could not find uniform named BorderColor in the specified shader program! [18:50:43] [Render thread/ERROR]: ResponseError { code: UnknownError, message: "Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc." } [18:50:43] [Render thread/ERROR]: Failed to configure networking: ResponseError { code: UnknownError, message: "Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc." } Clipboard copy at: 28 Jul 2025 18:54:49 +0200   If there are any problems please tell me
    • Then it says it is not compatible with Java 21 and that I should use Java 17 (I think it's because of LabyMod): Prism Launcher version: 9.4 (official) Launched instance in online mode login.microsoftonline.com resolves to:     [20.190.181.0, 40.126.53.6, 40.126.53.17, 40.126.53.8, 20.190.181.5, 20.190.181.3, 40.126.53.21, 40.126.53.19, 2603:1027:1:28::6, 2603:1027:1:28::1b, 2603:1027:1:28::25, 2603:1027:1:28::d, 2603:1027:1:28::13, 2603:1027:1:28::1c, 2603:1027:1:28::11, 2603:1027:1:28::26] session.minecraft.net resolves to:     [13.107.246.60, 2620:1ec:bdf::60] textures.minecraft.net resolves to:     [13.107.246.60, 2620:1ec:bdf::60] api.mojang.com resolves to:     [13.107.246.60, 2620:1ec:bdf::60] Minecraft folder is: C:/Users/gabri/AppData/Roaming/PrismLauncher/instances/LabyMod-4-1.21.5/minecraft Java path is: C:/Program Files/Java/jdk-21/bin/java.exe Checking Java version... Java is version 21.0.8, using 64 (amd64) architecture, from Oracle Corporation. Main Class:   net.minecraft.launchwrapper.Launch Native path:   C:/Users/gabri/AppData/Roaming/PrismLauncher/instances/LabyMod-4-1.21.5/natives Libraries:   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/fasterxml/jackson/core/jackson-annotations/2.13.4/jackson-annotations-2.13.4.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/fasterxml/jackson/core/jackson-core/2.13.4/jackson-core-2.13.4.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/fasterxml/jackson/core/jackson-databind/2.13.4.2/jackson-databind-2.13.4.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/github/oshi/oshi-core/6.6.5/oshi-core-6.6.5.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/github/stephenc/jcip/jcip-annotations/1.0-1/jcip-annotations-1.0-1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/google/guava/failureaccess/1.0.2/failureaccess-1.0.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/google/guava/guava/33.3.1-jre/guava-33.3.1-jre.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/ibm/icu/icu4j/76.1/icu4j-76.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/microsoft/azure/msal4j/1.17.2/msal4j-1.17.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/mojang/authlib/6.0.58/authlib-6.0.58.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/mojang/blocklist/1.0.10/blocklist-1.0.10.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/mojang/brigadier/1.3.10/brigadier-1.3.10.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/mojang/datafixerupper/8.0.16/datafixerupper-8.0.16.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/mojang/jtracy/1.0.29/jtracy-1.0.29.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/mojang/jtracy/1.0.29/jtracy-1.0.29-natives-windows.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/mojang/logging/1.5.10/logging-1.5.10.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/mojang/patchy/2.2.10/patchy-2.2.10.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/mojang/text2speech/1.18.11/text2speech-1.18.11.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/nimbusds/content-type/2.3/content-type-2.3.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/nimbusds/lang-tag/1.7/lang-tag-1.7.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/nimbusds/nimbus-jose-jwt/9.40/nimbus-jose-jwt-9.40.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/nimbusds/oauth2-oidc-sdk/11.18/oauth2-oidc-sdk-11.18.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/commons-codec/commons-codec/1.17.1/commons-codec-1.17.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/commons-io/commons-io/2.17.0/commons-io-2.17.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/commons-logging/commons-logging/1.3.4/commons-logging-1.3.4.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/io/netty/netty-buffer/4.1.118.Final/netty-buffer-4.1.118.Final.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/io/netty/netty-codec/4.1.118.Final/netty-codec-4.1.118.Final.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/io/netty/netty-common/4.1.118.Final/netty-common-4.1.118.Final.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/io/netty/netty-handler/4.1.118.Final/netty-handler-4.1.118.Final.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/io/netty/netty-resolver/4.1.118.Final/netty-resolver-4.1.118.Final.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/io/netty/netty-transport-classes-epoll/4.1.118.Final/netty-transport-classes-epoll-4.1.118.Final.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/io/netty/netty-transport-native-unix-common/4.1.118.Final/netty-transport-native-unix-common-4.1.118.Final.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/io/netty/netty-transport/4.1.118.Final/netty-transport-4.1.118.Final.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/minidev/accessors-smart/2.5.1/accessors-smart-2.5.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/minidev/json-smart/2.5.1/json-smart-2.5.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/sf/jopt-simple/jopt-simple/5.0.4/jopt-simple-5.0.4.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/apache/commons/commons-compress/1.27.1/commons-compress-1.27.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/apache/commons/commons-lang3/3.17.0/commons-lang3-3.17.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/apache/httpcomponents/httpclient/4.5.14/httpclient-4.5.14.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/apache/httpcomponents/httpcore/4.4.16/httpcore-4.4.16.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/apache/logging/log4j/log4j-api/2.24.1/log4j-api-2.24.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/apache/logging/log4j/log4j-core/2.24.1/log4j-core-2.24.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/apache/logging/log4j/log4j-slf4j2-impl/2.24.1/log4j-slf4j2-impl-2.24.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/jcraft/jorbis/0.0.17/jorbis-0.0.17.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/joml/joml/1.10.8/joml-1.10.8.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/lz4/lz4-java/1.8.0/lz4-java-1.8.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/slf4j/slf4j-api/2.0.16/slf4j-api-2.0.16.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/neoforged/javadoctor/gson-io/2.0.0/gson-io-2.0.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/jetbrains/kotlin/kotlin-stdlib/2.1.21/kotlin-stdlib-2.1.21.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/imgui/imgui-java-app/1.0.2/imgui-java-app-1.0.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/dnsjava/4.0.0/dnsjava-4.0.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/laby-dev-login/1.0.1/laby-dev-login-1.0.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/google/auto/service/auto-service-annotations/1.1.1/auto-service-annotations-1.1.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/aopalliance/aopalliance/1.0/aopalliance-1.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/typesafe/config/1.4.2/config-1.4.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/jetbrains/kotlin/kotlin-reflect/2.1.21/kotlin-reflect-2.1.21.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/github/usefulness/webp-imageio/0.8.0/webp-imageio-0.8.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/ow2/asm/asm/9.7/asm-9.7.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/github/vatbub/mslinks/1.0.6.2/mslinks-1.0.6.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/jitsi/jain-sip-ri-ossonly/1.2.279-jitsi-oss1/jain-sip-ri-ossonly-1.2.279-jitsi-oss1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/imgui/imgui-java-binding/1.0.2/imgui-java-binding-1.0.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/jitsi/jicoco-config/1.1-127-gf49982f/jicoco-config-1.1-127-gf49982f.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/google/auto/auto-common/1.2.1/auto-common-1.2.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/google/errorprone/error_prone_annotations/2.27.0/error_prone_annotations-2.27.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/imgui/imgui-java-natives-windows/1.0.2/imgui-java-natives-windows-1.0.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/labypeer/client/4.2/client-4.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/ca/weblite/java-objc-bridge/1.1/java-objc-bridge-1.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/AutoRenamingTool/0.1.4.1.0.2/AutoRenamingTool-0.1.4.1.0.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/neoforged/installertools/cli-utils/2.1.2/cli-utils-2.1.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/google/code/gson/gson/2.11.0/gson-2.11.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/google/auto/service/auto-service/1.1.1/auto-service-1.1.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/junit/platform/junit-platform-engine/1.8.2/junit-platform-engine-1.8.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/sponge-mixin/0.5.3.0.15.5.mixin.0.8.7/sponge-mixin-0.5.3.0.15.5.mixin.0.8.7.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/googlecode/json-simple/json-simple/1.1.1/json-simple-1.1.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/bitlet/weupnp/0.1.4/weupnp-0.1.4.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/ow2/asm/asm-util/9.7/asm-util-9.7.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/pt/davidafsilva/apple/jkeychain/1.1.0/jkeychain-1.1.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/jitsi/jitsi-metaconfig/1.0-9-g5e1b624/jitsi-metaconfig-1.0-9-g5e1b624.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/io/github/llamalad7/mixinextras-common/0.4.1/mixinextras-common-0.4.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/opentelecoms/sdp/sdp-api/1.0/sdp-api-1.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/imgui/imgui-java-lwjgl3/1.0.2/imgui-java-lwjgl3-1.0.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/AccessWidener/0.2.1/AccessWidener-0.2.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/google/j2objc/j2objc-annotations/2.8/j2objc-annotations-2.8.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/minecraftforge/srgutils/0.5.4/srgutils-0.5.4.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/javax/inject/javax.inject/1/javax.inject-1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/jncrmx/discord-game-sdk4j/0.5.6/discord-game-sdk4j-0.5.6.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/imgui/imgui-java-natives-linux/1.0.2/imgui-java-natives-linux-1.0.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/junit/jupiter/junit-jupiter-api/5.8.2/junit-jupiter-api-5.8.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/jitsi/jitsi-utils/1.0-127-g6c65524/jitsi-utils-1.0-127-g6c65524.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/ow2/asm/asm-tree/9.7/asm-tree-9.7.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/serverapi/core/1.0.5/core-1.0.5.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/minecraft/launchwrapper/3.2.1/launchwrapper-3.2.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/jetbrains/annotations/24.0.1/annotations-24.0.1.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/ow2/asm/asm-commons/9.7/asm-commons-9.7.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/imgui/imgui-java-natives-macos/1.0.2/imgui-java-natives-macos-1.0.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/junit/platform/junit-platform-commons/1.8.2/junit-platform-commons-1.8.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/imgui/imgui-java-natives-macos-arm64/1.0.2/imgui-java-natives-macos-arm64-1.0.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/io/sentry/sentry/6.13.0/sentry-6.13.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/opentelecoms/sdp/java-sdp-nist-bridge/1.2/java-sdp-nist-bridge-1.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/labypeer/common/4.2/common-4.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/checkerframework/checker-qual/3.33.0/checker-qual-3.33.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/serverapi/api/1.0.5/api-1.0.5.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/java/dev/jna/jna-platform/5.15.0/jna-platform-5.15.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/it/unimi/dsi/fastutil/8.5.14/fastutil-8.5.14.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/ow2/asm/asm-analysis/9.7/asm-analysis-9.7.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/net/labymod/account-manager/1.4.12/account-manager-1.4.12.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/jitsi/ice4j/3.0-68-gd289f12/ice4j-3.0-68-gd289f12.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/junit/jupiter/junit-jupiter-engine/5.8.2/junit-jupiter-engine-5.8.2.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/squareup/javapoet/1.13.0/javapoet-1.13.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/org/opentest4j/opentest4j/1.2.0/opentest4j-1.2.0.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/instances/LabyMod-4-1.21.5/libraries/LabyMod-4.jar   C:/Users/gabri/AppData/Roaming/PrismLauncher/libraries/com/mojang/minecraft/1.21.5/minecraft-1.21.5-client.jar Native libraries: Params:   --username  --version 1.21.5 --gameDir C:/Users/gabri/AppData/Roaming/PrismLauncher/instances/LabyMod-4-1.21.5/minecraft --assetsDir C:/Users/gabri/AppData/Roaming/PrismLauncher/assets --assetIndex 24 --uuid  --accessToken  --clientId  --xuid  --userType  --versionType release --dummyMinecraftClass net.minecraft.client.main.Main --tweakClass net.labymod.core.loader.vanilla.launchwrapper.LabyModLaunchWrapperTweaker Window size: 854 x 480 Launcher: standard Diese Instanz ist nicht mit der Java-Version 21 kompatibel. Bitte wechsel zu einer der folgenden Java-Versionen für diese Instanz: Java-Version 17 Ändere deine Java Version in den Instanz-Einstellungen oder deaktiviere die Java-Kompatibilitätsüberprüfungen, falls du weißt, was du tust. Clipboard copy at: 28 Jul 2025 18:43:57 +0200 Oh, wait! I just turned of the compatibility check for Java and selected version 21 and now it works. Thanks for the help!
  • Topics

×
×
  • Create New...

Important Information

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