• 0

    posted a message on Recording Looks Sharp/Jagged/Not right :(
    If I may bump this thread, I found a good example.



    Its really flickery and hard on the eyes which is what I'm experiencing. Other videos just seem normal and its not like everyone uses optifine or post-processing effects to get rid of this. What could be causing this annoying flickering?
    Posted in: Video/Series Help
  • 0

    posted a message on Recording Looks Sharp/Jagged/Not right :(
    Quote from MrNewGuy

    That is just what default minecraft looks like; the only thing you can do that will honestly make a difference, is download the version of Optfine with Antialiasic and Anistropic Filtering (http://optifine.net/...1.1_HD_AA_C.zip).
    Once installed you can find these settings at
    Video Settings > Details > The bottom 2, set them both to 16x
    Hope that helps!

    Alright, thanks I'll try that. I'm just curious because I have never seen it that noticably on other minecraft vids.
    Posted in: Video/Series Help
  • 0

    posted a message on Recording Looks Sharp/Jagged/Not right :(
    I've been recently recording some minecraft, full resolution, exactly 720p (1280x720) at a consistant 30 fps. It looks perfectly fine while recording, but when I rewatch the footage it has some wierd qualities:


    Just messing with color correction :P
    But Idk if you can see, it seems extra sharp/jittery and it looks really bad on playback.

    If you couldnt see it in the pic here is my video:

    And advice/help, this irks me D:

    PS: The jaggedness is not as a result of the color correction, and the video is kinda a bad example, but when I record flying by a hill it looks jagged/sharp(in a bad way)/flickery.
    Posted in: Video/Series Help
  • 0

    posted a message on Is there a modding tool for creating structures?
    Quote from mattuw

    Your welcome , Need anything else?

    Ehh, not for now, I'm good :biggrin.gif:
    Posted in: Modification Development
  • 0

    posted a message on Is there a modding tool for creating structures?
    Quote from mattuw

    Part 1 : http://www.zidmc.info/viewtopic.php?f=14&t=1005

    Part 2 : http://www.zidmc.info/viewtopic.php?f=14&t=1035

    Part 3 : http://www.zidmc.info/viewtopic.php?f=15&t=1555


    I am a moderator on that site if you need anything .


    Thanks,

    Mattuw

    Ah I remember Ziddia, thanks man.

    I'll bookmark these.
    Posted in: Modification Development
  • 0

    posted a message on Some small questions that I would like answered. (About modding)
    Aha! Milonti was correct and now the stick is spawning pigs.

    But in the cmd window its saying:

    [18:52] Placed stronghold in INVALID biome at (55, 3)


    lol, doesn't really make a difference but interesting nonetheless.

    Thanks for the help everyone :smile.gif:
    Posted in: Modification Development
  • 0

    posted a message on Some small questions that I would like answered. (About modding)
    Quote from Aero96

    Could you post the code of the Item, please?

    Oh right, it was there previously I think but here you go.

    package net.minecraft.src;
    
    import java.util.Random;
    
    public class ItemGhostStick extends Item
    {
    
        public ItemGhostStick(int i)
        {
            super(i);
    		maxStackSize = 1;
             setMaxDamage(8);
    
        }
    	public boolean onItemRightClick(ItemStack itemstack, EntityPlayer entityplayer, World world, int i, int j, int k, int l)
        {
            if(!world.multiplayerWorld)
            {
                EntityLiving entityliving = (EntityLiving)EntityList.createEntityInWorld("Pig", entityplayer.worldObj);
                entityliving.setLocationAndAngles(i, j + 1, k, 0F, 0F);
                entityplayer.worldObj.entityJoinedWorld(entityliving);
                itemstack.damageItem(1, entityplayer);
                entityplayer.swingItem();
            }
            return true;
        }
    }

    The one other thing was the "onItemRightClick" could also be "onItemUse" and I don't know which to use.

    Edit: I was also curious why the if statement was referring to "multiplayer," but the mod tutorial was for singleplayer.
    Posted in: Modification Development
  • 0

    posted a message on Some small questions that I would like answered. (About modding)
    Quote from Aero96

    In order to use the Class ItemGhostStick it has to exist. So make it first ^^

    For example:

    ItemGhostStick.java
    package net.minecraft.src;
    
    public class ItemGhostStick extends Item {
        public ItemGhostStick (int id) {
            super (id);
            setItemName("Ghost Stick");
        }    
    }



    You didn't create a class, did you?


    Screw that above.

    setItemName is returning an Item, therefore you have to cast.

    So do:

    public static final ItemGhostStick ghoststickItem = (ItemGhostStick) (new ItemGhostStick(3000) .setItemName ("Ghost Stick"));


    That one didn't produce an error, but right clicking or doing any action with it fails to do anything. Hmm.
    Posted in: Modification Development
  • 0

    posted a message on Some small questions that I would like answered. (About modding)
    Quote from milonti

    Missed something else, here's the corrected line:
    public static final ItemGhostStick ghoststickItem = new ItemGhostStick(3000) .setItemName ("Ghost Stick");


    The last change I had you make was actually changing it from storing an Item to storing an ItemGhostStick, but that require that an ItemGhostStick is created.

    You also need to change the Item(3000) constructor to be the ItemGhostStick(3000) constructor so you are creating a ItemGhostStick rather than an Item.

    Still makes sense, but didn't do the trick :sad.gif:

    Error Log:
    == MCP v4.4 ==
    > Recompiling client...
    "C:\Program Files\Java\jdk1.6.0_26\bin\javac.exe" -g -source 1.6 -target 1.6 -cl
    asspath "lib/;lib/*;jars/bin/minecraft.jar;jars/bin/jinput.jar;jars/bin/lwjgl.ja
    r;jars/bin/lwjgl_util.jar" -sourcepath src/minecraft -d bin/minecraft src/minecr
    aft\net\minecraft\client\*.java src/minecraft\net\minecraft\isom\*.java src/mine
    craft\net\minecraft\src\*.java  conf/patches/*.java failed.
    Return code : 1
    
    == ERRORS FOUND ==
    
    src\minecraft\net\minecraft\src\mod_GhostStick.java:5: incompatible types
    found   : net.minecraft.src.Item
    required: net.minecraft.src.ItemGhostStick
    public static final ItemGhostStick ghoststickItem = new ItemGhostStick(3000) .se
    tItemName ("Ghost Stick");
    ^
    
    1 error
    ==================
    
    > Done in 9.18 seconds
    > Recompiling server...

    And heres the updateed code just in case:
    package net.minecraft.src;
    
    public class mod_GhostStick extends BaseMod {
    
        public static final ItemGhostStick ghoststickItem = new ItemGhostStick(3000) .setItemName ("Ghost Stick");
    	
    public mod_GhostStick()
       {
    	ModLoader.AddName(ghoststickItem, "Ghost Stick");
        ghoststickItem.iconIndex = ModLoader.addOverride("/gui/items.png", "/textures/ghoststick.png");
    	ModLoader.AddRecipe(new ItemStack(ghoststickItem, 1), new Object[] {
        " X ", Character.valueOf('X'), Block.dirt
        });
    
       } 
    public String Version()
        {
          return "Version 0.1 Dev";
        }
        
    }
    Posted in: Modification Development
  • 0

    posted a message on Some small questions that I would like answered. (About modding)
    Quote from milonti

    This:
    public static final Item ghoststickItem = new Item(3000) .setItemName ("Ghost Stick");


    will need to be changed to this:
    public static final ItemGhostStick ghoststickItem = new Item(3000) .setItemName ("Ghost Stick");


    If you use the first (wrong) line, it is created as an "Item" type, with no specifics about its nature, its abilities, stacksize, etc.

    If you use the second (correct) line, it is created as an "ItemGhostStick" type, which will then have the proerties and methods you have defined in your code. Until you do that, nothing you write within your ItemGhostStick.java will have any effect.

    Hmm that makes sense, but

    == MCP v4.4 ==
    > Recompiling client...
    "C:\Program Files\Java\jdk1.6.0_26\bin\javac.exe" -g -source 1.6 -target 1.6 -cl
    asspath "lib/;lib/*;jars/bin/minecraft.jar;jars/bin/jinput.jar;jars/bin/lwjgl.ja
    r;jars/bin/lwjgl_util.jar" -sourcepath src/minecraft -d bin/minecraft src/minecr
    aft\net\minecraft\client\*.java src/minecraft\net\minecraft\isom\*.java src/mine
    craft\net\minecraft\src\*.java  conf/patches/*.java failed.
    Return code : 1
    
    == ERRORS FOUND ==
    
    src\minecraft\net\minecraft\src\mod_GhostStick.java:5: incompatible types
    found   : net.minecraft.src.Item
    required: net.minecraft.src.ItemGhostStick
    public static final ItemGhostStick ghoststickItem = new Item(3000) .setItemName
    ("Ghost Stick");
    ^
    
    1 error
    ==================
    
    > Done in 9.51 seconds
    > Recompiling server...
    > Done in 8.12 seconds
    Press any key to continue . . .
    Posted in: Modification Development
  • 0

    posted a message on Is there a modding tool for creating structures?
    So yeah, Is there a modding tool for creating structures? Similar to Techne, where you can model your building out and the program will generate the specific code for you? I've searched a bit and found nothing.

    Anyone know? Or can anyone point me to a turorial on how to easily code generated buildings? (Besides just setting an integer for Block.whatever)

    Thanks
    Posted in: Modification Development
  • 0

    posted a message on Some small questions that I would like answered. (About modding)
    Quote from _Molt_

    Does this work?:
    public boolean onItemUse(ItemStack itemstack, EntityPlayer entityplayer, World world, int i, int j, int k, int l)
    {
    	if(!world.multiplayerWorld)
    	{
    		EntityPig pig = new EntityPig(world);
    		pig.setLocationAndAngles(i, j + 1, k, entityplayer.rotationYaw + 180F, -entityplayer.rotationPitch);
    		world.entityJoinedWorld(pig);
    	}
    	itemstack.damageItem(1, entityplayer);
    	return true;
    }


    No, I tried yours, and then yours with "onItemRightClick" and both did nothing at all.

    Although your code does make a lot more sense to me than the one I had. I think this tutorial is flawed because I followed it word by word...

    Edit: Here's the tutorial if you want to look at it.

    Scroll down to "HOCKEYPOWWA97's Tutorials"
    Posted in: Modification Development
  • 0

    posted a message on Some small questions that I would like answered. (About modding)
    Quote from _Molt_

    And... where's your problem with this?

    It recompiles fine, but going in game and right clicking does nothing.
    Posted in: Modification Development
  • 0

    posted a message on Some small questions that I would like answered. (About modding)

    Q1:

    public static final Item ghoststickItem = new Item(3000) .setItemName ("Ghost Stick");


    the mod_ItemExample is the mod name, the exampleItem is the Item name


    Q2:

    MCP/bin/minecraft


    Q3:


    Ive never heard of anything like that so I can't help :sad.gif:


    Ok thanks :smile.gif:
    All I really need to know now is the third one.
    Posted in: Modification Development
  • 0

    posted a message on Some small questions that I would like answered. (About modding)
    So lets go right into this.

    package net.minecraft.src;
    
    public class mod_GhostStick extends BaseMod {
    
        public static final Item ghoststickItem = new Item(3000) .setItemName ("Ghost Stick");
    	
    public mod_GhostStick()
       {
    	ModLoader.AddName(ghoststickItem, "Ghost Stick");
        ghoststickItem.iconIndex = ModLoader.addOverride("/gui/items.png", "/textures/ghoststick.png");
    	ModLoader.AddRecipe(new ItemStack(ghoststickItem, 1), new Object[] {
        " X ", Character.valueOf('X'), Block.dirt
        });
    
       } 
    public String Version()
        {
          return "Version 0.1 Dev";
        }
        
    }


    Bam.

    So whats with the tutorials all having the "ItemExample" and mod_Example, and then within the code randomly having "exampleItem." Is there any reason for this? Why can't (in my code) ghoststickItem be ItemGhostStick?



    And what folder in MCP do I place my texture in?
    1. MCP/lib
    2. MCP/bin/minecraft
    3. MCP/temp/bin/minecraft

    Because EVERY SINGLE TUTORIAL says something different, or nothing at all.


    And last, I followed a tutorial on how to make right clicking while holding an item spawn an animal.
    So here is the code within my ItemGhostStick. (lol?)

    public boolean onItemUse(ItemStack itemstack, EntityPlayer entityplayer, World world, int i, int j, int k, int l)
        {
            if(!world.multiplayerWorld)
            {
                EntityLiving entityliving = (EntityLiving)EntityList.createEntityInWorld("Pig", entityplayer.worldObj);
                entityliving.setLocationAndAngles(i, j + 1, k, 0F, 0F);
                entityplayer.worldObj.entityJoinedWorld(entityliving);
                itemstack.damageItem(1, entityplayer);
                entityplayer.swingItem();
            }
            return true;
        }
    }



    Thanks :biggrin.gif:
    Posted in: Modification Development
  • To post a comment, please .