Jump to content

[1.7.10][Solved]Custom portal wont activate.


dragon3025

Recommended Posts

I'm making a custom dimension and I it's not crashing, but the portal wont activate. It's made of sandstone and is supposed to activate by fire. Here are my codes for it:

[spoiler=TeleporterMistWoods]

package com.multiverse.blocks;


import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Random;

import net.minecraft.entity.Entity;
import net.minecraft.init.Blocks;
import net.minecraft.util.Direction;
import net.minecraft.util.LongHashMap;
import net.minecraft.util.MathHelper;
import net.minecraft.world.ChunkCoordIntPair;
import net.minecraft.world.Teleporter;
import net.minecraft.world.WorldServer;

public class TeleporterMistWoods extends Teleporter
{
private final WorldServer worldServerInstance;

/** A private Random() function in Teleporter */
private final Random random;
private final LongHashMap field_85191_c = new LongHashMap();
@SuppressWarnings("rawtypes")
private final List field_85190_d = new ArrayList();

public TeleporterMistWoods(WorldServer par1WorldServer)
{
	super(par1WorldServer);
	this.worldServerInstance = par1WorldServer;
	this.random = new Random(par1WorldServer.getSeed());
}

/**
 * Place an entity in a nearby portal, creating one if necessary.
 */
public void placeInPortal(Entity par1Entity, double par2, double par4, double par6, float par8)
{
	if (this.worldServerInstance.provider.dimensionId != 1)
	{
		if (!this.placeInExistingPortal(par1Entity, par2, par4, par6, par8))
		{
			this.makePortal(par1Entity);
			this.placeInExistingPortal(par1Entity, par2, par4, par6, par8);
		}
	}
	else
	{
		int i = MathHelper.floor_double(par1Entity.posX);
		int j = MathHelper.floor_double(par1Entity.posY) - 1;
		int k = MathHelper.floor_double(par1Entity.posZ);
		byte b0 = 1;
		byte b1 = 0;

		for (int l = -2; l <= 2; ++l)
		{
			for (int i1 = -2; i1 <= 2; ++i1)
			{
				for (int j1 = -1; j1 < 3; ++j1)
				{
					int k1 = i + i1 * b0 + l * b1;
					int l1 = j + j1;
					int i2 = k + i1 * b1 - l * b0;
					boolean flag = j1 < 0;
					this.worldServerInstance.setBlock(k1, l1, i2, flag ? Blocks.sandstone : Blocks.air);
				}
			}
		}

		par1Entity.setLocationAndAngles((double) i, (double) j, (double) k, par1Entity.rotationYaw, 0.0F);
		par1Entity.motionX = par1Entity.motionY = par1Entity.motionZ = 0.0D;
	}
}

/**
 * Place an entity in a nearby portal which already exists.
 */
@SuppressWarnings("unchecked")
public boolean placeInExistingPortal(Entity par1Entity, double par2, double par4, double par6, float par8)
{
	short short1 = 128;
	double d3 = -1.0D;
	int i = 0;
	int j = 0;
	int k = 0;
	int l = MathHelper.floor_double(par1Entity.posX);
	int i1 = MathHelper.floor_double(par1Entity.posZ);
	long j1 = ChunkCoordIntPair.chunkXZ2Int(l, i1);
	boolean flag = true;
	double d4;
	int k1;

	if (this.field_85191_c.containsItem(j1))
	{
		PortalPosition portalposition = (PortalPosition) this.field_85191_c.getValueByKey(j1);
		d3 = 0.0D;
		i = portalposition.posX;
		j = portalposition.posY;
		k = portalposition.posZ;
		portalposition.lastUpdateTime = this.worldServerInstance.getTotalWorldTime();
		flag = false;
	}
	else
	{
		for (k1 = l - short1; k1 <= l + short1; ++k1)
		{
			double d5 = (double) k1 + 0.5D - par1Entity.posX;

			for (int l1 = i1 - short1; l1 <= i1 + short1; ++l1)
			{
				double d6 = (double) l1 + 0.5D - par1Entity.posZ;

				for (int i2 = this.worldServerInstance.getActualHeight() - 1; i2 >= 0; --i2)
				{
					if (this.worldServerInstance.getBlock(k1, i2, l1) == MultiverseBlocks.MistWoodsPortalBlock)
					{
						while (this.worldServerInstance.getBlock(k1, i2 - 1, l1) == MultiverseBlocks.MistWoodsPortalBlock)
						{
							--i2;
						}

						d4 = (double) i2 + 0.5D - par1Entity.posY;
						double d7 = d5 * d5 + d4 * d4 + d6 * d6;

						if (d3 < 0.0D || d7 < d3)
						{
							d3 = d7;
							i = k1;
							j = i2;
							k = l1;
						}
					}
				}
			}
		}
	}

	if (d3 >= 0.0D)
	{
		if (flag)
		{
			this.field_85191_c.add(j1, new PortalPosition(i, j, k, this.worldServerInstance.getTotalWorldTime()));
			this.field_85190_d.add(Long.valueOf(j1));
		}

		double d8 = (double) i + 0.5D;
		double d9 = (double) j + 0.5D;
		d4 = (double) k + 0.5D;
		int j2 = -1;

		if (this.worldServerInstance.getBlock(i - 1, j, k) == MultiverseBlocks.MistWoodsPortalBlock)
		{
			j2 = 2;
		}

		if (this.worldServerInstance.getBlock(i + 1, j, k) == MultiverseBlocks.MistWoodsPortalBlock)
		{
			j2 = 0;
		}

		if (this.worldServerInstance.getBlock(i, j, k - 1) == MultiverseBlocks.MistWoodsPortalBlock)
		{
			j2 = 3;
		}

		if (this.worldServerInstance.getBlock(i, j, k + 1) == MultiverseBlocks.MistWoodsPortalBlock)
		{
			j2 = 1;
		}

		int k2 = par1Entity.getTeleportDirection();

		if (j2 > -1)
		{
			int l2 = Direction.rotateLeft[j2];
			int i3 = Direction.offsetX[j2];
			int j3 = Direction.offsetZ[j2];
			int k3 = Direction.offsetX[l2];
			int l3 = Direction.offsetZ[l2];
			boolean flag1 = !this.worldServerInstance.isAirBlock(i + i3 + k3, j, k + j3 + l3) || !this.worldServerInstance.isAirBlock(i + i3 + k3, j + 1, k + j3 + l3);
			boolean flag2 = !this.worldServerInstance.isAirBlock(i + i3, j, k + j3) || !this.worldServerInstance.isAirBlock(i + i3, j + 1, k + j3);

			if (flag1 && flag2)
			{
				j2 = Direction.rotateOpposite[j2];
				l2 = Direction.rotateOpposite[l2];
				i3 = Direction.offsetX[j2];
				j3 = Direction.offsetZ[j2];
				k3 = Direction.offsetX[l2];
				l3 = Direction.offsetZ[l2];
				k1 = i - k3;
				d8 -= (double) k3;
				int i4 = k - l3;
				d4 -= (double) l3;
				flag1 = !this.worldServerInstance.isAirBlock(k1 + i3 + k3, j, i4 + j3 + l3) || !this.worldServerInstance.isAirBlock(k1 + i3 + k3, j + 1, i4 + j3 + l3);
				flag2 = !this.worldServerInstance.isAirBlock(k1 + i3, j, i4 + j3) || !this.worldServerInstance.isAirBlock(k1 + i3, j + 1, i4 + j3);
			}

			float f1 = 0.5F;
			float f2 = 0.5F;

			if (!flag1 && flag2)
			{
				f1 = 1.0F;
			}
			else if (flag1 && !flag2)
			{
				f1 = 0.0F;
			}
			else if (flag1 && flag2)
			{
				f2 = 0.0F;
			}

			d8 += (double) ((float) k3 * f1 + f2 * (float) i3);
			d4 += (double) ((float) l3 * f1 + f2 * (float) j3);
			float f3 = 0.0F;
			float f4 = 0.0F;
			float f5 = 0.0F;
			float f6 = 0.0F;

			if (j2 == k2)
			{
				f3 = 1.0F;
				f4 = 1.0F;
			}
			else if (j2 == Direction.rotateOpposite[k2])
			{
				f3 = -1.0F;
				f4 = -1.0F;
			}
			else if (j2 == Direction.rotateRight[k2])
			{
				f5 = 1.0F;
				f6 = -1.0F;
			}
			else
			{
				f5 = -1.0F;
				f6 = 1.0F;
			}

			double d10 = par1Entity.motionX;
			double d11 = par1Entity.motionZ;
			par1Entity.motionX = d10 * (double) f3 + d11 * (double) f6;
			par1Entity.motionZ = d10 * (double) f5 + d11 * (double) f4;
			par1Entity.rotationYaw = par8 - (float) (k2 * 90) + (float) (j2 * 90);
		}
		else
		{
			par1Entity.motionX = par1Entity.motionY = par1Entity.motionZ = 0.0D;
		}

		par1Entity.setLocationAndAngles(d8, d9, d4, par1Entity.rotationYaw, par1Entity.rotationPitch);
		return true;
	}
	else
	{
		return false;
	}
}

public boolean makePortal(Entity par1Entity)
{
	byte b0 = 16;
	double d0 = -1.0D;
	int i = MathHelper.floor_double(par1Entity.posX);
	int j = MathHelper.floor_double(par1Entity.posY);
	int k = MathHelper.floor_double(par1Entity.posZ);
	int l = i;
	int i1 = j;
	int j1 = k;
	int k1 = 0;
	int l1 = this.random.nextInt(4);
	int i2;
	double d1;
	double d2;
	int j2;
	int k2;
	int l2;
	int i3;
	int j3;
	int k3;
	int l3;
	int i4;
	int j4;
	int k4;
	double d3;
	double d4;

	for (i2 = i - b0; i2 <= i + b0; ++i2)
	{
		d1 = (double) i2 + 0.5D - par1Entity.posX;

		for (j2 = k - b0; j2 <= k + b0; ++j2)
		{
			d2 = (double) j2 + 0.5D - par1Entity.posZ;
			label274:

			for (k2 = this.worldServerInstance.getActualHeight() - 1; k2 >= 0; --k2)
			{
				if (this.worldServerInstance.isAirBlock(i2, k2, j2))
				{
					while (k2 > 0 && this.worldServerInstance.isAirBlock(i2, k2 - 1, j2))
					{
						--k2;
					}

					for (i3 = l1; i3 < l1 + 4; ++i3)
					{
						l2 = i3 % 2;
						k3 = 1 - l2;

						if (i3 % 4 >= 2)
						{
							l2 = -l2;
							k3 = -k3;
						}

						for (j3 = 0; j3 < 3; ++j3)
						{
							for (i4 = 0; i4 < 4; ++i4)
							{
								for (l3 = -1; l3 < 4; ++l3)
								{
									k4 = i2 + (i4 - 1) * l2 + j3 * k3;
									j4 = k2 + l3;
									int l4 = j2 + (i4 - 1) * k3 - j3 * l2;

									if (l3 < 0 && !this.worldServerInstance.getBlock(k4, j4, l4).getMaterial().isSolid() || l3 >= 0 && !this.worldServerInstance.isAirBlock(k4, j4, l4))
									{
										continue label274;
									}
								}
							}
						}

						d4 = (double) k2 + 0.5D - par1Entity.posY;
						d3 = d1 * d1 + d4 * d4 + d2 * d2;

						if (d0 < 0.0D || d3 < d0)
						{
							d0 = d3;
							l = i2;
							i1 = k2;
							j1 = j2;
							k1 = i3 % 4;
						}
					}
				}
			}
		}
	}

	if (d0 < 0.0D)
	{
		for (i2 = i - b0; i2 <= i + b0; ++i2)
		{
			d1 = (double) i2 + 0.5D - par1Entity.posX;

			for (j2 = k - b0; j2 <= k + b0; ++j2)
			{
				d2 = (double) j2 + 0.5D - par1Entity.posZ;
				label222:

				for (k2 = this.worldServerInstance.getActualHeight() - 1; k2 >= 0; --k2)
				{
					if (this.worldServerInstance.isAirBlock(i2, k2, j2))
					{
						while (k2 > 0 && this.worldServerInstance.isAirBlock(i2, k2 - 1, j2))
						{
							--k2;
						}

						for (i3 = l1; i3 < l1 + 2; ++i3)
						{
							l2 = i3 % 2;
							k3 = 1 - l2;

							for (j3 = 0; j3 < 4; ++j3)
							{
								for (i4 = -1; i4 < 4; ++i4)
								{
									l3 = i2 + (j3 - 1) * l2;
									k4 = k2 + i4;
									j4 = j2 + (j3 - 1) * k3;

									if (i4 < 0 && !this.worldServerInstance.getBlock(l3, k4, j4).getMaterial().isSolid() || i4 >= 0 && !this.worldServerInstance.isAirBlock(l3, k4, j4))
									{
										continue label222;
									}
								}
							}

							d4 = (double) k2 + 0.5D - par1Entity.posY;
							d3 = d1 * d1 + d4 * d4 + d2 * d2;

							if (d0 < 0.0D || d3 < d0)
							{
								d0 = d3;
								l = i2;
								i1 = k2;
								j1 = j2;
								k1 = i3 % 2;
							}
						}
					}
				}
			}
		}
	}

	int i5 = l;
	int j5 = i1;
	j2 = j1;
	int k5 = k1 % 2;
	int l5 = 1 - k5;

	if (k1 % 4 >= 2)
	{
		k5 = -k5;
		l5 = -l5;
	}

	boolean flag;

	if (d0 < 0.0D)
	{
		if (i1 < 70)
		{
			i1 = 70;
		}

		if (i1 > this.worldServerInstance.getActualHeight() - 10)
		{
			i1 = this.worldServerInstance.getActualHeight() - 10;
		}

		j5 = i1;

		for (k2 = -1; k2 <= 1; ++k2)
		{
			for (i3 = 1; i3 < 3; ++i3)
			{
				for (l2 = -1; l2 < 3; ++l2)
				{
					k3 = i5 + (i3 - 1) * k5 + k2 * l5;
					j3 = j5 + l2;
					i4 = j2 + (i3 - 1) * l5 - k2 * k5;
					flag = l2 < 0;
					this.worldServerInstance.setBlock(k3, j3, i4, flag ? Blocks.sandstone : Blocks.air);
				}
			}
		}
	}

	for (k2 = 0; k2 < 4; ++k2)
	{
		for (i3 = 0; i3 < 4; ++i3)
		{
			for (l2 = -1; l2 < 4; ++l2)
			{
				k3 = i5 + (i3 - 1) * k5;
				j3 = j5 + l2;
				i4 = j2 + (i3 - 1) * l5;
				flag = i3 == 0 || i3 == 3 || l2 == -1 || l2 == 3;
				this.worldServerInstance.setBlock(k3, j3, i4, flag ? Blocks.sandstone : MultiverseBlocks.MistWoodsPortalBlock, 0, 2);
			}
		}

		for (i3 = 0; i3 < 4; ++i3)
		{
			for (l2 = -1; l2 < 4; ++l2)
			{
				k3 = i5 + (i3 - 1) * k5;
				j3 = j5 + l2;
				i4 = j2 + (i3 - 1) * l5;
				this.worldServerInstance.notifyBlocksOfNeighborChange(k3, j3, i4, this.worldServerInstance.getBlock(k3, j3, i4));
			}
		}
	}

	return true;
}

@SuppressWarnings("rawtypes")
public void func_85189_a(long par1)
{
	if (par1 % 100L == 0L)
	{
		Iterator iterator = this.field_85190_d.iterator();
		long j = par1 - 600L;

		while (iterator.hasNext())
		{
			Long olong = (Long) iterator.next();
			PortalPosition portalposition = (PortalPosition) this.field_85191_c.getValueByKey(olong.longValue());

			if (portalposition == null || portalposition.lastUpdateTime < j)
			{
				iterator.remove();
				this.field_85191_c.remove(olong.longValue());
			}
		}
	}
}
}

 

[spoiler=MistWoodsWorldProvider]

package com.multiverse.dimensions;

import net.minecraft.util.ChunkCoordinates;
import net.minecraft.world.WorldProvider;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.biome.WorldChunkManagerHell;
import net.minecraft.world.chunk.Chunk;
import net.minecraft.world.chunk.IChunkProvider;

import com.multiverse.main.MainRegistry;

public class MistWoodsWorldProvider extends WorldProvider
{
public void registerWorldChunkManager()
{
	this.worldChunkMgr = new WorldChunkManagerHell(BiomeGenBase.plains, 0.1F);
	this.dimensionId = MainRegistry.MistWoodsDimensionId;
}

@Override
public String getSaveFolder()
{
	return "DIM-G&G";
}

@Override
public String getWelcomeMessage()
{
	return "Entering The Savannah";
}

@Override
public String getDepartMessage()
{
	return "Leaving The Savannah";
}

@Override
public boolean canRespawnHere()
{
	return true;
}

@Override
public IChunkProvider createChunkGenerator()
{
	return new MistWoodsChunkProvider(worldObj, worldObj.getSeed(), true);
}

@Override
public String getDimensionName()
{
	return "Savannah";
}

/**
* Gets the hard-coded portal location to use when entering this dimension.
*/
@Override
public ChunkCoordinates getEntrancePortalLocation()
{
	return null;
}

@Override
public boolean canDoLightning(Chunk chunk)
{
	return true;
}

@Override
public boolean canDoRainSnowIce(Chunk chunk)
{
	return false;
}
}

 

[spoiler=MistWoodsChunkProvider]

package com.multiverse.dimensions;

import static net.minecraftforge.event.terraingen.InitMapGenEvent.EventType.CAVE;
import static net.minecraftforge.event.terraingen.InitMapGenEvent.EventType.MINESHAFT;
import static net.minecraftforge.event.terraingen.InitMapGenEvent.EventType.RAVINE;
import static net.minecraftforge.event.terraingen.PopulateChunkEvent.Populate.EventType.LAVA;

import java.util.List;
import java.util.Random;

import net.minecraft.block.Block;
import net.minecraft.block.BlockFalling;
import net.minecraft.entity.EnumCreatureType;
import net.minecraft.init.Blocks;
import net.minecraft.util.IProgressUpdate;
import net.minecraft.util.MathHelper;
import net.minecraft.world.ChunkPosition;
import net.minecraft.world.SpawnerAnimals;
import net.minecraft.world.World;
import net.minecraft.world.WorldType;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.chunk.Chunk;
import net.minecraft.world.chunk.IChunkProvider;
import net.minecraft.world.gen.MapGenBase;
import net.minecraft.world.gen.MapGenCaves;
import net.minecraft.world.gen.MapGenRavine;
import net.minecraft.world.gen.NoiseGenerator;
import net.minecraft.world.gen.NoiseGeneratorOctaves;
import net.minecraft.world.gen.NoiseGeneratorPerlin;
import net.minecraft.world.gen.structure.MapGenMineshaft;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.event.terraingen.ChunkProviderEvent;
import net.minecraftforge.event.terraingen.PopulateChunkEvent;
import net.minecraftforge.event.terraingen.TerrainGen;
import cpw.mods.fml.common.eventhandler.Event.Result;

public class MistWoodsChunkProvider implements IChunkProvider
{
    /**
     * RNG.
     */
    private Random rand;
    private NoiseGeneratorOctaves field_147431_j;
    private NoiseGeneratorOctaves field_147432_k;
    private NoiseGeneratorOctaves field_147429_l;
    private NoiseGeneratorPerlin field_147430_m;
    /**
     * A NoiseGeneratorOctaves used in generating terrain
     */
    public NoiseGeneratorOctaves noiseGen5;
    /**
     * A NoiseGeneratorOctaves used in generating terrain
     */
    public NoiseGeneratorOctaves noiseGen6;
    public NoiseGeneratorOctaves mobSpawnerNoise;
    /**
     * Reference to the World object.
     */
    private World worldObj;
    /**
     * are map structures going to be generated (e.g. strongholds)
     */
    private final boolean mapFeaturesEnabled;
    private WorldType field_147435_p;
    private final double[] field_147434_q;
    private final float[] parabolicField;
    private double[] stoneNoise = new double[256];
    private MapGenBase caveGenerator = new MapGenCaves();
    private MapGenMineshaft mineshaftGenerator = new MapGenMineshaft();
private MapGenBase ravineGenerator = new MapGenRavine();
    /**
     * The biomes that are used to generate the chunk
     */
    private BiomeGenBase[] biomesForGeneration;
    double[] field_147427_d;
    double[] field_147428_e;
    double[] field_147425_f;
    double[] field_147426_g;
    int[][] field_73219_j = new int[32][32];

    {
        caveGenerator = TerrainGen.getModdedMapGen(caveGenerator, CAVE);
        mineshaftGenerator = (MapGenMineshaft) TerrainGen.getModdedMapGen(mineshaftGenerator, MINESHAFT);
        ravineGenerator = TerrainGen.getModdedMapGen(ravineGenerator, RAVINE);
    }    

    public MistWoodsChunkProvider(World par1World, long par2, boolean par4)
    {
        this.worldObj = par1World;
        this.mapFeaturesEnabled = par4;
        this.field_147435_p = par1World.getWorldInfo().getTerrainType();
        this.rand = new Random(par2);
        this.field_147431_j = new NoiseGeneratorOctaves(this.rand, 16);
        this.field_147432_k = new NoiseGeneratorOctaves(this.rand, 16);
        this.field_147429_l = new NoiseGeneratorOctaves(this.rand, ;
        this.field_147430_m = new NoiseGeneratorPerlin(this.rand, 4);
        this.noiseGen5 = new NoiseGeneratorOctaves(this.rand, ;
        this.noiseGen6 = new NoiseGeneratorOctaves(this.rand, 16);
        this.mobSpawnerNoise = new NoiseGeneratorOctaves(this.rand, ;
        this.field_147434_q = new double[825];
        this.parabolicField = new float[25];

        for (int j = -2; j <= 2; ++j)
        {
            for (int k = -2; k <= 2; ++k)
            {
                float f = 10.0F / MathHelper.sqrt_float((float)(j * j + k * k) + 0.2F);
                this.parabolicField[j + 2 + (k + 2) * 5] = f;
            }
        }

        NoiseGenerator[] noiseGens = {field_147431_j, field_147432_k, field_147429_l, field_147430_m, noiseGen5, noiseGen6, mobSpawnerNoise};
        noiseGens = TerrainGen.getModdedNoiseGenerators(par1World, this.rand, noiseGens);
        this.field_147431_j = (NoiseGeneratorOctaves)noiseGens[0];
        this.field_147432_k = (NoiseGeneratorOctaves)noiseGens[1];
        this.field_147429_l = (NoiseGeneratorOctaves)noiseGens[2];
        this.field_147430_m = (NoiseGeneratorPerlin)noiseGens[3];
        this.noiseGen5 = (NoiseGeneratorOctaves)noiseGens[4];
        this.noiseGen6 = (NoiseGeneratorOctaves)noiseGens[5];
        this.mobSpawnerNoise = (NoiseGeneratorOctaves)noiseGens[6];
    }

    public void generateTerrain(int par1, int par2, Block[] blocks)
    {
        byte b0 = 63;
        this.biomesForGeneration = this.worldObj.getWorldChunkManager().getBiomesForGeneration(this.biomesForGeneration, par1 * 4 - 2, par2 * 4 - 2, 10, 10);
        this.func_147423_a(par1 * 4, 0, par2 * 4);

        for (int k = 0; k < 4; ++k)
        {
            int l = k * 5;
            int i1 = (k + 1) * 5;

            for (int j1 = 0; j1 < 4; ++j1)
            {
                int k1 = (l + j1) * 33;
                int l1 = (l + j1 + 1) * 33;
                int i2 = (i1 + j1) * 33;
                int j2 = (i1 + j1 + 1) * 33;

                for (int k2 = 0; k2 < 32; ++k2)
                {
                    double d0 = 0.125D;
                    double d1 = this.field_147434_q[k1 + k2];
                    double d2 = this.field_147434_q[l1 + k2];
                    double d3 = this.field_147434_q[i2 + k2];
                    double d4 = this.field_147434_q[j2 + k2];
                    double d5 = (this.field_147434_q[k1 + k2 + 1] - d1) * d0;
                    double d6 = (this.field_147434_q[l1 + k2 + 1] - d2) * d0;
                    double d7 = (this.field_147434_q[i2 + k2 + 1] - d3) * d0;
                    double d8 = (this.field_147434_q[j2 + k2 + 1] - d4) * d0;

                    for (int l2 = 0; l2 < 8; ++l2)
                    {
                        double d9 = 0.25D;
                        double d10 = d1;
                        double d11 = d2;
                        double d12 = (d3 - d1) * d9;
                        double d13 = (d4 - d2) * d9;

                        for (int i3 = 0; i3 < 4; ++i3)
                        {
                            int j3 = i3 + k * 4 << 12 | 0 + j1 * 4 << 8 | k2 * 8 + l2;
                            short short1 = 256;
                            j3 -= short1;
                            double d14 = 0.25D;
                            double d16 = (d11 - d10) * d14;
                            double d15 = d10 - d16;

                            for (int k3 = 0; k3 < 4; ++k3)
                            {
                            	if ((d15 += d16) > 0.0D)
							{
								blocks[j3 += short1] = Blocks.sandstone;
							}
							else if (k2 * 8 + l2 < b0)
							{
								blocks[j3 += short1] = Blocks.sandstone;
							}
							else
							{
								blocks[j3 += short1] = Blocks.air;
							}

                            }

                            d10 += d12;
                            d11 += d13;
                        }

                        d1 += d5;
                        d2 += d6;
                        d3 += d7;
                        d4 += d8;
                    }
                }
            }
        }
    }

    public void replaceBlocksForBiome(int p_147422_1_, int p_147422_2_, Block[] p_147422_3_, byte[] p_147422_4_, BiomeGenBase[] p_147422_5_)
    {
        ChunkProviderEvent.ReplaceBiomeBlocks event = new ChunkProviderEvent.ReplaceBiomeBlocks(this, p_147422_1_, p_147422_2_, p_147422_3_, p_147422_5_);
        MinecraftForge.EVENT_BUS.post(event);
        if (event.getResult() == Result.DENY) return;

        double d0 = 0.03125D;
        this.stoneNoise = this.field_147430_m.func_151599_a(this.stoneNoise, (double)(p_147422_1_ * 16), (double)(p_147422_2_ * 16), 16, 16, d0 * 2.0D, d0 * 2.0D, 1.0D);

        for (int k = 0; k < 16; ++k)
        {
            for (int l = 0; l < 16; ++l)
            {
                BiomeGenBase biomegenbase = p_147422_5_[l + k * 16];
                biomegenbase.genTerrainBlocks(this.worldObj, this.rand, p_147422_3_, p_147422_4_, p_147422_1_ * 16 + k, p_147422_2_ * 16 + l, this.stoneNoise[l + k * 16]);
            }
        }
    }

    /**
     * loads or generates the chunk at the chunk location specified
     */
    public Chunk loadChunk(int par1, int par2)
    {
        return this.provideChunk(par1, par2);
    }

    /**
     * Will return back a chunk, if it doesn't exist and its not a MP client it will generates all the blocks for the
     * specified chunk from the map seed and chunk seed
     */
    public Chunk provideChunk(int par1, int par2)
    {
        this.rand.setSeed((long)par1 * 341873128712L + (long)par2 * 132897987541L);
        Block[] ablock = new Block[65536];
        byte[] abyte = new byte[65536];
        this.generateTerrain(par1, par2, ablock);
        this.biomesForGeneration = this.worldObj.getWorldChunkManager().loadBlockGeneratorData(this.biomesForGeneration, par1 * 16, par2 * 16, 16, 16);
        this.replaceBlocksForBiome(par1, par2, ablock, abyte, this.biomesForGeneration);
        this.caveGenerator.func_151539_a(this, this.worldObj, par1, par2, ablock);
        this.ravineGenerator.func_151539_a(this, this.worldObj, par1, par2, ablock);

        if (this.mapFeaturesEnabled)
        {
            this.mineshaftGenerator.func_151539_a(this, this.worldObj, par1, par2, ablock);
        }

        Chunk chunk = new Chunk(this.worldObj, ablock, abyte, par1, par2);
        byte[] abyte1 = chunk.getBiomeArray();

        for (int k = 0; k < abyte1.length; ++k)
        {
            abyte1[k] = (byte)this.biomesForGeneration[k].biomeID;
        }

        chunk.generateSkylightMap();
        return chunk;
    }

    private void func_147423_a(int p_147423_1_, int p_147423_2_, int p_147423_3_)
    {
        this.field_147426_g = this.noiseGen6.generateNoiseOctaves(this.field_147426_g, p_147423_1_, p_147423_3_, 5, 5, 200.0D, 200.0D, 0.5D);
        this.field_147427_d = this.field_147429_l.generateNoiseOctaves(this.field_147427_d, p_147423_1_, p_147423_2_, p_147423_3_, 5, 33, 5, 8.555150000000001D, 4.277575000000001D, 8.555150000000001D);
        this.field_147428_e = this.field_147431_j.generateNoiseOctaves(this.field_147428_e, p_147423_1_, p_147423_2_, p_147423_3_, 5, 33, 5, 684.412D, 684.412D, 684.412D);
        this.field_147425_f = this.field_147432_k.generateNoiseOctaves(this.field_147425_f, p_147423_1_, p_147423_2_, p_147423_3_, 5, 33, 5, 684.412D, 684.412D, 684.412D);
        int l = 0;
        int i1 = 0;

        for (int j1 = 0; j1 < 5; ++j1)
        {
            for (int k1 = 0; k1 < 5; ++k1)
            {
                float f = 0.0F;
                float f1 = 0.0F;
                float f2 = 0.0F;
                byte b0 = 2;
                BiomeGenBase biomegenbase = this.biomesForGeneration[j1 + 2 + (k1 + 2) * 10];

                for (int l1 = -b0; l1 <= b0; ++l1)
                {
                    for (int i2 = -b0; i2 <= b0; ++i2)
                    {
                        BiomeGenBase biomegenbase1 = this.biomesForGeneration[j1 + l1 + 2 + (k1 + i2 + 2) * 10];
                        float f3 = biomegenbase1.rootHeight;
                        float f4 = biomegenbase1.heightVariation;

                        if (this.field_147435_p == WorldType.AMPLIFIED && f3 > 0.0F)
                        {
                            f3 = 1.0F + f3 * 2.0F;
                            f4 = 1.0F + f4 * 4.0F;
                        }

                        float f5 = this.parabolicField[l1 + 2 + (i2 + 2) * 5] / (f3 + 2.0F);

                        if (biomegenbase1.rootHeight > biomegenbase.rootHeight)
                        {
                            f5 /= 2.0F;
                        }

                        f += f4 * f5;
                        f1 += f3 * f5;
                        f2 += f5;
                    }
                }

                f /= f2;
                f1 /= f2;
                f = f * 0.9F + 0.1F;
                f1 = (f1 * 4.0F - 1.0F) / 8.0F;
                double d13 = this.field_147426_g[i1] / 8000.0D;

                if (d13 < 0.0D)
                {
                    d13 = -d13 * 0.3D;
                }

                d13 = d13 * 3.0D - 2.0D;

                if (d13 < 0.0D)
                {
                    d13 /= 2.0D;

                    if (d13 < -1.0D)
                    {
                        d13 = -1.0D;
                    }

                    d13 /= 1.4D;
                    d13 /= 2.0D;
                }
                else
                {
                    if (d13 > 1.0D)
                    {
                        d13 = 1.0D;
                    }

                    d13 /= 8.0D;
                }

                ++i1;
                double d12 = (double)f1;
                double d14 = (double)f;
                d12 += d13 * 0.2D;
                d12 = d12 * 8.5D / 8.0D;
                double d5 = 8.5D + d12 * 4.0D;

                for (int j2 = 0; j2 < 33; ++j2)
                {
                    double d6 = ((double)j2 - d5) * 12.0D * 128.0D / 256.0D / d14;

                    if (d6 < 0.0D)
                    {
                        d6 *= 4.0D;
                    }

                    double d7 = this.field_147428_e[l] / 250.0D;
                    double d8 = this.field_147425_f[l] / 152.0D;
                    double d9 = (this.field_147427_d[l] / 10.0D + 1.0D) / 2.0D;
                    double d10 = MathHelper.denormalizeClamp(d7, d8, d9) - d6;

                    if (j2 > 29)
                    {
                        double d11 = (double)((float)(j2 - 29) / 3.0F);
                        d10 = d10 * (1.0D - d11) + -10.0D * d11;
                    }

                    this.field_147434_q[l] = d10;
                    ++l;
                }
            }
        }
    }

    /**
     * Checks to see if a chunk exists at x, y
     */
    public boolean chunkExists(int par1, int par2)
    {
        return true;
    }

    /**
     * Two modes of operation: if passed true, save all Chunks in one go.  If passed false, save up to two chunks.
     * Return true if all chunks have been saved.
     */
    public boolean saveChunks(boolean par1, IProgressUpdate par2IProgressUpdate)
    {
        return true;
    }

    /**
     * Save extra data not associated with any Chunk.  Not saved during autosave, only during world unload.  Currently
     * unimplemented.
     */
    public void saveExtraData() {}

    /**
     * Unloads chunks that are marked to be unloaded. This is not guaranteed to unload every such chunk.
     */
    public boolean unloadQueuedChunks()
    {
        return false;
    }

    /**
     * Returns if the IChunkProvider supports saving.
     */
    public boolean canSave()
    {
        return true;
    }

    /**
     * Converts the instance data to a readable string.
     */
    public String makeString()
    {
        return "RandomLevelSource";
    }

    /**
     * Returns a list of creatures of the specified type that can spawn at the given location.
     */
@SuppressWarnings("rawtypes")
public List getPossibleCreatures(EnumCreatureType par1EnumCreatureType, int par2, int par3, int par4)
{
	BiomeGenBase var5 = this.worldObj.getBiomeGenForCoords(par2, par4);
	return var5.getSpawnableList(par1EnumCreatureType);
}

    public ChunkPosition func_147416_a(World p_147416_1_, String p_147416_2_, int p_147416_3_, int p_147416_4_, int p_147416_5_)
    {
    	return null;
    }

    public int getLoadedChunkCount()
    {
        return 0;
    }

    public void recreateStructures(int par1, int par2)
    {
        if (this.mapFeaturesEnabled)
        {
            this.mineshaftGenerator.func_151539_a(this, this.worldObj, par1, par2, (Block[])null);
        }
    }

@Override
public void populate(IChunkProvider p_73153_1_, int p_73153_2_,
		int p_73153_3_) {
	// TODO Auto-generated method stub

}
}

 

[spoiler=MistWoodsPortalBlock]

package com.multiverse.blocks;

import java.util.Random;

import com.multiverse.lib.Strings;
import com.multiverse.main.MainRegistry;

import net.minecraft.block.Block;
import net.minecraft.block.BlockPortal;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.init.Blocks;
import net.minecraft.server.MinecraftServer;
import net.minecraft.world.World;

public class MistWoodsPortalBlock extends BlockPortal
{

@Override
public void registerBlockIcons(IIconRegister par1IconRegister)
{
	this.blockIcon = par1IconRegister.registerIcon(Strings.MODID + ":MistWoodsPortal");
}

@Override
public void updateTick(World par1World, int par2, int par3, int par4, Random par5Random)
{

}

@Override
public void onEntityCollidedWithBlock(World par1World, int par2, int par3, int par4, Entity par5Entity)
{
	if ((par5Entity.ridingEntity == null) && (par5Entity.riddenByEntity == null) && ((par5Entity instanceof EntityPlayerMP)))
	{
		EntityPlayerMP player = (EntityPlayerMP) par5Entity;

		MinecraftServer mServer = MinecraftServer.getServer();

		if (player.timeUntilPortal > 0)
		{
			player.timeUntilPortal = 10;
		}
		else if (player.dimension != MainRegistry.MistWoodsDimensionId)
		{
			player.timeUntilPortal = 10;

			player.mcServer.getConfigurationManager().transferPlayerToDimension(player, MainRegistry.MistWoodsDimensionId, new TeleporterMistWoods(mServer.worldServerForDimension(MainRegistry.MistWoodsDimensionId)));
		}
		else
		{
			player.timeUntilPortal = 10;
			player.mcServer.getConfigurationManager().transferPlayerToDimension(player, 0, new TeleporterMistWoods(mServer.worldServerForDimension(1)));
		}
	}
}

@Override
public boolean func_150000_e(World par1World, int par2, int par3, int par4)
{
	byte var5 = 0;
	byte var6 = 0;

	if (par1World.getBlock(par2 - 1, par3, par4) == Blocks.sandstone || par1World.getBlock(par2 + 1, par3, par4) == Blocks.sandstone)
	{
		var5 = 1;
	}

	if (par1World.getBlock(par2, par3, par4 - 1) == Blocks.sandstone || par1World.getBlock(par2, par3, par4 + 1) == Blocks.sandstone)
	{
		var6 = 1;
	}

	if (var5 == var6)
	{
		return false;
	}
	else
	{
		if (par1World.getBlock(par2 - var5, par3, par4 - var6) == Blocks.air)
		{
			par2 -= var5;
			par4 -= var6;
		}

		int var7;
		int var8;

		for (var7 = -1; var7 <= 2; ++var7)
		{
			for (var8 = -1; var8 <= 3; ++var8)
			{
				boolean var9 = var7 == -1 || var7 == 2 || var8 == -1 || var8 == 3;

				if (var7 != -1 && var7 != 2 || var8 != -1 && var8 != 3)
				{
					Block var10 = par1World.getBlock(par2 + var5 * var7, par3 + var8, par4 + var6 * var7);

					if (var9)
					{
						if (var10 != Blocks.sandstone)
						{
							return false;
						}
					}
					else if (var10 != Blocks.air && var10 != Blocks.fire)
					{
						return false;
					}
				}
			}
		}

		for (var7 = 0; var7 < 2; ++var7)
		{
			for (var8 = 0; var8 < 3; ++var8)
			{
				par1World.setBlock(par2 + var5 * var7, par3 + var8, par4 + var6 * var7, this, 0, 2);
			}
		}

		return true;
	}
}

@Override
public void onNeighborBlockChange(World par1World, int par2, int par3, int par4, Block par5)
{

}

@Override
public int quantityDropped(Random p_149745_1_)
{
	return 0;
}
}

 

[spoiler=BiomeGenSavannah]

package com.multiverse.dimensions;

import java.util.Random;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.init.Blocks;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;

public class BiomeGenSavannah extends BiomeGenBase
{
    public BiomeGenSavannah(int par1)
    {
        super(par1);
        this.spawnableCreatureList.clear();
        this.topBlock = Blocks.sand;
        this.fillerBlock = Blocks.sand;
        this.spawnableCreatureList.clear();
        this.spawnableMonsterList.clear();
        this.spawnableWaterCreatureList.clear();

        this.theBiomeDecorator.cactiPerChunk = 0;
        this.theBiomeDecorator.deadBushPerChunk = 3;
    }
    
    @Override
    public void genTerrainBlocks(World p_150573_1_, Random p_150573_2_, Block[] p_150573_3_, byte[] p_150573_4_, int p_150573_5_, int p_150573_6_, double p_150573_7_)
    {
        Block block = this.topBlock;
        byte b0 = (byte)(this.field_150604_aj & 255);
        Block block1 = this.fillerBlock;
        int k = -1;
        int l = (int)(p_150573_7_ / 3.0D + 3.0D + p_150573_2_.nextDouble() * 0.25D);
        int i1 = p_150573_5_ & 15;
        int j1 = p_150573_6_ & 15;
        int k1 = p_150573_3_.length / 256;

        for (int l1 = 255; l1 >= 0; --l1)
        {
            int i2 = (j1 * 16 + i1) * k1 + l1;

            if (l1 <= 0 + p_150573_2_.nextInt(5))
            {
                p_150573_3_[i2] = Blocks.bedrock;
            }
            else
            {
                Block block2 = p_150573_3_[i2];

                if (block2 != null && block2.getMaterial() != Material.air)
                {
                    if (block2 == Blocks.sandstone)
                    {
                        if (k == -1)
                        {
                            if (l <= 0)
                            {
                                block = null;
                                b0 = 0;
                                block1 = Blocks.stone;
                            }
                            else if (l1 >= 59 && l1 <= 64)
                            {
                                block = this.topBlock;
                                b0 = (byte)(this.field_150604_aj & 255);
                                block1 = this.fillerBlock;
                            }

                            if (l1 < 63 && (block == null || block.getMaterial() == Material.air))
                            {
                                if (this.getFloatTemperature(p_150573_5_, l1, p_150573_6_) < 0.15F)
                                {
                                    block = Blocks.ice;
                                    b0 = 0;
                                }
                                else
                                {
                                    block = Blocks.water;
                                    b0 = 0;
                                }
                            }

                            k = l;

                            if (l1 >= 62)
                            {
                                p_150573_3_[i2] = block;
                                p_150573_4_[i2] = b0;
                            }
                            else if (l1 < 56 - l)
                            {
                                block = null;
                                block1 = Blocks.stone;
                                p_150573_3_[i2] = Blocks.gravel;
                            }
                            else
                            {
                                p_150573_3_[i2] = block1;
                            }
                        }
                        else if (k > 0)
                        {
                            --k;
                            p_150573_3_[i2] = block1;

                            if (k == 0 && block1 == Blocks.sand)
                            {
                                k = p_150573_2_.nextInt(4) + Math.max(0, l1 - 63);
                                block1 = Blocks.sandstone;
                            }
                        }
                    }
                }
                else
                {
                    k = -1;
                }
            }
        }
    }
}

 

Link to comment
Share on other sites

Lighting a portal with vannila blocks can be hard as u can't edit the BlockFire class. But anyway, what u need to do is in the block class ur trying to light it with u need to add a method onBlockAdded (I think that's what it's called) and copy the code in it from BlockFire. Then change Blocks.portal into (BlockPortal)MainModClass.yourPortalBlock. I will provide some code in a bit cause I'm not on my computer.

Link to comment
Share on other sites

Lighting a portal with vannila blocks can be hard as u can't edit the BlockFire class. But anyway, what u need to do is in the block class ur trying to light it with u need to add a method onBlockAdded (I think that's what it's called) and copy the code in it from BlockFire. Then change Blocks.portal into (BlockPortal)MainModClass.yourPortalBlock. I will provide some code in a bit cause I'm not on my computer.

I was actually following an example on GitHub "Goblins and Giants", I ended up watching a video because I couldn't figure out how the portal activated and realized it was an item, so I looked at the name in the video and saw how it was done, so I created an item for it and it worked, this is the item's code:

 

package com.multiverse.items;

import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;

import com.multiverse.blocks.MultiverseBlocks;
import com.multiverse.lib.Strings;

import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;

public class MistWoodsPortalPlacer extends Item
{

public MistWoodsPortalPlacer(){
	super();
	this.setMaxStackSize(64);
}

@SideOnly(Side.CLIENT)
@Override
    public void registerIcons(IIconRegister par1IconRegister)
    {
        this.itemIcon = par1IconRegister.registerIcon(Strings.MODID + ":MistWoodsPortalPlacer");
    }

@Override
public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
    {
	if(!par2World.isRemote)
	{
		par2World.setBlock((int) par3EntityPlayer.posX, (int) par3EntityPlayer.posY, (int) par3EntityPlayer.posZ, Blocks.sandstone);
		par2World.setBlock((int) par3EntityPlayer.posX, (int) par3EntityPlayer.posY + 1, (int) par3EntityPlayer.posZ, Blocks.sandstone);
		par2World.setBlock((int) par3EntityPlayer.posX, (int) par3EntityPlayer.posY + 2, (int) par3EntityPlayer.posZ, Blocks.sandstone);
		par2World.setBlock((int) par3EntityPlayer.posX, (int) par3EntityPlayer.posY + 3, (int) par3EntityPlayer.posZ, Blocks.sandstone);
		par2World.setBlock((int) par3EntityPlayer.posX, (int) par3EntityPlayer.posY + 4, (int) par3EntityPlayer.posZ, Blocks.sandstone);
		par2World.setBlock((int) par3EntityPlayer.posX + 1, (int) par3EntityPlayer.posY + 4, (int) par3EntityPlayer.posZ, Blocks.sandstone);
		par2World.setBlock((int) par3EntityPlayer.posX + 1, (int) par3EntityPlayer.posY, (int) par3EntityPlayer.posZ, Blocks.sandstone);
		par2World.setBlock((int) par3EntityPlayer.posX + 2, (int) par3EntityPlayer.posY + 4, (int) par3EntityPlayer.posZ, Blocks.sandstone);
		par2World.setBlock((int) par3EntityPlayer.posX + 2, (int) par3EntityPlayer.posY, (int) par3EntityPlayer.posZ, Blocks.sandstone);
		par2World.setBlock((int) par3EntityPlayer.posX + 3, (int) par3EntityPlayer.posY, (int) par3EntityPlayer.posZ, Blocks.sandstone);
		par2World.setBlock((int) par3EntityPlayer.posX + 3, (int) par3EntityPlayer.posY + 1, (int) par3EntityPlayer.posZ, Blocks.sandstone);
		par2World.setBlock((int) par3EntityPlayer.posX + 3, (int) par3EntityPlayer.posY + 2, (int) par3EntityPlayer.posZ, Blocks.sandstone);
		par2World.setBlock((int) par3EntityPlayer.posX + 3, (int) par3EntityPlayer.posY + 3, (int) par3EntityPlayer.posZ, Blocks.sandstone);
		par2World.setBlock((int) par3EntityPlayer.posX + 3, (int) par3EntityPlayer.posY + 4, (int) par3EntityPlayer.posZ, Blocks.sandstone);

		par2World.setBlock((int) par3EntityPlayer.posX + 1, (int) par3EntityPlayer.posY + 1, (int) par3EntityPlayer.posZ, MultiverseBlocks.MistWoodsPortalBlock);
		par2World.setBlock((int) par3EntityPlayer.posX + 1, (int) par3EntityPlayer.posY + 2, (int) par3EntityPlayer.posZ, MultiverseBlocks.MistWoodsPortalBlock);
		par2World.setBlock((int) par3EntityPlayer.posX + 1, (int) par3EntityPlayer.posY + 3, (int) par3EntityPlayer.posZ, MultiverseBlocks.MistWoodsPortalBlock);
		par2World.setBlock((int) par3EntityPlayer.posX + 2, (int) par3EntityPlayer.posY + 1, (int) par3EntityPlayer.posZ, MultiverseBlocks.MistWoodsPortalBlock);
		par2World.setBlock((int) par3EntityPlayer.posX + 2, (int) par3EntityPlayer.posY + 2, (int) par3EntityPlayer.posZ, MultiverseBlocks.MistWoodsPortalBlock);
		par2World.setBlock((int) par3EntityPlayer.posX + 2, (int) par3EntityPlayer.posY + 3, (int) par3EntityPlayer.posZ, MultiverseBlocks.MistWoodsPortalBlock);

		par1ItemStack.stackSize--;
	}

	return par1ItemStack;
    }
}

My only problem is the portal isn't spawning where the frame is built, but a block away from it, sometimes perpendicular to the portal. I'm guessing I have to look at the code that spawns the blocks. Thanks for helping me.

 

EDIT: Okay, so apparently the item spawns the portal, you don't need to build a frame.

 

EDIT: I don't like the way this item method, it's less controllable, so could you still post a code for a block that activates the portal. I tried making a block based off of flame block, adding the method you said, and making the changes, but it didn't activate the portal, so maybe I'm missing something.

 

Also my protal frame texture isn't loading, I have this in my portal block:

	@Override
public void registerBlockIcons(IIconRegister par1IconRegister)
{
	this.blockIcon = par1IconRegister.registerIcon(Strings.MODID + ":MistWoodsPortal");
}

and in my textures/blocks folder I have the texture image for it and a metadata file with the same name that has:

{
  "animation": {}
}

Link to comment
Share on other sites

Ah that's easy to fix!

In the items code you will see there is a lot of lines of code than determine the x, y, and z pos. read them carefully and change the y pos of all the blocks to where u want it :)

I tried that, but I wanted it to be in front of the player so I used this:

 

@Override
public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
    {
	if(!par2World.isRemote)
	{
		if (par3EntityPlayer.cameraYaw > -45 && par3EntityPlayer.cameraYaw < 45){
			par2World.setBlock((int) par3EntityPlayer.posX, (int) par3EntityPlayer.posY, (int) par3EntityPlayer.posZ+2, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX, (int) par3EntityPlayer.posY + 1, (int) par3EntityPlayer.posZ+2, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX, (int) par3EntityPlayer.posY + 2, (int) par3EntityPlayer.posZ+2, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX, (int) par3EntityPlayer.posY + 3, (int) par3EntityPlayer.posZ+2, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX, (int) par3EntityPlayer.posY + 4, (int) par3EntityPlayer.posZ+2, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX + 1, (int) par3EntityPlayer.posY + 4, (int) par3EntityPlayer.posZ+2, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX + 1, (int) par3EntityPlayer.posY, (int) par3EntityPlayer.posZ+2, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX + 2, (int) par3EntityPlayer.posY + 4, (int) par3EntityPlayer.posZ+2, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX + 2, (int) par3EntityPlayer.posY, (int) par3EntityPlayer.posZ+2, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX + 3, (int) par3EntityPlayer.posY, (int) par3EntityPlayer.posZ+2, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX + 3, (int) par3EntityPlayer.posY + 1, (int) par3EntityPlayer.posZ+2, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX + 3, (int) par3EntityPlayer.posY + 2, (int) par3EntityPlayer.posZ+2, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX + 3, (int) par3EntityPlayer.posY + 3, (int) par3EntityPlayer.posZ+2, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX + 3, (int) par3EntityPlayer.posY + 4, (int) par3EntityPlayer.posZ+2, Blocks.sandstone);

			par2World.setBlock((int) par3EntityPlayer.posX + 1, (int) par3EntityPlayer.posY + 1, (int) par3EntityPlayer.posZ+2, MultiverseBlocks.MistWoodsPortalBlock);
			par2World.setBlock((int) par3EntityPlayer.posX + 1, (int) par3EntityPlayer.posY + 2, (int) par3EntityPlayer.posZ+2, MultiverseBlocks.MistWoodsPortalBlock);
			par2World.setBlock((int) par3EntityPlayer.posX + 1, (int) par3EntityPlayer.posY + 3, (int) par3EntityPlayer.posZ+2, MultiverseBlocks.MistWoodsPortalBlock);
			par2World.setBlock((int) par3EntityPlayer.posX + 2, (int) par3EntityPlayer.posY + 1, (int) par3EntityPlayer.posZ+2, MultiverseBlocks.MistWoodsPortalBlock);
			par2World.setBlock((int) par3EntityPlayer.posX + 2, (int) par3EntityPlayer.posY + 2, (int) par3EntityPlayer.posZ+2, MultiverseBlocks.MistWoodsPortalBlock);
			par2World.setBlock((int) par3EntityPlayer.posX + 2, (int) par3EntityPlayer.posY + 3, (int) par3EntityPlayer.posZ+2, MultiverseBlocks.MistWoodsPortalBlock);
		}
		else if (par3EntityPlayer.cameraYaw > 145 && par3EntityPlayer.cameraYaw < -145){
			par2World.setBlock((int) par3EntityPlayer.posX, (int) par3EntityPlayer.posY, (int) par3EntityPlayer.posZ-2, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX, (int) par3EntityPlayer.posY + 1, (int) par3EntityPlayer.posZ-2, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX, (int) par3EntityPlayer.posY + 2, (int) par3EntityPlayer.posZ-2, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX, (int) par3EntityPlayer.posY + 3, (int) par3EntityPlayer.posZ-2, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX, (int) par3EntityPlayer.posY + 4, (int) par3EntityPlayer.posZ-2, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX + 1, (int) par3EntityPlayer.posY + 4, (int) par3EntityPlayer.posZ-2, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX + 1, (int) par3EntityPlayer.posY, (int) par3EntityPlayer.posZ-2, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX + 2, (int) par3EntityPlayer.posY + 4, (int) par3EntityPlayer.posZ-2, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX + 2, (int) par3EntityPlayer.posY, (int) par3EntityPlayer.posZ-2, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX + 3, (int) par3EntityPlayer.posY, (int) par3EntityPlayer.posZ-2, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX + 3, (int) par3EntityPlayer.posY + 1, (int) par3EntityPlayer.posZ-2, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX + 3, (int) par3EntityPlayer.posY + 2, (int) par3EntityPlayer.posZ-2, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX + 3, (int) par3EntityPlayer.posY + 3, (int) par3EntityPlayer.posZ-2, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX + 3, (int) par3EntityPlayer.posY + 4, (int) par3EntityPlayer.posZ-2, Blocks.sandstone);

			par2World.setBlock((int) par3EntityPlayer.posX + 1, (int) par3EntityPlayer.posY + 1, (int) par3EntityPlayer.posZ-2, MultiverseBlocks.MistWoodsPortalBlock);
			par2World.setBlock((int) par3EntityPlayer.posX + 1, (int) par3EntityPlayer.posY + 2, (int) par3EntityPlayer.posZ-2, MultiverseBlocks.MistWoodsPortalBlock);
			par2World.setBlock((int) par3EntityPlayer.posX + 1, (int) par3EntityPlayer.posY + 3, (int) par3EntityPlayer.posZ-2, MultiverseBlocks.MistWoodsPortalBlock);
			par2World.setBlock((int) par3EntityPlayer.posX + 2, (int) par3EntityPlayer.posY + 1, (int) par3EntityPlayer.posZ-2, MultiverseBlocks.MistWoodsPortalBlock);
			par2World.setBlock((int) par3EntityPlayer.posX + 2, (int) par3EntityPlayer.posY + 2, (int) par3EntityPlayer.posZ-2, MultiverseBlocks.MistWoodsPortalBlock);
			par2World.setBlock((int) par3EntityPlayer.posX + 2, (int) par3EntityPlayer.posY + 3, (int) par3EntityPlayer.posZ-2, MultiverseBlocks.MistWoodsPortalBlock);
		}
		else if (par3EntityPlayer.cameraYaw > -145 && par3EntityPlayer.cameraYaw < -45){
			par2World.setBlock((int) par3EntityPlayer.posX+2, (int) par3EntityPlayer.posY, (int) par3EntityPlayer.posZ, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX+2, (int) par3EntityPlayer.posY + 1, (int) par3EntityPlayer.posZ, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX+2, (int) par3EntityPlayer.posY + 2, (int) par3EntityPlayer.posZ, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX+2, (int) par3EntityPlayer.posY + 3, (int) par3EntityPlayer.posZ, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX+2, (int) par3EntityPlayer.posY + 4, (int) par3EntityPlayer.posZ, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX+2, (int) par3EntityPlayer.posY + 4, (int) par3EntityPlayer.posZ+1, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX+2, (int) par3EntityPlayer.posY, (int) par3EntityPlayer.posZ+1, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX+2, (int) par3EntityPlayer.posY + 4, (int) par3EntityPlayer.posZ+2, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX+2, (int) par3EntityPlayer.posY, (int) par3EntityPlayer.posZ+2, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX+2, (int) par3EntityPlayer.posY, (int) par3EntityPlayer.posZ+3, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX+2, (int) par3EntityPlayer.posY + 1, (int) par3EntityPlayer.posZ+3, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX+2, (int) par3EntityPlayer.posY + 2, (int) par3EntityPlayer.posZ+3, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX+2, (int) par3EntityPlayer.posY + 3, (int) par3EntityPlayer.posZ+3, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX+2, (int) par3EntityPlayer.posY + 4, (int) par3EntityPlayer.posZ+3, Blocks.sandstone);

			par2World.setBlock((int) par3EntityPlayer.posX+2, (int) par3EntityPlayer.posY + 1, (int) par3EntityPlayer.posZ+1, MultiverseBlocks.MistWoodsPortalBlock);
			par2World.setBlock((int) par3EntityPlayer.posX+2, (int) par3EntityPlayer.posY + 2, (int) par3EntityPlayer.posZ+1, MultiverseBlocks.MistWoodsPortalBlock);
			par2World.setBlock((int) par3EntityPlayer.posX+2, (int) par3EntityPlayer.posY + 3, (int) par3EntityPlayer.posZ+1, MultiverseBlocks.MistWoodsPortalBlock);
			par2World.setBlock((int) par3EntityPlayer.posX+2, (int) par3EntityPlayer.posY + 1, (int) par3EntityPlayer.posZ+2, MultiverseBlocks.MistWoodsPortalBlock);
			par2World.setBlock((int) par3EntityPlayer.posX+2, (int) par3EntityPlayer.posY + 2, (int) par3EntityPlayer.posZ+2, MultiverseBlocks.MistWoodsPortalBlock);
			par2World.setBlock((int) par3EntityPlayer.posX+2, (int) par3EntityPlayer.posY + 3, (int) par3EntityPlayer.posZ+2, MultiverseBlocks.MistWoodsPortalBlock);
		}
		else if (par3EntityPlayer.cameraYaw > 45 && par3EntityPlayer.cameraYaw < 145){
			par2World.setBlock((int) par3EntityPlayer.posX-2, (int) par3EntityPlayer.posY, (int) par3EntityPlayer.posZ, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX-2, (int) par3EntityPlayer.posY + 1, (int) par3EntityPlayer.posZ, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX-2, (int) par3EntityPlayer.posY + 2, (int) par3EntityPlayer.posZ, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX-2, (int) par3EntityPlayer.posY + 3, (int) par3EntityPlayer.posZ, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX-2, (int) par3EntityPlayer.posY + 4, (int) par3EntityPlayer.posZ, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX-2, (int) par3EntityPlayer.posY + 4, (int) par3EntityPlayer.posZ+1, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX-2, (int) par3EntityPlayer.posY, (int) par3EntityPlayer.posZ+1, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX-2, (int) par3EntityPlayer.posY + 4, (int) par3EntityPlayer.posZ+2, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX-2, (int) par3EntityPlayer.posY, (int) par3EntityPlayer.posZ+2, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX-2, (int) par3EntityPlayer.posY, (int) par3EntityPlayer.posZ+3, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX-2, (int) par3EntityPlayer.posY + 1, (int) par3EntityPlayer.posZ+3, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX-2, (int) par3EntityPlayer.posY + 2, (int) par3EntityPlayer.posZ+3, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX-2, (int) par3EntityPlayer.posY + 3, (int) par3EntityPlayer.posZ+3, Blocks.sandstone);
			par2World.setBlock((int) par3EntityPlayer.posX-2, (int) par3EntityPlayer.posY + 4, (int) par3EntityPlayer.posZ+3, Blocks.sandstone);

			par2World.setBlock((int) par3EntityPlayer.posX-2, (int) par3EntityPlayer.posY + 1, (int) par3EntityPlayer.posZ+1, MultiverseBlocks.MistWoodsPortalBlock);
			par2World.setBlock((int) par3EntityPlayer.posX-2, (int) par3EntityPlayer.posY + 2, (int) par3EntityPlayer.posZ+1, MultiverseBlocks.MistWoodsPortalBlock);
			par2World.setBlock((int) par3EntityPlayer.posX-2, (int) par3EntityPlayer.posY + 3, (int) par3EntityPlayer.posZ+1, MultiverseBlocks.MistWoodsPortalBlock);
			par2World.setBlock((int) par3EntityPlayer.posX-2, (int) par3EntityPlayer.posY + 1, (int) par3EntityPlayer.posZ+2, MultiverseBlocks.MistWoodsPortalBlock);
			par2World.setBlock((int) par3EntityPlayer.posX-2, (int) par3EntityPlayer.posY + 2, (int) par3EntityPlayer.posZ+2, MultiverseBlocks.MistWoodsPortalBlock);
			par2World.setBlock((int) par3EntityPlayer.posX-2, (int) par3EntityPlayer.posY + 3, (int) par3EntityPlayer.posZ+2, MultiverseBlocks.MistWoodsPortalBlock);
		}

		par1ItemStack.stackSize--;
	}

	return par1ItemStack;
    }

,but it'd always place the portal position for "if (par3EntityPlayer.cameraYaw > -45 && par3EntityPlayer.cameraYaw < 45)", even when my camera view was in other directions.

Wait... why not just using a PlayerInteractEvent, which is easier? You have everything you need in that event.

Making a new fire block is pointless, in my opinion..

How do you do this? I looked everyone on these forums, Github, and Google, and I don't see any examples of this. I have it set up with "MinecraftForge.EVENT_BUS.register(new MistPortalActivationHandler());" in my MainRegistry and in a new class I have:

"@SubscribeEvent
public void onPlayerInteractEvent(PlayerInteractEvent event){

}"

Link to comment
Share on other sites

event.x, event.y, and event.z are the coordinates of the block you interacted with. You obviously check if the block at those coords is a sandstone block. Note that the event fires even if you left click, so add a check for event.action aswell!

 

Then you need to check the item that the player is holding, and we have an event.entityPlayer. Finally, the side of the block the player has interacted with: event.face. 1 is the top face, so you should go with that.

 

At this point we checked if the player right clicked with a flint and steel in hand, on the top side of a sandstone block. Now you should set your portal blocks with event.world.setBlock. But be careful, because you also need to check for the shape of the portal around (and by that I also mean its orientation)

 

I won't provide any code for now, you have to try by yourself!

 

I try my best, so apologies if I said something obviously stupid!

Link to comment
Share on other sites

event.x, event.y, and event.z are the coordinates of the block you interacted with. You obviously check if the block at those coords is a sandstone block. Note that the event fires even if you left click, so add a check for event.action aswell!

 

Then you need to check the item that the player is holding, and we have an event.entityPlayer. Finally, the side of the block the player has interacted with: event.face. 1 is the top face, so you should go with that.

 

At this point we checked if the player right clicked with a flint and steel in hand, on the top side of a sandstone block. Now you should set your portal blocks with event.world.setBlock. But be careful, because you also need to check for the shape of the portal around (and by that I also mean its orientation)

 

I won't provide any code for now, you have to try by yourself!

That worked, thanks. I still have a problem with the portal texture showing as missing texture though, I'll repost what I have:

	@Override
public void registerBlockIcons(IIconRegister par1IconRegister)
{
	this.blockIcon = par1IconRegister.registerIcon(Strings.MODID + ":MistWoodsPortal");
}

I have the image texture and a mcmeta file with { "animation":{} }.

 

Also I have a problem with my portal block, I want to make it so the portal is destroyed when the frame is gone, if I remove this from my portal block:

	@Override
    public void onNeighborBlockChange(World p_149695_1_, int p_149695_2_, int p_149695_3_, int p_149695_4_, Block p_149695_5_)
    {
    }

So the portal will be destroyed when the frame is broken, the portal doesn't spawn because onNeighborBlockChange detects portal blocks missing before all portal blocks can be placed. Could I use onBlockBroken, or is there a way around this?

Link to comment
Share on other sites

I just tried this, but it isn't working, I hit the frame in many different spots on the sides and it wont break (I haven't added the code for breaking top and bottom frame blocks and the code for a portal going in another direction, but I have two frames facing different directions and I tested them both):

package com.multiverse.blocks;

import net.minecraft.init.Blocks;
import net.minecraftforge.event.world.BlockEvent;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;

public class MistWoodsPortalFrameBreakHandler {

@SubscribeEvent
public void onBlockBroken(BlockEvent.BreakEvent event){
	if (event.block == Blocks.sandstone){
		for (int i=-2;i<0;i++){
			for (int j=-3;j==-3;j=0){
				if (event.world.getBlock(event.x+1+j, event.y+i, event.z) == MultiverseBlocks.MistWoodsPortalBlock &&
						event.world.getBlock(event.x+1+j, event.y+1+i, event.z) == MultiverseBlocks.MistWoodsPortalBlock &&
						event.world.getBlock(event.x+1+j, event.y+2+i, event.z) == MultiverseBlocks.MistWoodsPortalBlock &&
						event.world.getBlock(event.x+2+j, event.y+i, event.z) == MultiverseBlocks.MistWoodsPortalBlock &&
						event.world.getBlock(event.x+2+j, event.y+1+i, event.z) == MultiverseBlocks.MistWoodsPortalBlock &&
						event.world.getBlock(event.x+2+j, event.y+2+i, event.z) == MultiverseBlocks.MistWoodsPortalBlock){
					event.world.setBlock(event.x+1+j, event.y+i, event.z, Blocks.air);
					event.world.setBlock(event.x+1+j, event.y+1+i, event.z, Blocks.air);
					event.world.setBlock(event.x+1+j, event.y+2+i, event.z, Blocks.air);
					event.world.setBlock(event.x+2+j, event.y+i, event.z, Blocks.air);
					event.world.setBlock(event.x+2+j, event.y+1+i, event.z, Blocks.air);
					event.world.setBlock(event.x+2+j, event.y+2+i, event.z, Blocks.air);
				}
			}
		}
	}
}
}

Link to comment
Share on other sites

Join the conversation

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

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

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

×   Your previous content has been restored.   Clear editor

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

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Minecraft Crash Report pls help  ---- Minecraft Crash Report ---- WARNING: coremods are present:   EntityCullingEarlyLoader (entityculling-1.12.2-1.6.3.jar)   llibrary (llibrary-core-1.0.11-1.12.2.jar)   FTBUltimineASM (ftb-ultimine-1202.3.5.jar)   SoManyEnchantments ASM (SoManyEnchantments-0.5.5.jar)   SpartanWeaponry-MixinLoader (SpartanWeaponry-1.12.2-1.6.0.jar)   MixinBooter (!mixinbooter-9.4.jar)   ParagliderLoadingPlugin (Paraglider-1.12.2-1.0.1.5.jar)   Quark Plugin (Quark-r1.6-179.jar)   ApotheosisCore (Apotheosis-1.12.2-1.12.5.jar)   iceandfire (iceandfire-1.9.1-1.12.2.jar)   CTMCorePlugin (CTM-MC1.12.2-1.0.2.31.jar)   LootrCore (lootr-1.12.2-0.6.2.jar) Contact their authors BEFORE contacting forge // I'm sorry, Dave. Time: 10/8/24 1:15 AM Description: Exception in server tick loop net.minecraftforge.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraft/client/gui/GuiScreen     at net.minecraftforge.fml.common.AutomaticEventSubscriber.inject(AutomaticEventSubscriber.java:89)     at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:612)     at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:498)     at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)     at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)     at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)     at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)     at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)     at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)     at com.google.common.eventbus.EventBus.post(EventBus.java:217)     at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219)     at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:498)     at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)     at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)     at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)     at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)     at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)     at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)     at com.google.common.eventbus.EventBus.post(EventBus.java:217)     at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:136)     at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:595)     at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:98)     at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:333)     at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:125)     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486)     at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/gui/GuiScreen     at java.lang.Class.getDeclaredMethods0(Native Method)     at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)     at java.lang.Class.privateGetPublicMethods(Class.java:2902)     at java.lang.Class.getMethods(Class.java:1615)     at net.minecraftforge.fml.common.eventhandler.EventBus.register(EventBus.java:82)     at net.minecraftforge.fml.common.AutomaticEventSubscriber.inject(AutomaticEventSubscriber.java:82)     ... 31 more Caused by: java.lang.ClassNotFoundException: net.minecraft.client.gui.GuiScreen     at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)     at java.lang.ClassLoader.loadClass(ClassLoader.java:418)     at java.lang.ClassLoader.loadClass(ClassLoader.java:351)     ... 37 more Caused by: net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerException: Exception in class transformer net.minecraftforge.fml.common.asm.transformers.SideTransformer@3a022576 from coremod FMLCorePlugin     at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:260)     at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279)     at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176)     ... 39 more Caused by: java.lang.RuntimeException: Attempted to load class blk for invalid side SERVER     at net.minecraftforge.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:62)     at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:256)     ... 41 more No Mixin Metadata is found in the Stacktrace. A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details:     Minecraft Version: 1.12.2     Operating System: Linux (amd64) version 3.10.0-1160.118.1.el7.x86_64     Java Version: 1.8.0_282, AdoptOpenJDK     Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), AdoptOpenJDK     Memory: 2299996568 bytes (2193 MB) / 2791833600 bytes (2662 MB) up to 4358406144 bytes (4156 MB)     JVM Flags: 9 total; -Xms2337M -Xmx4675M -XX:MaxMetaspaceSize=825M -XX:+ParallelRefProcEnabled -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:-OmitStackTraceInFastThrow -XX:+AlwaysPreTouch -XX:+OptimizeStringConcat     IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0     FML: MCP 9.42 Powered by Forge 14.23.5.2859 59 mods loaded, 59 mods active     States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored     | State | ID                            | Version           | Source                                                  | Signature                                |     |:----- |:----------------------------- |:----------------- |:------------------------------------------------------- |:---------------------------------------- |     | LC    | minecraft                     | 1.12.2            | minecraft.jar                                           | None                                     |     | LC    | mcp                           | 9.42              | minecraft.jar                                           | None                                     |     | LC    | FML                           | 8.0.99.99         | server.jar                                              | e3c3d50c7c986df74c645c0ac54639741c90a557 |     | LC    | forge                         | 14.23.5.2859      | server.jar                                              | e3c3d50c7c986df74c645c0ac54639741c90a557 |     | LC    | mixinbooter                   | 9.4               | minecraft.jar                                           | None                                     |     | LC    | aiimprovements                | 0.0.1.3           | AIImprovements-1.12-0.0.1b3.jar                         | None                                     |     | LC    | placebo                       | 1.6.0             | Placebo-1.12.2-1.6.1.jar                                | None                                     |     | LC    | apotheosis                    | 1.12.4            | Apotheosis-1.12.2-1.12.5.jar                            | None                                     |     | LC    | aquaculture                   | 1.6.8             | Aquaculture-1.12.2-1.6.8.jar                            | None                                     |     | LC    | baubles                       | 1.5.2             | Baubles-1.12-1.5.2.jar                                  | None                                     |     | LC    | artifacts                     | 1.12.2-1.2.4      | artifacts-1.12.2-1.2.4.jar                              | None                                     |     | LC    | attributefix                  | 1.0.12            | AttributeFix-Forge-1.12.2-1.0.12.jar                    | None                                     |     | LC    | jei                           | 4.16.1.301        | jei_1.12.2-4.16.1.301.jar                               | None                                     |     | LC    | quark                         | r1.6-179          | Quark-r1.6-179.jar                                      | None                                     |     | LC    | autoreglib                    | 1.3-32            | AutoRegLib-1.3-32.jar                                   | None                                     |     | LC    | bettermineshafts              | 1.12.2-2.2.1      | BetterMineshaftsForge-1.12.2-2.2.1.jar                  | None                                     |     | LC    | bookshelf                     | 2.3.590           | Bookshelf-1.12.2-2.3.590.jar                            | d476d1b22b218a10d845928d1665d45fce301b27 |     | LC    | bookworm                      | 1.12.2-2.5.2.1    | bookworm-1.12.2-2.5.2.1.jar                             | None                                     |     | LC    | carryon                       | 1.12.3            | carryon-1.12.2-1.12.7.23.jar                            | None                                     |     | LC    | clumps                        | 3.1.2             | Clumps-3.1.2.jar                                        | None                                     |     | LC    | cosmeticarmorreworked         | 1.12.2-v5a        | CosmeticArmorReworked-1.12.2-v5a.jar                    | aaaf83332a11df02406e9f266b1b65c1306f0f76 |     | LC    | customnpcs                    | 1.12              | CustomNPCs_1.12.2-(05Jul20).jar                         | None                                     |     | LC    | darkutils                     | 1.8.230           | DarkUtils-1.12.2-1.8.230.jar                            | d476d1b22b218a10d845928d1665d45fce301b27 |     | LC    | fantasticlib                  | 1.12.2.047        | FantasticLib-1.12.2.047.jar                             | None                                     |     | LC    | fastleafdecay                 | v14               | FastLeafDecay-v14.jar                                   | None                                     |     | LC    | ftbultimine                   | 1202.3.5          | ftb-ultimine-1202.3.5.jar                               | None                                     |     | LC    | cfm                           | 6.3.0             | furniture-6.3.2-1.12.2.jar                              | None                                     |     | LE    | ibeeditor                     | 1.0.0-alpha5      | IBEEditor-1.12.2-1.0.0-alpha5.jar                       | None                                     |     | L     | llibrary                      | 1.7.20            | llibrary-1.7.20-1.12.2.jar                              | None                                     |     | L     | iceandfire                    | 1.9.1             | iceandfire-1.9.1-1.12.2.jar                             | None                                     |     | L     | ironchest                     | 1.12.2-7.0.67.844 | ironchest-1.12.2-7.0.72.847.jar                         | None                                     |     | L     | ironfurnaces                  | 1.3.5             | ironfurnaces-1.3.5.jar                                  | None                                     |     | L     | lootr                         | 0.6.2             | lootr-1.12.2-0.6.2.jar                                  | None                                     |     | L     | mcwfences                     | 1.0.0             | mcw-fences-1.0.0-mc1.12.2.jar                           | None                                     |     | L     | testdummy                     | 1.12              | MmmMmmMmmMmm-1.12-1.14.jar                              | None                                     |     | L     | mowziesmobs                   | 1.5.8             | mowziesmobs-1.5.8.jar                                   | None                                     |     | L     | paraglider                    | 1.0.1.5           | Paraglider-1.12.2-1.0.1.5.jar                           | None                                     |     | L     | patchouli                     | 1.0-23.6          | Patchouli-1.0-23.6.jar                                  | None                                     |     | L     | corerm                        | 1.3.3             | RikMuldsCore_1.3.3.jar                                  | None                                     |     | L     | setbonus                      | 1.12.2.020        | SetBonus-1.12.2.020.jar                                 | None                                     |     | L     | somanyenchantments            | 0.5.5             | SoManyEnchantments-0.5.5.jar                            | None                                     |     | L     | spartanshields                | 1.5.5             | SpartanShields-1.12.2-1.5.5.jar                         | None                                     |     | L     | spartanweaponry               | 1.6.0             | SpartanWeaponry-1.12.2-1.6.0.jar                        | None                                     |     | L     | stg                           | 1.12.2-1.2.3      | stg-1.12.2-1.2.3.jar                                    | None                                     |     | L     | supermartijn642configlib      | 1.1.6             | supermartijn642configlib-1.1.8-forge-mc1.12.jar         | None                                     |     | L     | camping                       | 2.4.3             | TheCampingMod_2.4.3.jar                                 | None                                     |     | L     | twilightforest                | 3.11.1021         | twilightforest-1.12.2-3.11.1021-universal.jar           | None                                     |     | L     | uteamcore                     | 2.2.5.305         | u_team_core-forge-1.12.2-2.2.5.305.jar                  | None                                     |     | L     | uniquebase                    | 1.0.1             | Unique Enchantments Base-1.12.2-1.1.4.jar               | None                                     |     | L     | uniqueebattle                 | 1.0.1             | Unique Enchantments Battle-1.12.2-1.1.6.jar             | None                                     |     | L     | uniqueeutil                   | 1.0.1             | Unique Enchantments Utils-1.12.2-1.5.1.jar              | None                                     |     | L     | uniquee                       | 2.0.1             | Unique Enchantments-1.12.2-2.1.4.jar                    | None                                     |     | L     | usefulbackpacks               | 1.5.4.85          | useful_backpacks-1.12.2-1.5.4.85.jar                    | None                                     |     | L     | variedcommodities             | 1.12.2            | VariedCommodities_1.12.2-(31Mar23).jar                  | None                                     |     | L     | wizardanimalsbeta10           | 1.0.0             | WizardAnimalsBeta1.0.jar                                | None                                     |     | L     | worldedit                     | 6.1.10            | worldedit-forge-mc1.12.2-6.1.10-dist.jar                | None                                     |     | L     | zawa                          | 1.12.2-2.1.3      | zawa-1.12.2-2.1.3.jar                                   | None                                     |     | L     | craftableenchantedgoldenapple | 1.0.0             | zaynens_craftable_enchanted_golden_apple_mod_1.12.2.jar | None                                     |     | L     | betteranimalsplus             | 9.0.1             | betteranimalsplus-1.12.2-9.0.1.jar                      | None                                     |     Loaded coremods (and transformers):  EntityCullingEarlyLoader (entityculling-1.12.2-1.6.3.jar)    llibrary (llibrary-core-1.0.11-1.12.2.jar)   net.ilexiconn.llibrary.server.core.plugin.LLibraryTransformer   net.ilexiconn.llibrary.server.core.patcher.LLibraryRuntimePatcher FTBUltimineASM (ftb-ultimine-1202.3.5.jar)    SoManyEnchantments ASM (SoManyEnchantments-0.5.5.jar)   com.Shultrea.Rin.Transformer.SMEASM SpartanWeaponry-MixinLoader (SpartanWeaponry-1.12.2-1.6.0.jar)    MixinBooter (!mixinbooter-9.4.jar)    ParagliderLoadingPlugin (Paraglider-1.12.2-1.0.1.5.jar)   com.tictim.paraglider.asm.TransformerModelBiped Quark Plugin (Quark-r1.6-179.jar)   vazkii.quark.base.asm.ClassTransformer ApotheosisCore (Apotheosis-1.12.2-1.12.5.jar)   shadows.ApotheosisTransformer iceandfire (iceandfire-1.9.1-1.12.2.jar)   com.github.alexthe666.iceandfire.patcher.IceAndFireRuntimePatcher CTMCorePlugin (CTM-MC1.12.2-1.0.2.31.jar)   team.chisel.ctm.client.asm.CTMTransformer LootrCore (lootr-1.12.2-0.6.2.jar)        Profiler Position: N/A (disabled)     Is Modded: Definitely; Server brand changed to 'fml,forge'     Type: Dedicated Server (map_server.txt)
    • [01:30:06] [main/INFO]: ModLauncher running: args [--username, AkadieL, --version, forge-47.2.0, --gameDir, C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized, --assetsDir, C:\Users\Administrator\curseforge\minecraft\Install\assets, --assetIndex, 5, --uuid, b68ea54ae6484a0e8acb115f88c9aea5, --accessToken, ????????, --clientId, 28d704-b58c91-549ecf-a85a34-9fb39c, --xuid, 2533275030291833, --userType, msa, --versionType, release, --width, 1024, --height, 768, --launchTarget, forgeclient, --fml.forgeVersion, 47.2.0, --fml.mcVersion, 1.20.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20230612.114412] [01:30:06] [main/INFO]: ModLauncher 10.0.9+10.0.9+main.dcd20f30 starting: java version 17.0.8 by Eclipse Adoptium; OS Windows 10 arch amd64 version 10.0 [01:30:07] [main/INFO]: Loading ImmediateWindowProvider fmlearlywindow [01:30:07] [main/INFO]: Trying GL version 4.6 [01:30:07] [main/INFO]: Requested GL version 4.6 got version 4.6 [01:30:07] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/C:/Users/Administrator/curseforge/minecraft/Install/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%23100!/ Service=ModLauncher Env=CLIENT [01:30:07] [pool-2-thread-1/INFO]: GL info: NVIDIA GeForce RTX 3060/PCIe/SSE2 GL version 4.6.0 NVIDIA 560.94, NVIDIA Corporation [01:30:08] [main/INFO]: Found mod file AdvancementPlaques-1.20.1-forge-1.5.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file AI-Improvements-1.20-0.5.2.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file AirHop-v8.0.2-1.20.1-Forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file alexscaves-1.1.0.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file alexsmobs-1.22.7.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file AmbientSounds_FORGE_v6.0.2_mc1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file AnvilNeverTooExpensive-1.20.1-1.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file appleskin-forge-mc1.20.1-2.5.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Aquaculture-1.20.1-2.5.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file aquaculture_delight_1.0.0_forge_1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file aquamirae-6.API15.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file astemirlib-1.20.1-1.25.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file AxesAreWeapons-1.7.3-forge-1.20.2.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file balm-forge-1.20.1-7.3.6-all.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file bellsandwhistles-0.4.3-1.20.x.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file BetterAdvancements-1.20.1-0.3.2.161.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file betterarcheology-1.1.9-1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file BetterCompatibilityChecker-forge-4.0.8+mc1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file BetterPingDisplay-1.20.1-1.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file BetterTridents-v8.0.1-1.20.1-Forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file biomespawnpoint-1.20.1-2.2.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file blockui-1.20.1-1.0.156-RELEASE.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file blue_skies-1.20.1-1.3.31.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Bookshelf-Forge-1.20.1-20.2.13.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file caelus-forge-3.2.0+1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file canary-mc1.20.1-0.3.3.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file catalogue-forge-1.20.1-1.8.0.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Chimes-v2.0.1-1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Choup's Drakvyrn Mod for 1.20.1 (v2.4.0).jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Chunk-Pregenerator-1.20-4.4.3.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file chunkloaders-1.2.8a-forge-mc1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file citadel-2.5.3-1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file clickadv-1.20.1-3.8.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file cloth-config-11.1.118-forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Clumps-forge-1.20.1-12.0.0.4.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file collective-1.20.1-7.64.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file comforts-forge-6.3.5+1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Controlling-forge-1.20.1-12.0.2.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file cookingforblockheads-forge-1.20.1-16.0.6.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file CorgiLib-forge-1.20.1-4.0.1.3.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file corn_delight-1.0.4-1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file coroutil-forge-1.20.1-1.3.7.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file cosmeticarmorreworked-1.20.1-v1a.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file CrabbersDelight-1.20.1-1.1.5.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file CraftTweaker-forge-1.20.1-14.0.40.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file create-1.20.1-0.5.1.f.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file createaddition-1.20.1-1.2.4.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file CreativeCore_FORGE_v2.11.30_mc1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file creeperoverhaul-3.0.2-forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file ctov-forge-3.4.3.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file cuisinedelight-1.1.14.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file cupboard-1.20.1-2.6.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file curios-forge-5.9.1+1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file customcameraview-forge-1.20.1-1.0.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file DamageVignette-2.0.2-forge+mc1.20.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file deathbackup-1.20.1-3.3.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file deeperdarker-forge-1.20.1-1.2.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file dimensionviewer-1.20-1.4.0.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Disenchanting-forge-1.20.1-2.2.4.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file DoggyTalentsNext-1.20.1-1.18.18.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file domum_ornamentum-1.20.1-1.0.186-RELEASE-universal.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file doubledoors-1.20.1-5.7.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file dummmmmmy-1.20-1.8.17b.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file DungeonsArise-1.20.x-2.1.58-release.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file DungeonsAriseSevenSeas-1.20.x-1.0.2-forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file EasierSleeping-1.20.1-2.1.3.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file easy-villagers-forge-1.20.1-1.1.23.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file easy_mob_farm_1.20.1-7.1.0.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file easy_npc-forge-1.20.1-5.6.0.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file easynetheritev1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file EasyShulkerBoxes-v8.0.1-1.20.1-Forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file elytraslot-forge-6.4.0+1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file embeddium-0.3.31+mc1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file embeddiumplus-1.20.1-v1.2.13.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file EnchantingInfuser-v8.0.3-1.20.1-Forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file EnchantmentDescriptions-Forge-1.20.1-17.0.16.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file endersdelight-1.20.1-1.0.3.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Enhanced_Celestials-forge-1.20.1-5.0.0.4.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file entityculling-forge-1.6.6-mc1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file EquipmentCompare-1.20.1-forge-1.3.7.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file ExplorersCompass-1.20.1-1.3.3-forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Fallingleaves-1.20.1-2.1.0.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file FallingTree-1.20.1-4.3.4.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file fancymenu_forge_3.2.3_MC_1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Fantastic Remastered Structures 1.20+1.20.6-0.5 For+fab.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file FarmersDelight-1.20.1-1.2.4.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file farmingforblockheads-forge-1.20.1-14.0.2.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file farsight-1.20.1-3.6.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file FastFurnace-1.20.1-8.0.2.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file FastLeafDecay-32.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file fastpaintings-1.20-1.2.7.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file ferritecore-6.0.1-forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file fish_of_thieves-mc1.20.1-v3.0.7-forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file fixexperiencebug-1.20-46.2.2.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file framework-forge-1.20.1-0.7.6.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file FriendlyFire-Forge-1.20.1-18.0.7.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file FriendlyGriefing-1.20-1.0.2.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file friendsandfoes-forge-mc1.20.1-2.0.10.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file geckolib-forge-1.20.1-4.4.7.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file GeckoLibOculusCompat-Forge-1.0.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file goblintraders-forge-1.20.1-1.9.3.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file guccivuitton-1.20.1-0.2.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file handcrafted-forge-1.20.1-3.0.6.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file highlight-forge-1.20-2.0.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Highlighter-1.20.1-forge-1.1.9.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file hitindication-1.20.1-1.4.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Iceberg-1.20.1-forge-1.1.21.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file IllagerInvasion-v8.0.5-1.20.1-Forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Incendium_1.20.x_v5.3.5.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file inventoryessentials-forge-1.20.1-8.2.6.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file inventoryhud.forge.1.20.1-3.4.26.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file inventorysorter-1.20.1-23.0.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file ItemPhysicLite_FORGE_v1.6.4_mc1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Jade-1.20.1-forge-11.7.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file jei-1.20.1-forge-15.3.0.4.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file JustEnoughResources-1.20.1-1.4.0.247.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file konkrete_forge_1.8.0_MC_1.20-1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file lradd-1.20.1-0.2.3.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file lucky-block-forge-1.20.1-13.0.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file lukis-grand-capitals-1.0.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file MaxEnchantX-1.20.X-1.3-Forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file mcw-bridges-3.0.0-mc1.20.1forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file mcw-doors-1.1.1forge-mc1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file mcw-lights-1.1.0-mc1.20.1forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file melody_forge_1.0.3_MC_1.20.1-1.20.4.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file modnametooltip-1.20.1-1.20.0.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file moonlight-1.20-2.12.2-forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file MouseTweaks-forge-mc1.20-2.25.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file mysterious_mountain_lib-1.4.7-1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file nethersdelight-1.20.1-4.0.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file obscure_api-15.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file oceansdelight-1.0.2-1.20.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file oculus-mc1.20.1-1.6.15a.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file okzoomer-forge-1.20-3.0.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Placebo-1.20.1-8.6.2.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file puzzledungeon-forge-1.20.1-1.2.0.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file PuzzlesLib-v8.1.20-1.20.1-Forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file PuzzlesLib-v8.1.24-1.20.1-Forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Quark-4.0-436.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file RegionsUnexploredForge-0.5.3.1+1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file resourcefulconfig-forge-1.20.1-2.1.2.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file resourcefullib-forge-1.20.1-2.1.25.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file sliceanddice-forge-3.2.0.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file supermartijn642configlib-1.1.8-forge-mc1.20.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file supermartijn642corelib-1.1.17-forge-mc1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file tact-1.0.9+1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file tacz-1.20.1-1.0.3-all.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file TerraBlender-forge-1.20.1-3.0.1.4.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Terralith_1.20_v2.5.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file The_Undergarden-1.20.1-0.8.14.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file tlc_forge-1.0.3-R-1.20.X.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file torchmaster-20.1.6.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file ToughAsNails-1.20.1-9.0.0.96.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file travelersbackpack-forge-1.20.1-9.1.15.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file TravelersTitles-1.20-Forge-4.0.2.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file undergarden_delight_1.0.0_forge_1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file UniversalEnchants-v8.0.0-1.20.1-Forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file waystones-forge-1.20-14.1.3.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file WitherSkeletonTweaks-1.20.1-9.1.0.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file worldedit-mod-7.2.15.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file wso16-forge-1.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Xaeros_Minimap_24.2.0_Forge_1.20.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file xaeros_waystones_compability-1.0.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file XaerosWorldMap_1.37.8_Forge_1.20.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file YungsApi-1.20-Forge-4.0.5.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file YungsBetterDesertTemples-1.20-Forge-3.0.3.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file YungsBetterDungeons-1.20-Forge-4.0.4.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file YungsBetterJungleTemples-1.20-Forge-2.0.5.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file YungsBetterMineshafts-1.20-Forge-4.0.4.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file YungsBetterNetherFortresses-1.20-Forge-2.0.6.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file YungsBetterOceanMonuments-1.20-Forge-3.0.4.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file YungsBetterStrongholds-1.20-Forge-4.0.3.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file YungsBetterWitchHuts-1.20-Forge-3.0.3.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file YungsBridges-1.20-Forge-4.0.3.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file YungsExtras-1.20-Forge-4.0.3.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Zeta-1.0-13.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/WARN]: Mod file C:\Users\Administrator\curseforge\minecraft\Install\libraries\net\minecraftforge\fmlcore\1.20.1-47.2.0\fmlcore-1.20.1-47.2.0.jar is missing mods.toml file [01:30:08] [main/WARN]: Mod file C:\Users\Administrator\curseforge\minecraft\Install\libraries\net\minecraftforge\javafmllanguage\1.20.1-47.2.0\javafmllanguage-1.20.1-47.2.0.jar is missing mods.toml file [01:30:08] [main/WARN]: Mod file C:\Users\Administrator\curseforge\minecraft\Install\libraries\net\minecraftforge\lowcodelanguage\1.20.1-47.2.0\lowcodelanguage-1.20.1-47.2.0.jar is missing mods.toml file [01:30:08] [main/WARN]: Mod file C:\Users\Administrator\curseforge\minecraft\Install\libraries\net\minecraftforge\mclanguage\1.20.1-47.2.0\mclanguage-1.20.1-47.2.0.jar is missing mods.toml file [01:30:08] [main/INFO]: Found mod file fmlcore-1.20.1-47.2.0.jar of type LIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@78c1a023 [01:30:08] [main/INFO]: Found mod file javafmllanguage-1.20.1-47.2.0.jar of type LANGPROVIDER with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@78c1a023 [01:30:08] [main/INFO]: Found mod file lowcodelanguage-1.20.1-47.2.0.jar of type LANGPROVIDER with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@78c1a023 [01:30:08] [main/INFO]: Found mod file mclanguage-1.20.1-47.2.0.jar of type LANGPROVIDER with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@78c1a023 [01:30:08] [main/INFO]: Found mod file client-1.20.1-20230612.114412-srg.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@78c1a023 [01:30:08] [main/INFO]: Found mod file forge-1.20.1-47.2.0-universal.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@78c1a023 [01:30:08] [main/WARN]: Attempted to select two dependency jars from JarJar which have the same identification: Mod File:  and Mod File: . Using Mod File:  [01:30:08] [main/WARN]: Attempted to select two dependency jars from JarJar which have the same identification: Mod File:  and Mod File: . Using Mod File:  [01:30:08] [main/WARN]: Attempted to select two dependency jars from JarJar which have the same identification: Mod File:  and Mod File: . Using Mod File:  [01:30:08] [main/WARN]: Attempted to select a dependency jar for JarJar which was passed in as source: resourcefullib. Using Mod File: C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods\resourcefullib-forge-1.20.1-2.1.25.jar [01:30:08] [main/INFO]: Found 23 dependencies adding them to mods collection [01:30:08] [main/INFO]: Found mod file jctools-core-4.0.1.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file MixinExtras-0.3.6.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file mixinextras-forge-0.3.6.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file kuma-api-forge-20.1.8+1.20.1.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file puzzlesapi-forge-8.1.4.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file MinecraftForgeAPI-1.20.1-1.0.0.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file luaj-core-3.0.3.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file mixinsquared-forge-0.1.2-beta.6.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file yabn-1.0.3.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file Registrate-MC1.20-1.3.11.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file spectrelib-forge-0.13.15+1.20.1.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file animated-gif-lib-for-java-animated-gif-lib-1.7.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file mclib-20.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file l2library-2.4.14-slim.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file puzzlesaccessapi-forge-8.0.7.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file l2serial-1.2.0.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file flywheel-forge-1.20.1-0.6.10-7.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file bytecodecs-1.0.2.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file luaj-jse-3.0.3.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file commons-math3-3.6.1.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file MixinSquared-0.1.2-beta.6.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file jcpp-1.4.14.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file japng-0.5.3.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:09] [main/ERROR]: Missing or unsupported mandatory dependencies:     Mod ID: 'structure_gel', Requested by: 'blue_skies', Expected range: '[2.13.0,]', Actual version: '[MISSING]'     Mod ID: 'kotlinforforge', Requested by: 'sliceanddice', Expected range: '[4.3.0,)', Actual version: '[MISSING]'     Mod ID: 'searchables', Requested by: 'controlling', Expected range: '[1.0,)', Actual version: '[MISSING]' [01:30:11] [main/INFO]: Compatibility level set to JAVA_17 [01:30:11] [main/ERROR]: Mixin config geckoanimfix.forge.mixins.json does not specify "minVersion" property [01:30:11] [main/ERROR]: Mixin config okzoomer.mixins.json does not specify "minVersion" property [01:30:11] [main/INFO]: Launching target 'forgeclient' with arguments [--version, forge-47.2.0, --gameDir, C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized, --assetsDir, C:\Users\Administrator\curseforge\minecraft\Install\assets, --uuid, b68ea54ae6484a0e8acb115f88c9aea5, --username, AkadieL, --assetIndex, 5, --accessToken, ????????, --clientId, 28d704-b58c91-549ecf-a85a34-9fb39c, --xuid, 2533275030291833, --userType, msa, --versionType, release, --width, 1024, --height, 768] [01:30:11] [main/INFO]: Loaded configuration file for Embeddium: 44 options available, 0 override(s) found [01:30:11] [main/INFO]: Searching for graphics cards... [01:30:11] [main/INFO]: Found graphics card: GraphicsAdapterInfo[vendor=NVIDIA, name=NVIDIA GeForce RTX 3060, version=DriverVersion=32.0.15.6094] [01:30:11] [main/WARN]: Embeddium has applied one or more workarounds to prevent crashes or other issues on your system: [NVIDIA_THREADED_OPTIMIZATIONS] [01:30:11] [main/WARN]: 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:30:11] [main/WARN]: Reference map 'handcrafted-forge-1.20.1-forge-refmap.json' for handcrafted.mixins.json could not be read. If this is a development environment you can ignore this message [01:30:11] [main/WARN]: 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:30:11] [main/WARN]: 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:30:11] [main/WARN]: Reference map 'cuisinedelight.refmap.json' for cuisinedelight.mixins.json could not be read. If this is a development environment you can ignore this message [01:30:11] [main/WARN]: Reference map 'AxesAreWeapons-forge-refmap.json' for axesareweapons.forge.mixins.json could not be read. If this is a development environment you can ignore this message [01:30:11] [main/WARN]: Reference map '${refmap_target}refmap.json' for corgilib.forge.mixins.json could not be read. If this is a development environment you can ignore this message [01:30:11] [main/WARN]: Reference map 'fastpaintings-forge-refmap.json' for fastpaintings-forge.mixins.json could not be read. If this is a development environment you can ignore this message [01:30:11] [main/WARN]: Reference map 'guccivuitton.refmap.json' for guccivuitton.mixins.json could not be read. If this is a development environment you can ignore this message [01:30:11] [main/INFO]: Loaded configuration file for Canary: 116 options available, 0 override(s) found [01:30:11] [main/INFO]: Loading 2 mods:     - forge 47.2.0     - minecraft 1.20.1 [01:30:11] [main/WARN]: Reference map 'Aquamirae.refmap.json' for aquamirae.mixins.json could not be read. If this is a development environment you can ignore this message [01:30:11] [main/WARN]: Reference map 'cookingforblockheads.refmap.json' for cookingforblockheads.mixins.json could not be read. If this is a development environment you can ignore this message [01:30:11] [main/WARN]: Reference map 'LesRaisinsAddon_1201.refmap.json' for lradd.mixins.json could not be read. If this is a development environment you can ignore this message [01:30:11] [main/WARN]: Reference map 'coroutil.refmap.json' for coroutil.mixins.json could not be read. If this is a development environment you can ignore this message [01:30:12] [main/WARN]: Error loading class: dev/latvian/mods/kubejs/recipe/RecipesEventJS (java.lang.ClassNotFoundException: dev.latvian.mods.kubejs.recipe.RecipesEventJS) [01:30:12] [main/WARN]: @Mixin target dev.latvian.mods.kubejs.recipe.RecipesEventJS was not found sliceanddice.mixins.json:RecipeEventJSMixin [01:30:12] [main/WARN]: Error loading class: dev/emi/emi/screen/EmiScreenManager (java.lang.ClassNotFoundException: dev.emi.emi.screen.EmiScreenManager) [01:30:12] [main/WARN]: Error loading class: me/shedaniel/rei/impl/client/gui/ScreenOverlayImpl (java.lang.ClassNotFoundException: me.shedaniel.rei.impl.client.gui.ScreenOverlayImpl) [01:30:12] [main/WARN]: Error loading class: noobanidus/mods/lootr/config/ConfigManager (java.lang.ClassNotFoundException: noobanidus.mods.lootr.config.ConfigManager) [01:30:12] [main/ERROR]: Could not find embeddium mod, there is likely a dependency error. Skipping mixin application. [01:30:12] [main/INFO]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.3.6). [01:30:13] [pool-4-thread-1/WARN]: This is the stupidest thing I've ever made in Minecraft modding history...           Even if I check the log list, I don't know what the problem is. especially. [01:30:09] [Main/ERROR]: No mandatory dependency or not supported: Mode ID: 'structure_gel', requester: 'blue_skys', expected range: '[2.13.0,], actual version: '[missing]' Mode ID: 'kotlinforge', Requestor: 'slice and die', Expected range: '[4.3.0,]', Actual version: '[missing]' Mode ID: 'Searchable', Requestor: 'In Control', Expected Range: '[1.0,]', Actual Version: '[Omitted]'   I've been looking for things I need in this area, but Minecraft is still annoying.
    • i'm trying to modify the attack damage in minecraft modded weapons i can only modify the attack damage in non-modded weapons it's in 1.8.9
  • Topics

×
×
  • Create New...

Important Information

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