
skullywag
Members-
Posts
102 -
Joined
-
Last visited
Converted
-
Gender
Undisclosed
-
Personal Text
I am new!
skullywag's Achievements

Creeper Killer (4/8)
0
Reputation
-
[1.7.10-pre-4] Minecraft won't even start
skullywag replied to lolmaster's topic in Support & Bug Reports
I worked it out, my folder structure was all wrong, couldnt get it to work on my laptop, tried my desktop and it worked but realised i had the build tools 1 level too deep. Switched to my lappy and did it again with the build tools 1 level up and it works now. -
[1.7.10-pre-4] Minecraft won't even start
skullywag replied to lolmaster's topic in Support & Bug Reports
edit 2 - actually does it with the latest version as well get this when launching from within eclipese Time: 28/06/14 16:10 Description: Initializing game java.lang.NullPointerException: Initializing game at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:213) at com.google.common.base.Joiner.toString(Joiner.java:433) at com.google.common.base.Joiner.appendTo(Joiner.java:111) at com.google.common.base.Joiner.appendTo(Joiner.java:152) at com.google.common.base.Joiner.join(Joiner.java:193) at com.google.common.base.Joiner.join(Joiner.java:183) at cpw.mods.fml.common.ModMetadata.getAuthorList(ModMetadata.java:69) at cpw.mods.fml.common.FMLModContainer.getSharedModDescriptor(FMLModContainer.java:588) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:259) at net.minecraft.client.Minecraft.startGame(Minecraft.java:532) at net.minecraft.client.Minecraft.run(Minecraft.java:941) at net.minecraft.client.main.Main.main(Main.java:164) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) 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 com.google.common.base.Preconditions.checkNotNull(Preconditions.java:213) at com.google.common.base.Joiner.toString(Joiner.java:433) at com.google.common.base.Joiner.appendTo(Joiner.java:111) at com.google.common.base.Joiner.appendTo(Joiner.java:152) at com.google.common.base.Joiner.join(Joiner.java:193) at com.google.common.base.Joiner.join(Joiner.java:183) at cpw.mods.fml.common.ModMetadata.getAuthorList(ModMetadata.java:69) at cpw.mods.fml.common.FMLModContainer.getSharedModDescriptor(FMLModContainer.java:588) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:259) at net.minecraft.client.Minecraft.startGame(Minecraft.java:532) -- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.run(Minecraft.java:941) at net.minecraft.client.main.Main.main(Main.java:164) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.7.0_60, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 705525424 bytes (672 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: 0, tallocated: 0 FML: MCP v9.05 FML v7.10.1.1152 Minecraft Forge 10.13.0.1152 4 mods loaded, 4 mods active mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized FML{7.10.1.1152} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.0.1152.jar) Unloaded->Constructed->Pre-initialized Forge{10.13.0.1152} [Minecraft Forge] (forgeSrc-1.7.10-10.13.0.1152.jar) Unloaded->Constructed->Pre-initialized SpawnCrystals{1.7.2-1.0} [spawn Crystals] (bin) Unloaded->Constructed->Pre-initialized Launched Version: 1.7 LWJGL: 2.9.1 OpenGL: Intel® HD Graphics 4400 GL version 4.0.0 - Build 9.18.10.3257, Intel GL Caps: Using GL 1.3 multitexturing. Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. Anisotropic filtering is supported and maximum anisotropy is 16. Shaders are available because OpenGL 2.1 is supported. Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: [] Current Language: ~~ERROR~~ NullPointerException: null Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Anisotropic Filtering: Off (1) -
[1.6.4]getBlockDropped...called after tile entity removed?
skullywag replied to skullywag's topic in Modder Support
ah probably should have posted that I already figured this out, its in breakBlock, but thanks for the reply. But o do have another problem related to this, my blocks change meta IDS on update so the blockBreak fires even though the block hasnt been "broken" how would I get around this...my initial question in OP still stands -
Hi all, If I want to check that a block of mine is being placed on top of a valid block and im building a list of these blocks and I want to include things like oreCopper, oreTin etc.. even if my mod doesnt implement these ores do I have to create a block and register it in the OreDict or can I add something else to the list that signifies oreCopper etc... for example: public static Object[] allowedBlocks = new Object[] {Block.oreCoal, Block.oreDiamond}; how would I add copper ore to that? or is there a better way of doing this?
-
your issue is here: //ingot crafting recipe GameRegistry.addRecipe(new ItemStack(DMarble), new Object[] {" S ","SMS ", 'M', Marble, 'S', SIingot}); you have an extra space on the second line of the recipe. The log tells you this: at b.OOMOD.OOmain.Load(OOmain.java:223) = check line 223.
-
[Half-Solved]1.6.4 Forge OBJ Block Texture, and Not Solid
skullywag replied to SuperHB's topic in Modder Support
Think it was a (not so) subtle hint, asking you to post your code so far. -
Hi all, Me again. One of those nights. So im trying to add some meta items to the drop array of a block using getBlockDropped, the issue is that I cannot get a the tile entity for said block inside this method which I need to do as it contains data i need to decide what item to drop, im guessing its called after the tile entity is removed however if i remove the block under my block (my block has a canStay method) it gets the TE and drops the right item. So for actual block breakage should I be doing this higher up the chain somewhere and if so where? just to confirm the process i want, my block when in meta 0,1,2 and 3 if destroyed will drop an item of metas 0-15 based on an NBT tag value on the TE. If its meta is 4 it drops a different item (with meta 0) so no problems there this works.
-
Edit - ignore im being an idiot. The help text on this method is really wrong... ok so, is there an issue with really low level light, like using 10+ in setLightLevel when i place 4 blocks next to each other in a 2x2 the middle goes dark... edit - ok now its not....what the hell is going on with my lighting...
-
yeah i got my numbers wrong, the post is correct. Straight returning the check as per above does not work i end up with no light emitted. So has anyone got meta block based lighting working when the block updates itself, i.e im not placing separate meta ID blocks, block 0 updates itself to block 1 updates to 2, 3 and finally4 where i want the light to be a different strength.
-
Hi all, Im having issues with my blocks and lighting, the problem being that I have a block that as it grows using updateTick() it goes up through its meta blocks, so starts at meta 0 and goes up to 5. When its meta 0-4 the light value is 1 when it is meta 5 its light value is 2, ive done this via: public int getLightValue(IBlockAccess world, int x, int y, int z) { this.setLightValue(world.getBlockMetadata(x, y, z) == 4 ? 2 : 1); return lightValue[blockID]; } but when the block hits meta 5 I get a nasty shadow appear under the block and another side effect being that the light source for this block seems to move on me relogging.... and by that I mean I can break the block in the night and it still be lit up, I then need to place blocks around to find the source and kill it. (leftover TE?) what am I missing? Ill grab a pic if people need it.
-
youre gonna need to add custom particle effects, check in net.minecraft.client.particle for how vanilla does it.
-
haha I just read through your threads about this, ive got a feeling i might hit the same problem soon enough, im doing a sparkle effect on a crystal.... Cant work out where, granted im doing some fidly stuff with colours but not in anything to do with particles. Do I have to clear colours in the render engine to stop them being used in another area, like if made a te model pink and then rendered a particle white without clearing would I get pink particles? or are the renders seperate? edit - just put this in, problem went away. float colorIntensity = 1.0F; tess.setColorOpaque_F(this.particleRed * colorIntensity, this.particleGreen * colorIntensity, this.particleBlue * colorIntensity);//, 1.0F);
-
Thanks guys I took a break from modding yesterday and came back to it today and it made sense, have now got it working to my satisfaction, however I am getting a strange problem, I havent specified colour or anything in my particle code yet the particle randomly ingame switches to a blue colour. Can rendering on the block/te affect particle rendering? it seems they switch from blue (wrong) to white (correct) at random intervals for a few seconds, ive hunted through my code but cant see why this is happening. Anyone come across a similar issue before?
-
nope to cryptic for me sorry. Tried using it but cant work it out, I think going to need the players angle of view and then set it the opposite angle? ive had a few punts but to no avail. 1 more clue?
-
Hi all, Title says it all, im having issues with my particles not facing me. Ive got custom ones ingame and all that jazz but they refuse to face me, heres my code can someone see what ive missed, im guessing I need some kind of rotation detection somewhere but cant picture where. My renderParticle public void renderParticle(Tessellator tess, float partialTicks, float par3, float par4, float par5, float par6, float par7) { Minecraft.getMinecraft().renderEngine.bindTexture(texture); glDepthMask(false); glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); glAlphaFunc(GL_GREATER, 0.003921569F); tess.setBrightness(240); float scale = 0.1F *particleScale; float x = (float)(prevPosX + (posX - prevPosX) * partialTicks - interpPosX); float y = (float)(prevPosY + (posY - prevPosY) * partialTicks - interpPosY); float z = (float)(prevPosZ + (posZ - prevPosZ) * partialTicks - interpPosZ); tess.addVertexWithUV(x - par3 * scale - par6 * scale, y - par4 * scale, z - par5 * scale - par7 * scale, 0, 0); tess.addVertexWithUV(x - par3 * scale + par6 * scale, y + par4 * scale, z - par5 * scale + par7 * scale, 1, 0); tess.addVertexWithUV(x + par3 * scale + par6 * scale, y + par4 * scale, z - par5 * scale + par7 * scale, 1, 1); tess.addVertexWithUV(x + par3 * scale - par6 * scale, y - par4 * scale, z - par5 * scale - par7 * scale, 0, 1); tess.draw(); glDisable(GL_BLEND); glDepthMask(true); glAlphaFunc(GL_GREATER, 0.1F); tess.startDrawingQuads(); } My block display ticking randomly public void randomDisplayTick(World par1World, int x, int y, int z, Random random) { float x1 = (float)x + 0.5F; float y1 = (float)y + random.nextFloat(); float z1 = (float)z + 0.5F; float f4 = random.nextFloat() * 0.6F - 0.3F; float f5 = random.nextFloat() * -0.6F - -0.3F; float f = 0.52F; float f1 = random.nextFloat() * 0.6F - 0.3F; Minecraft.getMinecraft().effectRenderer.addEffect(new EffectSparkleFX(par1World, (double)(x1 + f4), (double)(y1), (double)(z1 + f5))); } and while were on this subject, anyone know how to slow down the random display tick, seems a little quick, or shall I just stick a random in the random...