• 1

    posted a message on 1.7.2 Modding Tutorial Videos by NealeGaming
    Quote from Da-Penguin

    Thanks for the tutorials! I watched the first few trying to see if I need windows for anything and It looks like I don't! Great job on the tutorials :)


    You shouldn't, no. I've learned a lot since I started doing these videos, so when 1.8 comes out I'm going to do a better job of taking care of all of the OS's out there so everyone can play. I should probably include IntelliJ as well...
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on 1.7.2 Modding Tutorial Videos by NealeGaming
    Finished up the crafting table, added some fixes, armor with enchantment, and nether ore gen.
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on 1.7.2 Modding Tutorial Videos by NealeGaming
    Quote from OxeeMoron

    I am really confused all of a sudden. Maybe you can help?
    I have a custom itemSword that I've told to play a sound on item swing. It was all working just fine. I then spent a few days following your furnace tutorials to make my own furnace-like block. Upon finally getting that mostly figured out, I ran a simulation and found that my sounds stopped working. The console shows "unable to play unknown soundevent [my-modid]:[sound-name]"
    Any idea what could have gone wrong? Or more importantly, what I can do to fix it?
    EDIT: The only other thing I did was refactor/rename two of my four sounds files, but even if that did break those, the other two should be still working, right?
    EDIT 2: Well, for whatever reason, changing the filenames back to their original names in both the code and on the file itself seemed to fix it, so, I guess I'll just keep the old filenames...


    I know that this is after the fact, but the only thing I could think is to make sure that the sounds still match what is in your sounds.json file but it sounds like you already did that. Not sure, but I am glad to hear that it all worked out in the end!
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on 1.7.2 Modding Tutorial Videos by NealeGaming
    More videos added.
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on How do you make custom rendered blocks to face you when placed?
    Quote from Eria8

    Nope. Doesn't work. They still face only North.


    Here is an example of code that I have used to correctly place the rendered block in a certain direction:

    @Override
    	public void renderTileEntityAt(TileEntity tileentity, double x, double y, double z, float f) {
    
    		
    		int i;
            if (tileentity.getWorldObj() == null)
            {
                    i = 0;
            } else {
                    Block block = tileentity.getBlockType();
                    i = tileentity.getBlockMetadata();
                    if (block != null && i == 0)
                    {
                            i = tileentity.getBlockMetadata();
                    }
            }
    			GL11.glPushMatrix();
    		    GL11.glTranslatef((float) x + 0.5F, (float) y + 1.5F, (float) z + 0.5F); 
    			Minecraft.getMinecraft().renderEngine.bindTexture(texture);
    			GL11.glPushMatrix();
    			GL11.glRotatef(180.0F, 0.0F, 0.0F, 1.0F);
    			int j = 0;
                if(i == 3) {
                    j = 270;
                }
                if(i == 2) {
                    j = 180;
                }
                if(i == 1) {
                    j = 90;
                }
                if(i == 0) {
                	j = 360;
                }
                GL11.glRotatef(j, 0.0F, 1.0F, 0F);
    			this.model.render((Entity)null, 0.0F, 0.0F, -0.1F, 0.0F, 0.0F, 0.0625F);
    			GL11.glPopMatrix();
    			GL11.glPopMatrix();
    	}
    Posted in: Modification Development
  • 1

    posted a message on 1.7.2 Modding Tutorial Videos by NealeGaming
    Updated with 3 new vidyas.
    Posted in: Mapping and Modding Tutorials
  • 1

    posted a message on 1.7.2 Modding Tutorial Videos by NealeGaming
    Quote from codest19

    No need to say sorry, from the way you spell "public" I would expect a goof every now and then :P , here is the gui class: http://pastebin.com/0XtX9Ped
    and the handler: http://pastebin.com/rCzi83pp


    Seriously, my fingers just don't want to get that one right. That and compound.... :)

    In this bit right here:

    public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
                    TileEntity entity = world.getTileEntity(x, y, z);
    
                    if(entity != null){
                            switch(ID){
                            case Codecraft.guiIDCodeOven:
                                    if(entity instanceof TileEntityCodeOven){
                                            return new ContainerCodeOven(player.inventory, (TileEntityCodeOven) entity);
                                    }
                                    return null;
                            }
                    }
                    return null;
            }
    
            public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
                    TileEntity entity = world.getTileEntity(x, y, z);
    
                    if(entity != null){
                            switch(ID){
                            case Codecraft.guiIDCodeOven:
                                    if(entity instanceof TileEntityCodeOven){
                                            return new GuiCodeOven(player.inventory, (TileEntityCodeOven) entity);
                                    }
                                    return null;
                            }
                    }
                    return null;
            }


    ...you have you container and gui classes flip flopped. Under getServerGuiElement we return a new Container. In the client bit, we return a new Gui. Try that out and let me know how it works for ya!
    Posted in: Mapping and Modding Tutorials
  • 1

    posted a message on [FORGE] 1.6.2 Crafting Table with custom grid sizes [updating to 1.6.4] adding videos
    Quote from MintyFox

    Any plans to update this for 1.7. alot of stuff changed between 1.6 and 1.7


    I have asked microjunk for his blessing to put out a tutorial on how to update it and he graciously agreed. I should have it up here in a day or two.
    Posted in: Mapping and Modding Tutorials
  • 1

    posted a message on 1.7.2 Modding Tutorial Videos by NealeGaming
    Quote from codest19

    Here is the container: http://pastebin.com/0CqKZZ7x
    Here is the block: http://pastebin.com/ZCdB7PBW

    I've made it through the 11th video on the furnace.
    Thanks for helping!


    I'm a goof. I also need your GuiHandler and the GuiClass. Sorry 'bout that!
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on 1.7.2 Modding Tutorial Videos by NealeGaming
    Quote from codest19

    Hey, great tutorials, I've gone through 24 of them in 2 days. I'm a bit stuck with the furnace though. I've tried looking through the videos to see if I've missed a bit of code but I can't seem to find it. The crash I'm having says
    net.codecraft.mod.gui.GuiCodeOven cannot be cast to net.minecraft.inventory.Container
    at cpw.mods.fml.common.network.NetworkRegistry.getRemoteGuiContainer(NetworkRegistry.java:241)
    at cpw.mods.fml.common.network.internal.FMLNetworkHandler.openGui(FMLNetworkHandler.java:75)
    at net.codecraft.mod.blocks.CodeOven.onBlockActivated(CodeOven.java:96)
    at net.minecraft.server.management.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:405)
    at net.minecraft.network.NetHandlerPlayServer.processPlayerBlockPlacement(NetHandlerPlayServer.java:588)
    at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:74)
    at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:122)
    at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:232)
    at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182)
    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:716)
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:604)
    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)
    at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:742)


    If you know what that is off the top of your head that would be great, if you need other parts of my code I'll post it. Thanks in advance for any help.


    Can you link me in the code from your container and block class? And which episode of the furnace are you on; just so I can place where you should be in the series. :)
    Quote from efgh58

    This is a great tutorial, do you accept requests for tutorials by the way?Ifyou do, you could make a tutorial on:
    • how to create an dimension,
    • alter villagers and villages (new buildings, trades and villegers),
    • structure spawning (like in the Ruins Mod)
    • Armor with potion effects when on,
    • custom Potion effects,
    • custom enchantments
    • alter vanilla code (new drops to sth, ...)
    • custom biomes,
    • detailed mobs ( example: a walking chest OF DOOM (wtf) which opens an chest inventory when right clicked with health showing, fights mobs and can be upgraded with items moving in upgrade slots) (other example: battle turrents)
    • custom guns (/bows)
    • custom arrows
    I think when you are done with basic modding that every mod does, you could start thinking about the more.. crazy stuff like I said with a chest mod for example ^_^



    These are all great suggestions!

    If this helps, here is what I have planned for the next month or two:

    Custom Biomes, Dimensions.
    Custom Entities (Neutral, Hostile, Interactive Mobs, Companion Pets)
    Custom Structures and additions to Vanilla Villages (like Bees or Tinker's Construct)
    Custom Weaponry

    I've added your items to my list and I hope I can get most of them covered. Thanks for the suggestions! It keeps my creative gears turning!
    Posted in: Mapping and Modding Tutorials
  • 1

    posted a message on 1.7.2 Modding Tutorial Videos by NealeGaming
    Added the rest of the Custom Furnace videos and the Custom Rendered block video.
    Posted in: Mapping and Modding Tutorials
  • 1

    posted a message on 1.7.2 Modding Tutorial Videos by NealeGaming
    Added More. Several More.
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on Having trouble custom furnace
    Quote from bwfcwalshy

    1.6.4 or 1.7.4?

    1.7.2 i would say. Not seeing any itemIDs
    Posted in: Modification Development
  • 1

    posted a message on 1.7.2 Modding Tutorial Videos by NealeGaming
    Added Custom Furnace episodes 3, 4 and 5.
    Posted in: Mapping and Modding Tutorials
  • 2

    posted a message on 1.7.2 Modding Tutorial Videos by NealeGaming
    Added Custom Furnace Part 2.
    Posted in: Mapping and Modding Tutorials
  • To post a comment, please .