
ryancpexpert
Forge Modder-
Posts
58 -
Joined
-
Last visited
Everything posted by ryancpexpert
-
Custom render for my item is not rendering.
-
Custom item renders, am aware of using setTextureName, trying to give the item a model whilst in hand.
-
I'm trying to bind a texture to my item, but it appears not to be working, i'm using ForgeHooksClient.bindTexture(). Is it in a different class in 1.7, or a new method?
-
I have called init, how would I register it for the sides?
-
Using a tool for a crafting recipe without consuming it
ryancpexpert replied to 43152346245624's topic in Modder Support
Add the stub "setContainerItem(Item)" inside you main class under the pre-initialization event. Should look like this: Saw = new Saw().setContainerItem(ITEM); -
setBlockHarvestLevel is undefined in MinecraftForge
ryancpexpert replied to bilowik's topic in Modder Support
Where are you trying to do this? If it's not inside the block class, put it there. It should look like [...] setBlockHarvestLevel("tool", toolTier; [...] Do not include [...] -
Could you elaborate a bit more on how to do this, I am still fairly new to forge modding.
-
I have an item in my mod, it's function is to shoot a projectile and place a block where it lands. I want to add a delay to this after it is shot, and when the delay is over, it set the block back to it's original id. How would I go about adding the delay?
-
xSize = #; ySize = #; drawTexturedModalRect(guiLeft, guiTop, 0, 0, this.xSize, this.ySize);
-
[1.7.10] Zelda Adventure! [CONTRIBUTORS NEEDED!]
ryancpexpert replied to ryancpexpert's topic in Mods
Looking for contributors, looking for anyone with a decent knowledge of java and forge. Am also looking for people to help with textures. PM if interested. -
Try entity.addChatComponent(new ChatComponentText("yourstring here"))
-
PacketHandler, public class PacketHandler { public static final SimpleNetworkWrapper INSTANCE = NetworkRegistry.INSTANCE.newSimpleChannel(ZeldaMod.MODID.toLowerCase()); public static void init() { INSTANCE.registerMessage(PacketOpenZeldaInventory.class, PacketOpenZeldaInventory.class, 0, Side.SERVER); INSTANCE.registerMessage(PacketOpenNormalInventory.class, PacketOpenNormalInventory.class, 1, Side.SERVER); INSTANCE.registerMessage(PacketSyncZelda.class, PacketSyncZelda.class, 2, Side.CLIENT); } }
-
Sending 3,
-
I'm getting a fatal error on opening a new inventory, here is the log: if any other files are needed, I will add them to the post.
-
Thanks! This really helped .
-
How would I go about doing this?
-
[SOLVED][1.7.10] TileEntity var undefined?
ryancpexpert replied to ryancpexpert's topic in Modder Support
Thanks, *facepalms at my failure*. -
I'm trying to make a furnace for my mod, however, the var1 and var2 variables appear not defined for some reason. If anyone could help, that'd be great.
-
That tutorial is extremely outdated, I would recommend you follow a different video, unless you want to make a mod for 1.5.
-
[move]Zelda Adventure![/move] Contributors Wanted! Features - Four swords from A Link to the Past. Fire and Ice Rod. Master Ore. 3 Shields from A Link to the Past. Planned Features - Mobs from the game. Better textures (blocks). Function for shields. - Working on fixing inventory. World generation option(generate alttp map or not). More items from game. NPCs Tunics Function for rods - Update! (Entities need texture). New 'furnace' for sword upgrading needs more code and gui. Crafting Recipes - http://prntscr.com/4wl7o4 http://prntscr.com/4wl83n Download - Download
-
I do not believe you need the register Icon function for items, as they only have 1 side, I do not believe you need the texturePath line either (depends on which version you're using, don't need it in 1.7.10). That should work, assuming you have already created the assets file and placed the texture in the file.
-
So, I am trying to add an armor slot for shields in my mod, I have searched google for it, and wasn't able to find it. Is there a EnumHelper routine I can use to declare one? Or do I have to do it some other way? If someone could help, thar'd be great .
-
[1.7.10][SOLVED] NullPointerException
ryancpexpert replied to ryancpexpert's topic in Modder Support
Thanks -
Getting NullPointException on launch with this line of code (almost 90% sure it's something to do with my sword declarations). Am not sure what to change to fix it. The (null, null) comes from where I have additional arguments in my sword classes, I am sure that is where the exception is coming from, but I do not know how to fix it. If someone could help me out on what I am supposed to use to replace (null, null) I would be most grateful.