Jump to content

Phantom329

Members
  • Posts

    14
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • URL
    http://www.aegisgaming.org/
  • Personal Text
    <null>

Phantom329's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Here is the tutorial that I followed, he has alot of other very usefull vidoe tutorials as well. http://www.youtube.com/watch?v=EYAt20TPyQc
  2. Thanks so much! That was the problem, I forgot about that.
  3. Here is line 87 - 90, I don't see any problem. GameRegistry.addRecipe( new ItemStack( StoneBrickTile, 4 ), new Object [] { "SS", "SS", 'S', Block.stoneSingleSlab, 1, 6 } );
  4. I just added two new blocks to my mod but for some reason it crashes MC before it can load. I looked through all of the code and could not find anything. Here is the crash report. [spoiler=Crash Report] ---- Minecraft Crash Report ---- // Daisy, daisy... Time: 11/6/13 6:49 PM Description: Initializing game java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Character at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:187) at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:245) at cpw.mods.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:240) at Phantom329.MedievalAesthetics.common.MedievalAesthetics.<init>(MedievalAesthetics.java:87) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:174) at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:514) 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 com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:194) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174) 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 com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:105) at cpw.mods.fml.common.Loader.loadMods(Loader.java:509) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:181) at net.minecraft.client.Minecraft.startGame(Minecraft.java:471) at net.minecraft.client.Minecraft.run(Minecraft.java:806) at net.minecraft.client.main.Main.main(Main.java:93) 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:131) at net.minecraft.launchwrapper.Launch.main(Launch.java:27) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:187) at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:245) at cpw.mods.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:240) at Phantom329.MedievalAesthetics.common.MedievalAesthetics.<init>(MedievalAesthetics.java:87) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:174) at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:514) 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 com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:194) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174) 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 com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:105) at cpw.mods.fml.common.Loader.loadMods(Loader.java:509) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:181) at net.minecraft.client.Minecraft.startGame(Minecraft.java:471) -- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.run(Minecraft.java:806) at net.minecraft.client.main.Main.main(Main.java:93) 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:131) at net.minecraft.launchwrapper.Launch.main(Launch.java:27) -- System Details -- Details: Minecraft Version: 1.6.4 Operating System: Windows 8 (amd64) version 6.2 Java Version: 1.7.0_40, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 762575544 bytes (727 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 Suspicious classes: FML and Forge are installed IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v8.11 FML v6.4.3.883 Minecraft Forge 9.11.0.883 4 mods loaded, 4 mods active mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed FML{6.4.3.883} [Forge Mod Loader] (bin) Unloaded->Constructed Forge{9.11.0.883} [Minecraft Forge] (bin) Unloaded->Constructed Medieval Aesthetics{0.1 Alpha} [Medieval Aesthetics] (bin) Unloaded->Errored Launched Version: 1.6 LWJGL: 2.9.0 OpenGL: GeForce 610M/PCIe/SSE2 GL version 4.2.0, NVIDIA Corporation Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Pack: Default Current Language: English (US) Profiler Position: N/A (disabled) Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
  5. @Override public TileEntity createNewTileEntity(World world) { return new TileEntityGargoyle1(); }
  6. Do you mean the block declaration? Here is that code. public static Block Gargoyle1 = new Gargoyle1( 1101, Material.rock ).setUnlocalizedName( "Gargoyle1" );
  7. I acually fixed that before, that wasn't the problem.
  8. I have been trying to get my texture to render for my Gargoyle but it always shows up as the missing texture purple and black squares or no texture at all and all I can see is the hit box. I have not been able to find a fix for this. Please help me. The texture is at Medieval Aesthetics 1.6.4/mcp/src/minecraft/assets/medievalaesthetics/textures/blocks/modelgargoyle1texture.png Here is the render class package Phantom329.MedievalAesthetics.TileEntity; import org.lwjgl.opengl.GL11; import Phantom329.MedievalAesthetics.blockmodels.ModelGargoyle1; import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.ResourceLocation; public class TileEntityGargoyle1Renderer extends TileEntitySpecialRenderer { private static final ResourceLocation Gargoyle1 = new ResourceLocation( "medievalaesthetics:textures/blocks/modelgargoyle1texture.png" ); private final ModelGargoyle1 model = new ModelGargoyle1(); public void renderAModelAt( TileEntityGargoyle1 parTileEntityGargoyle1, double par2, double par4, double par6, float par8 ) { int metadata = parTileEntityGargoyle1.getBlockMetadata(); int rotationAngle = 0; if( metadata % 4 == 0 ) rotationAngle = 0; if( metadata % 4 == 1 ) rotationAngle = 270; if( metadata % 4 == 2 ) rotationAngle = 180; if( metadata % 4 == 3 ) rotationAngle = 90; GL11.glPushMatrix(); GL11.glTranslated( (float) par2 + 0.5F, (float) par4 + 1.5F, (float) par6 + 0.5F ); GL11.glScalef( 1F, -1F, -1F ); GL11.glRotatef( rotationAngle * 90, 0F, 1F, 0F ); this.bindTexture( Gargoyle1 ); this.model.renderAll(); GL11.glPopMatrix(); } @Override public void renderTileEntityAt( TileEntity parTileEntity, double par2, double par4, double par6, float par8 ) { this.renderAModelAt( (TileEntityGargoyle1) parTileEntity, par2, par4, par6, par8 ); this.bindTexture( Gargoyle1 ); } }
  9. I am new to modding, how exactly would i code that? do i override the method or do i need to modify the World class?
  10. I only want the name to be hidden behind blocks and less mob visibility
  11. I am trying to give the player the effect of sneaking except the acual crouch rendering. The problem is, I have looked all over the code and I cannot find anyehere something like this is called. Can someone please direct me?
  12. I have looked in there but i cant seem to figure out the code, does anyone know specificly how to do this?
  13. I've been trying to make any combination of 3 armor sets make your name not able to be seen through blocks and become less visible to mobs (camouflaged). I cant figure out how to write that. Can someone please help me. Also can i use the same code to trigger an achievement?
×
×
  • Create New...

Important Information

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