Jump to content

[1.7.10][Solved] setBlock server side using packets?


Jodelahithit

Recommended Posts

I have recently started working with packets because our mods requires them.

 

This is the code for the packet:

import com.thedarkera.init.TDEBlocks;

public class getManaPacket extends AbstractPacket {

private int mana;

public getManaPacket() {
}

public getManaPacket(int mana) {
	this.mana = mana;
}

public void encodeInto(ChannelHandlerContext ctx, ByteBuf buffer) {
	buffer.writeByte(mana);
}

public void decodeInto(ChannelHandlerContext ctx, ByteBuf buffer) {
	mana = buffer.readByte();
}

public void handleClientSide(EntityPlayer player) {
}

public void handleServerSide(EntityPlayer player) {

	World world = Minecraft.getMinecraft().theWorld;
	int x = Minecraft.getMinecraft().objectMouseOver.blockX;
	int y = Minecraft.getMinecraft().objectMouseOver.blockY;
	int z = Minecraft.getMinecraft().objectMouseOver.blockZ;
	if (!(world.getBlock(x, y, z) == Blocks.air)) {
		world.setBlock(x, y, z+1, TDEBlocks.blockLog1, 0, 3);
		System.out.println(x + y + z);
	}
}
}

 

This is the AbstractPackage class:

package com.thedarkera.packet;

import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import net.minecraft.entity.player.EntityPlayer;

public abstract class AbstractPacket {

public abstract void encodeInto(ChannelHandlerContext ctx, ByteBuf buffer);

public abstract void decodeInto(ChannelHandlerContext ctx, ByteBuf buffer);

public abstract void handleClientSide(EntityPlayer player);

public abstract void handleServerSide(EntityPlayer player);
}

 

And of course the PacketPipeline:

package com.thedarkera.packet;

import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import io.netty.channel.ChannelHandler;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.MessageToMessageCodec;

import java.util.Collections;
import java.util.Comparator;
import java.util.EnumMap;
import java.util.LinkedList;
import java.util.List;

import net.minecraft.client.Minecraft;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.network.INetHandler;
import net.minecraft.network.NetHandlerPlayServer;

import com.thedarkera.TheDarkEra;
import com.thedarkera.utils.Ref;

import cpw.mods.fml.common.FMLCommonHandler;
import cpw.mods.fml.common.network.FMLEmbeddedChannel;
import cpw.mods.fml.common.network.FMLOutboundHandler;
import cpw.mods.fml.common.network.NetworkRegistry;
import cpw.mods.fml.common.network.internal.FMLProxyPacket;
import cpw.mods.fml.relauncher.Side;

@ChannelHandler.Sharable
public class PacketPipeline extends MessageToMessageCodec<FMLProxyPacket, AbstractPacket> {

private EnumMap<Side, FMLEmbeddedChannel> channels;
private LinkedList<Class<? extends AbstractPacket>> packets = new LinkedList<Class<? extends AbstractPacket>>();
private boolean isPostInitialized = false;

public boolean registerPacket(Class<? extends AbstractPacket> clazz) {
	if (this.packets.size() > 256) {
		TheDarkEra.logger.error("Maximum amount of packets reached!");
		return false;
	}
	if (this.packets.contains(clazz)) {
		TheDarkEra.logger.error("This packet has already been registered!");
		return false;
	}
	if (this.isPostInitialized == true) {
		TheDarkEra.logger.error("Packet registered too late!");
		return false;
	}
	this.packets.add(clazz);
	return true;
}

public void initialize() {
	this.channels = NetworkRegistry.INSTANCE.newChannel(Ref.PACKET_CHANNEL_NAME, this);
	registerPackets();
}

public void postInitialize(){
	if(isPostInitialized)
		return;

	isPostInitialized = true;
	Collections.sort(this.packets, new Comparator<Class<? extends AbstractPacket>>(){
		@Override
		public int compare(Class<? extends AbstractPacket> o1, Class<? extends AbstractPacket> o2){
			int com = String.CASE_INSENSITIVE_ORDER.compare(o1.getCanonicalName(), o2.getCanonicalName());
			if (com == 0)
				com = o1.getCanonicalName().compareTo(o2.getCanonicalName());

			return com;
		}
	});
}

public void registerPackets() {

	registerPacket(getManaPacket.class);

}

@Override
protected void encode(ChannelHandlerContext ctx, AbstractPacket msg, List<Object> out) throws Exception {
	ByteBuf buffer = Unpooled.buffer();
	Class<? extends AbstractPacket> clazz = msg.getClass();
	if (!this.packets.contains(clazz)) {
		throw new NullPointerException("This packet has never been registered" + clazz.getCanonicalName());

	}
	byte discriminator = (byte) this.packets.indexOf(clazz);
	buffer.writeByte(discriminator);
	msg.encodeInto(ctx, buffer);

	FMLProxyPacket proxyPacket = new FMLProxyPacket(buffer.copy(), ctx.channel().attr(NetworkRegistry.FML_CHANNEL).get());
	out.add(proxyPacket);
}

@Override
protected void decode(ChannelHandlerContext ctx, FMLProxyPacket msg, List<Object> out) throws Exception {
	ByteBuf payload = msg.payload();
	byte discriminator = payload.readByte();

	Class<? extends AbstractPacket> clazz = this.packets.get(discriminator);
	if (clazz == null) {
		throw new NullPointerException("This packet has never been registered" + clazz.getCanonicalName());

	}
	AbstractPacket abstractPacket = clazz.newInstance();
	abstractPacket.decodeInto(ctx, payload.slice());

	EntityPlayer player;
	switch (FMLCommonHandler.instance().getEffectiveSide()) {
	case CLIENT:
		player = Minecraft.getMinecraft().thePlayer;
		abstractPacket.handleClientSide(player);
		break;
	case SERVER:
		INetHandler iNetHandler = ctx.channel().attr(NetworkRegistry.NET_HANDLER).get();
		player = ((NetHandlerPlayServer) iNetHandler).playerEntity;
		abstractPacket.handleServerSide(player);
		break;
	default:
	}
	out.add(abstractPacket);
}
public void sendToServer(AbstractPacket message){
	this.channels.get(Side.CLIENT).attr(FMLOutboundHandler.FML_MESSAGETARGET).set(FMLOutboundHandler.OutboundTarget.TOSERVER);
	this.channels.get(Side.CLIENT).writeAndFlush(message);
}

}

 

As you can see I'm trying to use setBlock at the coordinates the player is looking at. Problem is that it's only working client side and not server side.

I haven't been able to find an answer to this yet, can anyone explain what i should use to set a block server side?

Link to comment
Share on other sites

First, one word: SimpleNetworkWrapper

http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/2137055-1-7-2-customizing-packet-handling-with

Short and tight: http://www.minecraftforge.net/forum/index.php/topic,20135.0.html

 

Second: You can't use Minecraft.class on server logical side - never ever, that class is client only, and will crash on dedicated server.

 

You either have to raytrace on client and send coordinates to server or copy client classes to your mod and use them on server (I am not sure if rayTrace exists on server, check it 1st).

1.7.10 is no longer supported by forge, you are on your own.

Link to comment
Share on other sites

Thank you for explaining why i shouldn't use Minecraft.class.

I managed to get the world from the server which fixed the setBlock problem.

 

Code now:

	public void handleServerSide(EntityPlayer player) {
	EntityPlayerMP thePlayer = (EntityPlayerMP) player;
	World world = thePlayer.worldObj;
	int x = player.rayTrace(5, 1.0f).blockX;
	int y = player.rayTrace(5, 1.0f).blockY;
	int z = player.rayTrace(5, 1.0f).blockZ;
	// if (!(world.getBlock(x, y, z) == Blocks.air)) {
	world.setBlock(x, y, z, TDEBlocks.blockLog1, 0, 3);
	System.out.println(x + "_" + y + "_" + z);
	// }
}

 

As you can see i used the default reach distance (5) but it's not giving the same results as Minecraft.getMinecraft().objectMouseOver.

I'm also not sure what the second argument for rayTrace should be. Looking at the code doesn't help much.

Link to comment
Share on other sites

Join the conversation

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

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

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

×   Your previous content has been restored.   Clear editor

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • You are using a build for Minecraft 1.21 Currently, you are using Minecraft 1.20.6 Use this build: https://www.curseforge.com/minecraft/mc-mods/waystones/files/5421684 Also add Balm as dependency: https://www.curseforge.com/minecraft/mc-mods/balm/files/5389054
    • Make a test without DamageTilt
    • Use Java 17 instead of Java 21
    • 1.20.1 forge server isnt working   https://pastebin.com/ZfKffnCX
    • - Minecraft Crash Report ---- // This doesn't make any sense! Time: 2024-06-16 16:50:19 Description: Ticking entity java.lang.NoSuchMethodError: 'net.minecraft.world.entity.LivingEntity net.minecraftforge.event.entity.living.LivingKnockBackEvent.getEntityLiving()'     at com.charles445.damagetilt.EventHandler.onKnockback(EventHandler.java:30) ~[DamageTilt-1.19-forge-0.1.1.jar%23208!/:1.19-forge-0.1.1] {re:classloading}     at com.charles445.damagetilt.__EventHandler_onKnockback_LivingKnockBackEvent.invoke(.dynamic) ~[DamageTilt-1.19-forge-0.1.1.jar%23208!/:1.19-forge-0.1.1] {re:classloading,pl:eventbus:B}     at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.3.jar%2385!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.3.jar%2385!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.3.jar%2385!/:?] {}     at net.minecraftforge.common.ForgeHooks.onLivingKnockBack(ForgeHooks.java:331) ~[forge-1.19.2-43.4.0-universal.jar%23248!/:?] {re:classloading}     at net.minecraft.world.entity.LivingEntity.m_147240_(LivingEntity.java:1387) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cgm.mixins.json:common.LivingEntityMixin,pl:mixin:APP:tacz.mixins.json:common.LivingEntityMixin,pl:mixin:APP:rottencreatures-common.mixins.json:common.LivingEntityMixin,pl:mixin:APP:presencefootsteps.mixin.json:ILivingEntity,pl:mixin:APP:presencefootsteps.mixin.json:MLivingEntity,pl:mixin:A}     at net.minecraft.world.entity.LivingEntity.m_6469_(LivingEntity.java:1142) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cgm.mixins.json:common.LivingEntityMixin,pl:mixin:APP:tacz.mixins.json:common.LivingEntityMixin,pl:mixin:APP:rottencreatures-common.mixins.json:common.LivingEntityMixin,pl:mixin:APP:presencefootsteps.mixin.json:ILivingEntity,pl:mixin:APP:presencefootsteps.mixin.json:MLivingEntity,pl:mixin:A}     at net.minecraft.world.entity.animal.axolotl.Axolotl.m_7327_(Axolotl.java:386) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.world.entity.ai.behavior.MeleeAttack.m_6735_(MeleeAttack.java:50) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.world.entity.ai.behavior.MeleeAttack.m_6735_(MeleeAttack.java:17) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.world.entity.ai.behavior.Behavior.m_22554_(Behavior.java:49) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.world.entity.ai.Brain.m_21957_(Brain.java:516) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.world.entity.ai.Brain.m_21865_(Brain.java:475) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.world.entity.animal.axolotl.Axolotl.m_8024_(Axolotl.java:359) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.world.entity.Mob.m_6140_(Mob.java:733) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}     at net.minecraft.world.entity.LivingEntity.m_8107_(LivingEntity.java:2546) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cgm.mixins.json:common.LivingEntityMixin,pl:mixin:APP:tacz.mixins.json:common.LivingEntityMixin,pl:mixin:APP:rottencreatures-common.mixins.json:common.LivingEntityMixin,pl:mixin:APP:presencefootsteps.mixin.json:ILivingEntity,pl:mixin:APP:presencefootsteps.mixin.json:MLivingEntity,pl:mixin:A}     at net.minecraft.world.entity.Mob.m_8107_(Mob.java:517) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}     at net.minecraft.world.entity.AgeableMob.m_8107_(AgeableMob.java:127) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,re:classloading}     at net.minecraft.world.entity.animal.Animal.m_8107_(Animal.java:53) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,re:classloading,pl:mixin:APP:sanitydim.mixins.json:MixinAnimal,pl:mixin:A}     at net.minecraft.world.entity.LivingEntity.m_8119_(LivingEntity.java:2291) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cgm.mixins.json:common.LivingEntityMixin,pl:mixin:APP:tacz.mixins.json:common.LivingEntityMixin,pl:mixin:APP:rottencreatures-common.mixins.json:common.LivingEntityMixin,pl:mixin:APP:presencefootsteps.mixin.json:ILivingEntity,pl:mixin:APP:presencefootsteps.mixin.json:MLivingEntity,pl:mixin:A}     at net.minecraft.world.entity.Mob.m_8119_(Mob.java:318) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}     at net.minecraft.server.level.ServerLevel.m_8647_(ServerLevel.java:658) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:rottencreatures-common.mixins.json:common.ServerLevelMixin,pl:mixin:APP:zombieawareness.mixins.json:MixinPlaySound,pl:mixin:APP:zombieawareness.mixins.json:MixinLevelEvent,pl:mixin:APP:assets/sound_physics_remastered/sound_physics_remastered.mixins.json:ServerWorldMixin,pl:mixin:A}     at net.minecraft.world.level.Level.m_46653_(Level.java:457) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}     at net.minecraft.server.level.ServerLevel.m_184063_(ServerLevel.java:323) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:rottencreatures-common.mixins.json:common.ServerLevelMixin,pl:mixin:APP:zombieawareness.mixins.json:MixinPlaySound,pl:mixin:APP:zombieawareness.mixins.json:MixinLevelEvent,pl:mixin:APP:assets/sound_physics_remastered/sound_physics_remastered.mixins.json:ServerWorldMixin,pl:mixin:A}     at net.minecraft.world.level.entity.EntityTickList.m_156910_(EntityTickList.java:54) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.server.level.ServerLevel.m_8793_(ServerLevel.java:303) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:rottencreatures-common.mixins.json:common.ServerLevelMixin,pl:mixin:APP:zombieawareness.mixins.json:MixinPlaySound,pl:mixin:APP:zombieawareness.mixins.json:MixinLevelEvent,pl:mixin:APP:assets/sound_physics_remastered/sound_physics_remastered.mixins.json:ServerWorldMixin,pl:mixin:A}     at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:866) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:806) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.client.server.IntegratedServer.m_5705_(IntegratedServer.java:84) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:654) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:244) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading,pl:accesstransformer:B}     at java.lang.Thread.run(Thread.java:833) [?:?] {} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Server thread Suspected Mod:      DamageTilt (damagetilt), Version: 0.1.1         at TRANSFORMER/[email protected]/com.charles445.damagetilt.EventHandler.onKnockback(EventHandler.java:30) Stacktrace:     at com.charles445.damagetilt.EventHandler.onKnockback(EventHandler.java:30) ~[DamageTilt-1.19-forge-0.1.1.jar%23208!/:1.19-forge-0.1.1] {re:classloading}     at com.charles445.damagetilt.__EventHandler_onKnockback_LivingKnockBackEvent.invoke(.dynamic) ~[DamageTilt-1.19-forge-0.1.1.jar%23208!/:1.19-forge-0.1.1] {re:classloading,pl:eventbus:B}     at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.3.jar%2385!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.3.jar%2385!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.3.jar%2385!/:?] {}     at net.minecraftforge.common.ForgeHooks.onLivingKnockBack(ForgeHooks.java:331) ~[forge-1.19.2-43.4.0-universal.jar%23248!/:?] {re:classloading}     at net.minecraft.world.entity.LivingEntity.m_147240_(LivingEntity.java:1387) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cgm.mixins.json:common.LivingEntityMixin,pl:mixin:APP:tacz.mixins.json:common.LivingEntityMixin,pl:mixin:APP:rottencreatures-common.mixins.json:common.LivingEntityMixin,pl:mixin:APP:presencefootsteps.mixin.json:ILivingEntity,pl:mixin:APP:presencefootsteps.mixin.json:MLivingEntity,pl:mixin:A}     at net.minecraft.world.entity.LivingEntity.m_6469_(LivingEntity.java:1142) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cgm.mixins.json:common.LivingEntityMixin,pl:mixin:APP:tacz.mixins.json:common.LivingEntityMixin,pl:mixin:APP:rottencreatures-common.mixins.json:common.LivingEntityMixin,pl:mixin:APP:presencefootsteps.mixin.json:ILivingEntity,pl:mixin:APP:presencefootsteps.mixin.json:MLivingEntity,pl:mixin:A}     at net.minecraft.world.entity.animal.axolotl.Axolotl.m_7327_(Axolotl.java:386) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.world.entity.ai.behavior.MeleeAttack.m_6735_(MeleeAttack.java:50) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.world.entity.ai.behavior.MeleeAttack.m_6735_(MeleeAttack.java:17) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.world.entity.ai.behavior.Behavior.m_22554_(Behavior.java:49) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.world.entity.ai.Brain.m_21957_(Brain.java:516) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.world.entity.ai.Brain.m_21865_(Brain.java:475) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.world.entity.animal.axolotl.Axolotl.m_8024_(Axolotl.java:359) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.world.entity.Mob.m_6140_(Mob.java:733) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}     at net.minecraft.world.entity.LivingEntity.m_8107_(LivingEntity.java:2546) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cgm.mixins.json:common.LivingEntityMixin,pl:mixin:APP:tacz.mixins.json:common.LivingEntityMixin,pl:mixin:APP:rottencreatures-common.mixins.json:common.LivingEntityMixin,pl:mixin:APP:presencefootsteps.mixin.json:ILivingEntity,pl:mixin:APP:presencefootsteps.mixin.json:MLivingEntity,pl:mixin:A}     at net.minecraft.world.entity.Mob.m_8107_(Mob.java:517) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}     at net.minecraft.world.entity.AgeableMob.m_8107_(AgeableMob.java:127) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,re:classloading}     at net.minecraft.world.entity.animal.Animal.m_8107_(Animal.java:53) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,re:classloading,pl:mixin:APP:sanitydim.mixins.json:MixinAnimal,pl:mixin:A}     at net.minecraft.world.entity.LivingEntity.m_8119_(LivingEntity.java:2291) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cgm.mixins.json:common.LivingEntityMixin,pl:mixin:APP:tacz.mixins.json:common.LivingEntityMixin,pl:mixin:APP:rottencreatures-common.mixins.json:common.LivingEntityMixin,pl:mixin:APP:presencefootsteps.mixin.json:ILivingEntity,pl:mixin:APP:presencefootsteps.mixin.json:MLivingEntity,pl:mixin:A}     at net.minecraft.world.entity.Mob.m_8119_(Mob.java:318) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}     at net.minecraft.server.level.ServerLevel.m_8647_(ServerLevel.java:658) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:rottencreatures-common.mixins.json:common.ServerLevelMixin,pl:mixin:APP:zombieawareness.mixins.json:MixinPlaySound,pl:mixin:APP:zombieawareness.mixins.json:MixinLevelEvent,pl:mixin:APP:assets/sound_physics_remastered/sound_physics_remastered.mixins.json:ServerWorldMixin,pl:mixin:A}     at net.minecraft.world.level.Level.m_46653_(Level.java:457) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}     at net.minecraft.server.level.ServerLevel.m_184063_(ServerLevel.java:323) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:rottencreatures-common.mixins.json:common.ServerLevelMixin,pl:mixin:APP:zombieawareness.mixins.json:MixinPlaySound,pl:mixin:APP:zombieawareness.mixins.json:MixinLevelEvent,pl:mixin:APP:assets/sound_physics_remastered/sound_physics_remastered.mixins.json:ServerWorldMixin,pl:mixin:A}     at net.minecraft.world.level.entity.EntityTickList.m_156910_(EntityTickList.java:54) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.server.level.ServerLevel.m_8793_(ServerLevel.java:303) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:rottencreatures-common.mixins.json:common.ServerLevelMixin,pl:mixin:APP:zombieawareness.mixins.json:MixinPlaySound,pl:mixin:APP:zombieawareness.mixins.json:MixinLevelEvent,pl:mixin:APP:assets/sound_physics_remastered/sound_physics_remastered.mixins.json:ServerWorldMixin,pl:mixin:A} -- Entity being ticked -- Details:     Entity Type: minecraft:axolotl (net.minecraft.world.entity.animal.axolotl.Axolotl)     Entity ID: 963     Entity Name: Ajolote     Entity's Exact location: 54.92, 48.44, -15.72     Entity's Block location: World: (54,48,-16), Section: (at 6,0,0 in 3,3,-1; chunk contains blocks 48,-64,-16 to 63,319,-1), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,-64,-512 to 511,319,-1)     Entity's Momentum: -0.02, 0.14, 0.24     Entity's Passengers: []     Entity's Vehicle: null Stacktrace:     at net.minecraft.world.level.Level.m_46653_(Level.java:457) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}     at net.minecraft.server.level.ServerLevel.m_184063_(ServerLevel.java:323) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:rottencreatures-common.mixins.json:common.ServerLevelMixin,pl:mixin:APP:zombieawareness.mixins.json:MixinPlaySound,pl:mixin:APP:zombieawareness.mixins.json:MixinLevelEvent,pl:mixin:APP:assets/sound_physics_remastered/sound_physics_remastered.mixins.json:ServerWorldMixin,pl:mixin:A}     at net.minecraft.world.level.entity.EntityTickList.m_156910_(EntityTickList.java:54) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading}     at net.minecraft.server.level.ServerLevel.m_8793_(ServerLevel.java:303) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:rottencreatures-common.mixins.json:common.ServerLevelMixin,pl:mixin:APP:zombieawareness.mixins.json:MixinPlaySound,pl:mixin:APP:zombieawareness.mixins.json:MixinLevelEvent,pl:mixin:APP:assets/sound_physics_remastered/sound_physics_remastered.mixins.json:ServerWorldMixin,pl:mixin:A}     at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:866) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:806) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.client.server.IntegratedServer.m_5705_(IntegratedServer.java:84) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:654) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:244) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading,pl:accesstransformer:B}     at java.lang.Thread.run(Thread.java:833) [?:?] {} -- Affected level -- Details:     All players: 1 total; [ServerPlayer['xTheWolfGamingx'/223, l='ServerLevel[Mundo nuevo]', x=-0.76, y=33.00, z=10.07]]     Chunk stats: 2809     Level dimension: minecraft:overworld     Level spawn location: World: (0,103,0), Section: (at 0,7,0 in 0,6,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: 424 game time, 424 day time     Level name: Mundo nuevo     Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: true     Level weather: Rain time: 103098 (now: false), thunder time: 144079 (now: false)     Known server brands: forge     Level was modded: true     Level storage version: 0x04ABD - Anvil Stacktrace:     at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:866) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:806) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.client.server.IntegratedServer.m_5705_(IntegratedServer.java:84) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:654) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:244) ~[client-1.19.2-20220805.130853-srg.jar%23243!/:?] {re:classloading,pl:accesstransformer:B}     at java.lang.Thread.run(Thread.java:833) [?:?] {} -- System Details -- Details:     Minecraft Version: 1.19.2     Minecraft Version ID: 1.19.2     Operating System: Windows 10 (amd64) version 10.0     Java Version: 17.0.8, Microsoft     Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft     Memory: 830277512 bytes (791 MiB) / 2818572288 bytes (2688 MiB) up to 10737418240 bytes (10240 MiB)     CPUs: 12     Processor Vendor: AuthenticAMD     Processor Name: AMD Ryzen 5 2600 Six-Core Processor                 Identifier: AuthenticAMD Family 23 Model 8 Stepping 2     Microarchitecture: Zen+     Frequency (GHz): 3.39     Number of physical packages: 1     Number of physical CPUs: 6     Number of logical CPUs: 12     Graphics card #0 name: Radeon RX 590 Series     Graphics card #0 vendor: Advanced Micro Devices, Inc. (0x1002)     Graphics card #0 VRAM (MB): 4095.00     Graphics card #0 deviceId: 0x67df     Graphics card #0 versionInfo: DriverVersion=31.0.21912.14     Memory slot #0 capacity (MB): 8192.00     Memory slot #0 clockSpeed (GHz): 2.13     Memory slot #0 type: DDR4     Memory slot #1 capacity (MB): 8192.00     Memory slot #1 clockSpeed (GHz): 2.13     Memory slot #1 type: DDR4     Virtual memory max (MB): 24486.16     Virtual memory used (MB): 15299.95     Swap memory total (MB): 8192.00     Swap memory used (MB): 188.92     JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx10G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M     Server Running: true     Player Count: 1 / 8; [ServerPlayer['xTheWolfGamingx'/223, l='ServerLevel[Mundo nuevo]', x=-0.76, y=33.00, z=10.07]]     Data Packs: vanilla, mod:campsite_structures, mod:ambientsounds (incompatible), mod:mutantmonsters (incompatible), mod:cgm (incompatible), mod:fallout_inspired_power_armor, mod:simpleshops (incompatible), mod:hunting_delight, mod:creativecore (incompatible), mod:ava, mod:bunker_down, mod:tacz (incompatible), mod:satako, mod:taccraft, mod:rottencreatures (incompatible), mod:sound_physics_remastered (incompatible), mod:marbledsarsenal, mod:mobsunscreen, mod:ags_hud_texts, mod:scorchedguns, mod:enhancedvisuals (incompatible), mod:securitycraft, mod:marbledsapi, mod:horror_element_mod, mod:zombieawareness (incompatible), mod:yungsapi, mod:additionalguns, mod:lostcities (incompatible), mod:damageindicator (incompatible), mod:projectarsenal, mod:demogorgon, mod:coroutil (incompatible), mod:simpleplanes (incompatible), mod:kevin_trophy, mod:wegotrunnners, mod:automobility (incompatible), mod:damagetilt (incompatible), mod:puzzleslib (incompatible), mod:k_turrets, mod:framework (incompatible), mod:firstaid (incompatible), mod:forge, mod:travelerstitles, mod:horde_hoard, mod:ags_day_counter, mod:geckolib3 (incompatible), mod:sanitydim, mod:presencefootsteps     World Generation: Experimental     Type: Integrated Server (map_client.txt)     Is Modded: Definitely; Client brand changed to 'forge'; Server brand changed to 'forge'     Launched Version: 1.19.2-forge-43.4.0     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.3.jar eventbus PLUGINSERVICE          fmlloader-1.19.2-43.4.0.jar slf4jfixer PLUGINSERVICE          fmlloader-1.19.2-43.4.0.jar object_holder_definalize PLUGINSERVICE          fmlloader-1.19.2-43.4.0.jar runtime_enum_extender PLUGINSERVICE          fmlloader-1.19.2-43.4.0.jar capability_token_subclass PLUGINSERVICE          accesstransformers-8.0.4.jar accesstransformer PLUGINSERVICE          fmlloader-1.19.2-43.4.0.jar runtimedistcleaner PLUGINSERVICE          modlauncher-10.0.8.jar mixin TRANSFORMATIONSERVICE          modlauncher-10.0.8.jar fml TRANSFORMATIONSERVICE      FML Language Providers:          [email protected]         lowcodefml@null         javafml@null     Mod List:          client-1.19.2-20220805.130853-srg.jar             |Minecraft                     |minecraft                     |1.19.2              |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         campsite_structures-1.19.2-FORGE-1.0.3.jar        |Campsite Structures           |campsite_structures           |1.0.3               |DONE      |Manifest: NOSIGNATURE         AmbientSounds_FORGE_v5.2.13_mc1.19.2.jar          |Ambient Sounds                |ambientsounds                 |5.2.13              |DONE      |Manifest: NOSIGNATURE         MutantMonsters-v4.0.6-1.19.2-Forge.jar            |Mutant Monsters               |mutantmonsters                |4.0.6               |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         cgm-forge-1.19.2-1.3.7.jar                        |MrCrayfish's Gun Mod          |cgm                           |1.3.7               |DONE      |Manifest: NOSIGNATURE         (NoStructures)FalloutInspiredPA(1.19.2).jar       |Power armor                   |fallout_inspired_power_armor  |1                   |DONE      |Manifest: NOSIGNATURE         simpleshops-1.2.2.jar                             |Simple Shops                  |simpleshops                   |1.1.4               |DONE      |Manifest: NOSIGNATURE         Hunting_Delight Forge 1.19.2 2.9.9.jar            |Hunting delight               |hunting_delight               |2.9.9               |DONE      |Manifest: NOSIGNATURE         CreativeCore_FORGE_v2.9.4_mc1.19.2.jar            |CreativeCore                  |creativecore                  |2.9.3               |DONE      |Manifest: NOSIGNATURE         ava-1.19.2-2.2.791.jar                            |A.V.A - Alliance of Valiant Ar|ava                           |2.2.791             |DONE      |Manifest: NOSIGNATURE         bunker-down 1-1-4- 1-19-2.jar                     |Bunker Down                   |bunker_down                   |1.1.4               |DONE      |Manifest: NOSIGNATURE         tacz-1.19.2-1.0.0-beta.jar                        |Timeless & Classics Guns: Zero|tacz                          |1.0.0               |DONE      |Manifest: NOSIGNATURE         Satako-6.0.16-1.19.jar                            |Satako                        |satako                        |6.0.16-1.19         |DONE      |Manifest: NOSIGNATURE         TacCraft [Forge 1.19.2] 0.1.jar                   |TacCraft                      |taccraft                      |1.0.0               |DONE      |Manifest: NOSIGNATURE         rottencreatures-forge-1.19.2-1.0.1.jar            |Rotten Creatures              |rottencreatures               |1.0.1               |DONE      |Manifest: NOSIGNATURE         soundphysics-forge-1.19.2-1.0.18.jar              |Sound Physics Remastered      |sound_physics_remastered      |1.19.2-1.0.18       |DONE      |Manifest: NOSIGNATURE         marbledsarsenal-1.19.2-2.1.1.jar                  |Marbled's Arsenal             |marbledsarsenal               |2.1.1               |DONE      |Manifest: NOSIGNATURE         mobsunscreen-forge-1.19.2-3.0.9.jar               |Mob Sunscreen                 |mobsunscreen                  |3.0.9               |DONE      |Manifest: NOSIGNATURE         hud_texts_v1.0_1.19.2_[FORGE].jar                 |Hud Texts                     |ags_hud_texts                 |1.0                 |DONE      |Manifest: NOSIGNATURE         scorchedguns-1.12-1.19.2.jar                      |Scorched Guns                 |scorchedguns                  |0.7.2               |DONE      |Manifest: NOSIGNATURE         EnhancedVisuals_FORGE_v1.5.9_mc1.19.2.jar         |EnhancedVisuals               |enhancedvisuals               |1.5.9               |DONE      |Manifest: NOSIGNATURE         [1.19.2] SecurityCraft v1.9.6.1.jar               |SecurityCraft                 |securitycraft                 |1.9.6.1             |DONE      |Manifest: NOSIGNATURE         marbledsapi-1.19.2-1.0.7.jar                      |Marbled's API                 |marbledsapi                   |1.0.7               |DONE      |Manifest: NOSIGNATURE         Horror_elements_mod_1.5.6_1.19.2.jar              |Horror Element Mod            |horror_element_mod            |1.5.6               |DONE      |Manifest: NOSIGNATURE         zombieawareness-1.19.2-1.12.3.jar                 |Zombie Awareness              |zombieawareness               |1.19.2-1.12.3       |DONE      |Manifest: NOSIGNATURE         YungsApi-1.19.2-Forge-3.8.10.jar                  |YUNG's API                    |yungsapi                      |1.19.2-Forge-3.8.10 |DONE      |Manifest: NOSIGNATURE         additional-guns-0.8.2-1.19.2.jar                  |Additional Guns               |additionalguns                |0.8.2               |DONE      |Manifest: NOSIGNATURE         lostcities-1.19-6.0.29.jar                        |LostCities                    |lostcities                    |1.19-6.0.29         |DONE      |Manifest: NOSIGNATURE         Directional-Damage-Indicator-Mod-Forge-1.19.2.jar |Damage Indicator              |damageindicator               |1.0.0-1.19.2        |DONE      |Manifest: NOSIGNATURE         projectarsenal-0.4.0-1.19.2.jar                   |Project Arsenal               |projectarsenal                |0.4.0               |DONE      |Manifest: NOSIGNATURE         Demogorgon-2.0.1-1.19.2.jar                       |demogorgon                    |demogorgon                    |2.0.1               |DONE      |Manifest: NOSIGNATURE         coroutil-forge-1.19.2-1.3.6.jar                   |CoroUtil                      |coroutil                      |1.19.2-1.3.6        |DONE      |Manifest: NOSIGNATURE         simpleplanes-1.19.2-5.2.2.jar                     |Simple Planes                 |simpleplanes                  |1.19.2-5.2.2        |DONE      |Manifest: NOSIGNATURE         Ryan's Zombies v5.jar                             |Kevin trophy                  |kevin_trophy                  |1.0.0               |DONE      |Manifest: NOSIGNATURE         Wegotrunners0.5.1.19.2.jar                        |wegotrunnners                 |wegotrunnners                 |1.0.0               |DONE      |Manifest: NOSIGNATURE         automobility-0.4.2+1.19.2-forge.jar               |Automobility                  |automobility                  |0.4.2+1.19.2-forge  |DONE      |Manifest: NOSIGNATURE         DamageTilt-1.19-forge-0.1.1.jar                   |DamageTilt                    |damagetilt                    |0.1.1               |DONE      |Manifest: NOSIGNATURE         PuzzlesLib-v4.4.2-1.19.2-Forge.jar                |Puzzles Lib                   |puzzleslib                    |4.4.2               |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         K-Turrets-2.0.45-1.19.jar                         |K-Turrets                     |k_turrets                     |2.0.45-1.19         |DONE      |Manifest: NOSIGNATURE         framework-forge-1.19.2-0.6.16.jar                 |Framework                     |framework                     |0.6.16              |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         firstaid-1.12.0.jar                               |First Aid                     |firstaid                      |1.12.0              |DONE      |Manifest: NOSIGNATURE         forge-1.19.2-43.4.0-universal.jar                 |Forge                         |forge                         |43.4.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         TravelersTitles-1.19.2-Forge-3.1.2.jar            |Traveler's Titles             |travelerstitles               |1.19.2-Forge-3.1.2  |DONE      |Manifest: NOSIGNATURE         eh1.3.1-1.19.2.jar                                |Horde Hoard                   |horde_hoard                   |1.1.0               |DONE      |Manifest: NOSIGNATURE         day_counter_v3.4_1.19.2_[FORGE].jar               |Day Counter                   |ags_day_counter               |3.4                 |DONE      |Manifest: NOSIGNATURE         geckolib-forge-1.19-3.1.40.jar                    |GeckoLib                      |geckolib3                     |3.1.40              |DONE      |Manifest: NOSIGNATURE         sanitydim-mc1.19.2-1.1.0.jar                      |Sanity: Descent Into Madness  |sanitydim                     |1.1.0               |DONE      |Manifest: NOSIGNATURE         PresenceFootsteps-1.19.2-1.6.4.1-forge.jar        |Presence Footsteps (Forge)    |presencefootsteps             |1.19.2-1.6.4.1      |DONE      |Manifest: NOSIGNATURE     Crash Report UUID: 0105f2e8-e4d1-4bdb-9b78-814e9fe0e356     FML: 43.4     Forge: net.minecraftforge:43.4.0
  • Topics

×
×
  • Create New...

Important Information

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