Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[1.8]Sending packages whith more complex contens like arrays ??


perromercenary00
 Share

Recommended Posts

goo days

 

i been working in this project, and to achive it  i need to break masive amounts of blocks.

 

heres the video

 

heres  happen but not all the times the hole make by the explosion just happen apparently in server only  soo i cant  get in the hole becose the local world think there is  still blocks inside

to cause this explosion and remove blocks im using the fill command but where im executing the code is inside a

 

public void onNeighborBlockChange(World worldIn, BlockPos pos, IBlockState state, Block neighborBlock)

    {  }

 

in the explosive block from then i execute

 

chat.chatga(playerIn, "mundo="+worldIn_entrada.isRemote);

	net.minecraft.command.CommandFill  fill = new net.minecraft.command.CommandFill();
	//String [] comando= {"-136","41","215","-140","44","217","minecraft:glass"};
    String [] comando= {xmin+"",ymin+"",zmin+"",xmax+"",ymax+"",zmax+"","minecraft:air","0","destroy"};
    try {
fill.execute(playerIn, comando);
} catch (CommandException e) {

	e.printStackTrace();
}

 

and the message part

chat.chatga(playerIn, "mundo="+worldIn_entrada.isRemote);

always return false on player screen this means this code only execute in server. to avoid this trouble i need to execute this in server and in local at same time

 

 

######

packets i alredy have a working class to send messages to server and local world but just allow to send strings from 6 to 14 char and to work the fill a need to send it to blocks coordentes or a String[] array    exem: String [] comando= {xmin+"",ymin+"",zmin+"",xmax+"",ymax+"",zmax+"","minecraft:air","0","destroy"};

 

?????

is workaround  to send complex packages to the server ??

Link to comment
Share on other sites

It is ok to only do it on the server, that is correct. The server will then send packets automatically.

You say you call this

fill.execute(playerIn, comando);

from

onNeighborBlockChange

. Where do you get the player from? That method has no player available. I highly suspect that that is the problem.

Why do you go the route through the command? Why not break the blocks yourself?

Link to comment
Share on other sites

 

i get it from the minecraft class

doing the

 

Minecraft mc = Minecraft.getMinecraft();

EntityPlayer playerIn= mc.thePlayer;

 

 

but if its the guilty on the player where i could get the player entity?

 

and from the packages i been triyng  write the array directly to an execute.class then send to the server a message to execute the code in the execude class but in this case it only gets the array the server class.  sounds legit i gonna try thath

 

the class is long but here is

 

 

 

package mercenarymod.blocks.explosivos;

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

import org.apache.logging.log4j.core.config.Property;

import mercenarymod.Mercenary;
import mercenarymod.blocks.MercenaryModBlocks;
import net.minecraft.block.Block;
import net.minecraft.block.material.MapColor;
import net.minecraft.block.material.Material;
import net.minecraft.block.properties.IProperty;
import net.minecraft.block.properties.PropertyDirection;
import net.minecraft.block.state.BlockState;
import net.minecraft.block.state.IBlockState;
import net.minecraft.client.Minecraft;
import net.minecraft.command.CommandException;
import net.minecraft.command.ICommandSender;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.tileentity.TileEntityFurnace;
import net.minecraft.util.AxisAlignedBB;
import net.minecraft.util.BlockPos;
import net.minecraft.util.ChatComponentTranslation;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.EnumWorldBlockLayer;
import net.minecraft.util.MathHelper;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
import net.minecraftforge.fml.common.registry.GameRegistry;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import mercenarymod.utilidades.chat;
import net.minecraft.entity.EntityLivingBase;
import mercenarymod.blocks.explosivos.tiempoDinamita;
//import net.minecraft.command.CommandFill;

public class dinamitaParaPerforaciones3 extends Block
{
    public static String name = "dinamitaParaPerforaciones3";
    
            
    public static final PropertyDirection FACING = PropertyDirection.create("facing");
    
    public static int conteo=0;
    
    public static ArrayList<tiempoDinamita> listaDinamita = new  ArrayList<tiempoDinamita>();
    
    private static BlockPos posa=null;

    public dinamitaParaPerforaciones3()
    {
    	super(Material.tnt);
        setUnlocalizedName(Mercenary.MODID + "_" + name);
        GameRegistry.registerBlock(this, name);
        setCreativeTab(Mercenary.herramientas);
        //this.maxStackSize = 1;
        
      
    }
  //###########################################################3
    
    public void onNeighborBlockChange(World worldIn, BlockPos pos, IBlockState state, Block neighborBlock)
    {
    	
String F=""+state.getValue(FACING);
    	
    	System.out.println("\n\n\nFacing="+F);
    	
    	if ( F.contains("east") &  worldIn.isAirBlock(pos.east()) ){worldIn.destroyBlock(pos, false);}
    	if ( F.contains("west") &  worldIn.isAirBlock(pos.west()) ){worldIn.destroyBlock(pos, false);}
    	
    	if ( F.contains("north") &  worldIn.isAirBlock(pos.north()) ){worldIn.destroyBlock(pos, false);}
    	if ( F.contains("south") &  worldIn.isAirBlock(pos.south()) ){worldIn.destroyBlock(pos, false);}
    	
    	if ( F.contains("up") &  worldIn.isAirBlock(pos.up()) ){worldIn.destroyBlock(pos, false);}
    	if ( F.contains("down") &  worldIn.isAirBlock(pos.down()) ){worldIn.destroyBlock(pos, false);}
    	 	
    	
    	
    	
    	Minecraft mc = Minecraft.getMinecraft();
    	EntityPlayer playerIn= mc.thePlayer;
       
        if (worldIn.isBlockPowered(pos)){
        	
                	
        	if (pos.equals(posa)){System.out.println("%%%%%%\n ignorar posicion por estar repetida\n"+pos+"\n"+posa);/*do nothing*/;}	 
    		else { posa=pos;	 
    		 destruirBlockes(pos,worldIn);
    		
    		//tiempoDinamita.habilitar(worldIn,pos);
    		     }
        	
        }
    	
    	
    }
  //###########################################################3  
    public Block setBlockUnbreakable()
    {
        this.setHardness(-1.0F);
        return this;
    }

  //###########################################################3  
    public Item getItemDropped(IBlockState state, Random rand, int fortune)
    {
        return null; //Item.getItemFromBlock(MercenaryModBlocks.romper);
    }
    
    
  //###########################################################3
    
    public boolean isOpaqueCube()
    {
        return false;
    }

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

  //###########################################################3
    public boolean onBlockActivated(World worldIn, BlockPos pos, IBlockState state, EntityPlayer playerIn, EnumFacing side, float hitX, float hitY, float hitZ)
    {
    	
    	
    IBlockState  bs0 = worldIn.getBlockState(pos.north());
    
    IBlockState  bs1 = worldIn.getBlockState(pos.south());
    
    IBlockState  bs2 = worldIn.getBlockState(pos.east());
    
    IBlockState  bs3 = worldIn.getBlockState(pos.west());
    
    
    
    System.out.println("Norte="+bs0.getBlock().getUnlocalizedName());
    System.out.println("Sur="+bs1.getBlock().getUnlocalizedName());
    System.out.println("Este="+bs2.getBlock().getUnlocalizedName());
    System.out.println("Oeste="+bs3.getBlock().getUnlocalizedName());
    
    System.out.println("\n\n\nmundo="+worldIn.isRemote);
    
    
    
    /*
    net.minecraft.command.CommandFill  fill = new net.minecraft.command.CommandFill();
    
    
    //String [] comando= {"-136","41","215","-140","44","217","minecraft:glass"};
    String [] comando= {"-136","41","215","-140","44","217","minecraft:air","0","destroy"};
    try {
if (!worldIn.isRemote){fill.execute(playerIn, comando);}
} catch (CommandException e) {

	e.printStackTrace();
}
    */
   	
    	
    	
    return false;}
    
  //###########################################################3
public static String[] destruirBlockes(BlockPos pos_entrada,World worldIn_entrada){

Minecraft mc = Minecraft.getMinecraft();
EntityPlayer playerIn= mc.thePlayer;


 int x=pos_entrada.getX(),y=pos_entrada.getY(),z=pos_entrada.getZ();	
 int xmax=0,xmin=0, ymax=0,ymin=0, zmax=0,zmin=0;
    
IBlockState state_entrada = worldIn_entrada.getBlockState(pos_entrada);
Block iblk_entrada=state_entrada.getBlock();
String F=""+state_entrada.getValue(FACING);

BlockPos pos1=null;
int T=3; //tamaño
int C=6; //profundidad
    
	if(F.contains("down")){
	pos1= new BlockPos(x,(y-1),z);	
     xmax=x+T;
     xmin=x-T;
     ymax=y;
     ymin=y-(T*2)-C;
     zmax=z+T;
     zmin=z-T;
	}	

	if(F.contains("up")){
	pos1= new BlockPos(x,(y+1),z);	
     xmax=x+T;
     xmin=x-T;
     ymax=y+(T*2)+C;
     ymin=y;
     zmax=z+T;
     zmin=z-T;
	}	

	if(F.contains("north")){
     	pos1= new BlockPos(x,y,(z-1));	
         xmax=x+T;
         xmin=x-T;
         ymax=y+T;
         ymin=y-T;
         zmax=z;
         zmin=z-(T*2)-C;
     	}	

	if(F.contains("south")){
     	pos1= new BlockPos(x,y,(z+1));	
         xmax=x+T;
         xmin=x-T;
         ymax=y+T;
         ymin=y-T;
         zmax=z+(T*2)+C;
         zmin=z;
     	}	

	  	
	if(F.contains("east")){
     	pos1= new BlockPos((x+1),y,z);	
         xmax=x+(T*2)+C;
         xmin=x;
         ymax=y+T;
         ymin=y-T;
         zmax=z+T;
         zmin=z-T;
     	}	

	if(F.contains("west")){
     	pos1= new BlockPos((x-1),y,z);	
         xmax=x;
         xmin=x-(T*2)-C;
         ymax=y+T;
         ymin=y-T;
         zmax=z+T;
         zmin=z-T;
     	}	
	 	  	

	chat.chatga(playerIn, "mundo="+worldIn_entrada.isRemote);

	net.minecraft.command.CommandFill  fill = new net.minecraft.command.CommandFill();
	//String [] comando= {"-136","41","215","-140","44","217","minecraft:glass"};
    String [] comando= {xmin+"",ymin+"",zmin+"",xmax+"",ymax+"",zmax+"","minecraft:air","0","destroy"};
    try {
if (!worldIn_entrada.isRemote){fill.execute(playerIn, comando);}
} catch (CommandException e) {

	e.printStackTrace();
}

    
    
    
boolean flag=true;
int explosionPower = 1;
worldIn_entrada.newExplosion((Entity)null, x, y, z, (float)explosionPower, flag, flag);
    //setDead();




return comando;	
} 
  
    
  //###########################################################3
    
    
    public void onBlockPlacedBy(World worldIn, BlockPos pos, IBlockState state, EntityLivingBase placer, ItemStack stack)
    {
    	
    	
    	EnumFacing cara = getFacingFromEntity(worldIn, pos, placer);
    	
    	
    	worldIn.setBlockState(pos, state.withProperty(FACING, cara.getOpposite()), 2);
        //worldIn.setBlockState(pos, state.withProperty(FACING, getFacingFromEntity(worldIn, pos, placer)), 2);

     
    }
    
  //###########################################################3    
    public IBlockState onBlockPlaced(World worldIn, BlockPos pos, EnumFacing facing, float hitX, float hitY, float hitZ, int meta, EntityLivingBase placer)
    {
        return this.getDefaultState().withProperty(FACING, getFacingFromEntity(worldIn, pos, placer));
    }
    
  //###########################################################3    
    public void setBlockBoundsBasedOnState(IBlockAccess worldIn, BlockPos pos)
    {
        IBlockState iblockstate = worldIn.getBlockState(pos);

       
            float f = 0.25F;
            EnumFacing enumfacing = (EnumFacing)iblockstate.getValue(FACING);

            if (enumfacing != null)
            {
                switch (dinamitaParaPerforaciones3.SwitchEnumFacing.FACING_LOOKUP[enumfacing.ordinal()])
                {
                    case 1:
                        this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 0.01F, 1.0F);
                        break;
                    case 2:
                        this.setBlockBounds(0.0F, 0.99F, 0.0F, 1.0F, 1.0F, 1.0F);
                        break;
                    case 3:
                        this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 0.01F);
                        break;
                    case 4:
                        this.setBlockBounds(0.0F, 0.0F, 0.99F, 1.0F, 1.0F, 1.0F);
                        break;
                    case 5:
                        this.setBlockBounds(0.0F, 0.0F, 0.0F, 0.01F, 1.0F, 1.0F);
                        break;
                    case 6:
                        this.setBlockBounds(0.99F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F);
                }
            }
        
        else
        {
            this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F);
        }
    }

  //###########################################################3  
    public void setBlockBoundsForItemRender()
    {
        this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F);
    }    
        
  //###########################################################3  
    
    public static EnumFacing getFacingFromEntity(World worldIn, BlockPos clickedBlock, EntityLivingBase entityIn)
    {
        if (MathHelper.abs((float)entityIn.posX - (float)clickedBlock.getX()) < 2.0F && MathHelper.abs((float)entityIn.posZ - (float)clickedBlock.getZ()) < 2.0F)
        {
            double d0 = entityIn.posY + (double)entityIn.getEyeHeight();

            if (d0 - (double)clickedBlock.getY() > 2.0D)
            {
                return EnumFacing.UP;
            }

            if ((double)clickedBlock.getY() - d0 > 0.0D)
            {
                return EnumFacing.DOWN;
            }
        }

        return entityIn.getHorizontalFacing().getOpposite();
    } 
  
  //###########################################################3     
    
    @SideOnly(Side.CLIENT)
    public IBlockState getStateForEntityRender(IBlockState state)
    {
        return this.getDefaultState().withProperty(FACING, EnumFacing.UP);
    }
    
    //###########################################################3
    
    protected BlockState createBlockState()
    {
        return new BlockState(this, new IProperty[] {FACING});
    }
    
    //###########################################################3
    
    public int getMetaFromState(IBlockState state)
    {
        byte b0 = 0;
        int i = b0 | ((EnumFacing)state.getValue(FACING)).getIndex();

       
        return i;
    }
    
    //###########################################################3
    
    static final class SwitchEnumFacing
    {
        static final int[] FACING_LOOKUP = new int[EnumFacing.values().length];
        private static final String __OBFID = "CL_00002037";

        static
        {
            try
            {
                FACING_LOOKUP[EnumFacing.DOWN.ordinal()] = 1;
            }
            catch (NoSuchFieldError var6)
            {
                ;
            }

            try
            {
                FACING_LOOKUP[EnumFacing.UP.ordinal()] = 2;
            }
            catch (NoSuchFieldError var5)
            {
                ;
            }

            try
            {
                FACING_LOOKUP[EnumFacing.NORTH.ordinal()] = 3;
            }
            catch (NoSuchFieldError var4)
            {
                ;
            }

            try
            {
                FACING_LOOKUP[EnumFacing.SOUTH.ordinal()] = 4;
            }
            catch (NoSuchFieldError var3)
            {
                ;
            }

            try
            {
                FACING_LOOKUP[EnumFacing.WEST.ordinal()] = 5;
            }
            catch (NoSuchFieldError var2)
            {
                ;
            }

            try
            {
                FACING_LOOKUP[EnumFacing.EAST.ordinal()] = 6;
            }
            catch (NoSuchFieldError var1)
            {
                ;
            }
        }
    }
   
    //###########################################################3
    /*
    public void addCollisionBoxesToList(World worldIn, BlockPos pos, IBlockState state, AxisAlignedBB mask, List list, Entity collidingEntity)
    {
        this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F);
        super.addCollisionBoxesToList(worldIn, pos, state, mask, list, collidingEntity);
    }
*/
    /*
    public AxisAlignedBB getCollisionBoundingBox(World worldIn, BlockPos pos, IBlockState state)
    {
        this.setBlockBoundsBasedOnState(worldIn, pos);
        return super.getCollisionBoundingBox(worldIn, pos, state);
    }
*/
    public boolean isFullCube()
    {
        return false;
    }
    
    
    //###########################################################3
    public String getUnlocalizedName(ItemStack stack)
    {
        
    	int m= stack.getMetadata();
    	
    	if (m == 0){return name+"0" ;}
    	if (m == 1){return name+"1" ;}
    	if (m == 2){return name+"2" ;}
    	if (m == 3){return name+"3" ;}
    	if (m == 4){return name+"4" ;}
    	if (m == 5){return name+"5" ;}
    	if (m == 5){return name+"6" ;}
    	if (m == 5){return name+"7" ;}
    	
    	return name+"0";

    }

    @SideOnly(Side.CLIENT)
    public void getSubItems(Item itemIn, CreativeTabs tab, List subItems)
    {
        subItems.add(new ItemStack(itemIn, 1, 0));
        subItems.add(new ItemStack(itemIn, 1, 1));
        subItems.add(new ItemStack(itemIn, 1, 2));
        subItems.add(new ItemStack(itemIn, 1, 3));
        subItems.add(new ItemStack(itemIn, 1, 4));
        subItems.add(new ItemStack(itemIn, 1, 5));
        subItems.add(new ItemStack(itemIn, 1, 6));
        subItems.add(new ItemStack(itemIn, 1, 7));
        
        
    }
    
    
  //###########################################################3
}//fin de la clase

 

 

Link to comment
Share on other sites

Minecraft.getMinecraft().thePlayer is the client-side player. If you pass that to the command it will modify the client world, even if you are on the server thread (which you are, since you are in onNeighborBlockChanged). That is also why you got the ConcurrentModificationException (you modified the client world from server thread while the client was also using it, threads run simultaneously).

 

You can't get a player object here, there might not even be a player online (chunk loaders and then a block placer or a piston moves, causes onNeighborBlockChanged to be called).

You need to code the block remove independent of the fill command, but you can use it's code as a reference.

 

Edit: Also these 3 static fields look very suspicious:

public static int conteo=0;
public static ArrayList<tiempoDinamita> listaDinamita = new  ArrayList<tiempoDinamita>();
private static BlockPos posa=null;

 

static will be shared across the entire server! That is most likely not what you want.

Link to comment
Share on other sites

well

 

lets working

 

i get ride of the unnesesary static almos all  and get ride from all the Minecraft mc = Minecraft.getMinecraft();

EntityPlayer playerIn= mc.thePlayer; 

 

make a set in an execute.class to load the int[] array whit the data of the blocks to break  and set the mesenger class to run execute and break the blocks on the comand "romper "

 

but still get the exeption.

 

Question ?

im executing code in the server using the packages trick how do to get the current world to use in

 

worldIn.destroy(blockpos , drops);

 

im geting the player from the message

 

public static class Handler0 implements IMessageHandler<mensajeMercenarioalServidor, IMessage> {


    @Override
    public IMessage onMessage(mensajeMercenarioalServidor message, MessageContext ctx) {
    	
    	EntityPlayer playerIn=ctx.getServerHandler().playerEntity;
    	EntityPlayerMP playerMp=(EntityPlayerMP)playerIn;
    	
    	ejecutar.esto(texto0,playerIn);//this pas the "mesage" and the player get from the message sender 
    	
    	return null; // no response in this case
    }

 

in the ejecutar.class i get world from the player using

World worldIn=playerIn.getEntityWorld();

 

 

and then do

 

//load  comandofill whit max and mins
public void setComando(int[]  comando0){
  comandofill=comando0;
System.out.println("comando reciviod="+comando0);

}

//"romper"
	if (comando.equals("romper")){ //destruir maxivamente Blockes en el mundo

		System.out.println("Mundo="+worldIn.isRemote);

	 	int xmin=comandofill[0], ymin=comandofill[1], zmin=comandofill[2];
	 	int xmax=comandofill[3], ymax=comandofill[4], zmax=comandofill[5];

	 	for (int dx=xmin;dx <= xmax; dx++ ){
	 	for (int dy=ymin;dy <= ymax; dy++ ){
	 	for (int dz=zmin;dz <= zmax; dz++ ){

	 	BlockPos posx= new BlockPos(dx,dy,dz);	

	 	System.out.println("romper="+posx)	;
	 	worldIn.destroyBlock(posx, true);
	 	}}}

	}
//##########################################################33	

Link to comment
Share on other sites

ñaa

 

is a thing of features and feelings

i wanna chain explosions so when the block recives the pulse its wait a full second to get the data of all the charges and then bllow up all the fucking thing in one single shot

 

 

the simple way thath give no  troubles but freeze temporaly the game when get to may blocks is

 

package mercenarymod.blocks.explosivos;

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

import org.apache.logging.log4j.core.config.Property;

import mercenarymod.Mercenary;
import mercenarymod.blocks.MercenaryModBlocks;
import net.minecraft.block.Block;
import net.minecraft.block.material.MapColor;
import net.minecraft.block.material.Material;
import net.minecraft.block.properties.IProperty;
import net.minecraft.block.properties.PropertyDirection;
import net.minecraft.block.state.BlockState;
import net.minecraft.block.state.IBlockState;
import net.minecraft.client.Minecraft;
import net.minecraft.command.CommandException;
import net.minecraft.command.ICommandSender;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.tileentity.TileEntityFurnace;
import net.minecraft.util.AxisAlignedBB;
import net.minecraft.util.BlockPos;
import net.minecraft.util.ChatComponentTranslation;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.EnumWorldBlockLayer;
import net.minecraft.util.MathHelper;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
import net.minecraftforge.fml.common.registry.GameRegistry;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import mercenarymod.mensajes.mensajeMercenarioalServidor;
import mercenarymod.utilidades.chat;
import net.minecraft.entity.EntityLivingBase;
import mercenarymod.blocks.explosivos.tiempoDinamita;
//import net.minecraft.command.CommandFill;

public class dinamitaParaPerforaciones3 extends Block
{
    public String name = "dinamitaParaPerforaciones3";
    
            
    public static final PropertyDirection FACING = PropertyDirection.create("facing");
    
    public  int conteo=0;
    
    private  BlockPos posa=null;

    public dinamitaParaPerforaciones3()
    {
    	super(Material.tnt);
        setUnlocalizedName(Mercenary.MODID + "_" + name);
        GameRegistry.registerBlock(this, name);
        setCreativeTab(Mercenary.herramientas);
        //this.maxStackSize = 1;
        
      
    }
  //###########################################################3
    
    public void onNeighborBlockChange(World worldIn, BlockPos pos, IBlockState state, Block neighborBlock)
    {
    	
String F=""+state.getValue(FACING);
    	
    	System.out.println("\n\n\nFacing="+F);
    	
    	if ( F.contains("east") &  worldIn.isAirBlock(pos.east()) ){worldIn.destroyBlock(pos, false);}
    	if ( F.contains("west") &  worldIn.isAirBlock(pos.west()) ){worldIn.destroyBlock(pos, false);}
    	
    	if ( F.contains("north") &  worldIn.isAirBlock(pos.north()) ){worldIn.destroyBlock(pos, false);}
    	if ( F.contains("south") &  worldIn.isAirBlock(pos.south()) ){worldIn.destroyBlock(pos, false);}
    	
    	if ( F.contains("up") &  worldIn.isAirBlock(pos.up()) ){worldIn.destroyBlock(pos, false);}
    	if ( F.contains("down") &  worldIn.isAirBlock(pos.down()) ){worldIn.destroyBlock(pos, false);}
    	 	
    	
    	
    	
    	//Minecraft mc = Minecraft.getMinecraft();
    	//EntityPlayer playerIn= mc.thePlayer;
       
        if (worldIn.isBlockPowered(pos)){
        	
                	
        	if (pos.equals(posa)){System.out.println("%%%%%%\n ignorar posicion por estar repetida\n"+pos+"\n"+posa);/*do nothing*/;}	 
    		else { posa=pos;	 
    		destruirBlockes(pos,worldIn);
    		
    		//tiempoDinamita.habilitar(worldIn,pos);
    		     }
        	
        }
    	
    	
    }
  //###########################################################3  
    public Block setBlockUnbreakable()
    {
        this.setHardness(-1.0F);
        return this;
    }

  //###########################################################3  
    public Item getItemDropped(IBlockState state, Random rand, int fortune)
    {
        return null; //Item.getItemFromBlock(MercenaryModBlocks.romper);
    }
    
    
  //###########################################################3
    
    public boolean isOpaqueCube()
    {
        return false;
    }

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

  //###########################################################3
    public boolean onBlockActivated(World worldIn, BlockPos pos, IBlockState state, EntityPlayer playerIn, EnumFacing side, float hitX, float hitY, float hitZ)
    {
    	
    	
    IBlockState  bs0 = worldIn.getBlockState(pos.north());
    
    IBlockState  bs1 = worldIn.getBlockState(pos.south());
    
    IBlockState  bs2 = worldIn.getBlockState(pos.east());
    
    IBlockState  bs3 = worldIn.getBlockState(pos.west());
    
    
    
    System.out.println("Norte="+bs0.getBlock().getUnlocalizedName());
    System.out.println("Sur="+bs1.getBlock().getUnlocalizedName());
    System.out.println("Este="+bs2.getBlock().getUnlocalizedName());
    System.out.println("Oeste="+bs3.getBlock().getUnlocalizedName());
    
    System.out.println("\n\n\nmundo="+worldIn.isRemote);
    
    
    
    /*
    net.minecraft.command.CommandFill  fill = new net.minecraft.command.CommandFill();
    
    
    //String [] comando= {"-136","41","215","-140","44","217","minecraft:glass"};
    String [] comando= {"-136","41","215","-140","44","217","minecraft:air","0","destroy"};
    try {
if (!worldIn.isRemote){fill.execute(playerIn, comando);}
} catch (CommandException e) {

	e.printStackTrace();
}
    */
   	
    	
    	
    return false;}
    
  //###########################################################3
public void destruirBlockes(BlockPos pos_entrada,World worldIn_entrada){

//Minecraft mc = Minecraft.getMinecraft();
//EntityPlayer playerIn= mc.thePlayer;


 int x=pos_entrada.getX(),y=pos_entrada.getY(),z=pos_entrada.getZ();	
 int xmax=0,xmin=0, ymax=0,ymin=0, zmax=0,zmin=0;
    
IBlockState state_entrada = worldIn_entrada.getBlockState(pos_entrada);
Block iblk_entrada=state_entrada.getBlock();
String F=""+state_entrada.getValue(FACING);

BlockPos pos1=null;
int T=3; //tamaño
int C=6; //profundidad
    
	if(F.contains("down")){
	pos1= new BlockPos(x,(y-1),z);	
     xmax=x+T;
     xmin=x-T;
     ymax=y;
     ymin=y-(T*2)-C;
     zmax=z+T;
     zmin=z-T;
	}	

	if(F.contains("up")){
	pos1= new BlockPos(x,(y+1),z);	
     xmax=x+T;
     xmin=x-T;
     ymax=y+(T*2)+C;
     ymin=y;
     zmax=z+T;
     zmin=z-T;
	}	

	if(F.contains("north")){
     	pos1= new BlockPos(x,y,(z-1));	
         xmax=x+T;
         xmin=x-T;
         ymax=y+T;
         ymin=y-T;
         zmax=z;
         zmin=z-(T*2)-C;
     	}	

	if(F.contains("south")){
     	pos1= new BlockPos(x,y,(z+1));	
         xmax=x+T;
         xmin=x-T;
         ymax=y+T;
         ymin=y-T;
         zmax=z+(T*2)+C;
         zmin=z;
     	}	

	  	
	if(F.contains("east")){
     	pos1= new BlockPos((x+1),y,z);	
         xmax=x+(T*2)+C;
         xmin=x;
         ymax=y+T;
         ymin=y-T;
         zmax=z+T;
         zmin=z-T;
     	}	

	if(F.contains("west")){
     	pos1= new BlockPos((x-1),y,z);	
         xmax=x;
         xmin=x-(T*2)-C;
         ymax=y+T;
         ymin=y-T;
         zmax=z+T;
         zmin=z-T;
     	}	
	 	  	

	for (int dx=xmin ; dx <=xmax ;dx++){
		for (int dy=ymin ; dy <=ymax ;dy++){
		for (int dz=zmin ; dz <=zmax ;dz++){
		BlockPos posx=new BlockPos(dx,dy,dz);

		worldIn_entrada.destroyBlock(posx, true);

		}}}

	 	    

		worldIn_entrada.newExplosion((Entity)null, x, y, z, 2.0F, true, true);
	    //setDead();



//return comando;	
} 
  
    
  //###########################################################3
    
    
    public void onBlockPlacedBy(World worldIn, BlockPos pos, IBlockState state, EntityLivingBase placer, ItemStack stack)
    {
    	
    	
    	EnumFacing cara = getFacingFromEntity(worldIn, pos, placer);
    	
    	
    	worldIn.setBlockState(pos, state.withProperty(FACING, cara.getOpposite()), 2);
        //worldIn.setBlockState(pos, state.withProperty(FACING, getFacingFromEntity(worldIn, pos, placer)), 2);

     
    }
    
  //###########################################################3    
    public IBlockState onBlockPlaced(World worldIn, BlockPos pos, EnumFacing facing, float hitX, float hitY, float hitZ, int meta, EntityLivingBase placer)
    {
        return this.getDefaultState().withProperty(FACING, getFacingFromEntity(worldIn, pos, placer));
    }
    
  //###########################################################3    
    public void setBlockBoundsBasedOnState(IBlockAccess worldIn, BlockPos pos)
    {
        IBlockState iblockstate = worldIn.getBlockState(pos);

       
            float f = 0.25F;
            EnumFacing enumfacing = (EnumFacing)iblockstate.getValue(FACING);

            if (enumfacing != null)
            {
                switch (dinamitaParaPerforaciones.SwitchEnumFacing.FACING_LOOKUP[enumfacing.ordinal()])
                {
                    case 1:
                        this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 0.01F, 1.0F);
                        break;
                    case 2:
                        this.setBlockBounds(0.0F, 0.99F, 0.0F, 1.0F, 1.0F, 1.0F);
                        break;
                    case 3:
                        this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 0.01F);
                        break;
                    case 4:
                        this.setBlockBounds(0.0F, 0.0F, 0.99F, 1.0F, 1.0F, 1.0F);
                        break;
                    case 5:
                        this.setBlockBounds(0.0F, 0.0F, 0.0F, 0.01F, 1.0F, 1.0F);
                        break;
                    case 6:
                        this.setBlockBounds(0.99F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F);
                }
            }
        
        else
        {
            this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F);
        }
    }

  //###########################################################3  
    public void setBlockBoundsForItemRender()
    {
        this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F);
    }    
        
  //###########################################################3  
    
    public static EnumFacing getFacingFromEntity(World worldIn, BlockPos clickedBlock, EntityLivingBase entityIn)
    {
        if (MathHelper.abs((float)entityIn.posX - (float)clickedBlock.getX()) < 2.0F && MathHelper.abs((float)entityIn.posZ - (float)clickedBlock.getZ()) < 2.0F)
        {
            double d0 = entityIn.posY + (double)entityIn.getEyeHeight();

            if (d0 - (double)clickedBlock.getY() > 2.0D)
            {
                return EnumFacing.UP;
            }

            if ((double)clickedBlock.getY() - d0 > 0.0D)
            {
                return EnumFacing.DOWN;
            }
        }

        return entityIn.getHorizontalFacing().getOpposite();
    } 
  
  //###########################################################3     
    
    @SideOnly(Side.CLIENT)
    public IBlockState getStateForEntityRender(IBlockState state)
    {
        return this.getDefaultState().withProperty(FACING, EnumFacing.UP);
    }
    
    //###########################################################3
    
    protected BlockState createBlockState()
    {
        return new BlockState(this, new IProperty[] {FACING});
    }
    
    //###########################################################3
    
    public int getMetaFromState(IBlockState state)
    {
        byte b0 = 0;
        int i = b0 | ((EnumFacing)state.getValue(FACING)).getIndex();

       
        return i;
    }
    
    //###########################################################3
    
    static final class SwitchEnumFacing
    {
        static final int[] FACING_LOOKUP = new int[EnumFacing.values().length];
        private static final String __OBFID = "CL_00002037";

        static
        {
            try
            {
                FACING_LOOKUP[EnumFacing.DOWN.ordinal()] = 1;
            }
            catch (NoSuchFieldError var6)
            {
                ;
            }

            try
            {
                FACING_LOOKUP[EnumFacing.UP.ordinal()] = 2;
            }
            catch (NoSuchFieldError var5)
            {
                ;
            }

            try
            {
                FACING_LOOKUP[EnumFacing.NORTH.ordinal()] = 3;
            }
            catch (NoSuchFieldError var4)
            {
                ;
            }

            try
            {
                FACING_LOOKUP[EnumFacing.SOUTH.ordinal()] = 4;
            }
            catch (NoSuchFieldError var3)
            {
                ;
            }

            try
            {
                FACING_LOOKUP[EnumFacing.WEST.ordinal()] = 5;
            }
            catch (NoSuchFieldError var2)
            {
                ;
            }

            try
            {
                FACING_LOOKUP[EnumFacing.EAST.ordinal()] = 6;
            }
            catch (NoSuchFieldError var1)
            {
                ;
            }
        }
    }
   
    //###########################################################3
    /*
    public void addCollisionBoxesToList(World worldIn, BlockPos pos, IBlockState state, AxisAlignedBB mask, List list, Entity collidingEntity)
    {
        this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F);
        super.addCollisionBoxesToList(worldIn, pos, state, mask, list, collidingEntity);
    }
*/
    /*
    public AxisAlignedBB getCollisionBoundingBox(World worldIn, BlockPos pos, IBlockState state)
    {
        this.setBlockBoundsBasedOnState(worldIn, pos);
        return super.getCollisionBoundingBox(worldIn, pos, state);
    }
*/
    public boolean isFullCube()
    {
        return false;
    }
    
    
    //###########################################################3
    public String getUnlocalizedName(ItemStack stack)
    {
        
    	int m= stack.getMetadata();
    	
    	if (m == 0){return name+"0" ;}
    	if (m == 1){return name+"1" ;}
    	if (m == 2){return name+"2" ;}
    	if (m == 3){return name+"3" ;}
    	if (m == 4){return name+"4" ;}
    	if (m == 5){return name+"5" ;}
    	if (m == 5){return name+"6" ;}
    	if (m == 5){return name+"7" ;}
    	
    	return name+"0";

    }

    @SideOnly(Side.CLIENT)
    public void getSubItems(Item itemIn, CreativeTabs tab, List subItems)
    {
        subItems.add(new ItemStack(itemIn, 1, 0));
        subItems.add(new ItemStack(itemIn, 1, 1));
        subItems.add(new ItemStack(itemIn, 1, 2));
        subItems.add(new ItemStack(itemIn, 1, 3));
        subItems.add(new ItemStack(itemIn, 1, 4));
        subItems.add(new ItemStack(itemIn, 1, 5));
        subItems.add(new ItemStack(itemIn, 1, 6));
        subItems.add(new ItemStack(itemIn, 1, 7));
        
        
    }
    
    
  //###########################################################3
}//fin de la clase

Link to comment
Share on other sites

String F=""+state_entrada.getValue(FACING);
if(F.contains("down")){ ... }

 

My god.  It's full of Strings.

 

Not to mention static properties.  Jesus.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

Yeah, what Draco cited will not work outside the development environment (why is left as an exercise to the reader).

 

Also (as I told you before) your code is pretty much unreadable for anyone not speaking your language.

What the fuck does this:

int T=3; //tamaño

mean to someone who does not know what "tamaño" means? Nothing. If you want us to help you, code in English. This is not to discriminate your language or anything. We (or I at least) just can not understand it.

 

Yes, destroying a lot of blocks will lag Minecraft. How do commands or packets help here? Not at all.

You need to distribute the destroying over multiple ticks (using ServerTickEvent / WorldTickEvent) or deal with the lag. Either or. Do not use threads. Do not use Packets. Do not pass go, do not collect $400.

 

Also to add to what Draco said: See point #7 on http://blog.codinghorror.com/new-programming-jargon/

 

Link to comment
Share on other sites

Also to add to what Draco said: See point #7 on http://blog.codinghorror.com/new-programming-jargon/

 

I like that list. :D

 

My company's website is full of nothing but ducks.  Refuctored, hydra-code, ducks.  Another one of our programs as at least one loch ness bug, another application has a loch ness bug we know exists but can't reproduce in-house because Apple and iOS 8.0.0/1/2 FUBARed the whole thing ("Of COURSE I upgraded my device to 8.2!  What do you think I am, stupid?" "Our tracking code says you're still on 8.0.2, which is broken.")

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

weel not getting mad but

there is thing named google traductor it will gve you what tamaño is and other things in other langs

 

the ticks  thing sound interesting    ServerTickEvent / WorldTickEvent

al ready read http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/1571567-forge-1-6-4-1-8-eventhandler-and

and other thinks

 

but from i read,

 

¿ there is alredy a

//Called when the server ticks. Usually 20 ticks a second.

@SubscribeEvent

public void onServerTick(TickEvent.ServerTickEvent event) {

}

 

to use in 1.8 or this must be created? and

?i could do watever i want here , like create in this event class a public static blockArray and fill the whit hundreds of blocks to break then in

 

public void onServerTick(TickEvent.ServerTickEvent event) {

if (pass == 0){break all the frist 100 blocks }

if (pass == 1){break all the second  100 blocks }

soo on soo on

 

pass++

}

Link to comment
Share on other sites

weel not getting mad but

there is thing named google traductor it will gve you what tamaño is and other things in other langs

Which is not our job. You want help here, you are in an English forum. Provide information in English.

but from i read,

 

¿ there is alredy a

//Called when the server ticks. Usually 20 ticks a second.

@SubscribeEvent

public void onServerTick(TickEvent.ServerTickEvent event) {

}

 

to use in 1.8 or this must be created?

If I understand you correctly: Yes, this event exists in 1.8 and is useable.

and

?i could do watever i want here

Yes. But it must be registered in pre-init like any other event handler.

So you'd have to have some sort of event-scheduler in your TickEvent handler that can store actions (Probably using the Runnable interface) and execute them lets say... 3 ticks into the future.

Then in your Block you'd say "execute this in 3 ticks".

Link to comment
Share on other sites

well

the post now become about minecraft events

 

well i read and alredy have create a events class and register it to preinit

and have this on console

 

[20:40:44] [server thread/INFO] [sTDOUT]: [mercenarymod.mercenaryEvent:onServerTick:28]: ==============Server tick==============

[20:40:44] [server thread/INFO] [sTDOUT]: [mercenarymod.mercenaryEvent:onServerTick:28]: ==============Server tick==============

[20:40:44] [server thread/INFO] [sTDOUT]: [mercenarymod.mercenaryEvent:onServerTick:28]: ==============Server tick==============

[20:40:44] [Client thread/INFO] [sTDOUT]: [mercenarymod.mercenaryEvent:onClientTick:21]: ==============Client tick==============

[20:40:44] [Client thread/INFO] [sTDOUT]: [mercenarymod.mercenaryEvent:onClientTick:21]: ==============Client tick==============

[20:40:44] [Client thread/INFO] [sTDOUT]: [mercenarymod.mercenaryEvent:onClientTick:21]: ==============Client tick==============

 

tinking in the posibilities i gona play a few days whit this and see what happen later 

 

 

Link to comment
Share on other sites

done alredy

 

it kkeps just one instance of event class runing at same time , its waits like a little more than a second to blow up,  if i detonate more packages when is alredy running dont crash but add the new blocks to the list to break and break them

 

but disapoint it is even seting the event class to  break one single block per tick it stills lag but you can see how breaks everything  one block at time

so its gonna have to deal whith the lag  and keep explosions the less bigger

 

//###########################################################3
public boolean destroyBlockes(BlockPos pos_initial,World worldIn_initial){

 int x=pos_initial.getX(),y=pos_initial.getY(),z=pos_initial.getZ();	
 int xmax=0,xmin=0, ymax=0,ymin=0, zmax=0,zmin=0;
 ArrayList<BlockPos> blockes = new ArrayList<BlockPos>();
 blockes.clear();


BlockPos pos1=null;
int R=2; //sizew
//int C=2; //deep


//cuadrado
xmax=x+R;
    xmin=x-R;
    ymax=y+R;
    ymin=y-R;
    zmax=z+R;
    zmin=z-R;

for (int dx=xmin ; dx <=xmax ;dx++){
for (int dy=ymin ; dy <=ymax ;dy++){
for (int dz=zmin ; dz <=zmax ;dz++){
BlockPos posx=new BlockPos(dx,dy,dz);

IBlockState iblk0=worldIn_initial.getBlockState(posx);
Block       blk0=iblk0.getBlock();
	        
int         Hard=(int)blk0.getBlockHardness(worldIn_initial, posx);	
        
if ((Hard > -1 & Hard < 4)||(blk0.equals(Blocks.obsidian))){//ignore to hard except obsidiana
        
	blockes.add(posx);
	//worldIn_initial.destroyBlock(posx, true);                	
                                                           }
}}}

mercenaryEvent.blockes.addAll(blockes);
mercenaryEvent.explosions.add(pos_initial);
mercenaryEvent.worldIn=worldIn_initial;


	//worldIn_entrada.newExplosion((Entity)null, x, y, z, 2.0F, true, true);
    //setDead();






return true;	
} 
//###########################################################3  

 

package mercenarymod;

import java.util.ArrayList;

import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.Entity;
import net.minecraft.util.BlockPos;
import net.minecraft.world.World;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.common.gameevent.InputEvent;
import net.minecraftforge.fml.common.gameevent.TickEvent;

// import mercenarymod.mercenaryEvent

//mercenaryEvent.blockes;
//mercenaryEvent.worldIn;


public class mercenaryEvent {
int count=0;
boolean countwassreset=false; 
public static ArrayList<BlockPos> blockes = new ArrayList<BlockPos>();
public static ArrayList<BlockPos> explosions = new ArrayList<BlockPos>();
public static World worldIn=null;


//Called when the client ticks. 
@SubscribeEvent
public void onClientTick(TickEvent.ClientTickEvent event) {
//System.out.println("==============Cliente tick==============");	 
                                                           }
               

//Called when the server ticks. Usually 20 ticks a second. 
@SubscribeEvent
public void onServerTick(TickEvent.ServerTickEvent event) {
//System.out.println("==============Servidor tick==============");
if (worldIn!=null){

if (!countwassreset){count=0;countwassreset=true;}	

int ticks=30;  //wait until begin

if(count==ticks){//explosiones;

int l_explosions=explosions.size();
for (int explotar=0; explotar < l_explosions ; explotar++){
BlockPos poss=explosions.get(explotar);	 
worldIn.newExplosion((Entity)null, poss.getX(), poss.getY(),poss.getZ(), 2.0F, true, true);	 
                 }


}

if(count>ticks){

int l_blockes=blockes.size();
System.out.println("blockes has="+l_blockes+" conteo="+count);

int T=8;  //amount of blocks per tick 
int bmin=((count-ticks-1)*T) ,bmax=((count-ticks)*T);	 
if ( bmax >= l_blockes ){bmax=(l_blockes-1);}

System.out.println("\n break from bmin="+bmin+" to bmax="+bmax);

for (int romper=bmin; romper < bmax ; romper++){

BlockPos posx=blockes.get(romper);
worldIn.destroyBlock(posx, true);	
}

if ( bmax >= (l_blockes-1) ){worldIn=null;countwassreset=false;blockes.clear();explosions.clear();}	 

}

count++;

}}}

 

 

 

Link to comment
Share on other sites

Join the conversation

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

Guest
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.

 Share



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Try the latest version of the dungeon crawl. If that doesn't fix it, contact the mod author. https://www.curseforge.com/minecraft/mc-mods/dungeon-crawl/files/all?filter-game-version=1738749986%3a73407
    • Mixin doesn't like java 19 use java 17
    • Everytime When I Try To Launch My Forge Minecraft Server It Crashes I Don't Really Know What To Do Here Is the Crash Log: ---- Minecraft Crash Report ---- WARNING: coremods are present:   TransformLoader (DynamicSurroundings-1.12.2-3.6.1.0.jar)   LoadingPlugin (Bloodmoon-MC1.12.2-1.5.3 (1).jar)   RandomPatches (randompatches-1.12.2-1.22.1.10.jar)   PhosphorFMLLoadingPlugin (phosphor-1.12.2-0.2.6+build50-universal.jar)   CreativePatchingLoader (CreativeCore_v1.10.70_mc1.12.2.jar) Contact their authors BEFORE contacting forge // This doesn't make any sense! Time: 9/25/22 10:40 PM Description: Exception in server tick loop java.lang.IllegalArgumentException: ChunkNibbleArrays should be 2048 bytes not: 0     at net.minecraft.world.chunk.NibbleArray.<init>(SourceFile:16)     at net.minecraft.world.chunk.storage.AnvilChunkLoader.func_75823_a(AnvilChunkLoader.java:450)     at net.minecraft.world.chunk.storage.AnvilChunkLoader.checkedReadChunkFromNBT__Async(AnvilChunkLoader.java:129)     at net.minecraft.world.chunk.storage.AnvilChunkLoader.loadChunk__Async(AnvilChunkLoader.java:93)     at net.minecraftforge.common.chunkio.ChunkIOProvider.run(ChunkIOProvider.java:70)     at net.minecraftforge.common.chunkio.ChunkIOExecutor.syncChunkLoad(ChunkIOExecutor.java:92)     at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:118)     at net.minecraft.world.gen.ChunkProviderServer.func_186028_c(ChunkProviderServer.java:89)     at net.minecraft.world.gen.ChunkProviderServer.func_186025_d(ChunkProviderServer.java:135)     at net.minecraft.server.MinecraftServer.func_71222_d(MinecraftServer.java:344)     at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:314)     at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:270)     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486)     at java.lang.Thread.run(Unknown Source) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details:     Minecraft Version: 1.12.2     Operating System: Windows 10 (amd64) version 10.0     Java Version: 1.8.0_341, Oracle Corporation     Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation     Memory: 4739810688 bytes (4520 MB) / 6174015488 bytes (5888 MB) up to 6174015488 bytes (5888 MB)     JVM Flags: 2 total; -Xmx6144M -Xms6144M     IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0     FML: MCP 9.42 Powered by Forge 14.23.5.2860 33 mods loaded, 33 mods active     States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored     | State  | ID                | Version          | Source                                      | Signature                                |     |:------ |:----------------- |:---------------- |:------------------------------------------- |:---------------------------------------- |     | LCHIJA | minecraft         | 1.12.2           | minecraft.jar                               | None                                     |     | LCHIJA | mcp               | 9.42             | minecraft.jar                               | None                                     |     | LCHIJA | FML               | 8.0.99.99        | forge-1.12.2-14.23.5.2860.jar               | e3c3d50c7c986df74c645c0ac54639741c90a557 |     | LCHIJA | forge             | 14.23.5.2860     | forge-1.12.2-14.23.5.2860.jar               | e3c3d50c7c986df74c645c0ac54639741c90a557 |     | LCHIJA | creativecoredummy | 1.0.0            | minecraft.jar                               | None                                     |     | LCHIJA | randompatches     | 1.12.2-1.22.1.10 | randompatches-1.12.2-1.22.1.10.jar          | None                                     |     | LCHIJA | aiimprovements    | 0.0.1.3          | AIImprovements-1.12-0.0.1b3.jar             | None                                     |     | LCHIJA | badmobs           | 1.1.40           | BadMobs-1.12.2-1.1.40 (1).jar               | d476d1b22b218a10d845928d1665d45fce301b27 |     | LCHIJA | bloodmoon         | 1.5.3            | Bloodmoon-MC1.12.2-1.5.3 (1).jar            | d72e0dd57935b3e9476212aea0c0df352dd76291 |     | LCHIJA | chunkpregenerator | 2.5.0            | Chunk+Pregenerator-V1.12-2.5.7.jar          | None                                     |     | LCHIJA | extendedrenderer  | v1.0             | coroutil-1.12.1-1.2.37 (2).jar              | None                                     |     | LCHIJA | coroutil          | 1.12.1-1.2.37    | coroutil-1.12.1-1.2.37 (2).jar              | None                                     |     | LCHIJA | configmod         | v1.0             | coroutil-1.12.1-1.2.37 (2).jar              | None                                     |     | LCHIJA | crafttweaker      | 4.1.20           | CraftTweaker2-1.12-4.1.20.680.jar           | None                                     |     | LCHIJA | crafttweakerjei   | 2.0.3            | CraftTweaker2-1.12-4.1.20.680.jar           | None                                     |     | LCHIJA | creativecore      | 1.10.0           | CreativeCore_v1.10.70_mc1.12.2.jar          | None                                     |     | LCHIJA | orelib            | 3.6.0.1          | OreLib-1.12.2-3.6.0.1 (1).jar               | 7a2128d395ad96ceb9d9030fbd41d035b435753a |     | LCHIJA | dsurround         | 3.6.1.0          | DynamicSurroundings-1.12.2-3.6.1.0.jar      | 7a2128d395ad96ceb9d9030fbd41d035b435753a |     | LCHIJA | dynview           | 1.3              | dynviewdist-1.12-1.3.jar                    | None                                     |     | LCHIJA | enhancedvisuals   | 1.3.0            | EnhancedVisuals_v1.4.4_mc1.12.2 (1).jar     | None                                     |     | LCHIJA | epicsiegemod      | 13.169           | EpicSiegeMod-13.169 (1).jar                 | None                                     |     | LCHIJA | gravestone        | 1.10.3           | gravestone-1.10.3.jar                       | None                                     |     | LCHIJA | ichunutil         | 7.2.2            | iChunUtil-1.12.2-7.2.2.jar                  | 4db5c2bd1b556f252a5b8b54b256d381b2a0a6b8 |     | LCHIJA | mts               | 22.1.0           | Immersive+Vehicles-1.12.2-22.1.0.jar        | None                                     |     | LCHIJA | incontrol         | 3.9.8            | incontrol-1.12-3.9.8.jar                    | None                                     |     | LCHIJA | mobends           | 1.2.1            | MoBends_1.12.2-1.2.1-19.12.21.jar           | None                                     |     | LCHIJA | mobsunscreen      | @version@        | mobsunscreen-1.12.2-3.1.5.jar               | None                                     |     | LCHIJA | performant        | 1.12.2-1.5       | performant-1.11.jar                         | None                                     |     | LCHIJA | roughmobs         | 2.0.0            | roughmobs2-1.12.2_2.0.15.jar                | None                                     |     | LCHIJA | gvc               | 1.2.5            | VoiceChatReloaded-1.12.2-1.3.0.jar          | None                                     |     | LCHIJA | worldedit         | 6.1.10           | worldedit-forge-mc1.12.2-6.1.10-dist.jar    | None                                     |     | LCHIJA | zombieawareness   | 1.12.1-1.11.16   | zombieawareness-1.12.1-1.11.16 (1).jar      | None                                     |     | LCHIJA | phosphor-lighting | 1.12.2-0.2.6     | phosphor-1.12.2-0.2.6+build50-universal.jar | f0387d288626cc2d937daa504e74af570c52a2f1 |     Loaded coremods (and transformers):  TransformLoader (DynamicSurroundings-1.12.2-3.6.1.0.jar)    LoadingPlugin (Bloodmoon-MC1.12.2-1.5.3 (1).jar)   lumien.bloodmoon.asm.ClassTransformer RandomPatches (randompatches-1.12.2-1.22.1.10.jar)   com.therandomlabs.randompatches.core.RPTransformer PhosphorFMLLoadingPlugin (phosphor-1.12.2-0.2.6+build50-universal.jar)    CreativePatchingLoader (CreativeCore_v1.10.70_mc1.12.2.jar)        Profiler Position: N/A (disabled)     Player Count: 0 / 20; []     Is Modded: Definitely; Server brand changed to 'fml,forge'     Type: Dedicated Server (map_server.txt)   Please Help Me With This Crash Report Thankkyou    
    • ---- Minecraft Crash Report ---- // Why did you do that? Time: 9/25/22, 12:14 PM Description: mouseClicked event handler java.lang.NoSuchFieldError: ENTITIES     at xiroc.dungeoncrawl.dungeon.monster.WeightedRandomEntity.assign(WeightedRandomEntity.java:51) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.dungeon.monster.WeightedRandomEntity.<init>(WeightedRandomEntity.java:43) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.dungeon.monster.WeightedRandomEntity$Builder.build(WeightedRandomEntity.java:103) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.dungeon.monster.WeightedRandomEntity.fromJson(WeightedRandomEntity.java:76) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.dungeon.monster.RandomMonster.loadEntityFile(RandomMonster.java:138) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.dungeon.monster.RandomMonster.loadJson(RandomMonster.java:118) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.util.ResourceReloadHandler.reload(ResourceReloadHandler.java:60) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.util.ResourceReloadHandler.lambda$reload$0(ResourceReloadHandler.java:80) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:787) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?] {}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:157) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:131) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.util.thread.BlockableEventLoop.m_18701_(BlockableEventLoop.java:140) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.client.gui.screens.worldselection.CreateWorldScreen.m_232896_(CreateWorldScreen.java:124) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.worldselection.WorldSelectionList.m_233213_(WorldSelectionList.java:136) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.worldselection.WorldSelectionList.m_233206_(WorldSelectionList.java:98) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.worldselection.WorldSelectionList.<init>(WorldSelectionList.java:92) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.worldselection.SelectWorldScreen.m_7856_(SelectWorldScreen.java:66) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.gui.screens.Screen.m_232761_(Screen.java:423) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.Screen.m_6575_(Screen.java:413) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91152_(Minecraft.java:943) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.TitleScreen.m_96775_(TitleScreen.java:157) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.components.Button.m_5691_(Button.java:40) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.gui.components.AbstractButton.m_5716_(AbstractButton.java:16) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.gui.components.AbstractWidget.m_6375_(AbstractWidget.java:110) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.components.events.ContainerEventHandler.m_6375_(ContainerEventHandler.java:27) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.gui.screens.TitleScreen.m_6375_(TitleScreen.java:355) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.MouseHandler.m_168084_(MouseHandler.java:88) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.Screen.m_96579_(Screen.java:524) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.MouseHandler.m_91530_(MouseHandler.java:85) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.MouseHandler.m_168091_(MouseHandler.java:185) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.client.MouseHandler.m_91565_(MouseHandler.java:184) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43) ~[lwjgl-glfw-3.3.1.jar%23136!/:build 7] {}     at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.3.1.jar%23128!/:build 7] {}     at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3474) ~[lwjgl-glfw-3.3.1.jar%23136!/:build 7] {}     at com.mojang.blaze3d.systems.RenderSystem.m_69830_(RenderSystem.java:222) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1115) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:669) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:206) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {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.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:27) ~[fmlloader-1.19-41.1.0.jar%2393!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) [bootstraplauncher-1.1.2.jar:?] {} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Stacktrace:     at xiroc.dungeoncrawl.dungeon.monster.WeightedRandomEntity.assign(WeightedRandomEntity.java:51) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.dungeon.monster.WeightedRandomEntity.<init>(WeightedRandomEntity.java:43) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.dungeon.monster.WeightedRandomEntity$Builder.build(WeightedRandomEntity.java:103) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.dungeon.monster.WeightedRandomEntity.fromJson(WeightedRandomEntity.java:76) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.dungeon.monster.RandomMonster.loadEntityFile(RandomMonster.java:138) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.dungeon.monster.RandomMonster.loadJson(RandomMonster.java:118) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.util.ResourceReloadHandler.reload(ResourceReloadHandler.java:60) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.util.ResourceReloadHandler.lambda$reload$0(ResourceReloadHandler.java:80) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:787) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?] {}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:157) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:131) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.util.thread.BlockableEventLoop.m_18701_(BlockableEventLoop.java:140) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.client.gui.screens.worldselection.CreateWorldScreen.m_232896_(CreateWorldScreen.java:124) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.worldselection.WorldSelectionList.m_233213_(WorldSelectionList.java:136) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.worldselection.WorldSelectionList.m_233206_(WorldSelectionList.java:98) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.worldselection.WorldSelectionList.<init>(WorldSelectionList.java:92) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.worldselection.SelectWorldScreen.m_7856_(SelectWorldScreen.java:66) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.gui.screens.Screen.m_232761_(Screen.java:423) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.Screen.m_6575_(Screen.java:413) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91152_(Minecraft.java:943) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.TitleScreen.m_96775_(TitleScreen.java:157) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.components.Button.m_5691_(Button.java:40) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.gui.components.AbstractButton.m_5716_(AbstractButton.java:16) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.gui.components.AbstractWidget.m_6375_(AbstractWidget.java:110) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.components.events.ContainerEventHandler.m_6375_(ContainerEventHandler.java:27) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.gui.screens.TitleScreen.m_6375_(TitleScreen.java:355) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.MouseHandler.m_168084_(MouseHandler.java:88) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.Screen.m_96579_(Screen.java:524) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.MouseHandler.m_91530_(MouseHandler.java:85) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.MouseHandler.m_168091_(MouseHandler.java:185) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.client.MouseHandler.m_91565_(MouseHandler.java:184) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43) ~[lwjgl-glfw-3.3.1.jar%23136!/:build 7] {}     at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.3.1.jar%23128!/:build 7] {}     at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3474) ~[lwjgl-glfw-3.3.1.jar%23136!/:build 7] {} -- Affected screen -- Details:     Screen name: net.minecraft.client.gui.screens.TitleScreen Stacktrace:     at net.minecraft.client.gui.screens.Screen.m_96579_(Screen.java:524) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.MouseHandler.m_91530_(MouseHandler.java:85) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.MouseHandler.m_168091_(MouseHandler.java:185) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.client.MouseHandler.m_91565_(MouseHandler.java:184) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43) ~[lwjgl-glfw-3.3.1.jar%23136!/:build 7] {}     at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.3.1.jar%23128!/:build 7] {}     at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3474) ~[lwjgl-glfw-3.3.1.jar%23136!/:build 7] {}     at com.mojang.blaze3d.systems.RenderSystem.m_69830_(RenderSystem.java:222) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1115) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:669) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:206) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {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.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:27) ~[fmlloader-1.19-41.1.0.jar%2393!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.8.jar%2381!/:?] {}     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: Default, Mod Resources Stacktrace:     at net.minecraft.client.ResourceLoadStateTracker.m_168562_(ResourceLoadStateTracker.java:49) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.Minecraft.m_91354_(Minecraft.java:2244) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:686) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:206) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {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.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:27) ~[fmlloader-1.19-41.1.0.jar%2393!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) [bootstraplauncher-1.1.2.jar:?] {} -- System Details -- Details:     Minecraft Version: 1.19     Minecraft Version ID: 1.19     Operating System: Windows 10 (amd64) version 10.0     Java Version: 17.0.3, Microsoft     Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft     Memory: 388041088 bytes (370 MiB) / 838860800 bytes (800 MiB) up to 2147483648 bytes (2048 MiB)     CPUs: 12     Processor Vendor: GenuineIntel     Processor Name: Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz     Identifier: Intel64 Family 6 Model 165 Stepping 5     Microarchitecture: unknown     Frequency (GHz): 2.90     Number of physical packages: 1     Number of physical CPUs: 6     Number of logical CPUs: 12     Graphics card #0 name: NVIDIA GeForce GTX 1660 Ti     Graphics card #0 vendor: NVIDIA (0x10de)     Graphics card #0 VRAM (MB): 4095.00     Graphics card #0 deviceId: 0x2182     Graphics card #0 versionInfo: DriverVersion=30.0.14.7196     Memory slot #0 capacity (MB): 8192.00     Memory slot #0 clockSpeed (GHz): 2.13     Memory slot #0 type: DDR4     Memory slot #1 capacity (MB): 16384.00     Memory slot #1 clockSpeed (GHz): 2.13     Memory slot #1 type: DDR4     Memory slot #2 capacity (MB): 16384.00     Memory slot #2 clockSpeed (GHz): 2.13     Memory slot #2 type: DDR4     Virtual memory max (MB): 46092.41     Virtual memory used (MB): 17252.70     Swap memory total (MB): 5200.06     Swap memory used (MB): 0.00     JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M     Launched Version: 1.19-forge-41.1.0     Backend library: LWJGL version 3.3.1 build 7     Backend API: NVIDIA GeForce GTX 1660 Ti/PCIe/SSE2 GL version 3.2.0 NVIDIA 471.96, NVIDIA Corporation     Window size: 854x480     GL Caps: Using framebuffer using OpenGL 3.2     GL debug messages:      Using VBOs: Yes     Is Modded: Definitely; Client brand changed to 'forge'     Type: Client (map_client.txt)     Graphics mode: fancy     Resource Packs:      Current Language: English (US)     CPU: 12x Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz     ModLauncher: 10.0.8+10.0.8+main.0ef7e830     ModLauncher launch target: forgeclient     ModLauncher naming: srg     ModLauncher services:          mixin-0.8.5.jar mixin PLUGINSERVICE          eventbus-6.0.0.jar eventbus PLUGINSERVICE          fmlloader-1.19-41.1.0.jar slf4jfixer PLUGINSERVICE          fmlloader-1.19-41.1.0.jar object_holder_definalize PLUGINSERVICE          fmlloader-1.19-41.1.0.jar runtime_enum_extender PLUGINSERVICE          fmlloader-1.19-41.1.0.jar capability_token_subclass PLUGINSERVICE          accesstransformers-8.0.4.jar accesstransformer PLUGINSERVICE          fmlloader-1.19-41.1.0.jar runtimedistcleaner PLUGINSERVICE          modlauncher-10.0.8.jar mixin TRANSFORMATIONSERVICE          modlauncher-10.0.8.jar fml TRANSFORMATIONSERVICE      FML Language Providers:          minecraft@1.0         lowcodefml@null         javafml@null     Mod List:          client-1.19-20220607.102129-srg.jar               |Minecraft                     |minecraft                     |1.19                |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         lostcities-1.19-6.0.5.jar                         |LostCities                    |lostcities                    |1.19-6.0.5          |DONE      |Manifest: NOSIGNATURE         DungeonCrawl-1.19-2.3.10.jar                      |Dungeon Crawl                 |dungeoncrawl                  |2.3.10              |DONE      |Manifest: NOSIGNATURE         forge-1.19-41.1.0-universal.jar                   |Forge                         |forge                         |41.1.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         upgradedcore-1.19-4.0.0.3-beta.jar                |Upgraded Core                 |upgradedcore                  |1.19-4.0.0.3-beta   |DONE      |Manifest: NOSIGNATURE         upgradednetherite-1.19-5.0.0.4-beta.jar           |Upgraded Netherite            |upgradednetherite             |1.19-5.0.0.4-beta   |DONE      |Manifest: NOSIGNATURE         OreExcavation-1.11.165.jar                        |OreExcavation                 |oreexcavation                 |1.11.165            |DONE      |Manifest: NOSIGNATURE     Crash Report UUID: 790c27ed-eaab-468b-b8a5-eedfd25de927     FML: 41.1     Forge: net.minecraftforge:41.1.0
  • Topics

×
×
  • Create New...

Important Information

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