Jump to content

[1.8][SOLVED] Has Anyone fixed their portals for their custom dimensions?


Recommended Posts

Posted

Ok, I'm asking everyone who is modding 1.8 if you have made any kind of rewrite of to your custom portals and dimensions AND has had success with getting them to work correctly. If anyone has, please respond to this or PM and show me your code or at least explain how you fixed it. I WILL give them full credit to the code also. If you need to see my code, it is on Github with latest changes: https://github.com/NovaViper/ZeroQuest/tree/master/src/main

Main Developer and Owner of Zero Quest

Visit the Wiki for more information

If I helped anyone, please give me a applaud and a thank you!

  • Replies 57
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Actually I didn't change much with my portal, except simply move x,y,z to BlockPos.

 

Here's my BlockPortal, which is slightly changed since 1.7.2:

// package and imports
...

public class BlockTaoPortal extends BlockBreakable {

public static final PropertyDirection FACING = PropertyDirection.create("facing", EnumFacing.Plane.HORIZONTAL);

public BlockTaoPortal() {
	super(Material.portal, false);
	MinecraftForge.EVENT_BUS.register(new EventHandler());
	TaoLandMod.runner.registerLoopTask(new CheckYinyangBallTask());
}

@Override
public AxisAlignedBB getCollisionBoundingBox(World world, BlockPos pos, IBlockState state) {
	return null;
}

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

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

@Override
@SideOnly(Side.CLIENT)
public final Item getItem(World world, BlockPos pos) {
	return null;
}

@Override
@SideOnly(Side.CLIENT)
public EnumWorldBlockLayer getBlockLayer() {
	return EnumWorldBlockLayer.TRANSLUCENT;
}

@Override
public void setBlockBoundsBasedOnState(IBlockAccess world, BlockPos pos) {
	IBlockState state = world.getBlockState(pos);
	EnumFacing facing = (EnumFacing)state.getValue(FACING);
	if(facing == EnumFacing.EAST || facing == EnumFacing.WEST) {
		this.setBlockBounds(0.4f, 0, 0, 0.6f, 1, 1);
	} else {
		this.setBlockBounds(0, 0, 0.4f, 1, 1, 0.6f);
	}
}

@Override
public void onNeighborBlockChange(World world, BlockPos pos, IBlockState state, Block block) {
	EnumFacing facing = (EnumFacing)state.getValue(FACING);
	boolean shouldBreak = false;

	shouldBreak |= (!blockIsPortalOrSolid(world.getBlockState(pos.down()).getBlock()) ||
			!blockIsPortalOrSolid(world.getBlockState(pos.up()).getBlock()));

	if(facing == EnumFacing.EAST || facing == EnumFacing.WEST) {
		shouldBreak |= (!blockIsPortalOrSolid(world.getBlockState(pos.north()).getBlock()) ||
				!blockIsPortalOrSolid(world.getBlockState(pos.south()).getBlock()));
	} else {
		shouldBreak |= (!blockIsPortalOrSolid(world.getBlockState(pos.east()).getBlock()) ||
				!blockIsPortalOrSolid(world.getBlockState(pos.west()).getBlock()));
	}

	if(shouldBreak) {
		world.setBlockState(pos, Blocks.air.getDefaultState());
	}
}

public boolean blockIsPortalOrSolid(Block block) {
	return block.isOpaqueCube() || block == this;
}

@Override
public void onEntityCollidedWithBlock(World world, BlockPos pos, IBlockState state, Entity entity) {
	if(entity.ridingEntity == null && entity.riddenByEntity == null && entity.timeUntilPortal <= 0) {
		int id = TaoLandModConfig.instance().dimensionId;
		if(entity.dimension == id) {
			id = 0;
		}

		if(entity instanceof EntityPlayerMP) {
  
			EntityPlayerMP player = (EntityPlayerMP)entity;
			MinecraftServer mcServer = player.mcServer;

			if(id == 0) {
				Teleporter teleporter = new TaoTeleporter(mcServer.worldServerForDimension(id));
				mcServer.getConfigurationManager().transferPlayerToDimension(player, id, teleporter);
			} else {
				player.triggerAchievement(TaoLandAchievement.tao);
				Teleporter teleporter = new TaoTeleporter(mcServer.worldServerForDimension(id));
				mcServer.getConfigurationManager().transferPlayerToDimension(player, id, teleporter);
				player.triggerAchievement(TaoLandAchievement.taoWorld);
			}
		} else {
			travelToDimension(entity, id);
		}
	}
}

private void travelToDimension(Entity entity, int id) {
	if (!entity.worldObj.isRemote && !entity.isDead) {
		entity.worldObj.theProfiler.startSection("changeDimension");
		MinecraftServer minecraftserver = MinecraftServer.getServer();
		int j = entity.dimension;
		WorldServer worldserver = minecraftserver.worldServerForDimension(j);
		WorldServer worldserver1 = minecraftserver.worldServerForDimension(id);
		entity.dimension = id;

		if (j == 1 && id == 1)
		{
			worldserver1 = minecraftserver.worldServerForDimension(0);
			entity.dimension = 0;
		}

		entity.worldObj.removeEntity(entity);
		entity.isDead = false;
		entity.worldObj.theProfiler.startSection("reposition");
		minecraftserver.getConfigurationManager().transferEntityToWorld(entity, j, worldserver, worldserver1, new TaoTeleporter(worldserver1));
		entity.worldObj.theProfiler.endStartSection("reloading");
		Entity entity1 = EntityList.createEntityByName(EntityList.getEntityString(entity), worldserver1);

		if (entity1 != null)
		{
			entity1.copyDataFromOld(entity);

			if (j == 1 && id == 1)
			{
				BlockPos spawnPoint = worldserver1.getSpawnPoint();
				spawnPoint = entity.worldObj.getTopSolidOrLiquidBlock(spawnPoint);
				entity1.setLocationAndAngles(spawnPoint.getX(), spawnPoint.getY(), spawnPoint.getZ(), entity1.rotationYaw, entity1.rotationPitch);
			}

			worldserver1.spawnEntityInWorld(entity1);
		}

		entity.isDead = true;
		entity.worldObj.theProfiler.endSection();
		worldserver.resetUpdateEntityTick();
		worldserver1.resetUpdateEntityTick();
		entity.worldObj.theProfiler.endSection();
	}
}

@Override
public IBlockState getStateFromMeta(int meta) {
	EnumFacing facing = EnumFacing.getFront(meta);
	return this.getDefaultState().withProperty(FACING, facing);
}

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

@Override
protected BlockState createBlockState() {
	return new BlockState(this, new IProperty[] { FACING });
}

@SideOnly(Side.CLIENT)
@Override
public void randomDisplayTick(World world, BlockPos pos, IBlockState state, Random rand) {
	Axis axis = ((EnumFacing)state.getValue(FACING)).getAxis();
	boolean cond = axis == Axis.Z;
	int i = rand.nextInt(2) * 2 - 1;
	TaoLandMod.proxy.spawnParticleInWorld(ParticleType.PORTAL, world,
			pos.getX() + rand.nextDouble(),
			pos.getY() + rand.nextDouble(),
			pos.getZ() + rand.nextDouble(),
			i * (cond ? 0 : 1), 0, i * (cond ? 1 : 0),
			world.provider.getDimensionId() != 0);
}

private List<EntityItem> yinyangBalls = new ArrayList<EntityItem>();

public class EventHandler {
	@SubscribeEvent
	public void onItemToss(ItemTossEvent event) {
		EntityItem ei = event.entityItem;
		if(ei.getEntityItem().getItem() == TaoLandItems.yinyangBall &&
				(ei.dimension == 0 || ei.dimension == TaoLandModConfig.instance().dimensionId)) {
			yinyangBalls.add(ei);
		}
	}
}

class CheckYinyangBallTask implements Runnable {
	@Override
	public void run() {
		Iterator<EntityItem> it = yinyangBalls.iterator();
		while(it.hasNext()) {
			EntityItem ei = it.next();

			int x = MathHelper.floor_double(ei.posX);
			int y = MathHelper.floor_double(ei.posY);
			int z = MathHelper.floor_double(ei.posZ);
			if(ei.isBurning()) {
				ei.setDead();
				ei.worldObj.createExplosion(ei, ei.posX, ei.posY, ei.posZ, 1, false);
				y--;
				int meta = ei.worldObj.rand.nextInt(4)+1;
				new TaoTeleporter((WorldServer) ei.worldObj).buildPortal(x-(meta==1?1:2), y, z-(meta==3?1:2), meta, false);
			}

			if(ei.isDead) {
				it.remove();
			}
		}
	}
}

}

Author of Tao Land Mod.

width=200 height=69http://taoland.herbix.me/images/1/14/TaoLandLogo.png[/img]

Also, author of RenderTo

----

I'm not an English native speaker. I just try my best.

Posted

It's under block/portal but here it is incase you can't find it

 

package common.zeroquest.block.portal;

import java.util.Random;

import common.zeroquest.ModBlocks;
import common.zeroquest.ZeroQuest;
import net.minecraft.block.Block;
import net.minecraft.block.BlockPortal;
import net.minecraft.block.material.Material;
import net.minecraft.block.properties.PropertyEnum;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.init.Blocks;
import net.minecraft.server.MinecraftServer;
import net.minecraft.util.BlockPos;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.EnumParticleTypes;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
import net.minecraftforge.fml.common.FMLCommonHandler;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;

public class BlockPortalNillax extends BlockPortal{

public BlockPortalNillax() {
	super();
        this.setStepSound(soundTypeGlass);
}

 @Override
 public int getLightValue(IBlockAccess world, BlockPos pos){ return 14; }

@Override
public void onEntityCollidedWithBlock(World world, BlockPos pos, Entity entity){
	if(entity.ridingEntity == null && entity.riddenByEntity == null && entity instanceof EntityPlayerMP){
		EntityPlayerMP player = (EntityPlayerMP) entity;
		FMLCommonHandler.instance().getMinecraftServerInstance();
		MinecraftServer server = MinecraftServer.getServer();

		if(player.timeUntilPortal > 0){
			player.timeUntilPortal = 10;
		}else if(player.dimension != ZeroQuest.NillaxID){
			player.timeUntilPortal = 10;
			player.mcServer.getConfigurationManager().transferPlayerToDimension(player, ZeroQuest.NillaxID, new TeleporterNillax(server.worldServerForDimension(ZeroQuest.NillaxID), false));
		}else{
			player.timeUntilPortal = 10;
			player.mcServer.getConfigurationManager().transferPlayerToDimension(player, 0, new TeleporterNillax(server.worldServerForDimension(0), false));
		}
	}
}

@Override
    public boolean func_176548_d(World par1World, BlockPos blockPos) //func_176548_d
    {
        byte b0 = 0;
        byte b1 = 0;
        
        int par2= blockPos.getX();
        int par3= blockPos.getY();
        int par4= blockPos.getZ();

        if (par1World.getBlockState(new BlockPos(par2 - 1, par3, par4)).getBlock() == ModBlocks.darkaxStone || par1World.getBlockState(new BlockPos(par2 + 1, par3, par4)).getBlock() == ModBlocks.darkaxStone)
        {
            b0 = 1;
        }

        if (par1World.getBlockState(new BlockPos(par2, par3, par4 - 1)).getBlock() == ModBlocks.darkaxStone || par1World.getBlockState(new BlockPos(par2, par3, par4 + 1)).getBlock() == ModBlocks.darkaxStone)
        {
            b1 = 1;
        }

        if (b0 == b1)
        {
            return false;
        }
        else
        {
            if (par1World.isAirBlock(new BlockPos(par2 - b0, par3, par4 - b1)))
            {
                par2 -= b0;
                par4 -= b1;
            }

            int l;
            int i1;

            for (l = -1; l <= 2; ++l)
            {
                for (i1 = -1; i1 <= 3; ++i1)
                {
                    boolean flag = l == -1 || l == 2 || i1 == -1 || i1 == 3;

                    if (l != -1 && l != 2 || i1 != -1 && i1 != 3)
                    {
                        Block j1 = par1World.getBlockState(new BlockPos(par2 + b0 * l, par3 + i1, par4 + b1 * l)).getBlock();
                        boolean isAirBlock = par1World.isAirBlock(new BlockPos(par2 + b0 * l, par3 + i1, par4 + b1 * l));

                        if (flag)
                        {
                            if (j1 != ModBlocks.darkaxStone)
                            {
                                return false;
                            }
                        }
                        else if (!isAirBlock && j1 != ModBlocks.darkFire)
                        {
                            return false;
                        }
                    }
                }
            }

            for (l = 0; l < 2; ++l)
            {
                for (i1 = 0; i1 < 3; ++i1)
                {
                    par1World.setBlockState(new BlockPos(par2 + b0 * l, par3 + i1, par4 + b1 * l), ModBlocks.portalDarkax.getDefaultState());
                }
            }

            return true;
        }
    }
    @Override
    public void randomDisplayTick(World worldIn, BlockPos pos, IBlockState state, Random rand)
    {
    	
        int par2= pos.getX();
        int par3= pos.getY();
        int par4= pos.getZ();
    	
        if (rand.nextInt(100) == 0)
        {
        	worldIn.playSound((double)pos.getX() + 0.5D, (double)pos.getY() + 0.5D, (double)pos.getZ() + 0.5D, "portal.portal", 0.5F, rand.nextFloat() * 0.4F + 0.8F, false);
        }

        for (int i = 0; i < 4; ++i)
        {
            double d0 = (double)((float)pos.getX() + rand.nextFloat());
            double d1 = (double)((float)pos.getY() + rand.nextFloat());
            double d2 = (double)((float)pos.getZ() + rand.nextFloat());
            double d3 = ((double)rand.nextFloat() - 0.5D) * 0.5D;
            double d4 = ((double)rand.nextFloat() - 0.5D) * 0.5D;
            double d5 = ((double)rand.nextFloat() - 0.5D) * 0.5D;
            int j = rand.nextInt(2) * 2 - 1;

            if (worldIn.getBlockState(pos.west()).getBlock() != this && worldIn.getBlockState(pos.east()).getBlock() != this)
            {
                d0 = (double)pos.getX() + 0.5D + 0.25D * (double)j;
                d3 = (double)(rand.nextFloat() * 2.0F * (float)j);
            }
            else
            {
                d2 = (double)pos.getZ() + 0.5D + 0.25D * (double)j;
                d5 = (double)(rand.nextFloat() * 2.0F * (float)j);
            }

            worldIn.spawnParticle(EnumParticleTypes.PORTAL, d0, d1, d2, d3, d4, d5, new int[0]);
        }
    }

    @Override
public void onNeighborBlockChange(World par1World, BlockPos blockPos, IBlockState state, Block neighborBlock)
    	{
        byte b0 = 0;
        byte b1 = 1;
        
        int par2= blockPos.getX();
        int par3= blockPos.getY();
        int par4= blockPos.getZ();

        if (par1World.getBlockState(new BlockPos(par2 - 1, par3, par4)) == this || par1World.getBlockState(new BlockPos(par2 + 1, par3, par4)) == this)
        {
            b0 = 1;
            b1 = 0;
        }

        int i1;

        for (i1 = par3; par1World.getBlockState(new BlockPos(par2, i1 - 1, par4)) == this; --i1)
        {
            ;
        }

        if (par1World.getBlockState(new BlockPos(par2, i1 - 1, par4)) != ModBlocks.darkaxStone)
        {
            par1World.setBlockToAir(new BlockPos(par2, par3, par4));
        }
        else
        {
            int j1;

            for (j1 = 1; j1 < 4 && par1World.getBlockState(new BlockPos(par2, i1 + j1, par4)) == this; ++j1)
            {
                ;
            }

            if (j1 == 3 && par1World.getBlockState(new BlockPos(par2, i1 + j1, par4)) == ModBlocks.darkaxStone)
            {
                boolean flag = par1World.getBlockState(new BlockPos(par2 - 1, par3, par4)) == this || par1World.getBlockState(new BlockPos(par2 + 1, par3, par4)) == this;
                boolean flag1 = par1World.getBlockState(new BlockPos(par2, par3, par4 - 1)) == this || par1World.getBlockState(new BlockPos(par2, par3, par4 + 1)) == this;

                if (flag && flag1)
                {
                    par1World.setBlockToAir(new BlockPos(par2, par3, par4));
                }
                else
                {
                    if ((par1World.getBlockState(new BlockPos(par2 + b0, par3, par4 + b1)) != ModBlocks.darkaxStone || par1World.getBlockState(new BlockPos(par2 - b0, par3, par4 - b1)) != this) && (par1World.getBlockState(new BlockPos(par2 - b0, par3, par4 - b1)) != ModBlocks.darkaxStone || par1World.getBlockState(new BlockPos(par2 + b0, par3, par4 + b1)) != this))
                    {
                        par1World.setBlockToAir(new BlockPos(par2, par3, par4));
                    }
                }
            }
            else
            {
                par1World.setBlockToAir(new BlockPos(par2, par3, par4));
            }
        }
    }
}

Main Developer and Owner of Zero Quest

Visit the Wiki for more information

If I helped anyone, please give me a applaud and a thank you!

Posted

There's several problems with it: the portal isn't being activated, and when I manunally get the portal block, it teleports me to the Nether instead of the correct dimension. Also on Github, look around in the 1.7.10 code, I completely scratched out the portal use and changed some things that you will find not making any sense with 1.8

 

https://github.com/NovaViper/ZeroQuest/tree/master/1.7.10-src/common/zeroquest/dimension

https://github.com/NovaViper/ZeroQuest/tree/master/1.7.10-src/common/zeroquest/block/portal

Main Developer and Owner of Zero Quest

Visit the Wiki for more information

If I helped anyone, please give me a applaud and a thank you!

Posted

About why you teleports you to nether: you should override onEntityCollidedWithBlock(World, BlockPos, IBlockState, Entity) not onEntityCollidedWithBlock(World, BlockPos, Entity). I would say WTF when two methods share same name and similar parameters but are totally different!

Author of Tao Land Mod.

width=200 height=69http://taoland.herbix.me/images/1/14/TaoLandLogo.png[/img]

Also, author of RenderTo

----

I'm not an English native speaker. I just try my best.

Posted

Huh, didn't know that, let me convert my 1.7.10 code over to 1.8 and put that override in and i'll post my result

Main Developer and Owner of Zero Quest

Visit the Wiki for more information

If I helped anyone, please give me a applaud and a thank you!

Posted

And overriding that onEntityCollide method made me teleport to the correct dimension! Thanks for helping me solve that part of the problem. But now I must deal with the main one, why isn't the portal being activated

Main Developer and Owner of Zero Quest

Visit the Wiki for more information

If I helped anyone, please give me a applaud and a thank you!

Posted
package common.zeroquest.block.portal;

import java.util.Random;

import net.minecraft.block.Block;
import net.minecraft.block.BlockPortal;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.server.MinecraftServer;
import net.minecraft.util.BlockPos;
import net.minecraft.util.EnumParticleTypes;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
import net.minecraftforge.fml.common.FMLCommonHandler;

import common.zeroquest.ModBlocks;
import common.zeroquest.ZeroQuest;

public class BlockPortalNillax extends BlockPortal {

public BlockPortalNillax() {
	super();
	this.setStepSound(soundTypeGlass);
}

@Override
public int getLightValue(IBlockAccess world, BlockPos pos) {
	return 14;
}

@Override
public void onEntityCollidedWithBlock(World worldIn, BlockPos pos, IBlockState state, Entity entityIn) {
	if (entityIn.ridingEntity == null && entityIn.riddenByEntity == null && entityIn instanceof EntityPlayerMP) {
		EntityPlayerMP player = (EntityPlayerMP) entityIn;
		FMLCommonHandler.instance().getMinecraftServerInstance();
		MinecraftServer server = MinecraftServer.getServer();

		if (player.timeUntilPortal > 0) {
			player.timeUntilPortal = 10;
		}
		else if (player.dimension != ZeroQuest.NillaxID) {
			player.timeUntilPortal = 10;
			player.mcServer.getConfigurationManager().transferPlayerToDimension(player, ZeroQuest.NillaxID, new TeleporterNillax(server.worldServerForDimension(ZeroQuest.NillaxID)));
		}
		else {
			player.timeUntilPortal = 10;
			player.mcServer.getConfigurationManager().transferPlayerToDimension(player, 0, new TeleporterNillax(server.worldServerForDimension(0)));
		}
	}
}

@Override
public boolean func_176548_d(World par1World, BlockPos blockPos) // func_176548_d
{
	byte b0 = 0;
	byte b1 = 0;

	int par2 = blockPos.getX();
	int par3 = blockPos.getY();
	int par4 = blockPos.getZ();

	if (par1World.getBlockState(new BlockPos(par2 - 1, par3, par4)).getBlock() == ModBlocks.nillaxStone || par1World.getBlockState(new BlockPos(par2 + 1, par3, par4)).getBlock() == ModBlocks.nillaxStone) {
		b0 = 1;
	}

	if (par1World.getBlockState(new BlockPos(par2, par3, par4 - 1)).getBlock() == ModBlocks.nillaxStone || par1World.getBlockState(new BlockPos(par2, par3, par4 + 1)).getBlock() == ModBlocks.nillaxStone) {
		b1 = 1;
	}

	if (b0 == b1) {
		return false;
	}
	else {
		if (par1World.isAirBlock(new BlockPos(par2 - b0, par3, par4 - b1))) {
			par2 -= b0;
			par4 -= b1;
		}

		int l;
		int i1;

		for (l = -1; l <= 2; ++l) {
			for (i1 = -1; i1 <= 3; ++i1) {
				boolean flag = l == -1 || l == 2 || i1 == -1 || i1 == 3;

				if (l != -1 && l != 2 || i1 != -1 && i1 != 3) {
					Block j1 = par1World.getBlockState(new BlockPos(par2 + b0 * l, par3 + i1, par4 + b1 * l)).getBlock();
					boolean isAirBlock = par1World.isAirBlock(new BlockPos(par2 + b0 * l, par3 + i1, par4 + b1 * l));

					if (flag) {
						if (j1 != ModBlocks.nillaxStone) {
							return false;
						}
					}
					else if (!isAirBlock && j1 != ModBlocks.nileFire) {
						return false;
					}
				}
			}
		}

		for (l = 0; l < 2; ++l) {
			for (i1 = 0; i1 < 3; ++i1) {
				par1World.setBlockState(new BlockPos(par2 + b0 * l, par3 + i1, par4 + b1 * l), ModBlocks.portalNillax.getDefaultState());
			}
		}

		return true;
	}
}

@Override
public void randomDisplayTick(World worldIn, BlockPos pos, IBlockState state, Random rand) {

	int par2 = pos.getX();
	int par3 = pos.getY();
	int par4 = pos.getZ();

	if (rand.nextInt(100) == 0) {
		worldIn.playSound(pos.getX() + 0.5D, pos.getY() + 0.5D, pos.getZ() + 0.5D, "portal.portal", 0.5F, rand.nextFloat() * 0.4F + 0.8F, false);
	}

	for (int i = 0; i < 4; ++i) {
		double d0 = pos.getX() + rand.nextFloat();
		double d1 = pos.getY() + rand.nextFloat();
		double d2 = pos.getZ() + rand.nextFloat();
		double d3 = (rand.nextFloat() - 0.5D) * 0.5D;
		double d4 = (rand.nextFloat() - 0.5D) * 0.5D;
		double d5 = (rand.nextFloat() - 0.5D) * 0.5D;
		int j = rand.nextInt(2) * 2 - 1;

		if (worldIn.getBlockState(pos.west()).getBlock() != this && worldIn.getBlockState(pos.east()).getBlock() != this) {
			d0 = pos.getX() + 0.5D + 0.25D * j;
			d3 = rand.nextFloat() * 2.0F * j;
		}
		else {
			d2 = pos.getZ() + 0.5D + 0.25D * j;
			d5 = rand.nextFloat() * 2.0F * j;
		}

		worldIn.spawnParticle(EnumParticleTypes.PORTAL, d0, d1, d2, d3, d4, d5, new int[0]);
	}
}

@Override
public void onNeighborBlockChange(World par1World, BlockPos blockPos, IBlockState state, Block neighborBlock) {
	byte b0 = 0;
	byte b1 = 1;

	int par2 = blockPos.getX();
	int par3 = blockPos.getY();
	int par4 = blockPos.getZ();

	if (par1World.getBlockState(new BlockPos(par2 - 1, par3, par4)) == this || par1World.getBlockState(new BlockPos(par2 + 1, par3, par4)) == this) {
		b0 = 1;
		b1 = 0;
	}

	int i1;

	for (i1 = par3; par1World.getBlockState(new BlockPos(par2, i1 - 1, par4)) == this; --i1) {
		;
	}

	if (par1World.getBlockState(new BlockPos(par2, i1 - 1, par4)) != ModBlocks.nillaxStone) {
		par1World.setBlockToAir(new BlockPos(par2, par3, par4));
	}
	else {
		int j1;

		for (j1 = 1; j1 < 4 && par1World.getBlockState(new BlockPos(par2, i1 + j1, par4)) == this; ++j1) {
			;
		}

		if (j1 == 3 && par1World.getBlockState(new BlockPos(par2, i1 + j1, par4)) == ModBlocks.nillaxStone) {
			boolean flag = par1World.getBlockState(new BlockPos(par2 - 1, par3, par4)) == this || par1World.getBlockState(new BlockPos(par2 + 1, par3, par4)) == this;
			boolean flag1 = par1World.getBlockState(new BlockPos(par2, par3, par4 - 1)) == this || par1World.getBlockState(new BlockPos(par2, par3, par4 + 1)) == this;

			if (flag && flag1) {
				par1World.setBlockToAir(new BlockPos(par2, par3, par4));
			}
			else {
				if ((par1World.getBlockState(new BlockPos(par2 + b0, par3, par4 + b1)) != ModBlocks.nillaxStone || par1World.getBlockState(new BlockPos(par2 - b0, par3, par4 - b1)) != this) && (par1World.getBlockState(new BlockPos(par2 - b0, par3, par4 - b1)) != ModBlocks.nillaxStone || par1World.getBlockState(new BlockPos(par2 + b0, par3, par4 + b1)) != this)) {
					par1World.setBlockToAir(new BlockPos(par2, par3, par4));
				}
			}
		}
		else {
			par1World.setBlockToAir(new BlockPos(par2, par3, par4));
		}
	}
}
}

Main Developer and Owner of Zero Quest

Visit the Wiki for more information

If I helped anyone, please give me a applaud and a thank you!

Posted

Oh wait, I got the fire disappearing but the portal block isn't being spawned. Here is my code

 

Fire

package common.zeroquest.block.portal;

import java.util.Map;
import java.util.Random;

import net.minecraft.block.Block;
import net.minecraft.block.BlockFire;
import net.minecraft.block.BlockTNT;
import net.minecraft.block.material.MapColor;
import net.minecraft.block.properties.IProperty;
import net.minecraft.block.properties.PropertyBool;
import net.minecraft.block.properties.PropertyInteger;
import net.minecraft.block.state.BlockState;
import net.minecraft.block.state.IBlockState;
import net.minecraft.init.Blocks;
import net.minecraft.util.AxisAlignedBB;
import net.minecraft.util.BlockPos;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.EnumParticleTypes;
import net.minecraft.util.EnumWorldBlockLayer;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;

import com.google.common.collect.Maps;
import common.zeroquest.ModBlocks;

public class BlockNileFire extends BlockFire {
public static final PropertyInteger AGE = PropertyInteger.create("age", 0, 15);
public static final PropertyBool FLIP = PropertyBool.create("flip");
public static final PropertyBool ALT = PropertyBool.create("alt");
public static final PropertyBool NORTH = PropertyBool.create("north");
public static final PropertyBool EAST = PropertyBool.create("east");
public static final PropertyBool SOUTH = PropertyBool.create("south");
public static final PropertyBool WEST = PropertyBool.create("west");
public static final PropertyInteger UPPER = PropertyInteger.create("upper", 0, 2);
private final Map encouragements = Maps.newIdentityHashMap();
private final Map flammabilities = Maps.newIdentityHashMap();
private static final String __OBFID = "CL_00000245";

/**
 * Get the actual Block state of this Block at the given position. This
 * applies properties not visible in the metadata, such as fence
 * connections.
 */
@Override
public IBlockState getActualState(IBlockState state, IBlockAccess worldIn, BlockPos pos) {
	int i = pos.getX();
	int j = pos.getY();
	int k = pos.getZ();

	if (!World.doesBlockHaveSolidTopSurface(worldIn, pos.down()) && !((BlockNileFire) ModBlocks.nileFire).canCatchFire(worldIn, pos.down(), EnumFacing.UP)) {
		boolean flag = (i + j + k & 1) == 1;
		boolean flag1 = (i / 2 + j / 2 + k / 2 & 1) == 1;
		int l = 0;

		if (this.canCatchFire(worldIn, pos.up(), EnumFacing.DOWN)) {
			l = flag ? 1 : 2;
		}

		return state.withProperty(NORTH, Boolean.valueOf(this.canCatchFire(worldIn, pos.north(), EnumFacing.SOUTH))).withProperty(EAST, Boolean.valueOf(this.canCatchFire(worldIn, pos.east(), EnumFacing.EAST))).withProperty(SOUTH, Boolean.valueOf(this.canCatchFire(worldIn, pos.south(), EnumFacing.NORTH))).withProperty(WEST, Boolean.valueOf(this.canCatchFire(worldIn, pos.west(), EnumFacing.EAST))).withProperty(UPPER, Integer.valueOf(l)).withProperty(FLIP, Boolean.valueOf(flag1)).withProperty(ALT, Boolean.valueOf(flag));
	}
	else {
		return this.getDefaultState();
	}
}

public BlockNileFire() {
	super();
	this.setDefaultState(this.blockState.getBaseState().withProperty(AGE, Integer.valueOf(0)).withProperty(FLIP, Boolean.valueOf(false)).withProperty(ALT, Boolean.valueOf(false)).withProperty(NORTH, Boolean.valueOf(false)).withProperty(EAST, Boolean.valueOf(false)).withProperty(SOUTH, Boolean.valueOf(false)).withProperty(WEST, Boolean.valueOf(false)).withProperty(UPPER, Integer.valueOf(0)));
	this.setTickRandomly(true);
}

public static void init() {
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.planks, 5, 20);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.double_wooden_slab, 5, 20);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.wooden_slab, 5, 20);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.oak_fence_gate, 5, 20);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.spruce_fence_gate, 5, 20);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.birch_fence_gate, 5, 20);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.jungle_fence_gate, 5, 20);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.dark_oak_fence_gate, 5, 20);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.acacia_fence_gate, 5, 20);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.oak_fence, 5, 20);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.spruce_fence, 5, 20);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.birch_fence, 5, 20);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.jungle_fence, 5, 20);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.dark_oak_fence, 5, 20);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.acacia_fence, 5, 20);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.oak_stairs, 5, 20);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.birch_stairs, 5, 20);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.spruce_stairs, 5, 20);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.jungle_stairs, 5, 20);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.log, 5, 5);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.log2, 5, 5);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.leaves, 30, 60);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.leaves2, 30, 60);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.bookshelf, 30, 20);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.tnt, 15, 100);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.tallgrass, 60, 100);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.double_plant, 60, 100);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.yellow_flower, 60, 100);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.red_flower, 60, 100);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.deadbush, 60, 100);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.wool, 30, 60);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.vine, 15, 100);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.coal_block, 5, 5);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.hay_block, 60, 20);
	((BlockNileFire) ModBlocks.nileFire).setFireInfo(Blocks.carpet, 60, 20);
}

@Override
public void setFireInfo(Block blockIn, int encouragement, int flammability) {
	if (blockIn == Blocks.air)
		throw new IllegalArgumentException("Tried to set air on fire... This is bad.");
	this.encouragements.put(blockIn, Integer.valueOf(encouragement));
	this.flammabilities.put(blockIn, Integer.valueOf(flammability));
}

@Override
public AxisAlignedBB getCollisionBoundingBox(World worldIn, BlockPos pos, IBlockState state) {
	return null;
}

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

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

/**
 * Returns the quantity of items to drop on block destruction.
 */
@Override
public int quantityDropped(Random random) {
	return 0;
}

/**
 * How many world ticks before ticking
 */
@Override
public int tickRate(World worldIn) {
	return 30;
}

@Override
public void updateTick(World worldIn, BlockPos pos, IBlockState state, Random rand) {
	if (worldIn.getGameRules().getGameRuleBooleanValue("doFireTick")) {
		if (!this.canPlaceBlockAt(worldIn, pos)) {
			worldIn.setBlockToAir(pos);
		}

		Block block = worldIn.getBlockState(pos.down()).getBlock();
		boolean flag = block.isFireSource(worldIn, pos.down(), EnumFacing.UP);

		if (!flag && worldIn.isRaining() && this.canDie(worldIn, pos)) {
			worldIn.setBlockToAir(pos);
		}
		else {
			int i = ((Integer) state.getValue(AGE)).intValue();

			if (i < 15) {
				state = state.withProperty(AGE, Integer.valueOf(i + rand.nextInt(3) / 2));
				worldIn.setBlockState(pos, state, 4);
			}

			worldIn.scheduleUpdate(pos, this, this.tickRate(worldIn) + rand.nextInt(10));

			if (!flag) {
				if (!this.canNeighborCatchFire(worldIn, pos)) {
					if (!World.doesBlockHaveSolidTopSurface(worldIn, pos.down()) || i > 3) {
						worldIn.setBlockToAir(pos);
					}

					return;
				}

				if (!this.canCatchFire(worldIn, pos.down(), EnumFacing.UP) && i == 15 && rand.nextInt(4) == 0) {
					worldIn.setBlockToAir(pos);
					return;
				}
			}

			boolean flag1 = worldIn.isBlockinHighHumidity(pos);
			byte b0 = 0;

			if (flag1) {
				b0 = -50;
			}

			this.tryCatchFire(worldIn, pos.east(), 300 + b0, rand, i, EnumFacing.WEST);
			this.tryCatchFire(worldIn, pos.west(), 300 + b0, rand, i, EnumFacing.EAST);
			this.tryCatchFire(worldIn, pos.down(), 250 + b0, rand, i, EnumFacing.UP);
			this.tryCatchFire(worldIn, pos.up(), 250 + b0, rand, i, EnumFacing.DOWN);
			this.tryCatchFire(worldIn, pos.north(), 300 + b0, rand, i, EnumFacing.SOUTH);
			this.tryCatchFire(worldIn, pos.south(), 300 + b0, rand, i, EnumFacing.NORTH);

			for (int j = -1; j <= 1; ++j) {
				for (int k = -1; k <= 1; ++k) {
					for (int l = -1; l <= 4; ++l) {
						if (j != 0 || l != 0 || k != 0) {
							int i1 = 100;

							if (l > 1) {
								i1 += (l - 1) * 100;
							}

							BlockPos blockpos1 = pos.add(j, l, k);
							int j1 = this.getNeighborEncouragement(worldIn, blockpos1);

							if (j1 > 0) {
								int k1 = (j1 + 40 + worldIn.getDifficulty().getDifficultyId() * 7) / (i + 30);

								if (flag1) {
									k1 /= 2;
								}

								if (k1 > 0 && rand.nextInt(i1) <= k1 && (!worldIn.isRaining() || !this.canDie(worldIn, blockpos1))) {
									int l1 = i + rand.nextInt(5) / 4;

									if (l1 > 15) {
										l1 = 15;
									}

									worldIn.setBlockState(blockpos1, state.withProperty(AGE, Integer.valueOf(l1)), 3);
								}
							}
						}
					}
				}
			}
		}
	}
}

@Override
protected boolean canDie(World worldIn, BlockPos pos) {
	return worldIn.canLightningStrike(pos) || worldIn.canLightningStrike(pos.west()) || worldIn.canLightningStrike(pos.east()) || worldIn.canLightningStrike(pos.north()) || worldIn.canLightningStrike(pos.south());
}

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

@Override
@Deprecated
// Use Block.getFlammability
public int getFlammability(Block blockIn) {
	Integer integer = (Integer) this.flammabilities.get(blockIn);
	return integer == null ? 0 : integer.intValue();
}

@Override
@Deprecated
// Use Block.getFlammability
public int getEncouragement(Block blockIn) {
	Integer integer = (Integer) this.encouragements.get(blockIn);
	return integer == null ? 0 : integer.intValue();
}

@Deprecated
// Use tryCatchFire with face below
private void catchOnFire(World worldIn, BlockPos pos, int chance, Random random, int age) {
	this.tryCatchFire(worldIn, pos, chance, random, age, EnumFacing.UP);
}

private void tryCatchFire(World worldIn, BlockPos pos, int chance, Random random, int age, EnumFacing face) {
	int k = worldIn.getBlockState(pos).getBlock().getFlammability(worldIn, pos, face);

	if (random.nextInt(chance) < k) {
		IBlockState iblockstate = worldIn.getBlockState(pos);

		if (random.nextInt(age + 10) < 5 && !worldIn.canLightningStrike(pos)) {
			int l = age + random.nextInt(5) / 4;

			if (l > 15) {
				l = 15;
			}

			worldIn.setBlockState(pos, this.getDefaultState().withProperty(AGE, Integer.valueOf(l)), 3);
		}
		else {
			worldIn.setBlockToAir(pos);
		}

		if (iblockstate.getBlock() == Blocks.tnt) {
			Blocks.tnt.onBlockDestroyedByPlayer(worldIn, pos, iblockstate.withProperty(BlockTNT.EXPLODE, Boolean.valueOf(true)));
		}
	}
}

private boolean canNeighborCatchFire(World worldIn, BlockPos pos) {
	EnumFacing[] aenumfacing = EnumFacing.values();
	int i = aenumfacing.length;

	for (int j = 0; j < i; ++j) {
		EnumFacing enumfacing = aenumfacing[j];

		if (this.canCatchFire(worldIn, pos.offset(enumfacing), enumfacing.getOpposite())) {
			return true;
		}
	}

	return false;
}

private int getNeighborEncouragement(World worldIn, BlockPos pos) {
	if (!worldIn.isAirBlock(pos)) {
		return 0;
	}
	else {
		int i = 0;
		EnumFacing[] aenumfacing = EnumFacing.values();
		int j = aenumfacing.length;

		for (int k = 0; k < j; ++k) {
			EnumFacing enumfacing = aenumfacing[k];
			i = Math.max(worldIn.getBlockState(pos.offset(enumfacing)).getBlock().getFlammability(worldIn, pos.offset(enumfacing), enumfacing.getOpposite()), i);
		}

		return i;
	}
}

/**
 * Returns if this block is collidable (only used by Fire). Args: x, y, z
 */
@Override
public boolean isCollidable() {
	return false;
}

/**
 * Checks if the block can be caught on fire
 */
@Override
@Deprecated
// Use canCatchFire with face sensitive version below
public boolean canCatchFire(IBlockAccess worldIn, BlockPos pos) {
	return canCatchFire(worldIn, pos, EnumFacing.UP);
}

@Override
public boolean canPlaceBlockAt(World worldIn, BlockPos pos) {
	return World.doesBlockHaveSolidTopSurface(worldIn, pos.down()) || this.canNeighborCatchFire(worldIn, pos);
}

/**
 * Called when a neighboring block changes.
 */
@Override
public void onNeighborBlockChange(World worldIn, BlockPos pos, IBlockState state, Block neighborBlock) {
	if (!World.doesBlockHaveSolidTopSurface(worldIn, pos.down()) && !this.canNeighborCatchFire(worldIn, pos)) {
		worldIn.setBlockToAir(pos);
	}
}

@Override
public void onBlockAdded(World worldIn, BlockPos pos, IBlockState state) {
	if (worldIn.provider.getDimensionId() > 0 || !((BlockPortalNillax) ModBlocks.portalNillax).func_176548_d(worldIn, pos)) {
		if (!World.doesBlockHaveSolidTopSurface(worldIn, pos.down()) && !this.canNeighborCatchFire(worldIn, pos)) {
			worldIn.setBlockToAir(pos);
		}
		else {
			worldIn.scheduleUpdate(pos, this, this.tickRate(worldIn) + worldIn.rand.nextInt(10));
		}
	}
}

@Override
@SideOnly(Side.CLIENT)
public void randomDisplayTick(World worldIn, BlockPos pos, IBlockState state, Random rand) {
	if (rand.nextInt(24) == 0) {
		worldIn.playSound(pos.getX() + 0.5F, pos.getY() + 0.5F, pos.getZ() + 0.5F, "fire.fire", 1.0F + rand.nextFloat(), rand.nextFloat() * 0.7F + 0.3F, false);
	}

	int i;
	double d0;
	double d1;
	double d2;

	if (!World.doesBlockHaveSolidTopSurface(worldIn, pos.down()) && !Blocks.fire.canCatchFire(worldIn, pos.down(), EnumFacing.UP)) {
		if (((BlockNileFire) ModBlocks.nileFire).canCatchFire(worldIn, pos.west(), EnumFacing.EAST)) {
			for (i = 0; i < 2; ++i) {
				d0 = pos.getX() + rand.nextDouble() * 0.10000000149011612D;
				d1 = pos.getY() + rand.nextDouble();
				d2 = pos.getZ() + rand.nextDouble();
				worldIn.spawnParticle(EnumParticleTypes.SMOKE_LARGE, d0, d1, d2, 0.0D, 0.0D, 0.0D, new int[0]);
			}
		}

		if (((BlockNileFire) ModBlocks.nileFire).canCatchFire(worldIn, pos.east(), EnumFacing.WEST)) {
			for (i = 0; i < 2; ++i) {
				d0 = pos.getX() + 1 - rand.nextDouble() * 0.10000000149011612D;
				d1 = pos.getY() + rand.nextDouble();
				d2 = pos.getZ() + rand.nextDouble();
				worldIn.spawnParticle(EnumParticleTypes.SMOKE_LARGE, d0, d1, d2, 0.0D, 0.0D, 0.0D, new int[0]);
			}
		}

		if (((BlockNileFire) ModBlocks.nileFire).canCatchFire(worldIn, pos.north(), EnumFacing.SOUTH)) {
			for (i = 0; i < 2; ++i) {
				d0 = pos.getX() + rand.nextDouble();
				d1 = pos.getY() + rand.nextDouble();
				d2 = pos.getZ() + rand.nextDouble() * 0.10000000149011612D;
				worldIn.spawnParticle(EnumParticleTypes.SMOKE_LARGE, d0, d1, d2, 0.0D, 0.0D, 0.0D, new int[0]);
			}
		}

		if (((BlockNileFire) ModBlocks.nileFire).canCatchFire(worldIn, pos.south(), EnumFacing.NORTH)) {
			for (i = 0; i < 2; ++i) {
				d0 = pos.getX() + rand.nextDouble();
				d1 = pos.getY() + rand.nextDouble();
				d2 = pos.getZ() + 1 - rand.nextDouble() * 0.10000000149011612D;
				worldIn.spawnParticle(EnumParticleTypes.SMOKE_LARGE, d0, d1, d2, 0.0D, 0.0D, 0.0D, new int[0]);
			}
		}

		if (((BlockNileFire) ModBlocks.nileFire).canCatchFire(worldIn, pos.up(), EnumFacing.DOWN)) {
			for (i = 0; i < 2; ++i) {
				d0 = pos.getX() + rand.nextDouble();
				d1 = pos.getY() + 1 - rand.nextDouble() * 0.10000000149011612D;
				d2 = pos.getZ() + rand.nextDouble();
				worldIn.spawnParticle(EnumParticleTypes.SMOKE_LARGE, d0, d1, d2, 0.0D, 0.0D, 0.0D, new int[0]);
			}
		}
	}
	else {
		for (i = 0; i < 3; ++i) {
			d0 = pos.getX() + rand.nextDouble();
			d1 = pos.getY() + rand.nextDouble() * 0.5D + 0.5D;
			d2 = pos.getZ() + rand.nextDouble();
			worldIn.spawnParticle(EnumParticleTypes.SMOKE_LARGE, d0, d1, d2, 0.0D, 0.0D, 0.0D, new int[0]);
		}
	}
}

/**
 * Get the MapColor for this Block and the given BlockState
 */
@Override
public MapColor getMapColor(IBlockState state) {
	return MapColor.tntColor;
}

@Override
@SideOnly(Side.CLIENT)
public EnumWorldBlockLayer getBlockLayer() {
	return EnumWorldBlockLayer.CUTOUT;
}

/**
 * Convert the given metadata into a BlockState for this Block
 */
@Override
public IBlockState getStateFromMeta(int meta) {
	return this.getDefaultState().withProperty(AGE, Integer.valueOf(meta));
}

/**
 * Convert the BlockState into the correct metadata value
 */
@Override
public int getMetaFromState(IBlockState state) {
	return ((Integer) state.getValue(AGE)).intValue();
}

@Override
protected BlockState createBlockState() {
	return new BlockState(this, new IProperty[] { AGE, NORTH, EAST, SOUTH, WEST, UPPER, FLIP,
			ALT });
}

/* ================================= Forge Start
 * ====================================== */
/**
 * Side sensitive version that calls the block function.
 * 
 * @param world
 *        The current world
 * @param pos
 *        Block position
 * @param face
 *        The side the fire is coming from
 * @return True if the face can catch fire.
 */
@Override
public boolean canCatchFire(IBlockAccess world, BlockPos pos, EnumFacing face) {
	return world.getBlockState(pos).getBlock().isFlammable(world, pos, face);
}
/* ================================= Forge Start
 * ====================================== */
}

 

Teleporter

package common.zeroquest.block.portal;

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

import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.Entity;
import net.minecraft.init.Blocks;
import net.minecraft.util.BlockPos;
import net.minecraft.util.EnumFacing;
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;

import com.google.common.collect.Lists;
import common.zeroquest.ModBlocks;

public class TeleporterNillax extends Teleporter {
private final WorldServer worldServerInstance;
/** A private Random() function in Teleporter */
private final Random random;
/** Stores successful portal placement locations for rapid lookup. */
private final LongHashMap destinationCoordinateCache = new LongHashMap();
/**
 * A list of valid keys for the destinationCoordainteCache. These are based
 * on the X & Z of the players initial location.
 */
private final List destinationCoordinateKeys = Lists.newArrayList();
private static final String __OBFID = "CL_00000153";

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

@Override
public void placeInPortal(Entity entityIn, float rotationYaw) {
	if (this.worldServerInstance.provider.getDimensionId() != 1) {
		if (!this.placeInExistingPortal(entityIn, rotationYaw)) {
			this.makePortal(entityIn);
			this.placeInExistingPortal(entityIn, rotationYaw);
		}
	}
	else {
		int i = MathHelper.floor_double(entityIn.posX);
		int j = MathHelper.floor_double(entityIn.posY) - 1;
		int k = MathHelper.floor_double(entityIn.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.setBlockState(new BlockPos(k1, l1, i2), flag
							? ModBlocks.nillaxStone.getDefaultState()
							: Blocks.air.getDefaultState());
				}
			}
		}

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

@Override
public boolean placeInExistingPortal(Entity entityIn, float p_180620_2_) {
	boolean flag = true;
	double d0 = -1.0D;
	int i = MathHelper.floor_double(entityIn.posX);
	int j = MathHelper.floor_double(entityIn.posZ);
	boolean flag1 = true;
	Object object = BlockPos.ORIGIN;
	long k = ChunkCoordIntPair.chunkXZ2Int(i, j);

	if (this.destinationCoordinateCache.containsItem(k)) {
		Teleporter.PortalPosition portalposition = (Teleporter.PortalPosition) this.destinationCoordinateCache.getValueByKey(k);
		d0 = 0.0D;
		object = portalposition;
		portalposition.lastUpdateTime = this.worldServerInstance.getTotalWorldTime();
		flag1 = false;
	}
	else {
		BlockPos blockpos4 = new BlockPos(entityIn);

		for (int l = -128; l <= 128; ++l) {
			BlockPos blockpos1;

			for (int i1 = -128; i1 <= 128; ++i1) {
				for (BlockPos blockpos = blockpos4.add(l, this.worldServerInstance.getActualHeight() - 1 - blockpos4.getY(), i1); blockpos.getY() >= 0; blockpos = blockpos1) {
					blockpos1 = blockpos.down();

					if (this.worldServerInstance.getBlockState(blockpos).getBlock() == ModBlocks.portalNillax) {
						while (this.worldServerInstance.getBlockState(blockpos1 = blockpos.down()).getBlock() == ModBlocks.portalNillax) {
							blockpos = blockpos1;
						}

						double d1 = blockpos.distanceSq(blockpos4);

						if (d0 < 0.0D || d1 < d0) {
							d0 = d1;
							object = blockpos;
						}
					}
				}
			}
		}
	}

	if (d0 >= 0.0D) {
		if (flag1) {
			this.destinationCoordinateCache.add(k, new TeleporterNillax.PortalPosition((BlockPos) object, this.worldServerInstance.getTotalWorldTime()));
			this.destinationCoordinateKeys.add(Long.valueOf(k));
		}

		double d4 = ((BlockPos) object).getX() + 0.5D;
		double d5 = ((BlockPos) object).getY() + 0.5D;
		double d6 = ((BlockPos) object).getZ() + 0.5D;
		EnumFacing enumfacing = null;

		if (this.worldServerInstance.getBlockState(((BlockPos) object).west()).getBlock() == ModBlocks.portalNillax) {
			enumfacing = EnumFacing.NORTH;
		}

		if (this.worldServerInstance.getBlockState(((BlockPos) object).east()).getBlock() == ModBlocks.portalNillax) {
			enumfacing = EnumFacing.SOUTH;
		}

		if (this.worldServerInstance.getBlockState(((BlockPos) object).north()).getBlock() == ModBlocks.portalNillax) {
			enumfacing = EnumFacing.EAST;
		}

		if (this.worldServerInstance.getBlockState(((BlockPos) object).south()).getBlock() == ModBlocks.portalNillax) {
			enumfacing = EnumFacing.WEST;
		}

		EnumFacing enumfacing1 = EnumFacing.getHorizontal(entityIn.getTeleportDirection());

		if (enumfacing != null) {
			EnumFacing enumfacing2 = enumfacing.rotateYCCW();
			BlockPos blockpos2 = ((BlockPos) object).offset(enumfacing);
			boolean flag2 = this.func_180265_a(blockpos2);
			boolean flag3 = this.func_180265_a(blockpos2.offset(enumfacing2));

			if (flag3 && flag2) {
				object = ((BlockPos) object).offset(enumfacing2);
				enumfacing = enumfacing.getOpposite();
				enumfacing2 = enumfacing2.getOpposite();
				BlockPos blockpos3 = ((BlockPos) object).offset(enumfacing);
				flag2 = this.func_180265_a(blockpos3);
				flag3 = this.func_180265_a(blockpos3.offset(enumfacing2));
			}

			float f6 = 0.5F;
			float f1 = 0.5F;

			if (!flag3 && flag2) {
				f6 = 1.0F;
			}
			else if (flag3 && !flag2) {
				f6 = 0.0F;
			}
			else if (flag3) {
				f1 = 0.0F;
			}

			d4 = ((BlockPos) object).getX() + 0.5D;
			d5 = ((BlockPos) object).getY() + 0.5D;
			d6 = ((BlockPos) object).getZ() + 0.5D;
			d4 += enumfacing2.getFrontOffsetX() * f6 + enumfacing.getFrontOffsetX() * f1;
			d6 += enumfacing2.getFrontOffsetZ() * f6 + enumfacing.getFrontOffsetZ() * f1;
			float f2 = 0.0F;
			float f3 = 0.0F;
			float f4 = 0.0F;
			float f5 = 0.0F;

			if (enumfacing == enumfacing1) {
				f2 = 1.0F;
				f3 = 1.0F;
			}
			else if (enumfacing == enumfacing1.getOpposite()) {
				f2 = -1.0F;
				f3 = -1.0F;
			}
			else if (enumfacing == enumfacing1.rotateY()) {
				f4 = 1.0F;
				f5 = -1.0F;
			}
			else {
				f4 = -1.0F;
				f5 = 1.0F;
			}

			double d2 = entityIn.motionX;
			double d3 = entityIn.motionZ;
			entityIn.motionX = d2 * f2 + d3 * f5;
			entityIn.motionZ = d2 * f4 + d3 * f3;
			entityIn.rotationYaw = p_180620_2_ - enumfacing1.getHorizontalIndex() * 90 + enumfacing.getHorizontalIndex() * 90;
		}
		else {
			entityIn.motionX = entityIn.motionY = entityIn.motionZ = 0.0D;
		}

		entityIn.setLocationAndAngles(d4, d5, d6, entityIn.rotationYaw, entityIn.rotationPitch);
		return true;
	}
	else {
		return false;
	}
}

private boolean func_180265_a(BlockPos p_180265_1_) {
	return !this.worldServerInstance.isAirBlock(p_180265_1_) || !this.worldServerInstance.isAirBlock(p_180265_1_.up());
}

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

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

		for (k2 = k - b0; k2 <= k + b0; ++k2) {
			d2 = k2 + 0.5D - p_85188_1_.posZ;
			label271:

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

					for (j3 = l1; j3 < l1 + 4; ++j3) {
						k3 = j3 % 2;
						l3 = 1 - k3;

						if (j3 % 4 >= 2) {
							k3 = -k3;
							l3 = -l3;
						}

						for (i4 = 0; i4 < 3; ++i4) {
							for (j4 = 0; j4 < 4; ++j4) {
								for (k4 = -1; k4 < 4; ++k4) {
									l4 = i2 + (j4 - 1) * k3 + i4 * l3;
									i5 = i3 + k4;
									int j5 = k2 + (j4 - 1) * l3 - i4 * k3;

									if (k4 < 0 && !this.worldServerInstance.getBlockState(new BlockPos(l4, i5, j5)).getBlock().getMaterial().isSolid() || k4 >= 0 && !this.worldServerInstance.isAirBlock(new BlockPos(l4, i5, j5))) {
										continue label271;
									}
								}
							}
						}

						d3 = i3 + 0.5D - p_85188_1_.posY;
						d4 = d1 * d1 + d3 * d3 + d2 * d2;

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

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

			for (k2 = k - b0; k2 <= k + b0; ++k2) {
				d2 = k2 + 0.5D - p_85188_1_.posZ;
				label219:

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

						for (j3 = l1; j3 < l1 + 2; ++j3) {
							k3 = j3 % 2;
							l3 = 1 - k3;

							for (i4 = 0; i4 < 4; ++i4) {
								for (j4 = -1; j4 < 4; ++j4) {
									k4 = i2 + (i4 - 1) * k3;
									l4 = i3 + j4;
									i5 = k2 + (i4 - 1) * l3;

									if (j4 < 0 && !this.worldServerInstance.getBlockState(new BlockPos(k4, l4, i5)).getBlock().getMaterial().isSolid() || j4 >= 0 && !this.worldServerInstance.isAirBlock(new BlockPos(k4, l4, i5))) {
										continue label219;
									}
								}
							}

							d3 = i3 + 0.5D - p_85188_1_.posY;
							d4 = d1 * d1 + d3 * d3 + d2 * d2;

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

	int k5 = l;
	int j2 = i1;
	k2 = j1;
	int l5 = k1 % 2;
	int l2 = 1 - l5;

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

	if (d0 < 0.0D) {
		i1 = MathHelper.clamp_int(i1, 70, this.worldServerInstance.getActualHeight() - 10);
		j2 = i1;

		for (i3 = -1; i3 <= 1; ++i3) {
			for (j3 = 1; j3 < 3; ++j3) {
				for (k3 = -1; k3 < 3; ++k3) {
					l3 = k5 + (j3 - 1) * l5 + i3 * l2;
					i4 = j2 + k3;
					j4 = k2 + (j3 - 1) * l2 - i3 * l5;
					boolean flag = k3 < 0;
					this.worldServerInstance.setBlockState(new BlockPos(l3, i4, j4), flag
							? ModBlocks.nillaxStone.getDefaultState()
							: Blocks.air.getDefaultState());
				}
			}
		}
	}

	IBlockState iblockstate = ModBlocks.portalNillax.getDefaultState().withProperty(BlockPortalNillax.AXIS, l5 != 0
			? EnumFacing.Axis.X : EnumFacing.Axis.Z);

	for (j3 = 0; j3 < 4; ++j3) {
		for (k3 = 0; k3 < 4; ++k3) {
			for (l3 = -1; l3 < 4; ++l3) {
				i4 = k5 + (k3 - 1) * l5;
				j4 = j2 + l3;
				k4 = k2 + (k3 - 1) * l2;
				boolean flag1 = k3 == 0 || k3 == 3 || l3 == -1 || l3 == 3;
				this.worldServerInstance.setBlockState(new BlockPos(i4, j4, k4), flag1
						? ModBlocks.nillaxStone.getDefaultState() : iblockstate, 2);
			}
		}

		for (k3 = 0; k3 < 4; ++k3) {
			for (l3 = -1; l3 < 4; ++l3) {
				i4 = k5 + (k3 - 1) * l5;
				j4 = j2 + l3;
				k4 = k2 + (k3 - 1) * l2;
				this.worldServerInstance.notifyNeighborsOfStateChange(new BlockPos(i4, j4, k4), this.worldServerInstance.getBlockState(new BlockPos(i4, j4, k4)).getBlock());
			}
		}
	}

	return true;
}

/**
 * called periodically to remove out-of-date portal locations from the cache
 * list. Argument par1 is a WorldServer.getTotalWorldTime() value.
 */
@Override
public void removeStalePortalLocations(long p_85189_1_) {
	if (p_85189_1_ % 100L == 0L) {
		Iterator iterator = this.destinationCoordinateKeys.iterator();
		long j = p_85189_1_ - 600L;

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

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

public class PortalPosition extends BlockPos {
	/** The worldtime at which this PortalPosition was last verified */
	public long lastUpdateTime;
	private static final String __OBFID = "CL_00000154";

	public PortalPosition(BlockPos pos, long p_i45747_3_) {
		super(pos.getX(), pos.getY(), pos.getZ());
		this.lastUpdateTime = p_i45747_3_;
	}
}
}

 

Portal Block

package common.zeroquest.block.portal;

import java.util.Random;

import net.minecraft.block.Block;
import net.minecraft.block.BlockPortal;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.server.MinecraftServer;
import net.minecraft.util.BlockPos;
import net.minecraft.util.EnumParticleTypes;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
import net.minecraftforge.fml.common.FMLCommonHandler;

import common.zeroquest.ModBlocks;
import common.zeroquest.ZeroQuest;

public class BlockPortalNillax extends BlockPortal {

public BlockPortalNillax() {
	super();
	this.setStepSound(soundTypeGlass);
}

@Override
public int getLightValue(IBlockAccess world, BlockPos pos) {
	return 14;
}

@Override
public void onEntityCollidedWithBlock(World worldIn, BlockPos pos, IBlockState state, Entity entityIn) {
	if (entityIn.ridingEntity == null && entityIn.riddenByEntity == null && entityIn instanceof EntityPlayerMP) {
		EntityPlayerMP player = (EntityPlayerMP) entityIn;
		FMLCommonHandler.instance().getMinecraftServerInstance();
		MinecraftServer server = MinecraftServer.getServer();

		if (player.timeUntilPortal > 0) {
			player.timeUntilPortal = 10;
		}
		else if (player.dimension != ZeroQuest.NillaxID) {
			player.timeUntilPortal = 10;
			player.mcServer.getConfigurationManager().transferPlayerToDimension(player, ZeroQuest.NillaxID, new TeleporterNillax(server.worldServerForDimension(ZeroQuest.NillaxID)));
		}
		else {
			player.timeUntilPortal = 10;
			player.mcServer.getConfigurationManager().transferPlayerToDimension(player, 0, new TeleporterNillax(server.worldServerForDimension(0)));
		}
	}
}

@Override
public boolean func_176548_d(World par1World, BlockPos blockPos) // func_176548_d
{
	byte b0 = 0;
	byte b1 = 0;

	int par2 = blockPos.getX();
	int par3 = blockPos.getY();
	int par4 = blockPos.getZ();

	if (par1World.getBlockState(new BlockPos(par2 - 1, par3, par4)).getBlock() == ModBlocks.nillaxStone || par1World.getBlockState(new BlockPos(par2 + 1, par3, par4)).getBlock() == ModBlocks.nillaxStone) {
		b0 = 1;
	}

	if (par1World.getBlockState(new BlockPos(par2, par3, par4 - 1)).getBlock() == ModBlocks.nillaxStone || par1World.getBlockState(new BlockPos(par2, par3, par4 + 1)).getBlock() == ModBlocks.nillaxStone) {
		b1 = 1;
	}

	if (b0 == b1) {
		return false;
	}
	else {
		if (par1World.isAirBlock(new BlockPos(par2 - b0, par3, par4 - b1))) {
			par2 -= b0;
			par4 -= b1;
		}

		int l;
		int i1;

		for (l = -1; l <= 2; ++l) {
			for (i1 = -1; i1 <= 3; ++i1) {
				boolean flag = l == -1 || l == 2 || i1 == -1 || i1 == 3;

				if (l != -1 && l != 2 || i1 != -1 && i1 != 3) {
					Block j1 = par1World.getBlockState(new BlockPos(par2 + b0 * l, par3 + i1, par4 + b1 * l)).getBlock();
					boolean isAirBlock = par1World.isAirBlock(new BlockPos(par2 + b0 * l, par3 + i1, par4 + b1 * l));

					if (flag) {
						if (j1 != ModBlocks.nillaxStone) {
							return false;
						}
					}
					else if (!isAirBlock && j1 != ModBlocks.nileFire) {
						return false;
					}
				}
			}
		}

		for (l = 0; l < 2; ++l) {
			for (i1 = 0; i1 < 3; ++i1) {
				par1World.setBlockState(new BlockPos(par2 + b0 * l, par3 + i1, par4 + b1 * l), ModBlocks.portalNillax.getDefaultState());
			}
		}

		return true;
	}
}

@Override
public void randomDisplayTick(World worldIn, BlockPos pos, IBlockState state, Random rand) {

	int par2 = pos.getX();
	int par3 = pos.getY();
	int par4 = pos.getZ();

	if (rand.nextInt(100) == 0) {
		worldIn.playSound(pos.getX() + 0.5D, pos.getY() + 0.5D, pos.getZ() + 0.5D, "portal.portal", 0.5F, rand.nextFloat() * 0.4F + 0.8F, false);
	}

	for (int i = 0; i < 4; ++i) {
		double d0 = pos.getX() + rand.nextFloat();
		double d1 = pos.getY() + rand.nextFloat();
		double d2 = pos.getZ() + rand.nextFloat();
		double d3 = (rand.nextFloat() - 0.5D) * 0.5D;
		double d4 = (rand.nextFloat() - 0.5D) * 0.5D;
		double d5 = (rand.nextFloat() - 0.5D) * 0.5D;
		int j = rand.nextInt(2) * 2 - 1;

		if (worldIn.getBlockState(pos.west()).getBlock() != this && worldIn.getBlockState(pos.east()).getBlock() != this) {
			d0 = pos.getX() + 0.5D + 0.25D * j;
			d3 = rand.nextFloat() * 2.0F * j;
		}
		else {
			d2 = pos.getZ() + 0.5D + 0.25D * j;
			d5 = rand.nextFloat() * 2.0F * j;
		}

		worldIn.spawnParticle(EnumParticleTypes.PORTAL, d0, d1, d2, d3, d4, d5, new int[0]);
	}
}

@Override
public void onNeighborBlockChange(World par1World, BlockPos blockPos, IBlockState state, Block neighborBlock) {
	byte b0 = 0;
	byte b1 = 1;

	int par2 = blockPos.getX();
	int par3 = blockPos.getY();
	int par4 = blockPos.getZ();

	if (par1World.getBlockState(new BlockPos(par2 - 1, par3, par4)) == this || par1World.getBlockState(new BlockPos(par2 + 1, par3, par4)) == this) {
		b0 = 1;
		b1 = 0;
	}

	int i1;

	for (i1 = par3; par1World.getBlockState(new BlockPos(par2, i1 - 1, par4)) == this; --i1) {
		;
	}

	if (par1World.getBlockState(new BlockPos(par2, i1 - 1, par4)) != ModBlocks.nillaxStone) {
		par1World.setBlockToAir(new BlockPos(par2, par3, par4));
	}
	else {
		int j1;

		for (j1 = 1; j1 < 4 && par1World.getBlockState(new BlockPos(par2, i1 + j1, par4)) == this; ++j1) {
			;
		}

		if (j1 == 3 && par1World.getBlockState(new BlockPos(par2, i1 + j1, par4)) == ModBlocks.nillaxStone) {
			boolean flag = par1World.getBlockState(new BlockPos(par2 - 1, par3, par4)) == this || par1World.getBlockState(new BlockPos(par2 + 1, par3, par4)) == this;
			boolean flag1 = par1World.getBlockState(new BlockPos(par2, par3, par4 - 1)) == this || par1World.getBlockState(new BlockPos(par2, par3, par4 + 1)) == this;

			if (flag && flag1) {
				par1World.setBlockToAir(new BlockPos(par2, par3, par4));
			}
			else {
				if ((par1World.getBlockState(new BlockPos(par2 + b0, par3, par4 + b1)) != ModBlocks.nillaxStone || par1World.getBlockState(new BlockPos(par2 - b0, par3, par4 - b1)) != this) && (par1World.getBlockState(new BlockPos(par2 - b0, par3, par4 - b1)) != ModBlocks.nillaxStone || par1World.getBlockState(new BlockPos(par2 + b0, par3, par4 + b1)) != this)) {
					par1World.setBlockToAir(new BlockPos(par2, par3, par4));
				}
			}
		}
		else {
			par1World.setBlockToAir(new BlockPos(par2, par3, par4));
		}
	}
}
}

Main Developer and Owner of Zero Quest

Visit the Wiki for more information

If I helped anyone, please give me a applaud and a thank you!

Posted

In my opinion, it's a better choice to rewrite func_176548_d than trying to fix it.

Obfuscated codes make it harder to read or modify. It would also make trouble in future updates.

 

How do I do so? Do I just completely copy and paste from source and just change up the Axises? I really have no idea where to start off if I have to completely rewrite the function

Main Developer and Owner of Zero Quest

Visit the Wiki for more information

If I helped anyone, please give me a applaud and a thank you!

Posted

*GASPS* It's a miracle! I got the portal to activate! I copied the onNeighborBlockChange, the func and that BlockPortal.Size from the original BlockPortal and just renamed it and changed the blocks to mine and it works!

Main Developer and Owner of Zero Quest

Visit the Wiki for more information

If I helped anyone, please give me a applaud and a thank you!

Posted

Also, I need help registering the textures for the custom fire, I can't get it to find the states despite I double checked it all

Main Developer and Owner of Zero Quest

Visit the Wiki for more information

If I helped anyone, please give me a applaud and a thank you!

Posted

How do I do so? Do I just completely copy and paste from source and just change up the Axises? I really have no idea where to start off if I have to completely rewrite the function

 

At least local variables should have a good name I thought.

 

I just got it all working,  but im getting errors about the fire models not being found

Main Developer and Owner of Zero Quest

Visit the Wiki for more information

If I helped anyone, please give me a applaud and a thank you!

Posted

Hey, I'm about to get off since my eyes are starting to hurt <_> So tomorrow i'll finish the renaming and rerun the client. I'll post my results

Main Developer and Owner of Zero Quest

Visit the Wiki for more information

If I helped anyone, please give me a applaud and a thank you!

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

    • Here is the newest crash report because I've been trying to fix the problem for hours, please help me also its "error code -1"   ---- Minecraft Crash Report ---- // Daisy, daisy... Time: 2024-11-27 15:43:43 Description: Rendering screen java.lang.NoClassDefFoundError: org/spongepowered/asm/synthetic/args/Args$1     at net.minecraft.client.gui.GuiGraphics.m_280677_(GuiGraphics.java:562) ~[client-1.20.1-20230612.114412-srg.jar%23350!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.GuiGraphics.renderTooltip(GuiGraphics.java:556) ~[client-1.20.1-20230612.114412-srg.jar%23350!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.inventory.AbstractContainerScreen.m_280072_(AbstractContainerScreen.java:163) ~[client-1.20.1-20230612.114412-srg.jar%23350!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:attributeslib.mixins.json:client.AbstractContainerScreenMixin,pl:mixin:APP:majruszlibrary-forge.mixins.json:MixinAbstractContainerScreen,plasmixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.inventoasasry.CreativeModeInventoryScreen.m_88315_(CreativeModeInventoryScreen.java:650) ~[client-1.20.1-20230612.114412-srg.jar%23350!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.Screen.m_280264_(Screen.java:109) ~[client-1.20.1-20230612.114412-srg.jar%23350!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:computing_frames,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:patchouli_xplat.mixins.json:client.AccessorScreen,pl:mixin:APP:CustomCursor-comm-common.mixins.json:ScreenIgnoreRenderAfterOverlayMixin,pl:mixin:APP:CustomCursor-comm-common.mixins.json:ScreenMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraftforge.client.ForgeHooksClient.drawScreenInternal(ForgeHooksClient.java:427) ~[forge-1.20.1-47.3.0-universal.jar%23355!/:?] {re:classloading,re:mixin}     at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:420) ~[forge-1.20.1-47.3.0-universal.jar%23355!/:?] {re:classloading,re:mixin}     at net.minecraft.client.renderer.GameRenderer.m_109093_(GameRenderer.java:965) ~[client-1.20.1-20230612.114412-srg.jar%23350!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:jeg.mixins.json:client.GameRendererMixin,pl:mixin:APP:alexscaves.mixins.json:client.GameRendererMixin,pl:mixin:APP:immediatelyfast-common.mixins.json:core.compat.MixinGameRenderer,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1146) ~[client-1.20.1-20230612.114412-srg.jar%23350!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:alexscaves.mixins.json:client.MinecraftMixin,pl:mixin:APP:modernfix-common.mixins.json:bugfix.world_leaks.MinecraftMixin,pl:mixin:APP:modernfix-common.mixins.json:bugfix.concurrency.MinecraftMixin,pl:mixin:APP:modernfix-common.mixins.json:perf.blast_search_trees.MinecraftMixin,pl:mixin:APP:modernfix-common.mixins.json:perf.dedicated_reload_executor.MinecraftMixin,pl:mixin:APP:modernfix-common.mixins.json:feature.measure_time.MinecraftMixin,pl:mixin:APP:modernfix-forge.mixins.json:feature.measure_time.MinecraftMixin_Forge,pl:mixin:APP:bookshelf.common.mixins.json:accessors.client.AccessorMinecraft,pl:mixin:APP:architectury.mixins.json:MixinMinecraft,pl:mixin:APP:monolib.mixins.json:MinecraftMixin,pl:mixin:APP:majruszlibrary-common.mixins.json:MixinMinecraft,pl:mixin:APP:jeg.mixins.json:client.MinecraftMixin,pl:mixin:APP:immediatelyfast-common.mixins.json:core.MixinMinecraftClient,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:718) ~[client-1.20.1-20230612.114412-srg.jar%23350!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:alexscaves.mixins.json:client.MinecraftMixin,pl:mixin:APP:modernfix-common.mixins.json:bugfix.world_leaks.MinecraftMixin,pl:mixin:APP:modernfix-common.mixins.json:bugfix.concurrency.MinecraftMixin,pl:mixin:APP:modernfix-common.mixins.json:perf.blast_search_trees.MinecraftMixin,pl:mixin:APP:modernfix-common.mixins.json:perf.dedicated_reload_executor.MinecraftMixin,pl:mixin:APP:modernfix-common.mixins.json:feature.measure_time.MinecraftMixin,pl:mixin:APP:modernfix-forge.mixins.json:feature.measure_time.MinecraftMixin_Forge,pl:mixin:APP:bookshelf.common.mixins.json:accessors.client.AccessorMinecraft,pl:mixin:APP:architectury.mixins.json:MixinMinecraft,pl:mixin:APP:monolib.mixins.json:MinecraftMixin,pl:mixin:APP:majruszlibrary-common.mixins.json:MixinMinecraft,pl:mixin:APP:jeg.mixins.json:client.MinecraftMixin,pl:mixin:APP:immediatelyfast-common.mixins.json:core.MixinMinecraftClient,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:218) ~[forge-47.3.0.jar:?] {re:classloading,pl:runtimedistcleaner:A}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}     at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}     at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:111) ~[fmlloader-1.20.1-47.3.0.jar:?] {}     at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.clientService(CommonLaunchHandler.java:99) ~[fmlloader-1.20.1-47.3.0.jar:?] {}     at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$makeService$0(CommonClientLaunchHandler.java:25) ~[fmlloader-1.20.1-47.3.0.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:108) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:78) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) ~[bootstraplauncher-1.1.2.jar:?] {} Caused by: java.lang.ClassNotFoundException: org.spongepowered.asm.synthetic.args.Args$1     at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?] {}     at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?] {}     at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:137) ~[securejarhandler-2.1.10.jar:?] {}     at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?] {}     at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:137) ~[securejarhandler-2.1.10.jar:?] {}     at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?] {}     ... 26 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Suspected Mods: NONE Stacktrace:     at net.minecraft.client.gui.GuiGraphics.m_280677_(GuiGraphics.java:562) ~[client-1.20.1-20230612.114412-srg.jar%23350!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.GuiGraphics.renderTooltip(GuiGraphics.java:556) ~[client-1.20.1-20230612.114412-srg.jar%23350!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.inventory.AbstractContainerScreen.m_280072_(AbstractContainerScreen.java:163) ~[client-1.20.1-20230612.114412-srg.jar%23350!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:attributeslib.mixins.json:client.AbstractContainerScreenMixin,pl:mixin:APP:majruszlibrary-forge.mixins.json:MixinAbstractContainerScreen,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.inventory.CreativeModeInventoryScreen.m_88315_(CreativeModeInventoryScreen.java:650) ~[client-1.20.1-20230612.114412-srg.jar%23350!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.Screen.m_280264_(Screen.java:109) ~[client-1.20.1-20230612.114412-srg.jar%23350!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:computing_frames,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:patchouli_xplat.mixins.json:client.AccessorScreen,pl:mixin:APP:CustomCursor-comm-common.mixins.json:ScreenIgnoreRenderAfterOverlayMixin,pl:mixin:APP:CustomCursor-comm-common.mixins.json:ScreenMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraftforge.client.ForgeHooksClient.drawScreenInternal(ForgeHooksClient.java:427) ~[forge-1.20.1-47.3.0-universal.jar%23355!/:?] {re:classloading,re:mixin}     at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:420) ~[forge-1.20.1-47.3.0-universal.jar%23355!/:?] {re:classloading,re:mixin} -- Screen render details -- Details:     Screen name: net.minecraft.client.gui.screens.inventory.CreativeModeInventoryScreen     Mouse location: Scaled: (273, 153). Absolute: (546.000000, 307.000000)     Screen size: Scaled: (547, 308). Absolute: (1093, 615). Scale factor of 2.000000 Stacktrace:     at net.minecraft.client.renderer.GameRenderer.m_109093_(GameRenderer.java:965) ~[client-1.20.1-20230612.114412-srg.jar%23350!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:jeg.mixins.json:client.GameRendererMixin,pl:mixin:APP:alexscaves.mixins.json:client.GameRendererMixin,pl:mixin:APP:immediatelyfast-common.mixins.json:core.compat.MixinGameRenderer,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1146) ~[client-1.20.1-20230612.114412-srg.jar%23350!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:alexscaves.mixins.json:client.MinecraftMixin,pl:mixin:APP:modernfix-common.mixins.json:bugfix.world_leaks.MinecraftMixin,pl:mixin:APP:modernfix-common.mixins.json:bugfix.concurrency.MinecraftMixin,pl:mixin:APP:modernfix-common.mixins.json:perf.blast_search_trees.MinecraftMixin,pl:mixin:APP:modernfix-common.mixins.json:perf.dedicated_reload_executor.MinecraftMixin,pl:mixin:APP:modernfix-common.mixins.json:feature.measure_time.MinecraftMixin,pl:mixin:APP:modernfix-forge.mixins.json:feature.measure_time.MinecraftMixin_Forge,pl:mixin:APP:bookshelf.common.mixins.json:accessors.client.AccessorMinecraft,pl:mixin:APP:architectury.mixins.json:MixinMinecraft,pl:mixin:APP:monolib.mixins.json:MinecraftMixin,pl:mixin:APP:majruszlibrary-common.mixins.json:MixinMinecraft,pl:mixin:APP:jeg.mixins.json:client.MinecraftMixin,pl:mixin:APP:immediatelyfast-common.mixins.json:core.MixinMinecraftClient,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:718) ~[client-1.20.1-20230612.114412-srg.jar%23350!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:alexscaves.mixins.json:client.MinecraftMixin,pl:mixin:APP:modernfix-common.mixins.json:bugfix.world_leaks.MinecraftMixin,pl:mixin:APP:modernfix-common.mixins.json:bugfix.concurrency.MinecraftMixin,pl:mixin:APP:modernfix-common.mixins.json:perf.blast_search_trees.MinecraftMixin,pl:mixin:APP:modernfix-common.mixins.json:perf.dedicated_reload_executor.MinecraftMixin,pl:mixin:APP:modernfix-common.mixins.json:feature.measure_time.MinecraftMixin,pl:mixin:APP:modernfix-forge.mixins.json:feature.measure_time.MinecraftMixin_Forge,pl:mixin:APP:bookshelf.common.mixins.json:accessors.client.AccessorMinecraft,pl:mixin:APP:architectury.mixins.json:MixinMinecraft,pl:mixin:APP:monolib.mixins.json:MinecraftMixin,pl:mixin:APP:majruszlibrary-common.mixins.json:MixinMinecraft,pl:mixin:APP:jeg.mixins.json:client.MinecraftMixin,pl:mixin:APP:immediatelyfast-common.mixins.json:core.MixinMinecraftClient,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:218) ~[forge-47.3.0.jar:?] {re:classloading,pl:runtimedistcleaner:A}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}     at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}     at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:111) ~[fmlloader-1.20.1-47.3.0.jar:?] {}     at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.clientService(CommonLaunchHandler.java:99) ~[fmlloader-1.20.1-47.3.0.jar:?] {}     at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$makeService$0(CommonClientLaunchHandler.java:25) ~[fmlloader-1.20.1-47.3.0.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:108) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:78) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) ~[bootstraplauncher-1.1.2.jar:?] {} -- Affected level -- Details:     All players: 1 total; [LocalPlayer['muglad'/4, l='ClientLevel', x=11.34, y=-62.50, z=7.05]]     Chunk stats: 529, 313     Level dimension: minecraft:overworld     Level spawn location: World: (0,-63,0), Section: (at 0,1,0 in 0,-4,0; chunk contains blocks 0,-64,0 to 15,319,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511)     Level time: 522 game time, 522 day time     Server brand: forge     Server type: Integrated singleplayer server Stacktrace:     at net.minecraft.client.multiplayer.ClientLevel.m_6026_(ClientLevel.java:455) ~[client-1.20.1-20230612.114412-srg.jar%23350!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:citadel.mixins.json:client.ClientLevelMixin,pl:mixin:APP:architectury.mixins.json:MixinClientLevel,pl:mixin:APP:majruszlibrary-common.mixins.json:MixinClientLevel,pl:mixin:APP:starlight.mixins.json:client.world.ClientLevelMixin,pl:mixin:APP:alexscaves.mixins.json:client.ClientLevelMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91354_(Minecraft.java:2319) ~[client-1.20.1-20230612.114412-srg.jar%23350!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:alexscaves.mixins.json:client.MinecraftMixin,pl:mixin:APP:modernfix-common.mixins.json:bugfix.world_leaks.MinecraftMixin,pl:mixin:APP:modernfix-common.mixins.json:bugfix.concurrency.MinecraftMixin,pl:mixin:APP:modernfix-common.mixins.json:perf.blast_search_trees.MinecraftMixin,pl:mixin:APP:modernfix-common.mixins.json:perf.dedicated_reload_executor.MinecraftMixin,pl:mixin:APP:modernfix-common.mixins.json:feature.measure_time.MinecraftMixin,pl:mixin:APP:modernfix-forge.mixins.json:feature.measure_time.MinecraftMixin_Forge,pl:mixin:APP:bookshelf.common.mixins.json:accessors.client.AccessorMinecraft,pl:mixin:APP:architectury.mixins.json:MixinMinecraft,pl:mixin:APP:monolib.mixins.json:MinecraftMixin,pl:mixin:APP:majruszlibrary-common.mixins.json:MixinMinecraft,pl:mixin:APP:jeg.mixins.json:client.MinecraftMixin,pl:mixin:APP:immediatelyfast-common.mixins.json:core.MixinMinecraftClient,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:735) ~[client-1.20.1-20230612.114412-srg.jar%23350!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:alexscaves.mixins.json:client.MinecraftMixin,pl:mixin:APP:modernfix-common.mixins.json:bugfix.world_leaks.MinecraftMixin,pl:mixin:APP:modernfix-common.mixins.json:bugfix.concurrency.MinecraftMixin,pl:mixin:APP:modernfix-common.mixins.json:perf.blast_search_trees.MinecraftMixin,pl:mixin:APP:modernfix-common.mixins.json:perf.dedicated_reload_executor.MinecraftMixin,pl:mixin:APP:modernfix-common.mixins.json:feature.measure_time.MinecraftMixin,pl:mixin:APP:modernfix-forge.mixins.json:feature.measure_time.MinecraftMixin_Forge,pl:mixin:APP:bookshelf.common.mixins.json:accessors.client.AccessorMinecraft,pl:mixin:APP:architectury.mixins.json:MixinMinecraft,pl:mixin:APP:monolib.mixins.json:MinecraftMixin,pl:mixin:APP:majruszlibrary-common.mixins.json:MixinMinecraft,pl:mixin:APP:jeg.mixins.json:client.MinecraftMixin,pl:mixin:APP:immediatelyfast-common.mixins.json:core.MixinMinecraftClient,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:218) ~[forge-47.3.0.jar:?] {re:classloading,pl:runtimedistcleaner:A}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}     at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}     at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:111) ~[fmlloader-1.20.1-47.3.0.jar:?] {}     at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.clientService(CommonLaunchHandler.java:99) ~[fmlloader-1.20.1-47.3.0.jar:?] {}     at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$makeService$0(CommonClientLaunchHandler.java:25) ~[fmlloader-1.20.1-47.3.0.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:108) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:78) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) ~[bootstraplauncher-1.1.2.jar:?] {} -- Last reload -- Details:     Reload number: 1     Reload reason: initial     Finished: Yes     Packs: vanilla, mod_resources -- System Details -- Details:     Minecraft Version: 1.20.1     Minecraft Version ID: 1.20.1     Operating System: Windows 11 (amd64) version 10.0     Java Version: 17.0.8, Microsoft     Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft     Memory: 1400903168 bytes (1336 MiB) / 3370123264 bytes (3214 MiB) up to 4261412864 bytes (4064 MiB)     CPUs: 4     Processor Vendor: GenuineIntel     Processor Name: 11th Gen Intel(R) Core(TM) i3-1115G4 @ 3.00GHz     Identifier: Intel64 Family 6 Model 140 Stepping 1     Microarchitecture: Tiger Lake     Frequency (GHz): 3.00     Number of physical packages: 1     Number of physical CPUs: 2     Number of logical CPUs: 4     Graphics card #0 name: Intel(R) UHD Graphics     Graphics card #0 vendor: Intel Corporation (0x8086)     Graphics card #0 VRAM (MB): 128.00     Graphics card #0 deviceId: 0x9a78     Graphics card #0 versionInfo: DriverVersion=31.0.101.5186     Memory slot #0 capacity (MB): 4096.00     Memory slot #0 clockSpeed (GHz): 3.20     Memory slot #0 type: DDR4     Memory slot #1 capacity (MB): 4096.00     Memory slot #1 clockSpeed (GHz): 3.20     Memory slot #1 type: DDR4     Virtual memory max (MB): 19346.77     Virtual memory used (MB): 17116.04     Swap memory total (MB): 11511.14     Swap memory used (MB): 2066.14     JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx4064m -Xms256m     Launched Version: forge-47.3.0     Backend library: LWJGL version 3.3.1 build 7     Backend API: Intel(R) UHD Graphics GL version 4.6.0 - Build 31.0.101.5186, Intel     Window size: 1093x615     GL Caps: Using framebuffer using OpenGL 3.2     GL debug messages:      Using VBOs: Yes     Is Modded: Definitely; Client brand changed to 'forge'; Server brand changed to 'forge'     Type: Integrated Server (map_client.txt)     Graphics mode: fast     Resource Packs:      Current Language: en_us     CPU: 4x 11th Gen Intel(R) Core(TM) i3-1115G4 @ 3.00GHz     Server Running: true     Player Count: 1 / 8; [ServerPlayer['muglad'/4, l='ServerLevel[New Worldassssssssssssasasas]', x=11.34, y=-62.50, z=7.05]]     Data Packs: vanilla, mod:elevated_enchantment, mod:treechopper (incompatible), mod:quarryplus, mod:geckolib, mod:playeranimator (incompatible), mod:placebo (incompatible), mod:modernfix (incompatible), mod:citadel (incompatible), mod:mixinextras (incompatible), mod:morebuckets, mod:botanypotstiers (incompatible), mod:bookshelf, mod:ironshulkerbox, mod:ironbookshelves, mod:raw_iron_block_can_be_heated, mod:iron_extra_things, mod:cloth_config (incompatible), mod:more_villager_trades, mod:ironbows (incompatible), mod:industrialforegoing (incompatible), mod:farmersdelight, mod:iron_ender_chests, mod:ironfurnaces, mod:structurecompass, mod:lionfishapi (incompatible), mod:mysticaladaptations, mod:maxxam_aiot, mod:structureexpansion (incompatible), mod:patchouli (incompatible), mod:ironchests (incompatible), mod:advancednetherite, mod:mysticalagriculturedelight, mod:gk_unbreakable (incompatible), mod:attributeslib (incompatible), mod:mysticalcustomization, mod:mifa, mod:resourcefullib (incompatible), mod:veinst, mod:architectury (incompatible), mod:squatgrow (incompatible), mod:xenotech (incompatible), mod:monolib (incompatible), mod:disenchanting_table (incompatible), mod:more_bows_and_arrows (incompatible), mod:hasteenchantment, mod:quad (incompatible), mod:ironcoals (incompatible), mod:framework, mod:nebs (incompatible), mod:majruszlibrary (incompatible), mod:fixed_netherite, mod:x_player_info (incompatible), mod:cucumber, mod:jeg (incompatible), mod:ironladders, mod:attributefix (incompatible), mod:configlibtxf, mod:fortune_on_netherite_forge, mod:caelus (incompatible), mod:enchantment_reveal (incompatible), mod:botanypots (incompatible), mod:starlight (incompatible), mod:grand_enchantment_table, mod:iron_bushes, mod:iron_fishing_rods, mod:puzzlesaccessapi, mod:forge, mod:more_wandering_trades, mod:mctb (incompatible), mod:mteg (incompatible), mod:mysticalagriculture, mod:mysticalagradditions, mod:matc, mod:mysticriftsmelt_ancient_debris, mod:more_underground_structures, mod:lucky (incompatible), mod:aurorasarsenal (incompatible), mod:alexscaves, mod:more_useful_copper (incompatible), mod:enchdesc (incompatible), mod:customcursorcomm (incompatible), mod:titanium (incompatible), mod:mysterious_mountain_lib (incompatible), mod:ironspawners, mod:enchlevellangpatch (incompatible), mod:vtaw_mw (incompatible), mod:mr_reds_morestructures, mod:watching, mod:ironbarrels, mod:mysticalexpansion, mod:easy_emerald, mod:more_beautiful_torches (incompatible), mod:universalenchants, mod:immediatelyfast (incompatible), mod:moremobvariants, mod:ferritecore (incompatible), mod:mvw, mod:puzzleslib, mod:overpowered_creative_items, mod:overloadedarmorbar (incompatible), mod:overflowingbars     Enabled Feature Flags: minecraft:vanilla     World Generation: Stable     ModLauncher: 10.0.9+10.0.9+main.dcd20f30     ModLauncher launch target: forgeclient     ModLauncher naming: srg     ModLauncher services:          mixin-0.8.5.jar mixin PLUGINSERVICE          eventbus-6.0.5.jar eventbus PLUGINSERVICE          fmlloader-1.20.1-47.3.0.jar slf4jfixer PLUGINSERVICE          fmlloader-1.20.1-47.3.0.jar object_holder_definalize PLUGINSERVICE          fmlloader-1.20.1-47.3.0.jar runtime_enum_extender PLUGINSERVICE          fmlloader-1.20.1-47.3.0.jar capability_token_subclass PLUGINSERVICE          accesstransformers-8.0.4.jar accesstransformer PLUGINSERVICE          fmlloader-1.20.1-47.3.0.jar runtimedistcleaner PLUGINSERVICE          modlauncher-10.0.9.jar mixin TRANSFORMATIONSERVICE          modlauncher-10.0.9.jar fml TRANSFORMATIONSERVICE      FML Language Providers:          [email protected]         lowcodefml@null         [email protected]         javafml@null     Mod List:          Elevated enchantment-forge_1.20.1.jar             |Elevated enchantment          |elevated_enchantment          |1.0.0               |DONE      |Manifest: NOSIGNATURE         treechopper-1.0.0.jar                             |TreeChopper                   |treechopper                   |1.0.0               |DONE      |Manifest: NOSIGNATURE         AdditionalEnchantedMiner-1.20.1-1201.1.90.jar     |QuarryPlus                    |quarryplus                    |1201.1.90           |DONE      |Manifest: ef:50:af:b3:03:e0:3e:70:a7:ef:78:77:a5:4d:d4:b5:07:ec:df:9d:d6:f3:12:13:c9:3c:cd:9a:0a:3e:6b:43         geckolib-forge-1.20.1-4.4.9.jar                   |GeckoLib 4                    |geckolib                      |4.4.9               |DONE      |Manifest: NOSIGNATURE         player-animation-lib-forge-1.0.2-rc1+1.20.jar     |Player Animator               |playeranimator                |1.0.2-rc1+1.20      |DONE      |Manifest: NOSIGNATURE         Placebo-1.20.1-8.6.2.jar                          |Placebo                       |placebo                       |8.6.2               |DONE      |Manifest: NOSIGNATURE         modernfix-forge-5.19.5+mc1.20.1.jar               |ModernFix                     |modernfix                     |5.19.5+mc1.20.1     |DONE      |Manifest: NOSIGNATURE         citadel-2.6.0-1.20.1.jar                          |Citadel                       |citadel                       |2.6.0               |DONE      |Manifest: NOSIGNATURE         mixinextras-forge-0.4.1.jar                       |MixinExtras                   |mixinextras                   |0.4.1               |DONE      |Manifest: NOSIGNATURE         MoreBuckets-1.20.1-4.0.4.jar                      |More Buckets                  |morebuckets                   |4.0.4               |DONE      |Manifest: NOSIGNATURE         BotanyPotsTiers-Forge-1.20.1-6.0.1.jar            |BotanyPotsTiers               |botanypotstiers               |6.0.1               |DONE      |Manifest: NOSIGNATURE         Bookshelf-Forge-1.20.1-20.2.13.jar                |Bookshelf                     |bookshelf                     |20.2.13             |DONE      |Manifest: eb:c4:b1:67:8b:f9:0c:db:dc:4f:01:b1:8e:61:64:39:4c:10:85:0b:a6:c4:c7:48:f0:fa:95:f2:cb:08:3a:e5         ironshulkerbox-1.20.1-5.3.2.jar                   |Iron Shulker Boxes            |ironshulkerbox                |1.20.1-5.3.2        |DONE      |Manifest: NOSIGNATURE         ironbookshelves-1.20.1-1.4.0-forge.jar            |Iron Bookshelves              |ironbookshelves               |1.20.1-1.4.0-forge  |DONE      |Manifest: NOSIGNATURE         raw_iron_block_can_heated-1.0.0-forge-1.20.1.jar  |Raw Iron Block can be heated  |raw_iron_block_can_be_heated  |1.0.0               |DONE      |Manifest: NOSIGNATURE         Iron Extra Things 1.0.6.jar                       |Iron Extra Things             |iron_extra_things             |1.0.5               |DONE      |Manifest: NOSIGNATURE         cloth-config-11.1.136-forge.jar                   |Cloth Config v10 API          |cloth_config                  |11.1.136            |DONE      |Manifest: NOSIGNATURE         More Villager Trades 1.0.0 - 1.20.1.jar           |More Villager Trades          |more_villager_trades          |1.0.0               |DONE      |Manifest: NOSIGNATURE         ironbows-1.20.1-FORGE-1.10.jar                    |Iron Bows (Forge)             |ironbows                      |1.20.1-FORGE-1.10   |DONE      |Manifest: NOSIGNATURE         industrial-foregoing-1.20.1-3.5.19.jar            |Industrial Foregoing          |industrialforegoing           |3.5.19              |DONE      |Manifest: NOSIGNATURE         FarmersDelight-1.20.1-1.2.5.jar                   |Farmer's Delight              |farmersdelight                |1.20.1-1.2.5        |DONE      |Manifest: NOSIGNATURE         iron_ender_chests-1.20-1.0.3.jar                  |Iron Ender Chests             |iron_ender_chests             |1.20-1.0.3          |DONE      |Manifest: NOSIGNATURE         ironfurnaces-1.20.1-4.1.6.jar                     |Iron Furnaces                 |ironfurnaces                  |4.1.6               |DONE      |Manifest: NOSIGNATURE         StructureCompass-1.20.1-2.1.0.jar                 |Structure Compass Mod         |structurecompass              |2.1.0               |DONE      |Manifest: NOSIGNATURE         lionfishapi-2.4-Fix.jar                           |LionfishAPI                   |lionfishapi                   |2.4-Fix             |DONE      |Manifest: NOSIGNATURE         MysticalAdaptations-1.20.1-1.0.1.jar              |Mystical Adaptations          |mysticaladaptations           |1.20.1-1.0.1        |DONE      |Manifest: NOSIGNATURE         AIOT 1.20.1 (v2.3) by 96maxxam69.jar              |maxxam AIOTs                  |maxxam_aiot                   |2.3                 |DONE      |Manifest: NOSIGNATURE         structure-expansion-2.0.1-build.11.jar            |Structure Expansion           |structureexpansion            |2.0.1-build.11      |DONE      |Manifest: NOSIGNATURE         Patchouli-1.20.1-84-FORGE.jar                     |Patchouli                     |patchouli                     |1.20.1-84-FORGE     |DONE      |Manifest: NOSIGNATURE         ironchests-5.0.2-forge.jar                        |Iron Chests: Restocked        |ironchests                    |5.0.2               |DONE      |Manifest: NOSIGNATURE         advancednetherite-forge-2.1.3-1.20.1.jar          |Advanced Netherite            |advancednetherite             |2.1.3               |DONE      |Manifest: NOSIGNATURE         mysticalagriculturedelight-1.0.2-1.20.1.jar       |Mystical Agriculture Delight  |mysticalagriculturedelight    |1.0.2-1.20.1        |DONE      |Manifest: NOSIGNATURE         gk_unbreakable-2.7.jar                            |Simple Unbreakable Tools      |gk_unbreakable                |2.7                 |DONE      |Manifest: NOSIGNATURE         ApothicAttributes-1.20.1-1.3.7.jar                |Apothic Attributes            |attributeslib                 |1.3.7               |DONE      |Manifest: NOSIGNATURE         MysticalCustomization-1.20.1-5.0.2.jar            |Mystical Customization        |mysticalcustomization         |5.0.2               |DONE      |Manifest: NOSIGNATURE         mifa-forge-1.20.x-1.1.1.jar                       |More Industrial Foregoing Addo|mifa                          |1.1.1               |DONE      |Manifest: NOSIGNATURE         resourcefullib-forge-1.20-2.0.6.jar               |Resourceful Lib               |resourcefullib                |2.0.6               |DONE      |Manifest: NOSIGNATURE         veinst-1.0.0.jar                                  |Veinst                        |veinst                        |1.0.0               |DONE      |Manifest: NOSIGNATURE         architectury-9.2.14-forge.jar                     |Architectury                  |architectury                  |9.2.14              |DONE      |Manifest: NOSIGNATURE         squatgrow-forge-5.3.0+mc1.20.1.jar                |Squat Grow                    |squatgrow                     |5.3.0+mc1.20.1      |DONE      |Manifest: NOSIGNATURE         xenotech-1.20.1-1.17.jar                          |XenoTech                      |xenotech                      |1.20.1-1.17         |DONE      |Manifest: NOSIGNATURE         monolib-forge-1.20.1-1.4.1.jar                    |MonoLib                       |monolib                       |1.4.1               |DONE      |Manifest: NOSIGNATURE         disenchanting_table-merged-1.20.1-3.1.0.jar       |Dis-Enchanting Table          |disenchanting_table           |3.1.0               |DONE      |Manifest: NOSIGNATURE         more_bows_and_arrows-merged-1.20.1-3.2.0.jar      |More Bows and Arrows          |more_bows_and_arrows          |3.2.0               |DONE      |Manifest: NOSIGNATURE         Haste Enchantment 1.0.0 - 1.20.1.jar              |Haste Enchantment             |hasteenchantment              |1.0.0               |DONE      |Manifest: NOSIGNATURE         Quad-1.2.9+1.20.4-Forge.jar                       |Quad                          |quad                          |1.2.9               |DONE      |Manifest: NOSIGNATURE         ironcoals-4.1.6.jar                               |Iron Coals                    |ironcoals                     |4.1.6               |DONE      |Manifest: NOSIGNATURE         framework-forge-1.20.1-0.7.12.jar                 |Framework                     |framework                     |0.7.12              |DONE      |Manifest: 0d:78:5f:44:c0:47:0c:8c:e2:63:a3:04:43:d4:12:7d:b0:7c:35:37:dc:40:b1:c1:98:ec:51:eb:3b:3c:45:99         NekosEnchantedBooks-1.20.1-1.8.0.jar              |Neko's Enchanted Books        |nebs                          |1.8.0               |DONE      |Manifest: NOSIGNATURE         majrusz-library-forge-1.20.1-7.0.8.jar            |Majrusz Library               |majruszlibrary                |7.0.8               |DONE      |Manifest: NOSIGNATURE         ReworkedNetheriteV2.jar                           |Fixed netherite               |fixed_netherite               |1.0.0               |DONE      |Manifest: NOSIGNATURE         X-PlayerInfo-1.20.1-1.0.8.1-SNAPSHOT.jar          |X-PlayerInfo                  |x_player_info                 |1.20.1-1.0.8.1-SNAPS|DONE      |Manifest: NOSIGNATURE         Cucumber-1.20.1-7.0.13.jar                        |Cucumber Library              |cucumber                      |7.0.13              |DONE      |Manifest: NOSIGNATURE         JustEnoughGuns-0.8.0-1.20.1.jar                   |Just Enough Guns              |jeg                           |0.8.0               |DONE      |Manifest: NOSIGNATURE         ironladders-1.20.1-2.5.10-forge.jar               |Iron Ladders                  |ironladders                   |2.5.10              |DONE      |Manifest: NOSIGNATURE         AttributeFix-Forge-1.20.1-21.0.4.jar              |AttributeFix                  |attributefix                  |21.0.4              |DONE      |Manifest: eb:c4:b1:67:8b:f9:0c:db:dc:4f:01:b1:8e:61:64:39:4c:10:85:0b:a6:c4:c7:48:f0:fa:95:f2:cb:08:3a:e5         configlibtxf-4.2.5-forge.jar                      |ConfigLib TXF                 |configlibtxf                  |4.2.5-forge         |DONE      |Manifest: NOSIGNATURE         fortune_on_netherite_1.1.0_forge_1.20.1.jar       |Fortune on Netherite forge    |fortune_on_netherite_forge    |1.0.0               |DONE      |Manifest: NOSIGNATURE         caelus-forge-3.2.0+1.20.1.jar                     |Caelus API                    |caelus                        |3.2.0+1.20.1        |DONE      |Manifest: NOSIGNATURE         Enchantment-Reveal-1.20.1-Forge.jar               |Enchantment Reveal            |enchantment_reveal            |1.0.0               |DONE      |Manifest: NOSIGNATURE         BotanyPots-Forge-1.20.1-13.0.39.jar               |BotanyPots                    |botanypots                    |13.0.39             |DONE      |Manifest: NOSIGNATURE         starlight-1.1.2+forge.1cda73c.jar                 |Starlight                     |starlight                     |1.1.2+forge.1cda73c |DONE      |Manifest: NOSIGNATURE         Grand Enchantment Table 1.0.0 - 1.20.1.jar        |Grand Enchantment Table       |grand_enchantment_table       |1.0.0               |DONE      |Manifest: NOSIGNATURE         Iron Bushes 1.0.0 - 1.20.1.jar                    |Iron Bushes                   |iron_bushes                   |1.0.0               |DONE      |Manifest: NOSIGNATURE         Iron Fishing Rods 1.0.0 - 1.20.1.jar              |Iron Fishing Rods             |iron_fishing_rods             |1.0.0               |DONE      |Manifest: NOSIGNATURE         puzzlesaccessapi-forge-8.0.7.jar                  |Puzzles Access Api            |puzzlesaccessapi              |8.0.7               |DONE      |Manifest: 9a:09:85:98:65:c4:8c:11:c5:49:f6:d6:33:23:39:df:8d:b4:ff:92:84:b8:bd:a5:83:9f:ac:7f:2a:d1:4b:6a         forge-1.20.1-47.3.0-universal.jar                 |Forge                         |forge                         |47.3.0              |DONE      |Manifest: 84:ce:76:e8:45:35:e4:0e:63:86:df:47:59:80:0f:67:6c:c1:5f:6e:5f:4d:b3:54:47:1a:9f:7f:ed:5e:f2:90         More Wandering Trades 1.0.0 - 1.20.1.jar          |More Wandering Trades         |more_wandering_trades         |1.0.0               |DONE      |Manifest: NOSIGNATURE         [1.20.1]MoreCraftingTables-5.1.3.jar              |More Crafting Tables Mod      |mctb                          |1.20.1              |DONE      |Manifest: NOSIGNATURE         M'TEG-1.1.0-1.20.1.jar                            |Mo' Than Enough Guns          |mteg                          |1.1.0               |DONE      |Manifest: NOSIGNATURE         MysticalAgriculture-1.20.1-7.0.14.jar             |Mystical Agriculture          |mysticalagriculture           |7.0.14              |DONE      |Manifest: NOSIGNATURE         MysticalAgradditions-1.20.1-7.0.6.jar             |Mystical Agradditions         |mysticalagradditions          |7.0.6               |DONE      |Manifest: NOSIGNATURE         matc-1.6.0.jar                                    |Mystical Agriculture Tiered Cr|matc                          |1.6.0               |DONE      |Manifest: NOSIGNATURE         client-1.20.1-20230612.114412-srg.jar             |Minecraft                     |minecraft                     |1.20.1              |DONE      |Manifest: a1:d4:5e:04:4f:d3:d6:e0:7b:37:97:cf:77:b0:de:ad:4a:47:ce:8c:96:49:5f:0a:cf:8c:ae:b2:6d:4b:8a:3f         mysticriftsmelt_ancient_debris-1.2.2-forge-1.20.1.|MysticRift:Smelt Ancient Debri|mysticriftsmelt_ancient_debris|1.2.2               |DONE      |Manifest: NOSIGNATURE         more_undrground_structures_1.20.1_8.1.jar         |more underground structures   |more_underground_structures   |7.1.0               |DONE      |Manifest: NOSIGNATURE         lucky-block-forge-1.20.1-13.0.jar                 |Lucky Block                   |lucky                         |1.20.1-13.0         |DONE      |Manifest: NOSIGNATURE         Aurora's-Arsenal-1.0.0-1.20.1.jar                 |Aurora's Arsenal              |aurorasarsenal                |1.0.0               |DONE      |Manifest: NOSIGNATURE         alexscaves-2.0.2.jar                              |Alex's Caves                  |alexscaves                    |2.0.2               |DONE      |Manifest: NOSIGNATURE         more_useful_copper-merged-1.20.1-1.2.0.jar        |More Useful Copper            |more_useful_copper            |1.2.0               |DONE      |Manifest: NOSIGNATURE         EnchantmentDescriptions-Forge-1.20.1-17.1.19.jar  |EnchantmentDescriptions       |enchdesc                      |17.1.19             |DONE      |Manifest: eb:c4:b1:67:8b:f9:0c:db:dc:4f:01:b1:8e:61:64:39:4c:10:85:0b:a6:c4:c7:48:f0:fa:95:f2:cb:08:3a:e5         CustomCursor-comm-1.2.0-forge.jar                 |customcursorcomm              |customcursorcomm              |1.0-SNAPSHOT        |DONE      |Manifest: NOSIGNATURE         titanium-1.20.1-3.8.32.jar                        |Titanium                      |titanium                      |3.8.32              |DONE      |Manifest: NOSIGNATURE         mysterious_mountain_lib-1.5.17-1.20.1.jar         |Mysterious Mountain Lib       |mysterious_mountain_lib       |1.5.17-1.20.1       |DONE      |Manifest: NOSIGNATURE         ironspawners-1.0.0.jar                            |Iron Spawners                 |ironspawners                  |1.0.0               |DONE      |Manifest: NOSIGNATURE         enchlevel-langpatch-2.2.8.jar                     |Enchantment Level Language Pat|enchlevellangpatch            |2.2.8               |DONE      |Manifest: NOSIGNATURE         vtaw_mw-forge-1.20.1-1.0.4.jar                    |Variant Tools and Weaponry - E|vtaw_mw                       |1.0.4               |DONE      |Manifest: NOSIGNATURE         reds-more-structures-1.0.8-common.jar             |Red’s More Structures         |mr_reds_morestructures        |1.0.8               |DONE      |Manifest: NOSIGNATURE         From-The-Fog-1.20-v1.9.2-Forge-Fabric.jar         |From The Fog                  |watching                      |1.9.2               |DONE      |Manifest: NOSIGNATURE         IronBarrels1.20.1-V1.0.jar                        |IronBarrelsUpdated            |ironbarrels                   |1.0.0               |DONE      |Manifest: NOSIGNATURE         MysticalExpansion-1.20.1-1.0.0.jar                |Mystical Expansion            |mysticalexpansion             |1.0.0               |DONE      |Manifest: NOSIGNATURE         EasyEmerald-Forge-1.20.1-1.5.8.jar                |Easy Emerald                  |easy_emerald                  |1.5.8               |DONE      |Manifest: NOSIGNATURE         more_beautiful_torches-merged-1.20.1-3.0.0.jar    |More Beautiful Torches!       |more_beautiful_torches        |3.0.0               |DONE      |Manifest: NOSIGNATURE         UniversalEnchants-v8.0.0-1.20.1-Forge.jar         |Universal Enchants            |universalenchants             |8.0.0               |DONE      |Manifest: 9a:09:85:98:65:c4:8c:11:c5:49:f6:d6:33:23:39:df:8d:b4:ff:92:84:b8:bd:a5:83:9f:ac:7f:2a:d1:4b:6a         ImmediatelyFast-Forge-1.3.2+1.20.4.jar            |ImmediatelyFast               |immediatelyfast               |1.3.2+1.20.4        |DONE      |Manifest: NOSIGNATURE         moremobvariants-forge+1.20.1-1.3.0.1.jar          |More Mob Variants             |moremobvariants               |1.3.0.1             |DONE      |Manifest: NOSIGNATURE         ferritecore-6.0.1-forge.jar                       |Ferrite Core                  |ferritecore                   |6.0.1               |DONE      |Manifest: 41:ce:50:66:d1:a0:05:ce:a1:0e:02:85:9b:46:64:e0:bf:2e:cf:60:30:9a:fe:0c:27:e0:63:66:9a:84:ce:8a         Mvw-2.3.3c.jar                                    |MoreVanillaWeapons            |mvw                           |2.3.3c              |DONE      |Manifest: NOSIGNATURE         PuzzlesLib-v8.1.25-1.20.1-Forge.jar               |Puzzles Lib                   |puzzleslib                    |8.1.25              |DONE      |Manifest: 9a:09:85:98:65:c4:8c:11:c5:49:f6:d6:33:23:39:df:8d:b4:ff:92:84:b8:bd:a5:83:9f:ac:7f:2a:d1:4b:6a         Overpowered Creative Items.jar                    |Overpowered Creative Items    |overpowered_creative_items    |1.0.0               |DONE      |Manifest: NOSIGNATURE         overloadedarmorbar-1.20.1-1.jar                   |Overloaded Armor Bar          |overloadedarmorbar            |1.20.1-1            |DONE      |Manifest: NOSIGNATURE         OverflowingBars-v8.0.1-1.20.1-Forge.jar           |Overflowing Bars              |overflowingbars               |8.0.1               |DONE      |Manifest: 9a:09:85:98:65:c4:8c:11:c5:49:f6:d6:33:23:39:df:8d:b4:ff:92:84:b8:bd:a5:83:9f:ac:7f:2a:d1:4b:6a     Crash Report UUID: ccaf101c-823f-47b9-9c2f-7d3d0db92823     FML: 47.3     Forge: net.minecraftforge:47.3.0
    • You could try posting a log (if there is no log at all, it may be the launcher you are using, the FAQ may have info on how to enable the log) as described in the FAQ, however this will probably need to be reported to/remedied by the mod author.
    • So me and a couple of friends are playing with a shitpost mod pack and one of the mods in the pack is corail tombstone and for some reason there is a problem with it, where on death to fire the player will get kicked out of the server and the tombstone will not spawn basically deleting an entire inventory, it doesn't matter what type of fire it is, whether it's from vanilla fire/lava, or from modded fire like ice&fire/lycanites and it's common enough to where everyone on the server has experienced at least once or twice and it doesn't give any crash log. a solution to this would be much appreciated thank you!
    • It is 1.12.2 - I have no idea if there is a 1.12 pack
  • Topics

×
×
  • Create New...

Important Information

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