Jump to content

[1.8] Spawning entities on server cause crash


JimiIT92

Recommended Posts

As by title, if i spawn an entity in a server world the game crash :/ This is the crash report

---- Minecraft Crash Report ----

WARNING: coremods are present:
  NowWithRendering (hopperducts-mc1.8-1.4.5.jar)
Contact their authors BEFORE contacting forge

// Ouch. That hurt 

Time: 12/22/15 12:41 PM
Description: Rendering entity in world

java.lang.NullPointerException: Rendering entity in world
at net.minecraft.client.renderer.entity.RendererLivingEntity.func_110813_b(RendererLivingEntity.java:563)
at net.minecraft.client.renderer.entity.RenderLiving.func_110813_b(SourceFile:22)
at net.minecraft.client.renderer.entity.RenderLiving.func_110813_b(SourceFile:15)
at net.minecraft.client.renderer.entity.RendererLivingEntity.func_77033_b(RendererLivingEntity.java:481)
at net.minecraft.client.renderer.entity.RendererLivingEntity.func_177067_a(RendererLivingEntity.java:578)
at net.minecraft.client.renderer.entity.Render.func_76986_a(SourceFile:39)
at net.minecraft.client.renderer.entity.RendererLivingEntity.func_76986_a(RendererLivingEntity.java:198)
at net.minecraft.client.renderer.entity.RenderLiving.func_76986_a(SourceFile:40)
at hl.entities.renderer.RenderBee.renderBee(RenderBee.java:55)
at hl.entities.renderer.RenderBee.func_76986_a(RenderBee.java:45)
at net.minecraft.client.renderer.entity.RenderManager.func_147939_a(RenderManager.java:370)
at net.minecraft.client.renderer.entity.RenderManager.func_147936_a(RenderManager.java:327)
at net.minecraft.client.renderer.entity.RenderManager.func_147937_a(RenderManager.java:294)
at net.minecraft.client.renderer.RenderGlobal.func_180446_a(RenderGlobal.java:786)
at net.minecraft.client.renderer.EntityRenderer.func_175068_a(EntityRenderer.java:1570)
at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1458)
at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1242)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1055)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:345)
at net.minecraft.client.main.Main.main(SourceFile:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Stacktrace:
at net.minecraft.client.renderer.entity.RendererLivingEntity.func_110813_b(RendererLivingEntity.java:563)
at net.minecraft.client.renderer.entity.RenderLiving.func_110813_b(SourceFile:22)
at net.minecraft.client.renderer.entity.RenderLiving.func_110813_b(SourceFile:15)
at net.minecraft.client.renderer.entity.RendererLivingEntity.func_77033_b(RendererLivingEntity.java:481)
at net.minecraft.client.renderer.entity.RendererLivingEntity.func_177067_a(RendererLivingEntity.java:578)
at net.minecraft.client.renderer.entity.Render.func_76986_a(SourceFile:39)
at net.minecraft.client.renderer.entity.RendererLivingEntity.func_76986_a(RendererLivingEntity.java:198)
at net.minecraft.client.renderer.entity.RenderLiving.func_76986_a(SourceFile:40)
at hl.entities.renderer.RenderBee.renderBee(RenderBee.java:55)
at hl.entities.renderer.RenderBee.func_76986_a(RenderBee.java:45)

-- Entity being rendered --
Details:
Entity Type: GiantBee (hl.entities.EntityBee)
Entity ID: 98772
Entity Name: Giant Bee
Entity's Exact location: 954.59, 68.00, 517.44
Entity's Block location: 954.00,68.00,517.00 - World: (954,68,517), Chunk: (at 10,4,5 in 59,32; contains blocks 944,0,512 to 959,255,527), Region: (1,1; contains chunks 32,32 to 63,63, blocks 512,0,512 to 1023,255,1023)
Entity's Momentum: 0.00, 0.00, 0.00
Entity's Rider: ~~ERROR~~ NullPointerException: null
Entity's Vehicle: ~~ERROR~~ NullPointerException: null

-- Renderer details --
Details:
Assigned renderer: hl.entities.renderer.RenderBee@5d53dc7a
Location: 2.78,-1.00,-17.23 - World: (2,-1,-18), Chunk: (at 2,-1,14 in 0,-2; contains blocks 0,0,-32 to 15,255,-17), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
Rotation: -60.46875
Delta: 0.17472082
Stacktrace:
at net.minecraft.client.renderer.entity.RenderManager.func_147939_a(RenderManager.java:370)
at net.minecraft.client.renderer.entity.RenderManager.func_147936_a(RenderManager.java:327)
at net.minecraft.client.renderer.entity.RenderManager.func_147937_a(RenderManager.java:294)
at net.minecraft.client.renderer.RenderGlobal.func_180446_a(RenderGlobal.java:786)
at net.minecraft.client.renderer.EntityRenderer.func_175068_a(EntityRenderer.java:1570)
at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1458)

-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityPlayerSP['kenkune'/96278, l='MpServer', x=951.79, y=69.00, z=534.65]]
Chunk stats: MultiplayerChunkCache: 400, 400
Level seed: 0
Level generator: ID 00 - default, ver 1. Features enabled: false
Level generator options: 
Level spawn location: -216.00,64.00,256.00 - World: (-216,64,256), Chunk: (at 8,4,0 in -14,16; contains blocks -224,0,256 to -209,255,271), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
Level time: 6757393 game time, 35350 day time
Level dimension: 0
Level storage version: 0x00000 - Unknown?
Level weather: Rain time: 0 (now: true), thunder time: 0 (now: false)
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Forced entities: 81 total; [EntityZombie['Zombie'/96516, l='MpServer', x=948.50, y=59.00, z=556.50], EntityWolf['Wolf'/96527, l='MpServer', x=1001.50, y=64.00, z=546.50], EntityZombie['Zombie'/96529, l='MpServer', x=884.53, y=38.00, z=572.94], EntityCreeper['Creeper'/96530, l='MpServer', x=908.84, y=10.00, z=581.75], EntityPig['Pig'/96533, l='MpServer', x=897.50, y=70.00, z=569.50], EntityPig['Pig'/96532, l='MpServer', x=901.50, y=69.00, z=570.50], EntityZombie['Zombie'/98584, l='MpServer', x=893.22, y=42.00, z=563.78], EntityPig['Pig'/96541, l='MpServer', x=921.16, y=68.00, z=548.50], EntityPig['Pig'/96540, l='MpServer', x=932.94, y=67.00, z=536.00], EntityWolf['Wolf'/96543, l='MpServer', x=1014.50, y=70.00, z=544.75], EntityPig['Pig'/96542, l='MpServer', x=916.94, y=68.00, z=539.06], EntityZombie['Zombie'/98593, l='MpServer', x=907.97, y=18.00, z=462.50], EntityZombie['Zombie'/98592, l='MpServer', x=911.50, y=20.00, z=462.50], EntityZombie['Zombie'/96555, l='MpServer', x=886.50, y=38.00, z=574.50], EntitySkeleton['Skeleton'/96554, l='MpServer', x=885.50, y=38.00, z=569.50], EntityCreeper['Creeper'/97325, l='MpServer', x=887.41, y=44.00, z=585.94], EntitySkeleton['Skeleton'/96556, l='MpServer', x=891.63, y=42.00, z=563.31], EntityPig['Pig'/96561, l='MpServer', x=894.50, y=77.00, z=571.50], EntityPig['Pig'/96560, l='MpServer', x=894.50, y=71.00, z=568.50], EntitySpider['Spider'/96573, l='MpServer', x=875.69, y=44.09, z=588.69], EntityPig['Pig'/96575, l='MpServer', x=1033.50, y=65.00, z=555.50], EntityPig['Pig'/96577, l='MpServer', x=1033.50, y=65.00, z=553.50], EntityPig['Pig'/96576, l='MpServer', x=1032.50, y=67.00, z=553.50], EntityPig['Pig'/96578, l='MpServer', x=1034.50, y=64.00, z=553.50], EntityWolf['Wolf'/96581, l='MpServer', x=1005.50, y=64.00, z=543.50], EntityWolf['Wolf'/96582, l='MpServer', x=1006.50, y=64.00, z=543.50], EntityPig['Pig'/96589, l='MpServer', x=926.38, y=67.00, z=539.97], EntityPig['Pig'/96591, l='MpServer', x=1023.09, y=64.00, z=533.03], EntityPig['Pig'/96590, l='MpServer', x=1027.22, y=64.00, z=533.81], EntityPig['Pig'/96593, l='MpServer', x=962.19, y=69.00, z=515.13], EntityPig['Pig'/96853, l='MpServer', x=962.50, y=69.00, z=463.50], EntityPig['Pig'/96852, l='MpServer', x=962.50, y=69.00, z=463.50], EntityPig['Pig'/96854, l='MpServer', x=961.28, y=75.00, z=471.47], EntityPig['Pig'/96601, l='MpServer', x=957.16, y=63.00, z=524.50], EntityPig['Pig'/96603, l='MpServer', x=956.81, y=64.00, z=521.16], EntityPig['Pig'/96602, l='MpServer', x=955.19, y=64.00, z=522.78], EntityPig['Pig'/96605, l='MpServer', x=1030.66, y=65.00, z=527.53], EntityPig['Pig'/96604, l='MpServer', x=1025.63, y=64.00, z=534.38], EntityPig['Pig'/96871, l='MpServer', x=997.50, y=67.00, z=464.50], EntityPig['Pig'/96870, l='MpServer', x=994.50, y=67.00, z=464.50], EntityPig['Pig'/96873, l='MpServer', x=997.50, y=67.00, z=464.50], EntityPig['Pig'/96872, l='MpServer', x=998.50, y=67.00, z=461.50], EntitySheep['Sheep'/96912, l='MpServer', x=918.84, y=73.00, z=459.16], EntitySkeleton['Skeleton'/98201, l='MpServer', x=920.69, y=12.00, z=605.28], EntitySkeleton['Skeleton'/98200, l='MpServer', x=918.22, y=12.00, z=605.28], EntityPig['Pig'/96667, l='MpServer', x=887.50, y=72.00, z=494.16], EntitySkeleton['Skeleton'/96410, l='MpServer', x=982.25, y=27.47, z=593.69], EntityPig['Pig'/96666, l='MpServer', x=887.50, y=72.00, z=495.78], EntitySpider['Spider'/98202, l='MpServer', x=919.50, y=12.00, z=607.16], EntityPig['Pig'/96668, l='MpServer', x=887.50, y=71.00, z=492.50], EntityMinecartChest['container.minecart'/96421, l='MpServer', x=926.50, y=36.06, z=616.50], EntityPig['Pig'/96679, l='MpServer', x=909.50, y=71.00, z=515.50], EntityBat['Bat'/96422, l='MpServer', x=1017.50, y=39.97, z=611.47], EntityPig['Pig'/96678, l='MpServer', x=910.50, y=71.00, z=513.50], EntityBat['Bat'/96427, l='MpServer', x=963.77, y=27.98, z=587.20], EntityPig['Pig'/96443, l='MpServer', x=949.44, y=67.16, z=576.50], EntityBat['Bat'/96442, l='MpServer', x=959.75, y=30.10, z=588.88], EntityPig['Pig'/96444, l='MpServer', x=951.72, y=68.00, z=579.78], EntityPig['Pig'/96703, l='MpServer', x=919.78, y=69.00, z=516.28], EntityItem['item.tile.torch'/96448, l='MpServer', x=927.44, y=35.00, z=596.53], EntityPig['Pig'/96704, l='MpServer', x=912.81, y=69.00, z=521.84], EntityPig['Pig'/96453, l='MpServer', x=936.31, y=67.00, z=588.44], EntityZombie['Zombie'/98508, l='MpServer', x=880.50, y=26.00, z=457.50], EntityZombie['Zombie'/98510, l='MpServer', x=878.50, y=26.00, z=459.50], EntityPig['Pig'/96465, l='MpServer', x=900.44, y=70.00, z=603.38], EntityPig['Pig'/96467, l='MpServer', x=906.91, y=66.00, z=611.13], EntityPig['Pig'/96466, l='MpServer', x=898.16, y=70.00, z=604.50], EntityBee['Giant Bee'/98773, l='MpServer', x=954.81, y=68.00, z=520.16], EntitySkeleton['Skeleton'/96468, l='MpServer', x=917.50, y=13.00, z=583.50], EntityBee['Giant Bee'/98772, l='MpServer', x=954.59, y=68.00, z=517.44], EntityCreeper['Creeper'/96481, l='MpServer', x=943.00, y=60.00, z=573.44], EntityPig['Pig'/96480, l='MpServer', x=956.03, y=63.00, z=575.59], EntityPig['Pig'/96482, l='MpServer', x=956.81, y=68.00, z=574.81], EntityPlayerSP['kenkune'/96278, l='MpServer', x=951.79, y=69.00, z=534.65], EntityBat['Bat'/96495, l='MpServer', x=892.63, y=18.10, z=615.36], EntityCreeper['Creeper'/96501, l='MpServer', x=880.50, y=38.00, z=606.50], EntityBat['Bat'/96500, l='MpServer', x=887.25, y=12.56, z=599.24], EntityPig['Pig'/96503, l='MpServer', x=895.50, y=70.00, z=601.50], EntityZombie['Zombie'/96502, l='MpServer', x=892.59, y=38.00, z=600.41], EntityCreeper['Creeper'/96505, l='MpServer', x=915.28, y=17.00, z=567.28], EntityCreeper['Creeper'/96504, l='MpServer', x=914.97, y=15.00, z=569.63]]
Retry entities: 0 total; []
Server brand: fml,forge
Server type: Non-integrated multiplayer server
Stacktrace:
at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:407)
at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2502)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:367)
at net.minecraft.client.main.Main.main(SourceFile:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

-- System Details --
Details:
Minecraft Version: 1.8
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.8.0_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 267632296 bytes (255 MB) / 666447872 bytes (635 MB) up to 1060372480 bytes (1011 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
IntCache: cache: 7, tcache: 87, allocated: 13, tallocated: 95
FML: MCP v9.10 FML v8.0.99.99 Minecraft Forge 11.14.3.1450 Optifine OptiFine_1.8_HD_U_D5 7 mods loaded, 7 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UCHIJA	mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
UCHIJA	FML{8.0.99.99} [Forge Mod Loader] (forge-1.8-11.14.3.1450.jar) 
UCHIJA	Forge{11.14.3.1450} [Minecraft Forge] (forge-1.8-11.14.3.1450.jar) 
UCHIJA	Backpack{2.0.1} [backpack] (backpack-2.0.1-1.8.x.jar) 
UCHIJA	DeathChest{1.8} [Death Chest] (DeathChest-1.0.2.jar) 
UCHIJA	hl{1.0} [Half-Life 3 Mod] (HL3-1.1.1.jar) 
UCHIJA	hopperducts{1.4.5} [Hopper Ducts] (hopperducts-mc1.8-1.4.5.jar) 
Loaded coremods (and transformers): 
NowWithRendering (hopperducts-mc1.8-1.4.5.jar)
  net.fybertech.nwr.NowWithRendering
GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13399 Compatibility Profile Context 15.200.1062.1004' Renderer: 'AMD Radeon R9 200 Series'
Launched Version: 1.8-Forge11.14.3.1450
LWJGL: 2.9.1
OpenGL: AMD Radeon R9 200 Series GL version 4.5.13399 Compatibility Profile Context 15.200.1062.1004, ATI Technologies Inc.
GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

Using VBOs: No
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: []
Current Language: English (US)
Profiler Position: N/A (disabled)

 

It looks like something related to render, so this is the rendering class

package hl.entities.renderer;

import org.lwjgl.opengl.GL11;

import hl.entities.EntityBee;
import hl.models.ModelBee;
import net.minecraft.client.renderer.entity.RenderLiving;
import net.minecraft.client.renderer.entity.RenderManager;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;

public class RenderBee extends RenderLiving {

protected ModelBee model;
public static final ResourceLocation beeTexture = new ResourceLocation("hl:textures/mobs/bee.png");
private float scale;


public RenderBee(RenderManager mgr, ModelBee par1ModelBase, float par2, float d)
{
	super(mgr, par1ModelBase, par2);
	model=((ModelBee)mainModel);
	this.scale = d;
}

protected void preRenderScale(EntityBee par1EntityBee, float par2)
{
	GL11.glScalef(this.scale, this.scale, this.scale);
}
protected void preRenderCallback(EntityLivingBase par1EntityLivingBase, float par2)
{
	this.preRenderScale((EntityBee)par1EntityLivingBase, par2);
}
@Override
protected ResourceLocation getEntityTexture(Entity entity) 
{
	return beeTexture;
}

@Override
public void doRender(Entity entity, double d0, double d1, double d2, float f, float f1) {
	renderBee((EntityBee)entity, d0, d1, d2, f, f1);
}

public void doRenderLiving(Entity par1EntityLiving, double par2, double par4, double par6, float par8, float par9)
{
	renderBee((EntityBee)par1EntityLiving, par2, par4, par6, par8, par9);
}

private void renderBee(EntityBee entity, double par2, double par4, double par6, float par8, float par9) 
{
	super.doRender(entity, par2, par4, par6, par8, par9);
}

}

 

The entity is registered in the preInit method by doing this

EntityHandler.registerMonsters(EntityBee.class, "GiantBee", 0xDDAB22, 0x000000F);

In EntityHandler i do this

int entityId = EntityRegistry.findGlobalUniqueEntityId();

EntityRegistry.registerGlobalEntityID(entityClass, name, entityId);
EntityRegistry.addSpawn(entityClass, 15, 2, 4, EnumCreatureType.AMBIENT);
EntityList.entityEggs.put(Integer.valueOf(entityId), new EntityList.EntityEggInfo(entityId, mainColor, subColor));

 

And then in ClientProxy i do this

RenderingRegistry.registerEntityRenderingHandler(EntityBee.class, new RenderBee(Minecraft.getMinecraft().getRenderManager(), new ModelBee(), 0.3F, 0.5F));

wich is called from the init method :/ So why it crashes on spawn? :/

Don't blame me if i always ask for your help. I just want to learn to be better :)

Link to comment
Share on other sites

I don't know :/ In the client everything works fine. By the way here is the model and the entity class, just in case is needed

 

Model class


package hl.models;

import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;
import net.minecraft.util.MathHelper;

public class ModelBee extends ModelBase
{
ModelRenderer head;
ModelRenderer rightantenna;
ModelRenderer leftantenna;
ModelRenderer mouth;
ModelRenderer body;
ModelRenderer butt;
ModelRenderer stinger;
ModelRenderer legs;
ModelRenderer leftwing;
ModelRenderer rightwing;

public ModelBee()
{
	textureWidth = 64;
	textureHeight = 32;

	head = new ModelRenderer(this, 0, 0);
	head.addBox(-2.5F, -9F, -4F, 5, 5, 4);
	head.setRotationPoint(0F, 0F, -2F);
	head.setTextureSize(64, 32);
	head.mirror = true;
	setRotation(head, 0F, 0F, 0F);

	rightantenna = new ModelRenderer(this, 0, 0);
	rightantenna.addBox(-1F, -11F, -2F, 1, 2, 1);
	rightantenna.setRotationPoint(0F, 0F, -2F);
	rightantenna.setTextureSize(64, 32);
	setRotation(rightantenna, 0F, 0.7853982F, 0F);
	rightantenna.mirror = false;

	leftantenna = new ModelRenderer(this, 0, 9);
	leftantenna.addBox(1F, -11F, 0F, 1, 2, 1);
	leftantenna.setRotationPoint(0F, 0F, -2F);
	leftantenna.setTextureSize(64, 32);
	leftantenna.mirror = true;
	setRotation(leftantenna, 0F, 0.7853982F, 0F);

	mouth = new ModelRenderer(this, 18, 0);
	mouth.addBox(-0.5F, -5F, -5F, 1, 1, 1);
	mouth.setRotationPoint(0F, 0F, -2F);
	mouth.setTextureSize(64, 32);
	mouth.mirror = false;
	setRotation(mouth, 0F, 0F, 0F);

	body = new ModelRenderer(this, 0, 12);
	body.addBox(-2.5F, -7.5F, 0F, 5, 5, 5);
	body.setRotationPoint(0F, -2F, -2F);
	body.setTextureSize(64, 32);
	body.mirror = true;
	setRotation(body, 0F, 0F, 0F);

	butt = new ModelRenderer(this, 24, 20);
	butt.addBox(-2.5F, -3F, 0F, 5, 5, 7);
	butt.setRotationPoint(0F, -6.5F, 3F);
	butt.setTextureSize(64, 32);
	butt.mirror = false;
	setRotation(butt, -0.2617994F, 0F, 0F);

	stinger = new ModelRenderer(this, 18, 6);
	stinger.addBox(-0.5F, -0F, 7F, 1, 1, 2);
	stinger.setRotationPoint(0F, -6.5F, 3F);
	stinger.setTextureSize(64, 32);
	stinger.mirror = false;
	setRotation(stinger, -0.2617994F, 0F, 0F);

	legs = new ModelRenderer(this, 0, 22);
	legs.addBox(-2.5F, -3F, 0F, 5, 3, 7);
	legs.setRotationPoint(0F, -2F, -2F);
	legs.setTextureSize(64, 32);
	legs.mirror = false;
	setRotation(legs, 0F, 0F, 0F);

	leftwing = new ModelRenderer(this, 34, 0);
	leftwing.addBox(0F, -6F, -2F, 0, 5, 4);
	leftwing.setRotationPoint(1.5F, -8.5F, 0F);
	leftwing.setTextureSize(64, 32);
	setRotation(leftwing, 0F, 3.141593F, 0F);
	leftwing.mirror = true;

	rightwing = new ModelRenderer(this, 26, 0);
	rightwing.addBox(0F, -6F, -2F, 0, 5, 4);
	rightwing.setRotationPoint(-1F, -8.5F, 0F);
	rightwing.setTextureSize(64, 32);
	rightwing.mirror = true;
	setRotation(rightwing, 0F, 0F, 0F);
}

public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5)
{
	super.render(entity, f, f1, f2, f3, f4, f5);
	setRotationAngles(f, f1, f2, f3, f4, f5, entity);

	head.render(f5);
	rightantenna.render(f5);
	leftantenna.render(f5);
	mouth.render(f5);
	body.render(f5);
	butt.render(f5);
	stinger.render(f5);
	legs.render(f5);
	leftwing.render(f5);
	rightwing.render(f5);

}

private void setRotation(ModelRenderer model, float x, float y, float z)
{
	model.rotateAngleX = x;
	model.rotateAngleY = y;
	model.rotateAngleZ = z;
}

public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity)
{
	//super.setRotationAngles(f, f1, f2, f3, f4, f5, entity);

	this.head.rotateAngleX = f5 / (180F / (float)Math.PI);
	this.head.rotateAngleY = f4 / (180F / (float)Math.PI);
	this.head.rotateAngleZ = 0.0F;

	this.mouth.rotateAngleX = this.head.rotateAngleX;
	this.mouth.rotateAngleY = this.head.rotateAngleY;
	this.mouth.rotateAngleZ = this.head.rotateAngleZ;

	this.leftantenna.rotateAngleX = this.head.rotateAngleX;
	this.leftantenna.rotateAngleY = this.head.rotateAngleY + 0.7853982F;
	this.leftantenna.rotateAngleZ = this.head.rotateAngleZ;

	this.rightantenna.rotateAngleX = this.head.rotateAngleX;
	this.rightantenna.rotateAngleY = this.head.rotateAngleY + 0.7853982F;
	this.rightantenna.rotateAngleZ = this.head.rotateAngleZ;

	this.rightwing.rotateAngleZ = (0.3F * MathHelper.sin(f2 * 1.3F) + 0.4F) - 45F;
	this.leftwing.rotateAngleZ = -this.rightwing.rotateAngleZ;

}

}

 

Entity class

package hl.entities;

import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
import net.minecraft.entity.ai.EntityAILeapAtTarget;
import net.minecraft.entity.ai.EntityAILookIdle;
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
import net.minecraft.entity.ai.EntityAISwimming;
import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.monster.EntityMob;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.pathfinding.PathEntity;
import net.minecraft.potion.Potion;
import net.minecraft.potion.PotionEffect;
import net.minecraft.util.BlockPos;
import net.minecraft.util.DamageSource;
import net.minecraft.util.MathHelper;
import net.minecraft.world.EnumDifficulty;
import net.minecraft.world.World;

public class EntityBee extends EntityMob
{
/** Coordinates of where the bat spawned. */
private BlockPos spawnPosition;
private int allySummonCooldown;
private float heightOffset = 2;
public float field_70889_i = 1.0F;

public EntityBee(World par1World)
{
	super(par1World);
	this.setSize(0.5F, 0.9F);
	this.setIsBeeHanging(false);
	this.tasks.addTask(0, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
	this.tasks.addTask(1, new EntityAISwimming(this));
	this.tasks.addTask(2, new EntityAIWander(this, 1.0D));
	this.tasks.addTask(3, new EntityAILookIdle(this));
	this.targetTasks.addTask(1, new EntityAINearestAttackableTarget(this, EntityPlayer.class, true));
	this.tasks.addTask(4, new EntityAILeapAtTarget(this, 0.38F));

}
protected void entityInit()
{
	super.entityInit();
	this.dataWatcher.addObject(16, new Byte((byte)0));
}
/**
 * Returns true if this entity should push and be pushed by other entities when colliding.
 */
public boolean canBePushed()
{
	return false;
}
protected void applyEntityAttributes()
{
	super.applyEntityAttributes();
	this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(6.0D);
	this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setBaseValue(1.0D);
	this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.6D);

}
public boolean getIsBeeHanging()
{
	return false;
}

public void setIsBeeHanging(boolean par1)
{
	byte b0 = this.dataWatcher.getWatchableObjectByte(16);

	if (par1)
	{
		this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 | 1)));
	}
	else
	{
		this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 & -2)));
	}
}
protected int getExperiencePoints(EntityPlayer par1EntityPlayer)
{

	this.experienceValue = (int)((float)this.experienceValue * 0.5F);


	return super.getExperiencePoints(par1EntityPlayer);
}
/**
 * Returns true if the newer Entity AI code should be run
 */
protected boolean isAIEnabled()
{
	return true;
}
@Override
public void onLivingUpdate()
{
	super.onLivingUpdate();

	this.field_70889_i = (float)((double)this.field_70889_i * 0.9D);

	if (!this.onGround && this.motionY < 0.0D)
	{
		this.motionY *= 0.6D;
	}
}
@Override
public void writeEntityToNBT(NBTTagCompound par1NGTTagCompound)
{
	super.writeEntityToNBT(par1NGTTagCompound);
}
@Override
public void readEntityFromNBT(NBTTagCompound par1NGTTagCompound)
{
	super.readEntityFromNBT(par1NGTTagCompound);
}

@Override
protected boolean canDespawn()
{
	return false;
}
/**
 * Called to update the entity's position/logic.
 */
public void onUpdate()
{
	super.onUpdate();

	if (!this.worldObj.isRemote)
	{
		this.setBesideClimbableBlock(this.isCollidedHorizontally);
	}
}
public void setBesideClimbableBlock(boolean par1)
{
	byte b0 = this.dataWatcher.getWatchableObjectByte(16);

	if (par1)
	{
		b0 = (byte)(b0 | 1);
	}
	else
	{
		b0 &= -2;
	}

	this.dataWatcher.updateObject(16, Byte.valueOf(b0));
}
@Override
protected String getLivingSound()
{
	return "hl:bee_idle";
}
@Override
protected String getHurtSound()
{
	return "hl:bee_hurt";
}
@Override
protected String getDeathSound()
{
	return "hl:bee_hurt";
}

/**
 * returns if this entity triggers Block.onEntityWalking on the blocks they walk on. used for spiders and wolves to
 * prevent them from trampling crops
 */
protected boolean canTriggerWalking()
{
	return false;
}

/**
 * Called when the mob is falling. Calculates and applies fall damage.
 */
protected void fall(float par1) {}

/**
 * Takes in the distance the entity has fallen this tick and whether its on the ground to update the fall distance
 * and deal fall damage if landing on the ground.  Args: distanceFallenThisTick, onGround
 */
protected void updateFallState(double par1, boolean par3) {}

/**
 * Return whether this entity should NOT trigger a pressure plate or a tripwire.
 */
public boolean doesEntityNotTriggerPressurePlate()
{
	return true;
}
/**
 * Called when the entity is attacked.
 */
public boolean attackEntityFrom(DamageSource par1DamageSource, float par2)
{
	if (this.isEntityInvulnerable(par1DamageSource))
	{
		return false;
	}
	else
	{
		if (!this.worldObj.isRemote && this.getIsBeeHanging())
		{
			this.setIsBeeHanging(false);
		}

		return super.attackEntityFrom(par1DamageSource, par2);
	}
}
/**
 * Finds the closest player within 16 blocks to attack, or null if this Entity isn't interested in attacking
 * (Animals, Spiders at day, peaceful PigZombies).
 */
protected Entity findPlayerToAttack()
{
	double d0 = 8.0D;
	return this.worldObj.getClosestPlayerToEntity(this, d0);
}

public boolean attackEntityAsMob(Entity par1Entity)
{
	if (super.attackEntityAsMob(par1Entity))
	{
		if (par1Entity instanceof EntityLivingBase)
		{
			byte b0 = 0;

			if (this.worldObj.getDifficulty() == EnumDifficulty.NORMAL)
			{
				b0 = 7;
			}
			else if (this.worldObj.getDifficulty() == EnumDifficulty.HARD)
			{
				b0 = 15;
			}

			if (b0 > 7)
			{
				((EntityLivingBase)par1Entity).addPotionEffect(new PotionEffect(Potion.poison.id, b0 * 10, 0));
			}
			this.setHealth(0);
		}

		return true;
	}
	else
	{
		return false;
	}
}

public boolean getCanSpawnHere()
{
	BlockPos blockpos = new BlockPos(this.posX, this.getEntityBoundingBox().minY, this.posZ);
	return this.worldObj.getLight(blockpos) > 7;

}
}

Don't blame me if i always ask for your help. I just want to learn to be better :)

Link to comment
Share on other sites

if i spawn an entity in a server...

java.lang.NullPointerException: Rendering entity in world

 

Server + Renderer = crash.

 

Renderers don't belong on servers

 

Also:

WARNING: coremods are present:

  NowWithRendering (hopperducts-mc1.8-1.4.5.jar)

Contact their authors BEFORE contacting forge

 

What did the core mod authors say about the renderer crash?

The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.

Link to comment
Share on other sites

It crashes also without the core mod :/ So basically i should register the rendering only client side? And in that case how?

EDIT: it crashes also client side. The line 45 and 55 refers to the doRender and renderBee functions in the rendering class

Don't blame me if i always ask for your help. I just want to learn to be better :)

Link to comment
Share on other sites

Removed that functions, still crash :/ My class now looks like this

package hl.entities.renderer;

import org.lwjgl.opengl.GL11;

import hl.entities.EntityBee;
import hl.models.ModelBee;
import net.minecraft.client.renderer.entity.RenderLiving;
import net.minecraft.client.renderer.entity.RenderManager;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;

public class RenderBee extends RenderLiving {

private float scale;


public RenderBee(RenderManager mgr, ModelBee par1ModelBase, float par2, float d)
{
	super(mgr, par1ModelBase, par2);
	this.scale = d;
}

protected void preRenderScale(EntityBee par1EntityBee, float par2)
{
	GL11.glScalef(this.scale, this.scale, this.scale);
}
protected void preRenderCallback(EntityLivingBase par1EntityLivingBase, float par2)
{
	this.preRenderScale((EntityBee)par1EntityLivingBase, par2);
}
@Override
protected ResourceLocation getEntityTexture(Entity entity) 
{
	return new ResourceLocation("hl:textures/mobs/bee.png");
}

}

Don't blame me if i always ask for your help. I just want to learn to be better :)

Link to comment
Share on other sites

Join the conversation

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

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

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

×   Your previous content has been restored.   Clear editor

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

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Hello, I want to add more memory to the RunClient gradle task. I added VM options into the configurations and put in "-Xms256m -Xmx2048m" but it doesn't work.
    • Hello, I'm trying to modify the effects of native enchantments for bows and arrows in Minecraft. After using a decompilation tool, I found that the specific implementations of native bow and arrow enchantments (including `ArrowDamageEnchantment`, `ArrowKnockbackEnchantment`, `ArrowFireEnchantment`, `ArrowInfiniteEnchantment`, `ArrowPiercingEnchantment`) do not contain any information about the enchantment effects (such as the `getDamageProtection` function for `ProtectionEnchantment`, `getDamageBonus` function for `DamageEnchantment`, etc.). Upon searching for the base class of arrows, `AbstractArrow`, I found a function named setEnchantmentEffectsFromEntity`, which seems to be used to retrieve the enchantment levels of the tool held by a `LivingEntity` and calculate the specific values of the enchantment effects. However, after testing with the following code, I found that this function is not being called:   @Mixin(AbstractArrow.class) public class ModifyArrowEnchantmentEffects {     private static final Logger LOGGER = LogUtils.getLogger();     @Inject(         method = "setEnchantmentEffectsFromEntity",         at = @At("HEAD")     )     private void logArrowEnchantmentEffectsFromEntity(CallbackInfo ci) {         LOGGER.info("Arrow enchantment effects from entity");     } }   Upon further investigation, I found that within the onHitEntity method, there are several lines of code:               if (!this.level().isClientSide &amp;&amp; entity1 instanceof LivingEntity) {                EnchantmentHelper.doPostHurtEffects(livingentity, entity1);                EnchantmentHelper.doPostDamageEffects((LivingEntity)entity1, livingentity);             }   These lines of code actually call the doPostHurt and doPostAttack methods of each enchantment in the enchantment list. However, this leads back to the issue because native bow and arrow enchantments do not implement these functions. Although their base class defines the functions, they are empty. At this point, I'm completely stumped and seeking assistance. Thank you.
    • I have been trying to make a server with forge but I keep running into an issue. I have jdk 22 installed as well as Java 8. here is the debug file  
    • it crashed again     What the console says : [00:02:03] [Server thread/INFO] [Easy NPC/]: [EntityManager] Server started! [00:02:03] [Server thread/INFO] [co.gi.al.ic.IceAndFire/]: {iceandfire:fire_dragon_roost=true, iceandfire:fire_lily=true, iceandfire:spawn_dragon_skeleton_fire=true, iceandfire:lightning_dragon_roost=true, iceandfire:spawn_dragon_skeleton_lightning=true, iceandfire:ice_dragon_roost=true, iceandfire:ice_dragon_cave=true, iceandfire:lightning_dragon_cave=true, iceandfire:cyclops_cave=true, iceandfire:spawn_wandering_cyclops=true, iceandfire:spawn_sea_serpent=true, iceandfire:frost_lily=true, iceandfire:hydra_cave=true, iceandfire:lightning_lily=true, iceandfireixie_village=true, iceandfire:myrmex_hive_jungle=true, iceandfire:myrmex_hive_desert=true, iceandfire:silver_ore=true, iceandfire:siren_island=true, iceandfire:spawn_dragon_skeleton_ice=true, iceandfire:spawn_stymphalian_bird=true, iceandfire:fire_dragon_cave=true, iceandfire:sapphire_ore=true, iceandfire:spawn_hippocampus=true, iceandfire:spawn_death_worm=true} [00:02:03] [Server thread/INFO] [co.gi.al.ic.IceAndFire/]: {TROLL_S=true, HIPPOGRYPH=true, AMPHITHERE=true, COCKATRICE=true, TROLL_M=true, DREAD_LICH=true, TROLL_F=true} [00:02:03] [Server thread/INFO] [ne.be.lo.WeaponRegistry/]: Encoded Weapon Attribute registry size (with package overhead): 41976 bytes (in 5 string chunks with the size of 10000) [00:02:03] [Server thread/INFO] [patchouli/]: Sending reload packet to clients [00:02:03] [Server thread/WARN] [voicechat/]: [voicechat] Running in offline mode - Voice chat encryption is not secure! [00:02:03] [VoiceChatServerThread/INFO] [voicechat/]: [voicechat] Using server-ip as bind address: 0.0.0.0 [00:02:03] [Server thread/WARN] [ModernFix/]: Dedicated server took 22.521 seconds to load [00:02:03] [VoiceChatServerThread/INFO] [voicechat/]: [voicechat] Voice chat server started at 0.0.0.0:25565 [00:02:03] [Server thread/WARN] [minecraft/SynchedEntityData]: defineId called for: class net.minecraft.world.entity.player.Player from class tschipp.carryon.common.carry.CarryOnDataManager [00:02:03] [Server thread/INFO] [ne.mi.co.AdvancementLoadFix/]: Using new advancement loading for net.minecraft.server.PlayerAdvancements@2941ffd5 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 0 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 1 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 2 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 3 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 4 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 5 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 6 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 7 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 8 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 9 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 10 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 11 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 12 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 13 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 14 [00:02:19] [Server thread/INFO] [ne.mi.co.AdvancementLoadFix/]: Using new advancement loading for net.minecraft.server.PlayerAdvancements@ebc7ef2 [00:02:19] [Server thread/INFO] [minecraft/PlayerList]: ZacAdos[/90.2.17.162:49242] logged in with entity id 1062 at (-1848.6727005281205, 221.0, -3054.2468255848935) [00:02:19] [Server thread/ERROR] [ModernFix/]: Skipping entity ID sync for com.talhanation.smallships.world.entity.ship.Ship: java.lang.NoClassDefFoundError: net/minecraft/client/CameraType [00:02:19] [Server thread/INFO] [minecraft/MinecraftServer]: - Gloop - ZacAdos joined the game [00:02:19] [Server thread/INFO] [xa.pa.OpenPartiesAndClaims/]: Updating all forceload tickets for cc56befd-d376-3526-a760-340713c478bd [00:02:19] [Server thread/INFO] [se.mi.te.da.DataManager/]: Sending data to client: ZacAdos [00:02:19] [Server thread/INFO] [voicechat/]: [voicechat] Received secret request of - Gloop - ZacAdos (17) [00:02:19] [Server thread/INFO] [voicechat/]: [voicechat] Sent secret to - Gloop - ZacAdos [00:02:21] [VoiceChatPacketProcessingThread/INFO] [voicechat/]: [voicechat] Successfully authenticated player cc56befd-d376-3526-a760-340713c478bd [00:02:22] [VoiceChatPacketProcessingThread/INFO] [voicechat/]: [voicechat] Successfully validated connection of player cc56befd-d376-3526-a760-340713c478bd [00:02:22] [VoiceChatPacketProcessingThread/INFO] [voicechat/]: [voicechat] Player - Gloop - ZacAdos (cc56befd-d376-3526-a760-340713c478bd) successfully connected to voice chat stop [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Stopping the server [00:02:34] [Server thread/INFO] [mo.pl.ar.ArmourersWorkshop/]: stop local service [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Stopping server [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving players [00:02:34] [Server thread/INFO] [minecraft/ServerGamePacketListenerImpl]: ZacAdos lost connection: Server closed [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: - Gloop - ZacAdos left the game [00:02:34] [Server thread/INFO] [xa.pa.OpenPartiesAndClaims/]: Updating all forceload tickets for cc56befd-d376-3526-a760-340713c478bd [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving worlds [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_end [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: ThreadedAnvilChunkStorage (world): All chunks are saved [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: ThreadedAnvilChunkStorage: All dimensions are saved [00:02:34] [Server thread/INFO] [xa.pa.OpenPartiesAndClaims/]: Stopping IO worker... [00:02:34] [Server thread/INFO] [xa.pa.OpenPartiesAndClaims/]: Stopped IO worker! [00:02:34] [Server thread/INFO] [Calio/]: Removing Dynamic Registries for: net.minecraft.server.dedicated.DedicatedServer@7dc879e1 [MineStrator Daemon]: Checking server disk space usage, this could take a few seconds... [MineStrator Daemon]: Updating process configuration files... [MineStrator Daemon]: Ensuring file permissions are set correctly, this could take a few seconds... [MineStrator Daemon]: Pulling Docker container image, this could take a few minutes to complete... [MineStrator Daemon]: Finished pulling Docker container image container@pterodactyl~ java -version openjdk version "17.0.10" 2024-01-16 OpenJDK Runtime Environment Temurin-17.0.10+7 (build 17.0.10+7) OpenJDK 64-Bit Server VM Temurin-17.0.10+7 (build 17.0.10+7, mixed mode, sharing) container@pterodactyl~ java -Xms128M -Xmx6302M -Dterminal.jline=false -Dterminal.ansi=true -Djline.terminal=jline.UnsupportedTerminal -p libraries/cpw/mods/bootstraplauncher/1.1.2/bootstraplauncher-1.1.2.jar:libraries/cpw/mods/securejarhandler/2.1.4/securejarhandler-2.1.4.jar:libraries/org/ow2/asm/asm-commons/9.5/asm-commons-9.5.jar:libraries/org/ow2/asm/asm-util/9.5/asm-util-9.5.jar:libraries/org/ow2/asm/asm-analysis/9.5/asm-analysis-9.5.jar:libraries/org/ow2/asm/asm-tree/9.5/asm-tree-9.5.jar:libraries/org/ow2/asm/asm/9.5/asm-9.5.jar:libraries/net/minecraftforge/JarJarFileSystems/0.3.16/JarJarFileSystems-0.3.16.jar --add-modules ALL-MODULE-PATH --add-opens java.base/java.util.jar=cpw.mods.securejarhandler --add-opens java.base/java.lang.invoke=cpw.mods.securejarhandler --add-exports java.base/sun.security.util=cpw.mods.securejarhandler --add-exports jdk.naming.dns/com.sun.jndi.dns=java.naming -Djava.net.preferIPv6Addresses=system -DignoreList=bootstraplauncher-1.1.2.jar,securejarhandler-2.1.4.jar,asm-commons-9.5.jar,asm-util-9.5.jar,asm-analysis-9.5.jar,asm-tree-9.5.jar,asm-9.5.jar,JarJarFileSystems-0.3.16.jar -DlibraryDirectory=libraries -DlegacyClassPath=libraries/cpw/mods/securejarhandler/2.1.4/securejarhandler-2.1.4.jar:libraries/org/ow2/asm/asm/9.5/asm-9.5.jar:libraries/org/ow2/asm/asm-commons/9.5/asm-commons-9.5.jar:libraries/org/ow2/asm/asm-tree/9.5/asm-tree-9.5.jar:libraries/org/ow2/asm/asm-util/9.5/asm-util-9.5.jar:libraries/org/ow2/asm/asm-analysis/9.5/asm-analysis-9.5.jar:libraries/net/minecraftforge/accesstransformers/8.0.4/accesstransformers-8.0.4.jar:libraries/org/antlr/antlr4-runtime/4.9.1/antlr4-runtime-4.9.1.jar:libraries/net/minecraftforge/eventbus/6.0.3/eventbus-6.0.3.jar:libraries/net/minecraftforge/forgespi/6.0.0/forgespi-6.0.0.jar:libraries/net/minecraftforge/coremods/5.0.1/coremods-5.0.1.jar:libraries/cpw/mods/modlauncher/10.0.8/modlauncher-10.0.8.jar:libraries/net/minecraftforge/unsafe/0.2.0/unsafe-0.2.0.jar:libraries/com/electronwill/night-config/core/3.6.4/core-3.6.4.jar:libraries/com/electronwill/night-config/toml/3.6.4/toml-3.6.4.jar:libraries/org/apache/maven/maven-artifact/3.8.5/maven-artifact-3.8.5.jar:libraries/net/jodah/typetools/0.8.3/typetools-0.8.3.jar:libraries/net/minecrell/terminalconsoleappender/1.2.0/terminalconsoleappender-1.2.0.jar:libraries/org/jline/jline-reader/3.12.1/jline-reader-3.12.1.jar:libraries/org/jline/jline-terminal/3.12.1/jline-terminal-3.12.1.jar:libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar:libraries/org/openjdk/nashorn/nashorn-core/15.3/nashorn-core-15.3.jar:libraries/net/minecraftforge/JarJarSelector/0.3.16/JarJarSelector-0.3.16.jar:libraries/net/minecraftforge/JarJarMetadata/0.3.16/JarJarMetadata-0.3.16.jar:libraries/net/minecraftforge/fmlloader/1.19.2-43.3.0/fmlloader-1.19.2-43.3.0.jar:libraries/net/minecraft/server/1.19.2-20220805.130853/server-1.19.2-20220805.130853-extra.jar:libraries/com/github/oshi/oshi-core/5.8.5/oshi-core-5.8.5.jar:libraries/com/google/code/gson/gson/2.8.9/gson-2.8.9.jar:libraries/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar:libraries/com/google/guava/guava/31.0.1-jre/guava-31.0.1-jre.jar:libraries/com/mojang/authlib/3.11.49/authlib-3.11.49.jar:libraries/com/mojang/brigadier/1.0.18/brigadier-1.0.18.jar:libraries/com/mojang/datafixerupper/5.0.28/datafixerupper-5.0.28.jar:libraries/com/mojang/javabridge/1.2.24/javabridge-1.2.24.jar:libraries/com/mojang/logging/1.0.0/logging-1.0.0.jar:libraries/commons-io/commons-io/2.11.0/commons-io-2.11.0.jar:libraries/io/netty/netty-buffer/4.1.77.Final/netty-buffer-4.1.77.Final.jar:libraries/io/netty/netty-codec/4.1.77.Final/netty-codec-4.1.77.Final.jar:libraries/io/netty/netty-common/4.1.77.Final/netty-common-4.1.77.Final.jar:libraries/io/netty/netty-handler/4.1.77.Final/netty-handler-4.1.77.Final.jar:libraries/io/netty/netty-resolver/4.1.77.Final/netty-resolver-4.1.77.Final.jar:libraries/io/netty/netty-transport/4.1.77.Final/netty-transport-4.1.77.Final.jar:libraries/io/netty/netty-transport-classes-epoll/4.1.77.Final/netty-transport-classes-epoll-4.1.77.Final.jar:libraries/io/netty/netty-transport-native-epoll/4.1.77.Final/netty-transport-native-epoll-4.1.77.Final-linux-x86_64.jar:libraries/io/netty/netty-transport-native-epoll/4.1.77.Final/netty-transport-native-epoll-4.1.77.Final-linux-aarch_64.jar:libraries/io/netty/netty-transport-native-unix-common/4.1.77.Final/netty-transport-native-unix-common-4.1.77.Final.jar:libraries/it/unimi/dsi/fastutil/8.5.6/fastutil-8.5.6.jar:libraries/net/java/dev/jna/jna/5.10.0/jna-5.10.0.jar:libraries/net/java/dev/jna/jna-platform/5.10.0/jna-platform-5.10.0.jar:libraries/net/sf/jopt-simple/jopt-simple/5.0.4/jopt-simple-5.0.4.jar:libraries/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar:libraries/org/apache/logging/log4j/log4j-api/2.17.0/log4j-api-2.17.0.jar:libraries/org/apache/logging/log4j/log4j-core/2.17.0/log4j-core-2.17.0.jar:libraries/org/apache/logging/log4j/log4j-slf4j18-impl/2.17.0/log4j-slf4j18-impl-2.17.0.jar:libraries/org/slf4j/slf4j-api/1.8.0-beta4/slf4j-api-1.8.0-beta4.jar cpw.mods.bootstraplauncher.BootstrapLauncher --launchTarget forgeserver --fml.forgeVersion 43.3.0 --fml.mcVersion 1.19.2 --fml.forgeGroup net.minecraftforge --fml.mcpVersion 20220805.130853 [00:02:42] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 43.3.0, --fml.mcVersion, 1.19.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220805.130853] [00:02:42] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 10.0.8+10.0.8+main.0ef7e830 starting: java version 17.0.10 by Eclipse Adoptium; OS Linux arch amd64 version 6.1.0-12-amd64 [00:02:43] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/home/container/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2363!/ Service=ModLauncher Env=SERVER [00:02:43] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/fmlcore/1.19.2-43.3.0/fmlcore-1.19.2-43.3.0.jar is missing mods.toml file [00:02:43] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/javafmllanguage/1.19.2-43.3.0/javafmllanguage-1.19.2-43.3.0.jar is missing mods.toml file [00:02:43] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/lowcodelanguage/1.19.2-43.3.0/lowcodelanguage-1.19.2-43.3.0.jar is missing mods.toml file [00:02:43] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/mclanguage/1.19.2-43.3.0/mclanguage-1.19.2-43.3.0.jar is missing mods.toml file [00:02:44] [main/WARN] [ne.mi.ja.se.JarSelector/]: Attempted to select two dependency jars from JarJar which have the same identification: Mod File: and Mod File: . Using Mod File: [00:02:44] [main/WARN] [ne.mi.ja.se.JarSelector/]: Attempted to select a dependency jar for JarJar which was passed in as source: resourcefullib. Using Mod File: /home/container/mods/resourcefullib-forge-1.19.2-1.1.24.jar [00:02:44] [main/INFO] [ne.mi.fm.lo.mo.JarInJarDependencyLocator/]: Found 13 dependencies adding them to mods collection Latest log [29Mar2024 00:02:42.803] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 43.3.0, --fml.mcVersion, 1.19.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220805.130853] [29Mar2024 00:02:42.805] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 10.0.8+10.0.8+main.0ef7e830 starting: java version 17.0.10 by Eclipse Adoptium; OS Linux arch amd64 version 6.1.0-12-amd64 [29Mar2024 00:02:43.548] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/home/container/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2363!/ Service=ModLauncher Env=SERVER [29Mar2024 00:02:43.876] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/fmlcore/1.19.2-43.3.0/fmlcore-1.19.2-43.3.0.jar is missing mods.toml file [29Mar2024 00:02:43.877] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/javafmllanguage/1.19.2-43.3.0/javafmllanguage-1.19.2-43.3.0.jar is missing mods.toml file [29Mar2024 00:02:43.877] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/lowcodelanguage/1.19.2-43.3.0/lowcodelanguage-1.19.2-43.3.0.jar is missing mods.toml file [29Mar2024 00:02:43.878] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/mclanguage/1.19.2-43.3.0/mclanguage-1.19.2-43.3.0.jar is missing mods.toml file [29Mar2024 00:02:44.033] [main/WARN] [net.minecraftforge.jarjar.selection.JarSelector/]: Attempted to select two dependency jars from JarJar which have the same identification: Mod File: and Mod File: . Using Mod File: [29Mar2024 00:02:44.034] [main/WARN] [net.minecraftforge.jarjar.selection.JarSelector/]: Attempted to select a dependency jar for JarJar which was passed in as source: resourcefullib. Using Mod File: /home/container/mods/resourcefullib-forge-1.19.2-1.1.24.jar [29Mar2024 00:02:44.034] [main/INFO] [net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator/]: Found 13 dependencies adding them to mods collection
  • Topics

×
×
  • Create New...

Important Information

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