Jump to content

[1.16.5] NBT value is similar to every other block instance


Recommended Posts

Posted

Hey guys,

I have a problem with my custom block model tile entity.

I wanna create a fire hose block that stores the waterlevel in NBT. Players have to refill it with a water bucket within the screen container. My problem is that the water level gets saved in the NBT data but if I create another instance of the block, it has the same value as the previous block. My assumption is that the blocks always use the same instance of the first generated tile entity. I tried to get the tile entity via the world and the position but it doesn't work either. 

I attached my code. I hope one of you guys can help me! :)

Screen Image

Image

Block class

Spoiler
package de.j3ramy.edom.block;

import de.j3ramy.edom.container.FireHoseBoxContainer;
import de.j3ramy.edom.tileentity.FireHoseBoxTile;
import de.j3ramy.edom.tileentity.ModTileEntities;
import net.minecraft.block.Block;
import net.minecraft.block.BlockState;
import net.minecraft.block.HorizontalBlock;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.entity.player.PlayerInventory;
import net.minecraft.entity.player.ServerPlayerEntity;
import net.minecraft.inventory.container.Container;
import net.minecraft.inventory.container.INamedContainerProvider;
import net.minecraft.item.BlockItemUseContext;
import net.minecraft.state.StateContainer;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.ActionResultType;
import net.minecraft.util.Hand;
import net.minecraft.util.SoundCategory;
import net.minecraft.util.SoundEvents;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.BlockRayTraceResult;
import net.minecraft.util.math.shapes.IBooleanFunction;
import net.minecraft.util.math.shapes.ISelectionContext;
import net.minecraft.util.math.shapes.VoxelShape;
import net.minecraft.util.math.shapes.VoxelShapes;
import net.minecraft.util.text.ITextComponent;
import net.minecraft.util.text.TranslationTextComponent;
import net.minecraft.world.IBlockReader;
import net.minecraft.world.World;
import net.minecraftforge.fml.network.NetworkHooks;

import javax.annotation.Nullable;
import java.util.stream.Stream;

public class FireHoseBox extends HorizontalBlock {

    static final VoxelShape SHAPE_N = Stream.of(
            Block.makeCuboidShape(0, 2, 0, 16, 16, 6),
            Block.makeCuboidShape(2, 8, 6, 3, 10, 6.5),
            Block.makeCuboidShape(11, 0, 3, 12, 2, 4),
            Block.makeCuboidShape(11, 0, 0, 12, 1, 3),
            Block.makeCuboidShape(9, 0, 0, 10, 1, 3),
            Block.makeCuboidShape(9, 0, 3, 10, 2, 4)
    ).reduce((v1, v2) -> VoxelShapes.combineAndSimplify(v1, v2, IBooleanFunction.OR)).get();

    static final VoxelShape SHAPE_W = Stream.of(
            Block.makeCuboidShape(0, 2, 0, 6, 16, 16),
            Block.makeCuboidShape(6, 8, 13, 6.5, 10, 14),
            Block.makeCuboidShape(3, 0, 4, 4, 2, 5),
            Block.makeCuboidShape(0, 0, 4, 3, 1, 5),
            Block.makeCuboidShape(0, 0, 6, 3, 1, 7),
            Block.makeCuboidShape(3, 0, 6, 4, 2, 7)
    ).reduce((v1, v2) -> VoxelShapes.combineAndSimplify(v1, v2, IBooleanFunction.OR)).get();

    static final VoxelShape SHAPE_S = Stream.of(
            Block.makeCuboidShape(0, 2, 10, 16, 16, 16),
            Block.makeCuboidShape(13, 8, 9.5, 14, 10, 10),
            Block.makeCuboidShape(4, 0, 12, 5, 2, 13),
            Block.makeCuboidShape(4, 0, 13, 5, 1, 16),
            Block.makeCuboidShape(6, 0, 13, 7, 1, 16),
            Block.makeCuboidShape(6, 0, 12, 7, 2, 13)
    ).reduce((v1, v2) -> VoxelShapes.combineAndSimplify(v1, v2, IBooleanFunction.OR)).get();

    static final VoxelShape SHAPE_E = Stream.of(
            Block.makeCuboidShape(10, 2, 0, 16, 16, 16),
            Block.makeCuboidShape(9.5, 8, 2, 10, 10, 3),
            Block.makeCuboidShape(12, 0, 11, 13, 2, 12),
            Block.makeCuboidShape(13, 0, 11, 16, 1, 12),
            Block.makeCuboidShape(13, 0, 9, 16, 1, 10),
            Block.makeCuboidShape(12, 0, 9, 13, 2, 10)
    ).reduce((v1, v2) -> VoxelShapes.combineAndSimplify(v1, v2, IBooleanFunction.OR)).get();

    FireHoseBoxTile tileEntity;

    public FireHoseBox(Properties props) {
        super(props);
    }

    @Override
    public VoxelShape getShape(BlockState state, IBlockReader p_220053_2_, BlockPos p_220053_3_, ISelectionContext p_220053_4_) {
        switch (state.get(HORIZONTAL_FACING)){
            case SOUTH: return SHAPE_S;
            case EAST: return SHAPE_E;
            case WEST: return SHAPE_W;
            default: return SHAPE_N;
        }
    }

    @Override
    protected void fillStateContainer(StateContainer.Builder<Block, BlockState> builder) {
        builder.add(HORIZONTAL_FACING);
    }

    @Nullable
    @Override
    public BlockState getStateForPlacement(BlockItemUseContext context) {
        return this.getDefaultState().with(HORIZONTAL_FACING, context.getPlacementHorizontalFacing());
    }

    @Override
    public ActionResultType onBlockActivated(BlockState state, World worldIn, BlockPos pos, PlayerEntity player, Hand handIn, BlockRayTraceResult hit) {

        if(!worldIn.isRemote){
            worldIn.playSound(null, pos, SoundEvents.BLOCK_IRON_TRAPDOOR_OPEN, SoundCategory.BLOCKS, 1, 1);
            tileEntity = (FireHoseBoxTile) worldIn.getTileEntity(pos);

            if(tileEntity == null)
                return ActionResultType.SUCCESS;

            if(player.isCrouching())
                return ActionResultType.SUCCESS;

            INamedContainerProvider containerProvider = createContainerProvider(worldIn, pos);
            NetworkHooks.openGui((ServerPlayerEntity) player, containerProvider, tileEntity.getPos());

        }

        return ActionResultType.SUCCESS;
    }

    private INamedContainerProvider createContainerProvider(World world, BlockPos pos) {
        return new INamedContainerProvider(){

            @Override
            public Container createMenu(int i, PlayerInventory playerInv, PlayerEntity playerEntity) {
                return new FireHoseBoxContainer(i, world, pos, playerInv, playerEntity, tileEntity);
            }

            @Override
            public ITextComponent getDisplayName() {
                return new TranslationTextComponent("");
            }
        };
    }

    @Override
    public boolean hasTileEntity(BlockState state) {
        return true;
    }

    @Nullable
    @Override
    public TileEntity createTileEntity(BlockState state, IBlockReader world) {
        return ModTileEntities.FIRE_HOSE_BOX_TILE.get().create();
    }
}

 

Tile entity

Spoiler
package de.j3ramy.edom.tileentity;

import de.j3ramy.edom.item.ModItems;
import net.minecraft.block.BlockState;
import net.minecraft.item.ItemStack;
import net.minecraft.item.Items;
import net.minecraft.nbt.CompoundNBT;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.tileentity.TileEntityType;
import net.minecraft.util.Direction;
import net.minecraftforge.common.capabilities.Capability;
import net.minecraftforge.common.util.LazyOptional;
import net.minecraftforge.items.CapabilityItemHandler;
import net.minecraftforge.items.IItemHandler;
import net.minecraftforge.items.ItemStackHandler;

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

public class FireHoseBoxTile extends TileEntity {

    public final ItemStackHandler itemHandler = createHandler();
    private final LazyOptional<IItemHandler> handler = LazyOptional.of(() -> itemHandler);

    private static int waterLevel = 0;
    private static final int maxWaterLevel = 45;
    private static final int waterLevelInterval = 15;

    public int getWaterLevel() {
        return waterLevel;
    }

    public FireHoseBoxTile(TileEntityType<?> tileEntityType) {
        super(tileEntityType);
    }

    public FireHoseBoxTile(){
        this(ModTileEntities.FIRE_HOSE_BOX_TILE.get());
    }

    @Override
    public void read(BlockState state, CompoundNBT nbt) {
        itemHandler.deserializeNBT(nbt.getCompound("inv"));

        if(nbt.contains("waterLevel"))
            waterLevel = nbt.getInt("waterLevel");

        super.read(state, nbt);
    }

    @Override
    public CompoundNBT write(CompoundNBT nbt) {
        super.write(nbt);
        nbt.put("inv", itemHandler.serializeNBT());
        nbt.putInt("waterLevel", waterLevel);
        return nbt;
    }

    @Nonnull
    @Override
    public <T> LazyOptional<T> getCapability(@Nonnull Capability<T> cap, @Nullable Direction side) {
        //Place code for setting that atm storage is only clickable from one side...
        if(cap == CapabilityItemHandler.ITEM_HANDLER_CAPABILITY)
            return handler.cast();

        return super.getCapability(cap, side);
    }

    private ItemStackHandler createHandler(){
        return new ItemStackHandler(2){
            @Override
            protected void onContentsChanged(int slot) {
                if(world == null)
                    return;

                if(isItemValid(slot, getStackInSlot(slot))){
                    if(slot == 0 && waterLevel > 0)
                        waterLevel -= waterLevelInterval;

                    if(slot == 1 && waterLevel < maxWaterLevel){
                        itemHandler.getStackInSlot(1).shrink(1);

                        if(!world.isRemote)
                            fillFireBox();
                    }
                }

            }

            @Override
            public boolean isItemValid(int slot, @Nonnull ItemStack stack) {
                switch(slot){
                    case 0: return stack.getItem() == Items.WATER_BUCKET;
                    case 1: return stack.getItem() == Items.WATER_BUCKET && waterLevel < maxWaterLevel;
                }
                return false;
            }

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

            @Nonnull
            @Override
            public ItemStack insertItem(int slot, @Nonnull ItemStack stack, boolean simulate) {
                if(!isItemValid(slot, stack)){
                    return stack;
                }

                return super.insertItem(slot, stack, simulate);
            }
        };
    }

    void fillFireBox(){
        System.out.println("Before: " + waterLevel);
        waterLevel += waterLevelInterval;

        System.out.println("Afterwards: " + waterLevel);
    }
}

 

Container

Spoiler
package de.j3ramy.edom.container;

import de.j3ramy.edom.block.ModBlocks;
import de.j3ramy.edom.tileentity.FireHoseBoxTile;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.entity.player.PlayerInventory;
import net.minecraft.inventory.container.Container;
import net.minecraft.inventory.container.Slot;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.IWorldPosCallable;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
import net.minecraftforge.items.CapabilityItemHandler;
import net.minecraftforge.items.IItemHandler;
import net.minecraftforge.items.SlotItemHandler;
import net.minecraftforge.items.wrapper.InvWrapper;

public class FireHoseBoxContainer extends Container {

    private final TileEntity tileEntity;
    private final PlayerEntity playerEntity;
    private final IItemHandler playerInventory;

    public FireHoseBoxContainer(int windowId, World world, BlockPos pos, PlayerInventory playerInventory, PlayerEntity player, FireHoseBoxTile tile){
        super(ModContainers.FIRE_HOSE_BOX_CONTAINER.get(), windowId);

        this.tileEntity = world.getTileEntity(pos);
        this.playerEntity = player;
        this.playerInventory = new InvWrapper(playerInventory);

        if(tileEntity != null){
            tileEntity.getCapability(CapabilityItemHandler.ITEM_HANDLER_CAPABILITY).ifPresent(h ->{
                addSlot(new SlotItemHandler(h, 0, 62, 33));
                addSlot(new SlotItemHandler(h, 1, 154, 7));
            });
        }

        layoutPlayerInventorySlots(8, 86); //Position of player inventory
    }

    public TileEntity getTileEntity() {
        return tileEntity;
    }

    @Override
    public boolean canInteractWith(PlayerEntity playerIn) {
        if(tileEntity.getWorld() == null)
            return false;

        return isWithinUsableDistance(IWorldPosCallable.of(tileEntity.getWorld(), tileEntity.getPos()), playerIn, ModBlocks.FIRE_HOSE_BOX.get());
    }

    private int addSlotRange(IItemHandler handler, int index, int x, int y, int amount, int dx) {
        for (int i = 0; i < amount; i++) {
            addSlot(new SlotItemHandler(handler, index, x, y));
            x += dx;
            index++;
        }

        return index;
    }

    private void addSlotBox(IItemHandler handler, int index, int x, int y, int horAmount, int dx, int verAmount, int dy) {
        for (int j = 0; j < verAmount; j++) {
            index = addSlotRange(handler, index, x, y, horAmount, dx);
            y += dy;
        }
    }

    private void layoutPlayerInventorySlots(int leftCol, int topRow) {
        addSlotBox(playerInventory, 9, leftCol, topRow, 9, 18, 3, 18);

        topRow += 58;
        addSlotRange(playerInventory, 0, leftCol, topRow, 9, 18);
    }

    private static final int HOTBAR_SLOT_COUNT = 9;
    private static final int PLAYER_INVENTORY_ROW_COUNT = 3;
    private static final int PLAYER_INVENTORY_COLUMN_COUNT = 9;
    private static final int PLAYER_INVENTORY_SLOT_COUNT = PLAYER_INVENTORY_COLUMN_COUNT * PLAYER_INVENTORY_ROW_COUNT;
    private static final int VANILLA_SLOT_COUNT = HOTBAR_SLOT_COUNT + PLAYER_INVENTORY_SLOT_COUNT;
    private static final int VANILLA_FIRST_SLOT_INDEX = 0;
    private static final int TE_INVENTORY_FIRST_SLOT_INDEX = VANILLA_FIRST_SLOT_INDEX + VANILLA_SLOT_COUNT;
    // THIS YOU HAVE TO DEFINE!
    private static final int TE_INVENTORY_SLOT_COUNT = 2;  // must match TileEntityInventoryBasic.NUMBER_OF_SLOTS

    @Override
    public ItemStack transferStackInSlot(PlayerEntity playerIn, int index) {
        Slot sourceSlot = inventorySlots.get(index);
        if (sourceSlot == null || !sourceSlot.getHasStack()) return ItemStack.EMPTY;  //EMPTY_ITEM
        ItemStack sourceStack = sourceSlot.getStack();
        ItemStack copyOfSourceStack = sourceStack.copy();

        // Check if the slot clicked is one of the vanilla container slots
        if (index < VANILLA_FIRST_SLOT_INDEX + VANILLA_SLOT_COUNT) {
            // This is a vanilla container slot so merge the stack into the tile inventory
            if (!mergeItemStack(sourceStack, TE_INVENTORY_FIRST_SLOT_INDEX, TE_INVENTORY_FIRST_SLOT_INDEX
                    + TE_INVENTORY_SLOT_COUNT, false)) {
                return ItemStack.EMPTY;  // EMPTY_ITEM
            }
        } else if (index < TE_INVENTORY_FIRST_SLOT_INDEX + TE_INVENTORY_SLOT_COUNT) {
            // This is a TE slot so merge the stack into the players inventory
            if (!mergeItemStack(sourceStack, VANILLA_FIRST_SLOT_INDEX, VANILLA_FIRST_SLOT_INDEX + VANILLA_SLOT_COUNT, false)) {
                return ItemStack.EMPTY;
            }
        } else {
            return ItemStack.EMPTY;
        }
        // If stack size == 0 (the entire stack was moved) set slot contents to null
        if (sourceStack.getCount() == 0) {
            sourceSlot.putStack(ItemStack.EMPTY);
        } else {
            sourceSlot.onSlotChanged();
        }
        sourceSlot.onTake(playerEntity, sourceStack);
        return copyOfSourceStack;
    }


}

 

Screen

Spoiler
package de.j3ramy.edom.screen;

import com.mojang.blaze3d.matrix.MatrixStack;
import com.mojang.blaze3d.systems.RenderSystem;
import de.j3ramy.edom.EdomMod;
import de.j3ramy.edom.container.FireHoseBoxContainer;
import de.j3ramy.edom.tileentity.FireHoseBoxTile;
import net.minecraft.client.gui.screen.inventory.ContainerScreen;
import net.minecraft.entity.player.PlayerInventory;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.text.ITextComponent;

public class FireHoseBoxScreen extends ContainerScreen<FireHoseBoxContainer> {

    private final ResourceLocation GUI = new ResourceLocation(EdomMod.MOD_ID, "textures/gui/fire_hose_box_gui.png");
    FireHoseBoxContainer container;

    public FireHoseBoxScreen(FireHoseBoxContainer screenContainer, PlayerInventory inv, ITextComponent title) {
        super(screenContainer, inv, title);

        this.container = screenContainer;
    }

    @Override
    public void render(MatrixStack matrixStack, int mouseX, int mouseY, float partialTicks) {
        this.renderBackground(matrixStack);
        super.render(matrixStack, mouseX, mouseY, partialTicks);
        this.renderHoveredTooltip(matrixStack, mouseX, mouseY);
    }

    @Override
    protected void drawGuiContainerBackgroundLayer(MatrixStack matrixStack, float partialTicks, int x, int y) {
        RenderSystem.color4f(1f, 1f, 1f, 1f);

        if(minecraft != null)
            this.minecraft.getTextureManager().bindTexture(GUI);

        int i = this.guiLeft;
        int j = this.guiTop;
        this.blit(matrixStack, i, j, 0, 0, this.xSize, this.ySize);

        FireHoseBoxTile te = (FireHoseBoxTile) container.getTileEntity();

        int yPos = j + 26 + te.getWaterLevel();
        this.blit(matrixStack, i + 156, yPos, 176, 0, 12, 1);

        //System.out.println(te.getWaterLevel());
    }
}

 

 

Posted

Thanks for the answer!

I changed it to the following but it hasn't solved the problem:

Spoiler
package de.j3ramy.edom.block;

import de.j3ramy.edom.container.FireHoseBoxContainer;
import de.j3ramy.edom.tileentity.FireHoseBoxTile;
import de.j3ramy.edom.tileentity.ModTileEntities;
import net.minecraft.block.Block;
import net.minecraft.block.BlockState;
import net.minecraft.block.HorizontalBlock;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.entity.player.PlayerInventory;
import net.minecraft.entity.player.ServerPlayerEntity;
import net.minecraft.inventory.container.Container;
import net.minecraft.inventory.container.INamedContainerProvider;
import net.minecraft.item.BlockItemUseContext;
import net.minecraft.state.StateContainer;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.ActionResultType;
import net.minecraft.util.Hand;
import net.minecraft.util.SoundCategory;
import net.minecraft.util.SoundEvents;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.BlockRayTraceResult;
import net.minecraft.util.math.shapes.IBooleanFunction;
import net.minecraft.util.math.shapes.ISelectionContext;
import net.minecraft.util.math.shapes.VoxelShape;
import net.minecraft.util.math.shapes.VoxelShapes;
import net.minecraft.util.text.ITextComponent;
import net.minecraft.util.text.TranslationTextComponent;
import net.minecraft.world.IBlockReader;
import net.minecraft.world.World;
import net.minecraftforge.fml.network.NetworkHooks;

import javax.annotation.Nullable;
import java.util.stream.Stream;

public class FireHoseBox extends HorizontalBlock {

    static final VoxelShape SHAPE_N = Stream.of(
            Block.makeCuboidShape(0, 2, 0, 16, 16, 6),
            Block.makeCuboidShape(2, 8, 6, 3, 10, 6.5),
            Block.makeCuboidShape(11, 0, 3, 12, 2, 4),
            Block.makeCuboidShape(11, 0, 0, 12, 1, 3),
            Block.makeCuboidShape(9, 0, 0, 10, 1, 3),
            Block.makeCuboidShape(9, 0, 3, 10, 2, 4)
    ).reduce((v1, v2) -> VoxelShapes.combineAndSimplify(v1, v2, IBooleanFunction.OR)).get();

    static final VoxelShape SHAPE_W = Stream.of(
            Block.makeCuboidShape(0, 2, 0, 6, 16, 16),
            Block.makeCuboidShape(6, 8, 13, 6.5, 10, 14),
            Block.makeCuboidShape(3, 0, 4, 4, 2, 5),
            Block.makeCuboidShape(0, 0, 4, 3, 1, 5),
            Block.makeCuboidShape(0, 0, 6, 3, 1, 7),
            Block.makeCuboidShape(3, 0, 6, 4, 2, 7)
    ).reduce((v1, v2) -> VoxelShapes.combineAndSimplify(v1, v2, IBooleanFunction.OR)).get();

    static final VoxelShape SHAPE_S = Stream.of(
            Block.makeCuboidShape(0, 2, 10, 16, 16, 16),
            Block.makeCuboidShape(13, 8, 9.5, 14, 10, 10),
            Block.makeCuboidShape(4, 0, 12, 5, 2, 13),
            Block.makeCuboidShape(4, 0, 13, 5, 1, 16),
            Block.makeCuboidShape(6, 0, 13, 7, 1, 16),
            Block.makeCuboidShape(6, 0, 12, 7, 2, 13)
    ).reduce((v1, v2) -> VoxelShapes.combineAndSimplify(v1, v2, IBooleanFunction.OR)).get();

    static final VoxelShape SHAPE_E = Stream.of(
            Block.makeCuboidShape(10, 2, 0, 16, 16, 16),
            Block.makeCuboidShape(9.5, 8, 2, 10, 10, 3),
            Block.makeCuboidShape(12, 0, 11, 13, 2, 12),
            Block.makeCuboidShape(13, 0, 11, 16, 1, 12),
            Block.makeCuboidShape(13, 0, 9, 16, 1, 10),
            Block.makeCuboidShape(12, 0, 9, 13, 2, 10)
    ).reduce((v1, v2) -> VoxelShapes.combineAndSimplify(v1, v2, IBooleanFunction.OR)).get();

    public FireHoseBox(Properties props) {
        super(props);
    }

    @Override
    public VoxelShape getShape(BlockState state, IBlockReader p_220053_2_, BlockPos p_220053_3_, ISelectionContext p_220053_4_) {
        switch (state.get(HORIZONTAL_FACING)){
            case SOUTH: return SHAPE_S;
            case EAST: return SHAPE_E;
            case WEST: return SHAPE_W;
            default: return SHAPE_N;
        }
    }

    @Override
    protected void fillStateContainer(StateContainer.Builder<Block, BlockState> builder) {
        builder.add(HORIZONTAL_FACING);
    }

    @Nullable
    @Override
    public BlockState getStateForPlacement(BlockItemUseContext context) {
        return this.getDefaultState().with(HORIZONTAL_FACING, context.getPlacementHorizontalFacing());
    }

    @Override
    public ActionResultType onBlockActivated(BlockState state, World worldIn, BlockPos pos, PlayerEntity player, Hand handIn, BlockRayTraceResult hit) {

        if(!worldIn.isRemote){
            worldIn.playSound(null, pos, SoundEvents.BLOCK_IRON_TRAPDOOR_OPEN, SoundCategory.BLOCKS, 1, 1);
            FireHoseBoxTile tileEntity = (FireHoseBoxTile) worldIn.getTileEntity(pos);

            if(tileEntity == null)
                return ActionResultType.SUCCESS;

            if(player.isCrouching())
                return ActionResultType.SUCCESS;

            INamedContainerProvider containerProvider = createContainerProvider(worldIn, pos);
            NetworkHooks.openGui((ServerPlayerEntity) player, containerProvider, tileEntity.getPos());

        }

        return ActionResultType.SUCCESS;
    }

    private INamedContainerProvider createContainerProvider(World world, BlockPos pos) {
        return new INamedContainerProvider(){

            @Override
            public Container createMenu(int i, PlayerInventory playerInv, PlayerEntity playerEntity) {
                return new FireHoseBoxContainer(i, world, pos, playerInv, playerEntity, (FireHoseBoxTile) world.getTileEntity(pos));
            }

            @Override
            public ITextComponent getDisplayName() {
                return new TranslationTextComponent("");
            }
        };
    }

    @Override
    public boolean hasTileEntity(BlockState state) {
        return true;
    }

    @Nullable
    @Override
    public TileEntity createTileEntity(BlockState state, IBlockReader world) {
        return ModTileEntities.FIRE_HOSE_BOX_TILE.get().create();
    }
}

 

 

Posted

Oh nice. Thanks for that hint.

I only knew that static means that you don't need an instance of a class but it also means that the value of the static variable is the same in every instance.

It seems to work for now :)

 

Posted

Hey guys, I ran in another problem now.

I am trying to sync the water level between server and client. Client because I want to use it in the Screen class. But the water level is always 0 in the Screen class. I've read that I need to override getUpdateTag() and handleUpdateTag().

But I don't now what to override. I googled a lot but I'm not figuring out how that should work.

Tile entity

Spoiler
package de.j3ramy.edom.tileentity;

import net.minecraft.block.BlockState;
import net.minecraft.item.ItemStack;
import net.minecraft.item.Items;
import net.minecraft.nbt.CompoundNBT;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.tileentity.TileEntityType;
import net.minecraft.util.Direction;
import net.minecraftforge.common.capabilities.Capability;
import net.minecraftforge.common.util.LazyOptional;
import net.minecraftforge.items.CapabilityItemHandler;
import net.minecraftforge.items.IItemHandler;
import net.minecraftforge.items.ItemStackHandler;

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

public class FireHoseBoxTile extends TileEntity {

    public final ItemStackHandler itemHandler = createHandler();
    private final LazyOptional<IItemHandler> handler = LazyOptional.of(() -> itemHandler);

    private int waterLevel = 0;
    private static final int MAX_WATER_LEVEL = 45;
    private static final int STEPS = 3;
    private static final int WATER_LEVEL_INTERVAL = MAX_WATER_LEVEL / STEPS;

    private static final int HOSE_SLOT = 0;
    private static final int FILL_SLOT = 1;

    public int getWaterLevel() {
        return this.waterLevel;
    }

    public FireHoseBoxTile(TileEntityType<?> tileEntityType) {
        super(tileEntityType);
    }

    public FireHoseBoxTile(){
        this(ModTileEntities.FIRE_HOSE_BOX_TILE.get());
    }

    @Override
    public void read(BlockState state, CompoundNBT nbt) {
        itemHandler.deserializeNBT(nbt.getCompound("inv"));

        if(nbt.contains("waterLevel"))
            this.waterLevel = nbt.getInt("waterLevel");

        super.read(state, nbt);
    }

    @Override
    public CompoundNBT write(CompoundNBT nbt) {
        nbt.put("inv", itemHandler.serializeNBT());
        nbt.putInt("waterLevel", this.waterLevel);
        return super.write(nbt);
    }

    @Override
    public CompoundNBT getUpdateTag() {
        return super.getUpdateTag();
    }

    @Override
    public void handleUpdateTag(BlockState state, CompoundNBT tag) {
        super.handleUpdateTag(state, tag);
    }

    @Nonnull
    @Override
    public <T> LazyOptional<T> getCapability(@Nonnull Capability<T> cap, @Nullable Direction side) {
        //Place code for setting that atm storage is only clickable from one side...
        if(cap == CapabilityItemHandler.ITEM_HANDLER_CAPABILITY)
            return handler.cast();

        return super.getCapability(cap, side);
    }

    private ItemStackHandler createHandler(){
        return new ItemStackHandler(2){
            @Override
            protected void onContentsChanged(int slot) {
                if(world == null)
                    return;

                if(!isItemValid(slot, getStackInSlot(slot))){
                    return;
                }

                switch (slot){
                    case HOSE_SLOT:  break;
                    case FILL_SLOT: fillFireBox(); break;
                }
            }

            @Override
            public boolean isItemValid(int slot, @Nonnull ItemStack stack) {
                switch(slot){
                    case HOSE_SLOT: return stack.getItem() == Items.WATER_BUCKET;
                    case FILL_SLOT: return stack.getItem() == Items.WATER_BUCKET;
                }
                return false;
            }

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

            @Nonnull
            @Override
            public ItemStack insertItem(int slot, @Nonnull ItemStack stack, boolean simulate) {

                return super.insertItem(slot, stack, simulate);
            }
        };
    }

    void fillFireBox(){
        if(this.waterLevel < MAX_WATER_LEVEL){
            itemHandler.getStackInSlot(FILL_SLOT).shrink(1);
            this.waterLevel += WATER_LEVEL_INTERVAL;
        }
    }
}

 

Screen

Spoiler
package de.j3ramy.edom.screen;

import com.mojang.blaze3d.matrix.MatrixStack;
import com.mojang.blaze3d.systems.RenderSystem;
import de.j3ramy.edom.EdomMod;
import de.j3ramy.edom.container.FireHoseBoxContainer;
import de.j3ramy.edom.tileentity.FireHoseBoxTile;
import net.minecraft.client.gui.screen.inventory.ContainerScreen;
import net.minecraft.entity.player.PlayerInventory;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.text.ITextComponent;

public class FireHoseBoxScreen extends ContainerScreen<FireHoseBoxContainer> {

    private final ResourceLocation GUI = new ResourceLocation(EdomMod.MOD_ID, "textures/gui/fire_hose_box_gui.png");
    FireHoseBoxContainer container;

    public FireHoseBoxScreen(FireHoseBoxContainer screenContainer, PlayerInventory inv, ITextComponent title) {
        super(screenContainer, inv, title);

        this.container = screenContainer;
    }

    @Override
    public void render(MatrixStack matrixStack, int mouseX, int mouseY, float partialTicks) {
        this.renderBackground(matrixStack);
        super.render(matrixStack, mouseX, mouseY, partialTicks);
        this.renderHoveredTooltip(matrixStack, mouseX, mouseY);
    }

    @Override
    protected void drawGuiContainerBackgroundLayer(MatrixStack matrixStack, float partialTicks, int x, int y) {
        RenderSystem.color4f(1f, 1f, 1f, 1f);

        if(minecraft != null)
            this.minecraft.getTextureManager().bindTexture(GUI);

        int i = this.guiLeft;
        int j = this.guiTop;
        this.blit(matrixStack, i, j, 0, 0, this.xSize, this.ySize);

        FireHoseBoxTile te = (FireHoseBoxTile) container.getTileEntity();
        FireHoseBoxTile tileEntity = (FireHoseBoxTile) te.getWorld().getTileEntity(te.getPos());

        int yPos = j + 26 + tileEntity.getWaterLevel();
        this.blit(matrixStack, i + 156, yPos, 176, 0, 12, 1);
    }
}

 

 

Posted (edited)

Either I'm just blind or there is no addDataSlot in AbstractFurnaceContainer ^^

 

Edited by diesieben07
removed copyright protected Mojang code
Posted

Oh sorry I didn't know that. 

I just added the method but I don't know if it's right. May you have a look:

Spoiler
package de.j3ramy.edom.container;

import de.j3ramy.edom.block.ModBlocks;
import de.j3ramy.edom.tileentity.FireHoseBoxTile;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.entity.player.PlayerInventory;
import net.minecraft.inventory.container.Container;
import net.minecraft.inventory.container.Slot;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.IWorldPosCallable;
import net.minecraft.util.IntReferenceHolder;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
import net.minecraftforge.items.CapabilityItemHandler;
import net.minecraftforge.items.IItemHandler;
import net.minecraftforge.items.SlotItemHandler;
import net.minecraftforge.items.wrapper.InvWrapper;

public class FireHoseBoxContainer extends Container {

    private final FireHoseBoxTile tileEntity;
    private final PlayerEntity playerEntity;
    private final IItemHandler playerInventory;

    public FireHoseBoxContainer(int windowId, World world, BlockPos pos, PlayerInventory playerInventory, PlayerEntity player, FireHoseBoxTile tile){
        super(ModContainers.FIRE_HOSE_BOX_CONTAINER.get(), windowId);

        this.tileEntity = tile;
        this.playerEntity = player;
        this.playerInventory = new InvWrapper(playerInventory);

        if(tileEntity != null){
            tileEntity.getCapability(CapabilityItemHandler.ITEM_HANDLER_CAPABILITY).ifPresent(h ->{
                addSlot(new SlotItemHandler(h, 0, 62, 33));
                addSlot(new SlotItemHandler(h, 1, 154, 7));
            });
        }

        layoutPlayerInventorySlots(8, 86); //Position of player inventory
    }

    public TileEntity getTileEntity() {
        return tileEntity;
    }

	...

    @Override
    protected IntReferenceHolder trackInt(IntReferenceHolder intIn) {
        intIn.set(tileEntity.getWaterLevel());
        return super.trackInt(intIn);
    }
}

 

 

Posted

I have to call it where? Sorry, but the syncing is new to me and I don't really understand it. Because if I have to call it, I have to save the value somewhere right? Or is this done automatically in the tile entity or container class?

Posted

Okay thanks, I think I figured out. 

Now, the water level indicator in the screen class only gets updated when I open the container obviously because I set the water level in the constructor of the container class.

I want to achieve that the value gets updated when I put a water bucket in the slot, so actually in the tile entity item handler. Is that possible or do I always have to reopen the container?

Container constructor

Spoiler
public FireHoseBoxContainer(int windowId, World world, BlockPos pos, PlayerInventory playerInventory, PlayerEntity player, FireHoseBoxTile tile){
        super(ModContainers.FIRE_HOSE_BOX_CONTAINER.get(), windowId);

        this.tileEntity = tile;
        this.playerEntity = player;
        this.playerInventory = new InvWrapper(playerInventory);

        if(tileEntity != null){
            tileEntity.getCapability(CapabilityItemHandler.ITEM_HANDLER_CAPABILITY).ifPresent(h ->{
                addSlot(new SlotItemHandler(h, 0, 62, 33));
                addSlot(new SlotItemHandler(h, 1, 154, 7));
            });
        }

        layoutPlayerInventorySlots(8, 86); //Position of player inventory

        data = new IntArray(1);
        data.set(0, tile.getWaterLevel());
        this.trackIntArray(data);
    }

 

Screen class

Spoiler
package de.j3ramy.edom.screen;

import com.mojang.blaze3d.matrix.MatrixStack;
import com.mojang.blaze3d.systems.RenderSystem;
import de.j3ramy.edom.EdomMod;
import de.j3ramy.edom.container.FireHoseBoxContainer;
import net.minecraft.client.gui.screen.inventory.ContainerScreen;
import net.minecraft.entity.player.PlayerInventory;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.text.ITextComponent;

public class FireHoseBoxScreen extends ContainerScreen<FireHoseBoxContainer> {

    private final ResourceLocation GUI = new ResourceLocation(EdomMod.MOD_ID, "textures/gui/fire_hose_box_gui.png");
    FireHoseBoxContainer container;

    public FireHoseBoxScreen(FireHoseBoxContainer screenContainer, PlayerInventory inv, ITextComponent title) {
        super(screenContainer, inv, title);

        this.container = screenContainer;
    }

    @Override
    public void render(MatrixStack matrixStack, int mouseX, int mouseY, float partialTicks) {
        this.renderBackground(matrixStack);
        super.render(matrixStack, mouseX, mouseY, partialTicks);
        this.renderHoveredTooltip(matrixStack, mouseX, mouseY);
    }

    @Override
    protected void drawGuiContainerBackgroundLayer(MatrixStack matrixStack, float partialTicks, int x, int y) {
        RenderSystem.color4f(1f, 1f, 1f, 1f);

        if(minecraft != null)
            this.minecraft.getTextureManager().bindTexture(GUI);

        int i = this.guiLeft;
        int j = this.guiTop;
        this.blit(matrixStack, i, j, 0, 0, this.xSize, this.ySize);

        //FireHoseBoxTile te = (FireHoseBoxTile) container.getTileEntity();

        int yPos = j + 26 + container.getData().get(0);
        this.blit(matrixStack, i + 156, yPos, 176, 0, 12, 1);
    }
}

 

 

Join the conversation

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

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

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

×   Your previous content has been restored.   Clear editor

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

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

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

×
×
  • Create New...

Important Information

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