Jump to content

Ice2670

Members
  • Posts

    60
  • Joined

  • Last visited

Everything posted by Ice2670

  1. this is the RenderHandler class involves render package com.ice2670.plasmacannon.util.handlers; import com.ice2670.plasmacannon.entity.EntityLargePlasmaBall; import com.ice2670.plasmacannon.entity.EntityPlasmaBall; import com.ice2670.plasmacannon.entity.render.RenderLargePlasmaBall; import com.ice2670.plasmacannon.entity.render.RenderPlasmaBall; import net.minecraft.client.renderer.entity.Render; import net.minecraft.client.renderer.entity.RenderManager; import net.minecraftforge.fml.client.registry.IRenderFactory; import net.minecraftforge.fml.client.registry.RenderingRegistry; public class RenderHandler { public static void registerEntityRenders() { RenderingRegistry.registerEntityRenderingHandler(EntityPlasmaBall.class, new IRenderFactory<EntityPlasmaBall>() { @Override public Render<? super EntityPlasmaBall> createRenderFor(RenderManager manager) { return new RenderPlasmaBall(manager, 1F); } }); RenderingRegistry.registerEntityRenderingHandler(EntityLargePlasmaBall.class, new IRenderFactory<EntityLargePlasmaBall>() { @Override public Render<? super EntityLargePlasmaBall> createRenderFor(RenderManager manager) { return new RenderLargePlasmaBall(manager); } }); } }
  2. so it seems net/minecraft/client/renderer/entity/Render does not exist on the server, i suppose i need replace this render class with some different ones
  3. my mod works fine with minecraft, how ever when i'm trying to run my mod on a server, but there are problems with the mod initialization. it gives me a crash like this: ---- Minecraft Crash Report ---- WARNING: coremods are present: Inventory Tweaks Coremod (InventoryTweaks-1.63.jar) MicdoodlePlugin (MicdoodleCore-1.12.2-4.0.1.181.jar) AppleCore (AppleCore-mc1.12.2-2.2.2.jar) GottaGoFastLoader (_gottagofast-1.0_.jar) MixinLoaderForge (_ValkyrienWarfareRevamped-1.12.2-v0.9_alpha-full_.jar) Contact their authors BEFORE contacting forge // But it works on my machine. Time: 2/8/19 11:36 AM Description: Exception in server tick loop net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from PlasmaCannon (plasmacannons) Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/renderer/entity/Render //these three are my mod at com.ice2670.plasmacannon.util.handlers.RenderHandler.registerEntityRenders(RenderHandler.java:16) at com.ice2670.plasmacannon.util.handlers.RegistryHandler.preInitRegistries(RegistryHandler.java:53) at com.ice2670.plasmacannon.Main.preInit(Main.java:33) // at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:624) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) at com.google.common.eventbus.EventBus.post(EventBus.java:217) at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:218) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:196) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) at com.google.common.eventbus.EventBus.post(EventBus.java:217) at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:135) at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:627) at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:99) at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:333) at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:125) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.ClassNotFoundException: net.minecraft.client.renderer.entity.Render at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 38 more Caused by: java.lang.NullPointerException at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ... 40 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.12.2 Operating System: Linux (amd64) version 4.9.0-8-amd64 Java Version: 1.8.0_201, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 5386153208 bytes (5136 MB) / 6317146112 bytes (6024 MB) up to 6763315200 bytes (6450 MB) JVM Flags: 2 total; -Xms6000m -Xmx7256m IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP 9.42 Powered by Forge 14.23.5.2772 35 mods loaded, 35 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 | |:----- |:------------------- |:------------------------ |:----------------------------------------------------- |:---------------------------------------- | | UCH | minecraft | 1.12.2 | minecraft.jar | None | | UCH | mcp | 9.42 | minecraft.jar | None | | UCH | FML | 8.0.99.99 | forge-1.12.2-14.23.5.2772-universal.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 | | UCH | forge | 14.23.5.2772 | forge-1.12.2-14.23.5.2772-universal.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 | | UCH | micdoodlecore | | minecraft.jar | None | | UCH | gottagofast | 1.0 | _gottagofast-1.0_.jar | None | | UCH | ic2 | 2.8.75-ex112 | _industrialcraft-2-2.8.75-ex112_.jar | de041f9f6187debbc77034a344134053277aa3b0 | | UCH | omlib | 3.1.0-0 | _openmodularturrets-1.12.2-3.1.0-ovwfix_.jar | None | | UCH | openmodularturrets | 3.1.0-0 | _openmodularturrets-1.12.2-3.1.0-ovwfix_.jar | None | | UCEE | plasmacannons | 0.1 | _PlasmaCannons-1.1_.jar | None | | UC | valkyrienwarfare | 0.9_alpha | _ValkyrienWarfareRevamped-1.12.2-v0.9_alpha-full_.jar | None | | UC | jei | 4.13.1.222 | jei_1.12.2-4.13.1.222.jar | None | | UC | abyssalcraft | 1.9.4.3 | AbyssalCraft-1.12.2-1.9.4.3.jar | 220f10d3a93b3ff5fbaa7434cc629d863d6751b9 | | UC | applecore | 2.2.2 | AppleCore-mc1.12.2-2.2.2.jar | None | | UC | appleskin | 1.0.9 | AppleSkin-mc1.12-1.0.9.jar | None | | UC | appliedenergistics2 | rv5-stable-2 | appliedenergistics2-rv5-stable-2.jar | None | | UC | bibliocraft | 2.4.5 | BiblioCraft[v2.4.5][MC1.12.2].jar | None | | UC | codechickenlib | 3.2.2.353 | CodeChickenLib-1.12.2-3.2.2.353-universal.jar | f1850c39b2516232a2108a7bd84d1cb5df93b261 | | UC | customnpcs | 1.12 | CustomNPCs_1.12.2(鸡哥).jar | None | | UC | galacticraftcore | 4.0.1.181 | GalacticraftCore-1.12.2-4.0.1.181.jar | None | | UC | galacticraftplanets | 4.0.1.181 | Galacticraft-Planets-1.12.2-4.0.1.181.jar | None | | UC | mjrlegendslib | 1.12.2-1.1.6 | MJRLegendsLib-1.12.2-1.1.6.jar | b02331787272ec3515ebe63ecdeea0d746653468 | | UC | extraplanets | 1.12.2-0.4.5 | ExtraPlanets-1.12.2-0.4.5.jar | b02331787272ec3515ebe63ecdeea0d746653468 | | UC | gravestone | 1.0.13 | GraveStone-1.12-Graves-1.0.13.jar | None | | UC | gravestone-extended | 1.2.6 | GraveStone-1.12.2-Extended-1.2.6.jar | None | | UC | inventorytweaks | 1.63+release.109.220f184 | InventoryTweaks-1.63.jar | 55d2cd4f5f0961410bf7b91ef6c6bf00a766dcbe | | UC | ironchest | 1.12.2-7.0.34.820 | ironchest-1.12.2-7.0.34.820.jar | None | | UC | keepinginventory | 2.4 | KeepingInventory-1.12.2-2.4.jar | None | | UC | lostcities | 2.0.12 | lostcities-1.12-2.0.12.jar | None | | UC | mmm | 1.0.7 | mutatedmobs-1.0.7.jar | None | | UC | nei | 2.4.2 | NotEnoughItems-1.12.2-2.4.2.240-universal.jar | f1850c39b2516232a2108a7bd84d1cb5df93b261 | | UC | harvestcraft | 1.12.2a | Pam's HarvestCraft 1.12.2a.jar | None | | UC | ruins | 17.1 | Ruins-1.12.2.jar | None | | UC | twilightforest | 3.3.202 | twilightforest-1.12.2-3.3.202-universal.jar | None | | UC | hungeroverhaul | 1.12.2-1.3.0.jenkins131 | HungerOverhaul-1.12.2-1.3.0.jenkins131.jar | None | Loaded coremods (and transformers): Inventory Tweaks Coremod (InventoryTweaks-1.63.jar) invtweaks.forge.asm.ContainerTransformer MicdoodlePlugin (MicdoodleCore-1.12.2-4.0.1.181.jar) micdoodle8.mods.miccore.MicdoodleTransformer AppleCore (AppleCore-mc1.12.2-2.2.2.jar) squeek.applecore.asm.TransformerModuleHandler GottaGoFastLoader (_gottagofast-1.0_.jar) com.thiakil.gottagofast.coremod.GottaGoFastASMTransformer MixinLoaderForge (_ValkyrienWarfareRevamped-1.12.2-v0.9_alpha-full_.jar) AE2 Version: stable rv5-stable-2 for Forge 14.23.0.2491 Profiler Position: N/A (disabled) Is Modded: Definitely; Server brand changed to 'fml,forge' Type: Dedicated Server (map_server.txt)
  4. if you want to know how ic2 energy is different i suggest you check on ic2 source codes, but my codes that involves energy use is here public void update() { EnergyTileLoadEvent loadEvent = new EnergyTileLoadEvent(this); MinecraftForge.EVENT_BUS.post(loadEvent); world.markBlockRangeForRenderUpdate(pos, pos); world.notifyBlockUpdate(pos, getState(), getState(), 3); world.scheduleBlockUpdate(pos,this.getBlockType(),0,0); markDirty(); } public void invalidate() { EnergyTileUnloadEvent unloadEvent = new EnergyTileUnloadEvent(this); MinecraftForge.EVENT_BUS.post(unloadEvent); } @Override public double getDemandedEnergy() { return this.maxenergy - this.energy; } @Override public int getSinkTier() { return Integer.MAX_VALUE; } @Override public double injectEnergy(EnumFacing directionFrom, double amount, double voltage) { if (this.energy >= this.maxenergy) return amount; double openEnergy = this.maxenergy - this.energy; if (openEnergy>= amount) { this.energy += amount; return 0.0D; } else if (amount > openEnergy) { this.energy += openEnergy; return amount - openEnergy; } return 0; } @Override public boolean acceptsEnergyFrom(IEnergyEmitter emitter, EnumFacing side) { return true; } and the imports from ic2 api import ic2.api.energy.event.EnergyTileLoadEvent; import ic2.api.energy.event.EnergyTileUnloadEvent; import ic2.api.energy.tile.IEnergyEmitter; import ic2.api.energy.tile.IEnergySink;
  5. not yet, but the energy works just fine, i already tested it.
  6. to understand synchronization requires deep understanding on java, but right now i do not have time to go through such complicated problem. how ever I do understand how to use the codes provided by Draco18s. As for the whole problem, I update powerfactor every time in fireplasma method instead of in update method, than the game won't crash. And if possible, would you explain what does world.scheduleBlockUpdate(pos,this.getBlockType(),0,0); markDirty(); do?
  7. OK, now the synchronization problem is solved thanks to Draco18s and Cadiboo, gonna post codes here public void readFromNBT(NBTTagCompound nbt){ super.readFromNBT(nbt); if (nbt.hasKey("energy")) { this.energy = nbt.getDouble("energy"); } } @Override public NBTTagCompound writeToNBT(NBTTagCompound nbt) { super.writeToNBT(nbt); nbt.setDouble("energy", this.energy); return nbt; } @Override @Nullable public SPacketUpdateTileEntity getUpdatePacket() { return new SPacketUpdateTileEntity(this.pos, 3, this.getUpdateTag()); } @Override public NBTTagCompound getUpdateTag() { return this.writeToNBT(new NBTTagCompound()); } @Override public void onDataPacket(NetworkManager net, SPacketUpdateTileEntity pkt) { super.onDataPacket(net, pkt); handleUpdateTag(pkt.getNbtCompound()); } private IBlockState getState() { return world.getBlockState(pos); } and in update public void update() { EnergyTileLoadEvent loadEvent = new EnergyTileLoadEvent(this); MinecraftForge.EVENT_BUS.post(loadEvent); //these are for synchronazation world.markBlockRangeForRenderUpdate(pos, pos); world.notifyBlockUpdate(pos, getState(), getState(), 3); world.scheduleBlockUpdate(pos,this.getBlockType(),0,0); markDirty(); } all these are added to TileEntityPlasmaCannon. I just copied the codes Draco18s provided here
  8. does it matter if i use ic2 energy instead of forge energy?
  9. would you tell me which specific data you are synchronizing? or it updates every data of TileEntityBase to client? I do think I need more explanation.
  10. Thank you! I'm now trying to work on it, and I'll ask you questions here since this thread is not old.
  11. Do you know some built in forge codes that can help me synchronization server and client? I wanna synchronize the powerfactor in onBlockActivated.
  12. Hello, I have similar problem with client server synchronization, it's just I want to update energy in my TE to client every tick, but I do not find there code can update custom data in TE.
  13. Thanks for the advise! This helps me a lot!
  14. actually before I use the update method for TileEntityPlasmaCannon, I acquire the TE locally in onBlockActivated. But because I'm planning on making this cannon stores IC2 energy and the more iron blocks attached behind it the higher maximum energy it can store, so I cannot use onBlockActivated to achieve that. And I really do not understand why if I use 2 local TEs in onBlockAdded and onBlockActivated it will stop updating power factor.
  15. OK you are right. But if I make the tile local, i don't get the updated powerfactor, it's always 0.
  16. OK, then i guess i should make an item that allows play to destroy old Plasma Cannon block and replace it with a new. And tell them to use it on Plasma Cannon every time the game is reloaded
  17. I missed a plasmacannon.getstate last time and caused the crash, I added it back and run the game again, although the game won't crash, power of the projectile does not change no mater how many iron blocks i add behind it.
  18. how about instead of using update in tile entity, I use updateTick in block?
  19. but if i do not make it instance there will be other problems. is there a way to create this instance field every time the game is reloaded?
  20. I still think whether the tile is local or not is not the problem, it's just every time I reload the saved world, the update method in TileEntityPlasmaCannon will stop working. Because even if i do not quit the game, reloading the saved world will make powerfactor unchangeable.
  21. and here's fireplasma public void fireplasma(World worldIn, BlockPos pos, EntityPlayer playerIn) { //direction double d0 = pos.getX() + 0.5D + (float) enumfacing.getFrontOffsetX(); double d1 = pos.getY() + 0.4D + (float) enumfacing.getFrontOffsetY(); double d2 = pos.getZ() + 0.5D + (float) enumfacing.getFrontOffsetZ(); if (enumfacing == EnumFacing.NORTH) { String str = Integer.toString(this.powerfactor); playerIn.sendMessage(new TextComponentString(str)); EntityLargePlasmaBall entityplasmaball = new EntityLargePlasmaBall(worldIn, d0, d1, d2-1, powerfactor); entityplasmaball.shoot((double) enumfacing.getFrontOffsetX(), (double) enumfacing.getFrontOffsetY(), (double) enumfacing.getFrontOffsetZ(), 5, 0.01F); worldIn.spawnEntity(entityplasmaball); } if (enumfacing == EnumFacing.SOUTH) { String str = Integer.toString(this.powerfactor); playerIn.sendMessage(new TextComponentString(str)); EntityLargePlasmaBall entityplasmaball = new EntityLargePlasmaBall(worldIn, d0, d1, d2+1, powerfactor); entityplasmaball.shoot((double) enumfacing.getFrontOffsetX(), (double) enumfacing.getFrontOffsetY(), (double) enumfacing.getFrontOffsetZ(), 5, 0.01F); worldIn.spawnEntity(entityplasmaball); } if (enumfacing == EnumFacing.EAST) { String str = Integer.toString(this.powerfactor); playerIn.sendMessage(new TextComponentString(str)); EntityLargePlasmaBall entityplasmaball = new EntityLargePlasmaBall(worldIn, d0+1, d1, d2, powerfactor); entityplasmaball.shoot((double) enumfacing.getFrontOffsetX(), (double) enumfacing.getFrontOffsetY(), (double) enumfacing.getFrontOffsetZ(), 5, 0.01F); worldIn.spawnEntity(entityplasmaball); } if (enumfacing == EnumFacing.WEST) { String str = Integer.toString(this.powerfactor); playerIn.sendMessage(new TextComponentString(str)); EntityLargePlasmaBall entityplasmaball = new EntityLargePlasmaBall(worldIn, d0-1, d1, d2, powerfactor); entityplasmaball.shoot((double) enumfacing.getFrontOffsetX(), (double) enumfacing.getFrontOffsetY(), (double) enumfacing.getFrontOffsetZ(), 5, 0.01F); worldIn.spawnEntity(entityplasmaball); } }
  22. here ---- Minecraft Crash Report ---- // I just don't know what went wrong Time: 6/5/18 6:24 PM Description: Unexpected error java.lang.NullPointerException: Unexpected error at com.ice2670.plasmacannon.tileentities.TileEntityPlasmaCannon.fireplasma(TileEntityPlasmaCannon.java:106) at com.ice2670.plasmacannon.blocks.BlockPlasmaCannon.onBlockActivated(BlockPlasmaCannon.java:94) at net.minecraft.client.multiplayer.PlayerControllerMP.processRightClickBlock(PlayerControllerMP.java:455) at net.minecraft.client.Minecraft.rightClickMouse(Minecraft.java:1692) at net.minecraft.client.Minecraft.processKeyBinds(Minecraft.java:2379) at net.minecraft.client.Minecraft.runTickKeyboard(Minecraft.java:2145) at net.minecraft.client.Minecraft.runTick(Minecraft.java:1933) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1186) at net.minecraft.client.Minecraft.run(Minecraft.java:441) at net.minecraft.client.main.Main.main(Main.java:118) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) at GradleStart.main(GradleStart.java:25) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Client thread Stacktrace: at com.ice2670.plasmacannon.tileentities.TileEntityPlasmaCannon.fireplasma(TileEntityPlasmaCannon.java:106) at com.ice2670.plasmacannon.blocks.BlockPlasmaCannon.onBlockActivated(BlockPlasmaCannon.java:94) at net.minecraft.client.multiplayer.PlayerControllerMP.processRightClickBlock(PlayerControllerMP.java:455) at net.minecraft.client.Minecraft.rightClickMouse(Minecraft.java:1692) at net.minecraft.client.Minecraft.processKeyBinds(Minecraft.java:2379) at net.minecraft.client.Minecraft.runTickKeyboard(Minecraft.java:2145) -- Affected level -- Details: Level name: MpServer All players: 1 total; [EntityPlayerSP['Player993'/247, l='MpServer', x=174.83, y=71.96, z=407.37]] Chunk stats: MultiplayerChunkCache: 585, 585 Level seed: 0 Level generator: ID 00 - default, ver 1. Features enabled: false Level generator options: Level spawn location: World: (280,64,278), Chunk: (at 8,4,6 in 17,17; contains blocks 272,0,272 to 287,255,287), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 59578 game time, 3631 day time Level dimension: 0 Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false Forced entities: 102 total; [EntityCreeper['Creeper'/2, l='MpServer', x=99.42, y=24.00, z=442.50], EntityZombieVillager['Zombie Villager'/3, l='MpServer', x=108.50, y=48.00, z=365.50], EntityCreeper['Creeper'/4, l='MpServer', x=109.50, y=18.00, z=405.50], EntityBat['Bat'/5, l='MpServer', x=104.63, y=20.42, z=407.48], EntityBat['Bat'/6, l='MpServer', x=99.29, y=41.09, z=406.64], EntitySkeleton['Skeleton'/7, l='MpServer', x=111.54, y=27.00, z=450.72], EntitySquid['Squid'/9, l='MpServer', x=121.49, y=55.07, z=354.75], EntityZombie['Zombie'/10, l='MpServer', x=127.50, y=25.00, z=408.50], EntityCreeper['Creeper'/11, l='MpServer', x=122.50, y=16.00, z=408.50], EntityPig['Pig'/267, l='MpServer', x=157.69, y=64.00, z=480.48], EntityZombie['Zombie'/12, l='MpServer', x=122.77, y=11.00, z=463.45], EntityZombie['Zombie'/13, l='MpServer', x=112.50, y=32.00, z=450.50], EntityBat['Bat'/14, l='MpServer', x=128.49, y=38.10, z=462.52], EntityBat['Bat'/270, l='MpServer', x=238.34, y=28.92, z=485.37], EntitySkeleton['Skeleton'/15, l='MpServer', x=141.50, y=32.00, z=350.50], EntityZombie['Zombie'/271, l='MpServer', x=235.19, y=30.00, z=484.81], EntitySquid['Squid'/16, l='MpServer', x=139.46, y=59.25, z=344.96], EntitySquid['Squid'/17, l='MpServer', x=142.82, y=55.99, z=353.74], EntitySquid['Squid'/18, l='MpServer', x=132.87, y=62.29, z=351.17], EntitySkeleton['Skeleton'/19, l='MpServer', x=134.50, y=36.00, z=357.50], EntitySquid['Squid'/20, l='MpServer', x=142.72, y=60.99, z=385.50], EntitySquid['Squid'/21, l='MpServer', x=132.13, y=62.47, z=402.72], EntityZombie['Zombie'/22, l='MpServer', x=128.50, y=25.00, z=408.50], EntityWitch['Witch'/23, l='MpServer', x=139.07, y=18.00, z=413.49], EntityZombie['Zombie'/24, l='MpServer', x=128.90, y=17.00, z=411.51], EntityZombie['Zombie'/25, l='MpServer', x=139.50, y=17.00, z=408.50], EntityBat['Bat'/26, l='MpServer', x=121.75, y=16.67, z=411.65], EntityBat['Bat'/27, l='MpServer', x=128.56, y=42.02, z=417.42], EntitySquid['Squid'/28, l='MpServer', x=129.72, y=62.32, z=435.01], EntitySquid['Squid'/29, l='MpServer', x=133.60, y=62.06, z=430.65], EntitySquid['Squid'/30, l='MpServer', x=129.34, y=57.22, z=439.01], EntitySquid['Squid'/31, l='MpServer', x=125.24, y=61.60, z=441.04], EntityCreeper['Creeper'/32, l='MpServer', x=135.49, y=14.00, z=457.84], EntityCreeper['Creeper'/33, l='MpServer', x=132.30, y=15.00, z=460.43], EntityWitch['Witch'/34, l='MpServer', x=130.50, y=17.00, z=462.50], EntitySquid['Squid'/37, l='MpServer', x=162.98, y=59.51, z=343.54], EntitySkeleton['Skeleton'/38, l='MpServer', x=158.50, y=35.00, z=352.50], EntitySkeleton['Skeleton'/39, l='MpServer', x=147.02, y=14.00, z=394.61], EntitySkeleton['Skeleton'/40, l='MpServer', x=145.50, y=15.00, z=391.50], EntitySkeleton['Skeleton'/41, l='MpServer', x=149.50, y=30.00, z=410.50], EntityPlayerSP['Player993'/247, l='MpServer', x=174.83, y=71.96, z=407.37], EntityZombie['Zombie'/42, l='MpServer', x=146.50, y=30.00, z=402.50], EntityZombie['Zombie'/43, l='MpServer', x=150.50, y=18.00, z=415.76], EntityBat['Bat'/44, l='MpServer', x=156.32, y=41.10, z=414.39], EntitySkeleton['Skeleton'/45, l='MpServer', x=147.50, y=30.00, z=424.50], EntityZombie['Zombie'/46, l='MpServer', x=145.50, y=17.00, z=420.50], EntitySkeleton['Skeleton'/47, l='MpServer', x=158.50, y=26.00, z=429.50], EntityCreeper['Creeper'/48, l='MpServer', x=154.50, y=26.00, z=433.50], EntityBat['Bat'/49, l='MpServer', x=155.75, y=35.10, z=451.67], EntityPig['Pig'/50, l='MpServer', x=157.77, y=64.00, z=463.52], EntityBat['Bat'/51, l='MpServer', x=156.40, y=19.88, z=472.60], EntitySkeleton['Skeleton'/54, l='MpServer', x=165.50, y=22.00, z=367.50], EntityBat['Bat'/55, l='MpServer', x=160.25, y=33.10, z=364.75], EntityCreeper['Creeper'/56, l='MpServer', x=166.50, y=20.00, z=383.50], EntityPig['Pig'/57, l='MpServer', x=163.74, y=65.00, z=468.54], EntityCreeper['Creeper'/59, l='MpServer', x=180.50, y=23.00, z=335.50], EntityZombie['Zombie'/60, l='MpServer', x=188.50, y=10.00, z=371.50], EntityCreeper['Creeper'/61, l='MpServer', x=186.50, y=20.00, z=372.50], EntityEnderman['Enderman'/62, l='MpServer', x=183.61, y=20.00, z=369.50], EntityZombie['Zombie'/63, l='MpServer', x=187.19, y=52.00, z=397.44], EntityPig['Pig'/64, l='MpServer', x=181.51, y=65.00, z=451.22], EntityPig['Pig'/65, l='MpServer', x=181.31, y=63.00, z=476.78], EntityBat['Bat'/66, l='MpServer', x=186.37, y=54.07, z=481.72], EntityZombie['Zombie'/67, l='MpServer', x=201.78, y=17.00, z=342.52], EntitySpider['Spider'/68, l='MpServer', x=206.50, y=14.00, z=339.50], EntityPig['Pig'/69, l='MpServer', x=193.70, y=68.00, z=366.49], EntitySheep['Sheep'/70, l='MpServer', x=202.50, y=68.00, z=362.77], EntityPig['Pig'/71, l='MpServer', x=198.49, y=55.00, z=460.78], EntityEnderman['Enderman'/83, l='MpServer', x=217.30, y=27.00, z=342.30], EntitySkeleton['Skeleton'/84, l='MpServer', x=217.96, y=27.00, z=342.70], EntitySheep['Sheep'/85, l='MpServer', x=216.28, y=72.00, z=380.18], EntityChicken['Chicken'/86, l='MpServer', x=210.14, y=70.00, z=368.50], EntitySkeleton['Skeleton'/87, l='MpServer', x=223.50, y=32.00, z=409.50], EntityPig['Pig'/88, l='MpServer', x=223.69, y=64.00, z=466.47], EntityZombie['Zombie'/93, l='MpServer', x=234.50, y=45.00, z=350.50], EntitySkeleton['Skeleton'/94, l='MpServer', x=239.50, y=24.00, z=355.50], EntitySkeleton['Skeleton'/95, l='MpServer', x=238.50, y=39.00, z=362.50], EntityCreeper['Creeper'/96, l='MpServer', x=225.50, y=20.00, z=378.50], EntitySkeleton['Skeleton'/97, l='MpServer', x=226.50, y=59.00, z=439.50], EntitySkeleton['Skeleton'/98, l='MpServer', x=225.50, y=15.00, z=467.50], EntityZombie['Zombie'/99, l='MpServer', x=236.50, y=38.00, z=464.50], EntityZombie['Zombie'/100, l='MpServer', x=232.43, y=38.00, z=466.75], EntityZombie['Zombie'/102, l='MpServer', x=241.50, y=21.00, z=356.50], EntityZombie['Zombie'/103, l='MpServer', x=244.81, y=20.17, z=361.49], EntityEnderman['Enderman'/104, l='MpServer', x=241.50, y=43.00, z=365.50], EntityZombie['Zombie'/105, l='MpServer', x=241.01, y=43.00, z=358.70], EntityZombie['Zombie'/106, l='MpServer', x=240.30, y=43.00, z=358.43], EntityZombie['Zombie'/107, l='MpServer', x=252.49, y=59.00, z=365.24], EntityCreeper['Creeper'/108, l='MpServer', x=245.50, y=29.00, z=378.50], EntityCreeper['Creeper'/110, l='MpServer', x=251.50, y=22.00, z=378.50], EntityCreeper['Creeper'/111, l='MpServer', x=251.50, y=22.00, z=379.50], EntitySkeleton['Skeleton'/114, l='MpServer', x=244.51, y=38.00, z=370.67], EntitySkeleton['Skeleton'/115, l='MpServer', x=253.06, y=38.00, z=383.43], EntityZombie['Zombie'/116, l='MpServer', x=249.48, y=38.00, z=367.67], EntityBat['Bat'/117, l='MpServer', x=250.73, y=23.73, z=377.47], EntitySkeleton['Skeleton'/119, l='MpServer', x=250.54, y=64.00, z=424.50], EntityBat['Bat'/121, l='MpServer', x=243.25, y=30.10, z=460.75], EntityCreeper['Creeper'/122, l='MpServer', x=246.56, y=69.00, z=460.43], EntityPig['Pig'/123, l='MpServer', x=251.16, y=74.00, z=474.32], EntitySheep['Sheep'/124, l='MpServer', x=251.74, y=82.00, z=465.46], EntitySheep['Sheep'/130, l='MpServer', x=254.44, y=94.00, z=451.24], EntityPig['Pig'/255, l='MpServer', x=173.26, y=65.00, z=484.53]] Retry entities: 0 total; [] Server brand: fml,forge Server type: Integrated singleplayer server Stacktrace: at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:461) at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2896) at net.minecraft.client.Minecraft.run(Minecraft.java:470) at net.minecraft.client.main.Main.main(Main.java:118) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) at GradleStart.main(GradleStart.java:25) -- System Details -- Details: Minecraft Version: 1.12.2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_161, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 421376640 bytes (401 MB) / 787480576 bytes (751 MB) up to 1881145344 bytes (1794 MB) JVM Flags: 0 total; IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95 FML: MCP 9.42 Powered by Forge 14.23.1.2581 5 mods loaded, 5 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 | |:--------- |:------------- |:------------ |:-------------------------------- |:--------- | | UCHIJAAAA | minecraft | 1.12.2 | minecraft.jar | None | | UCHIJAAAA | mcp | 9.42 | minecraft.jar | None | | UCHIJAAAA | FML | 8.0.99.99 | forgeSrc-1.12.2-14.23.1.2581.jar | None | | UCHIJAAAA | forge | 14.23.1.2581 | forgeSrc-1.12.2-14.23.1.2581.jar | None | | UCHIJAAAA | plasmacannons | 0.1 | PlasmaCannon_2581_main | None | Loaded coremods (and transformers): GL info: ' Vendor: 'Intel' Version: '4.5.0 - Build 22.20.16.4749' Renderer: 'Intel(R) HD Graphics 620' Launched Version: 1.12.2 LWJGL: 2.9.4 OpenGL: Intel(R) HD Graphics 620 GL version 4.5.0 - Build 22.20.16.4749, Intel 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: Yes 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) CPU: 4x Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
  23. I don't understand how is the tile already created before onBlockAdded, onBlockActivated? I mean you cannot create tile without pos but the only 2 methods that have pos are onBlockAdded and onBlockActivated. And by the way, I already tried make the tile all local, and when i right click on the block the game crashes.
  24. if i make TileEntityPlasmaCannon tile local, than i will have to make another tile in onBlockAdded and that will crash the game. so i cannot use 2 different local tile in onBlockAdded and onBlockActivated.
×
×
  • Create New...

Important Information

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