-
Posts
624 -
Joined
-
Last visited
-
Days Won
1
Everything posted by Busti
-
Hello everyone, is there an easy way to make a block suck experience into it and then store the amount of experience orbs into a variable? Like the "Brain in a jar" in Thaumcraft 3 I hope anybody can help me. Sorry for my (maybe) bad english Busti
-
Hello, I was wondering why I cant cheat in my Items by ID so i made a Console Print for the Mod.itemID its my Item ID + 256 Why?? Busti
-
Hello, how can i make a Block which has a custom Model? I've already got a Techne model file but how can i make it render with my block? Thanks fon any Help Busti
-
Do I have to extend BlockContainer when i dont use a slot?
-
Hi, Is there a way to make a tile entity without a Container or GUI which is actually being called? I tryed to make one which just prints out Hello in the console when the block is placed. Please Help Busti
-
Now i know what i made wrong createNewTileEntity
-
Yes, I registered the Tile Entity but it is not actually being called. It behaves like the Method doesn't exist. Here is the full code of my Block class: And the Basemod:
-
Just put this in your Common Proxy public static String NAME_PNG = "/packages/texturefile_name.png"; and this in your client proxy: @Override public void registerRenderers() { MinecraftForgeClient.preloadTexture(NAME_PNG); http://www.minecraftforge.net/wiki/Icons_and_Textures
-
Sorry but i cant move the old thread. It is giving out the same error
-
When i try to create a Tile Entity in my block class it gives the following error: The method createNewTileEntity(World) of type SoulMagnetBlock must override or implement a supertype method This is my code: @Override public TileEntity createNewTileEntity(World world) { return new TileEntitySoulMagnetBlock(); } Thanks for any help!
-
It is not working... @Override public boolean hasTileEntity() { return true; }
-
Already got it
-
What does that mean exactly? Don't mind me im still learning...
-
Hello, when I try to create a tile entity in my block class it is not working. What made I wrong? Please Help!!! package busti2000.technica; import busti2000.technica.entity.tileEntity.*; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.RenderBlocks; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.tileentity.TileEntity; import net.minecraft.world.World; public class SoulMagnetBlock extends Block { public SoulMagnetBlock (int id, int texture, Material material) { super(id, texture, material); setHardness(0.5F); setCreativeTab(CreativeTabs.tabBlock); setBlockName("SoulMagnetBlock"); } @Override public TileEntity createNewTileEntity(World world) { return new TileEntitySoulMagnetBlock(); } } Thanks Busti
-
Hello, How can i make a custom model for my Block?
-
Hello, how can i make a custom model and hitbox for my Block? Busti
-
Alternativly for WoodStack you could use Block.wood
-
I got it. I forgot about the maximum block ID
-
Help! I'm following the "Basic Blocks" tutorial but I cant bring it to work and cant find the error. What can i do? http://www.minecraftforge.net/wiki/Basic_Blocks
-
My Stupidness went on a Maximum level. Thank you i solved the problem.
-
Sometimes someone just need a little sidekick and not the whole lesson again...
-
How can i solve this problem? I wont go through all the java tutorials and find the one about Variables.
-
Thank You I'm using the http://www.minecraftforge.net/wiki/How_to_make_an_advanced_configuration_file Tutorial.
-
Hello, every time I launch my mod it says: 2013-02-13 22:20:12 [iNFO] [sTDOUT] CONFLICT @ 0 item slot already occupied by net.minecraft.item.ItemSpade@360c48 while adding busti2000.technica.IronStick@607001 2013-02-13 22:20:12 [iNFO] [ForgeModLoader] [itemTracker] The mod b2000technica is overwriting existing item at 256 (net.minecraft.item.ItemSpade from Minecraft) with busti2000.technica.IronStick 2013-02-13 22:20:12 [iNFO] [sTDOUT] CONFLICT @ 0 item slot already occupied by busti2000.technica.IronStick@607001 while adding busti2000.technica.RedIronCoil@1597cee 2013-02-13 22:20:12 [iNFO] [ForgeModLoader] [itemTracker] The mod b2000technica is overwriting existing item at 256 (busti2000.technica.IronStick from b2000technica) with busti2000.technica.RedIronCoil but i cant solve the Problem. HELP!!! Here is my Code: package busti2000.technica; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.Init; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.Mod.PostInit; import cpw.mods.fml.common.Mod.PreInit; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.network.NetworkMod; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.common.registry.LanguageRegistry; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraftforge.common.Configuration; @Mod(modid="b2000technica", name="Technica 1.0", version="1.0.0") @NetworkMod(clientSideRequired=true, serverSideRequired=true) public class Basemod { @Instance("Basemod") public static Basemod instance; public static int IronStickID; public static int RedIronCoilID; //public static int SoulMagnetBlockID; public static Item IronStick; public static Item RedIronCoil; @SidedProxy(clientSide="busti2000.technica.client.ClientProxy", serverSide="busti2000.technica.CommonProxy") public static CommonProxy proxy; @PreInit public void preInit(FMLPreInitializationEvent event) { Configuration config = new Configuration(event.getSuggestedConfigurationFile()); config.load(); int IronStickID = config.getItem("Item Ids","Iron Stick ID", 10000).getInt(); int RedIronCoilID = config.getItem("Item Ids","Red Iron Coil ID", 10001).getInt(); config.save(); } @Init public void load(FMLInitializationEvent event) { proxy.registerRenderers(); IronStick = (new IronStick(IronStickID)); RedIronCoil = (new RedIronCoil(RedIronCoilID)); Register(); } public void Register(){ LanguageRegistry.addName(IronStick, "Iron Stick"); GameRegistry.addRecipe(new ItemStack(IronStick, 4), "x", "x", 'x', Item.ingotIron); LanguageRegistry.addName(RedIronCoil, "Red Iron Coil"); GameRegistry.addRecipe(new ItemStack(RedIronCoil), " x ", "yzy", " x ", 'x', Item.ingotIron, 'y', Item.redstone, 'z', IronStick); } } And the Item Class: package busti2000.technica; import net.minecraft.item.Item; import net.minecraft.creativetab.CreativeTabs; public class IronStick extends Item { public IronStick(int id) { super(id); setMaxStackSize(64); setCreativeTab(CreativeTabs.tabMisc); setIconIndex(0); setItemName("IronStick"); } public String getTextureFile() { return CommonProxy.ITEMS_PNG; } }
-
It is not working for me.