Jump to content

iame6162013

Forge Modder
  • Posts

    43
  • Joined

  • Last visited

Everything posted by iame6162013

  1. Honestly, fix the texture errors. it can be that there is an other important error in there that we missed. and the error didn't start there, you might have added your entity wrong. or something. net.minecraft.util.ReportedException: Ticking entity at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:709) ~[MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) ~[MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) ~[integratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?] Caused by: java.util.ConcurrentModificationException at java.util.ArrayList$Itr.checkForComodification(Unknown Source) ~[?:1.8.0_45] at java.util.ArrayList$Itr.next(Unknown Source) ~[?:1.8.0_45] at net.minecraft.entity.ai.EntityAITasks.onUpdateTasks(EntityAITasks.java:70) ~[EntityAITasks.class:?] at net.minecraft.entity.EntityLiving.updateAITasks(EntityLiving.java:613) ~[EntityLiving.class:?] at net.minecraft.entity.EntityLivingBase.onLivingUpdate(EntityLivingBase.java:1981) ~[EntityLivingBase.class:?] at net.minecraft.entity.EntityLiving.onLivingUpdate(EntityLiving.java:431) ~[EntityLiving.class:?] at net.minecraft.entity.monster.EntityMob.onLivingUpdate(EntityMob.java:39) ~[EntityMob.class:?] at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:1814) ~[EntityLivingBase.class:?] at net.minecraft.entity.EntityLiving.onUpdate(EntityLiving.java:250) ~[EntityLiving.class:?] at net.minecraft.entity.monster.EntityMob.onUpdate(EntityMob.java:47) ~[EntityMob.class:?] at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2298) ~[World.class:?] at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:684) ~[WorldServer.class:?] at net.minecraft.world.World.updateEntity(World.java:2258) ~[World.class:?] at net.minecraft.world.World.updateEntities(World.java:2108) ~[World.class:?] at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:515) ~[WorldServer.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:703) ~[MinecraftServer.class:?] ... 4 more [16:11:20] [server thread/ERROR]: This crash report has been saved to: C:\Users\Boone.mcfuzz\Desktop\Olympians Mod\eclipse\.\crash-reports\crash-2015-10-08_16.11.20-server.txt [16:11:20] [server thread/INFO]: Stopping server [16:11:20] [server thread/INFO]: Saving players [16:11:20] [server thread/INFO]: Saving worlds [16:11:20] [server thread/INFO]: Saving chunks for level 'New World'/Overworld [16:11:20] [server thread/INFO]: Saving chunks for level 'New World'/Nether [16:11:20] [server thread/INFO]: Saving chunks for level 'New World'/The End [16:11:20] [Client thread/INFO] [sTDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: ---- Minecraft Crash Report ---- // I let you down. Sorry Time: 10/8/15 4:11 PM Description: Ticking entity java.util.ConcurrentModificationException at java.util.ArrayList$Itr.checkForComodification(Unknown Source) at java.util.ArrayList$Itr.next(Unknown Source) at net.minecraft.entity.ai.EntityAITasks.onUpdateTasks(EntityAITasks.java:70) at net.minecraft.entity.EntityLiving.updateAITasks(EntityLiving.java:613) at net.minecraft.entity.EntityLivingBase.onLivingUpdate(EntityLivingBase.java:1981) at net.minecraft.entity.EntityLiving.onLivingUpdate(EntityLiving.java:431) at net.minecraft.entity.monster.EntityMob.onLivingUpdate(EntityMob.java:39) at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:1814) at net.minecraft.entity.EntityLiving.onUpdate(EntityLiving.java:250) at net.minecraft.entity.monster.EntityMob.onUpdate(EntityMob.java:47) at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2298) at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:684) at net.minecraft.world.World.updateEntity(World.java:2258) at net.minecraft.world.World.updateEntities(World.java:2108) at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:515) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:703) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at java.util.ArrayList$Itr.checkForComodification(Unknown Source) at java.util.ArrayList$Itr.next(Unknown Source) at net.minecraft.entity.ai.EntityAITasks.onUpdateTasks(EntityAITasks.java:70) at net.minecraft.entity.EntityLiving.updateAITasks(EntityLiving.java:613) at net.minecraft.entity.EntityLivingBase.onLivingUpdate(EntityLivingBase.java:1981) at net.minecraft.entity.EntityLiving.onLivingUpdate(EntityLiving.java:431) at net.minecraft.entity.monster.EntityMob.onLivingUpdate(EntityMob.java:39) at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:1814) at net.minecraft.entity.EntityLiving.onUpdate(EntityLiving.java:250) at net.minecraft.entity.monster.EntityMob.onUpdate(EntityMob.java:47) at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2298) at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:684) at net.minecraft.world.World.updateEntity(World.java:2258) -- Entity being ticked -- Details: Entity Type: theolympiansmod.EntityWarrior (com.OlympiansMod.entity.EntityWarrior) Entity ID: 69 Entity Name: entity.theolympiansmod.EntityWarrior.name Entity's Exact location: -86.51, 63.00, 32.70 Entity's Block location: World: (-87,63,32), Chunk: (at 9,3,0 in -6,2; contains blocks -96,0,32 to -81,255,47), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511) Entity's Momentum: -0.63, -0.08, -0.04 Stacktrace: at net.minecraft.world.World.updateEntities(World.java:2108) at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:515) -- Affected level -- Details: Level name: New World All players: 1 total; [EntityPlayerMP['Player943'/152, l='New World', x=-80.93, y=63.00, z=30.37]] Chunk stats: ServerChunkCache: 262 Drop: 0 Level seed: -2922075598909890837 Level generator: ID 00 - default, ver 1. Features enabled: true Level generator options: Level spawn location: World: (-74,64,32), Chunk: (at 6,4,0 in -5,2; contains blocks -80,0,32 to -65,255,47), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511) Level time: 38321 game time, 1294 day time Level dimension: 0 Level storage version: 0x04ABD - Anvil Level weather: Rain time: 14258 (now: false), thunder time: 50277 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true Stacktrace: at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:703) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 8.1 (amd64) version 6.3 Java Version: 1.8.0_45, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 801293048 bytes (764 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95 FML: MCP v9.05 FML v7.10.85.1230 Minecraft Forge 10.13.2.1230 4 mods loaded, 4 mods active mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available FML{7.10.85.1230} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1230.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Forge{10.13.2.1230} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1230.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available theolympiansmod{0.1} [The Olympians Mod] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Player Count: 1 / 8; [EntityPlayerMP['Player943'/152, l='New World', x=-80.93, y=63.00, z=30.37]] Type: Integrated Server (map_client.txt) Is Modded: Definitely; Client brand changed to 'fml,forge' [16:11:20] [Client thread/INFO] [sTDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:393]: #@!@# Game crashed! Crash report saved to: #@!@# .\crash-reports\crash-2015-10-08_16.11.20-server.txt [16:11:20] [Client thread/INFO] [FML]: Waiting for the server to terminate/save. [16:11:21] [server thread/INFO] [FML]: Unloading dimension 0 [16:11:21] [server thread/INFO] [FML]: Unloading dimension -1 [16:11:21] [server thread/INFO] [FML]: Unloading dimension 1 [16:11:21] [server thread/INFO] [FML]: Applying holder lookups [16:11:21] [server thread/INFO] [FML]: Holder lookups applied [16:11:21] [server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded. [16:11:21] [Client thread/INFO] [FML]: Server terminated. AL lib: (EE) alc_cleanup: 1 device not closed Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
  2. thank you for clearing that up.
  3. I am wondering how to have scala and java in one project since (from what I know scala and java work together). but there is a modLanguage variable in the @mod class so I suppose I can only have one? is this correct? (because I have added scala to my workspace end redone gradlew eclipse and it doesn't load my mod?) ok now it's just acting really weird. nope it's isn't working again?
  4. how do I make it so gradle can install the latest and greatest forge(1.8-11.14.3.1509)? since I am getting this errorwhile using "gradlew setupDecompWorkspace": :recompileMc [ant:javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [ant:javac] C:\Users\Aron\Desktop\Save Map\programming\Minecraft\forge-src\build\tmp\recompileMc\sources\net\minecraftforge\client\ForgeHooksClient.java:698: error: cannot find symbol [ant:javac] TileEntitySpecialRenderer r = TileEntityRendererDispatcher.field_147556_a [ant:javac] ^ [ant:javac] symbol: variable field_147556_a [ant:javac] location: class TileEntityRendererDispatcher [ant:javac] Note: Some input files use or override a deprecated API. [ant:javac] Note: Recompile with -Xlint:deprecation for details. [ant:javac] Note: Some input files use unchecked or unsafe operations. [ant:javac] Note: Recompile with -Xlint:unchecked for details. [ant:javac] 1 error [ant:javac] 1 warning :recompileMc FAILED there appears to me to be a bug in the downloaded code, and would there be a way to make it use forge's github code? since there it is fixed and I don't know where I would go about changing the sources gradle uses to compile mc
  5. @thebest108 you know you can get the mcp names right? then you know what func_180426_a mean instead of it being obfuscated. it's much easier to read when it isn't obfucated. (update your mcp bindings forge gives really old bindings)
  6. >.> you need to use blockPos now, onBlockPlacedBy uses world, BlockPos, EntityLivingBase, ItemStack getTileEntity, markBlockForUpdate also require BlockPos
  7. ... Did I really make that rookie mistake? Wow thank you! (I just thought it stored it's own array)
  8. I have a helper class to help me make BakedQuad's but only the last quad created by that class get's rendered. I can still draw quads created by faceBakery.makeBakedQuad() after that(or before it just only the last quad created with 'faceBaker' will be shown) the quad's I'm trying to draw(vertexData: x,y,z, shadecolor, u,v) the first one is the quad created by faceBakery.makeBakedQuad(), the other 2 are created by 'faceBaker' and only the 1 and 3 quad get drawn (I can move the first quad to the back and it will still get drawn.) [12:40:08] [Client thread/INFO] [sTDOUT]: [MinE.client.renderer.isbrh.ModelCrystal:getGeneralQuads:60]: {10.0, 10.0, 16.0, NaN, 0.06251953, 0.10547363, 0.0} [12:40:08] [Client thread/INFO] [sTDOUT]: [MinE.client.renderer.isbrh.ModelCrystal:getGeneralQuads:60]: {10.0, 6.0, 16.0, NaN, 0.06251953, 0.11327637, 0.0} [12:40:08] [Client thread/INFO] [sTDOUT]: [MinE.client.renderer.isbrh.ModelCrystal:getGeneralQuads:60]: {10.0, 6.0, 10.0, NaN, 0.07422363, 0.11327637, 0.0} [12:40:08] [Client thread/INFO] [sTDOUT]: [MinE.client.renderer.isbrh.ModelCrystal:getGeneralQuads:60]: {10.0, 10.0, 10.0, NaN, 0.07422363, 0.10547363, 0.0} [12:40:08] [Client thread/INFO] [sTDOUT]: [MinE.client.renderer.isbrh.ModelCrystal:getGeneralQuads:85]: {0.0, 6.0, 8.0, NaN, 0.06251953, 0.09376953, 0.0} [12:40:08] [Client thread/INFO] [sTDOUT]: [MinE.client.renderer.isbrh.ModelCrystal:getGeneralQuads:85]: {0.0, 6.0, 8.0, NaN, 0.06251953, 0.12498047, 0.0} [12:40:08] [Client thread/INFO] [sTDOUT]: [MinE.client.renderer.isbrh.ModelCrystal:getGeneralQuads:85]: {8.0, 6.0, 0.0, NaN, 0.09373047, 0.12498047, 0.0} [12:40:08] [Client thread/INFO] [sTDOUT]: [MinE.client.renderer.isbrh.ModelCrystal:getGeneralQuads:85]: {8.0, 0.0, 8.0, NaN, 0.09373047, 0.09376953, 0.0} [12:40:08] [Client thread/INFO] [sTDOUT]: [MinE.client.renderer.isbrh.ModelCrystal:getGeneralQuads:105]: {16.0, 6.0, 8.0, NaN, 0.06251953, 0.09376953, 0.0} [12:40:08] [Client thread/INFO] [sTDOUT]: [MinE.client.renderer.isbrh.ModelCrystal:getGeneralQuads:105]: {16.0, 6.0, 8.0, NaN, 0.06251953, 0.12498047, 0.0} [12:40:08] [Client thread/INFO] [sTDOUT]: [MinE.client.renderer.isbrh.ModelCrystal:getGeneralQuads:105]: {8.0, 6.0, 16.0, NaN, 0.09373047, 0.12498047, 0.0} [12:40:08] [Client thread/INFO] [sTDOUT]: [MinE.client.renderer.isbrh.ModelCrystal:getGeneralQuads:105]: {8.0, 0.0, 8.0, NaN, 0.09373047, 0.09376953, 0.0} package MinE.client.renderer.isbrh; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import net.minecraft.client.renderer.block.model.BakedQuad; import net.minecraft.client.renderer.block.model.BlockFaceUV; import net.minecraft.client.renderer.block.model.BlockPartFace; import net.minecraft.client.renderer.block.model.BlockPartRotation; import net.minecraft.client.renderer.block.model.FaceBakery; import net.minecraft.client.renderer.texture.TextureAtlasSprite; import net.minecraft.client.resources.model.ModelRotation; import net.minecraft.util.EnumFacing; public class FaceBaker { static FaceBakery faceBakery = new FaceBakery(); int[] vert =new int[28]; int vertexPossition=0; BlockFaceUV faceUV; /** * add vertex * * @param x * @param y * @param z */ public void addVertex(float x, float y, float z, float u, float v){ if(vertexPossition>3){vertexPossition=0; for(int i=0; i<28; i++){vert[i]=0;}} int l = vertexPossition*7; vert[l]=Float.floatToIntBits(x/16); vert[l+1]=Float.floatToIntBits(y/16); vert[l+2]=Float.floatToIntBits(z/16); vert[l+3]=-1; vert[l+4]=Float.floatToIntBits(u); vert[l+5]=Float.floatToIntBits(v); vert[l+6]=Float.floatToIntBits(0); vertexPossition++; } /** * requires 3*4 ints(floats(floatToRawIntBits)) * * @param vertex * @return BakedQuad */ public BakedQuad makeBaked(int[] vertex){ BakedQuad bakedQuad = new BakedQuad(vertex, 0, EnumFacing.UP); return bakedQuad; } /** * makes the vertexes into a quad * * @return BakedQuad */ public BakedQuad getbaked(EnumFacing f){ BakedQuad bakedQuad = new BakedQuad(vert, 0, f); return bakedQuad; } } @Override public List getGeneralQuads() { List<BakedQuad> list = new ArrayList(); ModelRotation modelRot = ModelRotation.X0_Y0; BlockFaceUV uv = new BlockFaceUV(new float[] { 0.0F, 0.0F, 16.0F, 16.0F }, 0); BlockPartFace face = new BlockPartFace(null, 0, "", uv); list.add(faceBaker.faceBakery.makeBakedQuad(new Vector3f(10.0F, 6.0F, 10.0F), new Vector3f(10.0F, 10.0F, 16.0F), face, redstoneTexture, EnumFacing.EAST, modelRot, null, true, true)); int[] vert = list.get(list.size()-1).getVertexData(); for(int m=0; m<4; m++){ int n = m*7; System.out.println("{"+ Float.intBitsToFloat(vert[n])*16f+", "+ Float.intBitsToFloat(vert[n+1])*16f+", "+ Float.intBitsToFloat(vert[n+2])*16f+", "+ Float.intBitsToFloat(vert[n+3])+", "+ Float.intBitsToFloat(vert[n+4])+", "+ Float.intBitsToFloat(vert[n+5])+", "+ Float.intBitsToFloat(vert[n+6])+"}"); } float i = redstoneTexture.getMinU(); float j = redstoneTexture.getMinV(); float k = redstoneTexture.getMaxU(); float l = redstoneTexture.getMaxV(); faceBaker.addVertex(0, 6, 8, i, j); faceBaker.addVertex(0, 6, 8, i, l); faceBaker.addVertex(8, 6, 0, k, l); faceBaker.addVertex(8, 0, 8, k, j); list.add(faceBaker.getbaked(EnumFacing.DOWN)); vert = list.get(list.size()-1).getVertexData(); for(int m=0; m<4; m++){ int n = m*7; System.out.println("{"+ Float.intBitsToFloat(vert[n])*16f+", "+ Float.intBitsToFloat(vert[n+1])*16f+", "+ Float.intBitsToFloat(vert[n+2])*16f+", "+ Float.intBitsToFloat(vert[n+3])+", "+ Float.intBitsToFloat(vert[n+4])+", "+ Float.intBitsToFloat(vert[n+5])+", "+ Float.intBitsToFloat(vert[n+6])+"}"); } faceBaker.addVertex(16, 6, 8, i, j); faceBaker.addVertex(16, 6, 8, i, l); faceBaker.addVertex(8, 6, 16, k, l); faceBaker.addVertex(8, 0, 8, k, j); list.add(faceBaker.getbaked(EnumFacing.EAST)); vert = list.get(list.size()-1).getVertexData(); for(int m=0; m<4; m++){ int n = m*7; System.out.println("{"+ Float.intBitsToFloat(vert[n])*16f+", "+ Float.intBitsToFloat(vert[n+1])*16f+", "+ Float.intBitsToFloat(vert[n+2])*16f+", "+ Float.intBitsToFloat(vert[n+3])+", "+ Float.intBitsToFloat(vert[n+4])+", "+ Float.intBitsToFloat(vert[n+5])+", "+ Float.intBitsToFloat(vert[n+6])+"}"); } return list; }
  9. what are your pc's specs and how long does it normally take?
  10. I think you could use ISmartBlockModel and get all the states of a block and change the vertices manually (if you want to know how google matrixes transformations, it will take some time to find).
  11. I know but, 1) wouldn't that be a waste if gpu power? (not that I think my gpu can't handle it but.) 2) how? if we use list.add(faceBakery.makeBakedQuad(new Vector3f(6.0F, 10.0F, 10.0F), new Vector3f(10.0F, 10.0F, 16.0F), face, redstoneTexture, EnumFacing.UP, modelRot, null, true, true)); we specify 2 points not 4. or can we create our own BakedQuad? and if so how?
  12. how do I draw triangles with ISmartBlockModel? or is there an alternative?
  13. the year, you pc says that you live in the year 2558, this is incorrect currently the year is 2015. (but then again, you live in Bangkok maybe you use a different system?)
  14. you go to your user file, then to .gradle then you search for .csv files(you can open them with exel and notepad,..)
  15. an IBlockState is still limited by 4 bits am I correct about this? if so how would I ever fit 3 integer's in it? (I've read about ExtendedBlockState but I've read this only worked on the client side, because you couldn't send more than 4 bits, I have also read this (http://www.minecraftforge.net/forum/index.php/topic,28714.0.html) but here they use once again an ExtendedBlockState)
  16. you could store when it was last pressed and then ignore it for a specific amount of time(ticks or time(for laggy servers)).
  17. ok, but then how would I go about not using a tesr? I don't ever change what I render at a specific location, so how would I do this then?
  18. well how do I access a blocks position in the ISmartBlockModel?
  19. How would I go about trying to figure out if a block changed in a chunk that one of my blocks is in, I would also like to know how to see if a block changed in a chunk that's next to the chunk my block is in. I think I could do this using the BlockEvent, but this event would be called all over the world but I only need to monitor a few chunks so this wouldn't be very handy. Do you guys know a better way to do this?
  20. "item == new ItemStack(Items.baked_potato)" I think this is wrong... (because nothing will ever be == to it.)
  21. what are you using? a tesr or a model? if you use a tesr just put a break statement at the top of your function
×
×
  • Create New...

Important Information

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