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?
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.
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
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.
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:
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 . . .
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)
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.
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;
}
}
0
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?
0
Alright, thanks I'll try that. I'm just curious because I have never seen it that noticably on other minecraft vids.
0
Just messing with color correction
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.
0
Ehh, not for now, I'm good :biggrin.gif:
0
Ah I remember Ziddia, thanks man.
I'll bookmark these.
0
But in the cmd window its saying:
lol, doesn't really make a difference but interesting nonetheless.
Thanks for the help everyone :smile.gif:
0
Oh right, it was there previously I think but here you go.
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.
0
That one didn't produce an error, but right clicking or doing any action with it fails to do anything. Hmm.
0
Still makes sense, but didn't do the trick :sad.gif:
Error Log:
And heres the updateed code just in case:
0
Hmm that makes sense, but
0
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
0
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"
0
It recompiles fine, but going in game and right clicking does nothing.
0
Ok thanks :smile.gif:
All I really need to know now is the third one.
0
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?)
Thanks :biggrin.gif: