Everything posted by newboyhun
-
[SOLVED] How to replace an item stack?
What about: stack = new ItemStack(Block.stone);
-
Make entity look at block
Hi all! I'm having issue making the entity looking at a block. x,y,z is the block's coordiante this.theEntity.getLookHelper().setLookPosition(x,y,z, 10.0F, (float)this.theEntity.getVerticalFaceSpeed());
-
Register command
Hi all! How should i register a command,because ModLoader.registerCommand gives this error: java.lang.ClassCastException: cpw.mods.fml.common.FMLModContainer cannot be cast to cpw.mods.fml.common.modloader.ModLoaderModContainer at cpw.mods.fml.common.modloader.ModLoaderHelper.addCommand(ModLoaderHelper.java:223) at net.minecraft.src.ModLoader.addCommand(ModLoader.java:160)
-
What is block's notify,requiresSelfNotify
So what does that notify means? Why that is need?
-
packet issues
I think we have/had the same problem: http://www.minecraftforge.net/forum/index.php/topic,4256.0.html They told me to update the forge and that worked =) I have updated from 6.5.0.467 to 6.5.0.471 and it works =)
-
Client side entity health
Your answer was really helpfull=) You shouldn't quit helping =) =) Here is an image about my health bar =D (Don't look at health i was just testing,btw the health number works too.
-
Get item's recipe
Hi all! I'm having problem with getting the recipe of an item =( Is it possible? I have got the IRecipe interface,but i need to cast it to ShapedOreRecipe,but i can't find a way to get the inputs from it,is there something else solution to this? Thanks,sorry for my bad english.
-
Making block "rideable"
Is it possible to make a block with tile entity rideable,like pig?- I have a chair and i want to make that the player can sit.
-
Client side entity health
Thanks,going to check it =D
-
Client side entity health
Hi all! Is it possible to get an entity's health on the client side? I'm working on a health bar but the entity's health is always max =( =( =(
-
Custom furnace whit random drop
Copy the original furnace files,and edit it. GuiFurnace ContainerFurnace BlockFurnace TileEntityFurnace FurnaceRecipies SlotFurnace
-
Best way to register entity
Hi all,i know how to register an entity,but i don't know is this the good way: EntityRegistry.registerGlobalEntityID(EntityMyEntity.class, "Name", ModLoader.getUniqueEntityId()); EntityRegistry.registerModEntity(EntityMyEntity.class, "Name", ModLoader.getUniqueEntityId(), this, 250, 5, true); So, is it?
-
[SOLVED] Chunk bugs (Client connected to Server)
Thanks a lot,updating fixed.
-
[SOLVED] Chunk bugs (Client connected to Server)
Thanks but this didn't solved my problem =( But i commented out my world generator,and it working,but in 1.4.5 it was working fine,but now the world generator is bugging =( Any idea why?
-
Advisablity of Super-Classing
Yes,it is. http://www.minecraftforge.net/wiki/SMP_Coding_Guidelines
-
[SOLVED] Chunk bugs (Client connected to Server)
Hi all! I'm working on a mod,and i have edited about 50 minecraft files. ( This will be a custom client ) And i have encountered a BIG problem: http://gyazo.com/e644d8af5692a1455dc0f20f7b79d875 (I'm using two monitors) The left one IS : client connected to lan server The right one IS: client host lan server I have made a lot of blocks,items,tile entity,entity. Here is the edited files: http://gyazo.com/7fdf8331e03be244d18c373353ca6659 http://gyazo.com/9cf7f6713dd80decac8105afe1606b1c Someone have any idea in which edited file can cause these problems? Thanks!
IPS spam blocked by CleanTalk.