Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

RedBullSlurpie

Members
  • Joined

  • Last visited

Everything posted by RedBullSlurpie

  1. So i have my mod created, but someone has found an issue. Basically when using my mod with any other mod that allows flight via armor, or ring, or any way, my mod disables flight for ANY other mod out there. For example, my mod adds some armor, more specifically Topaz Armor that can fly with double tapping space bar. Say, I use the ArmorPlus mod with mine which has armor called The Ultimate Armor for example, if I double tap with that armor, I can fly. however if i use my mod with armorplus mod together, my mod still flys with my armor, but disables all flight for ArmorPlus mod, or for that matter any other mod. How can I fix this? I was told to do this but am confused. "he explained that you don't need to (and shouldn't) change the flag every player tick. Just check when armor is equipped and then change the flag then and only then". Here is my Event Handler for Flight for Topaz Armor. http://pastebin.com/eARwJ8A6 Any help is greatly appreciated, thank you.
  2. So i have some custom armor in my mod, I would like to add potions of a certain type to that recipe, for example the 1 helmet gives you night vision, so i'd like the helmet to be crafted with a night vision potion, I've tried looking around but couldn't find any 1.9 tutorials for this. I know how to do recipes, just not sure on adding potions to it. My current line is below for one of my helmets. GameRegistry.addRecipe(new ItemStack(SlurpiesDonglesItems.topaz_helmet), " ", "TPT", "TRT", 'T', SlurpiesDonglesItems.hardened_topaz, 'R', SlurpiesDonglesItems.ruby_helmet, 'P', ***); Where the ***'s are after the p at the end, is what i am not sure of what to put there to make the P in the quotes, know that it's supposed to be a Night Vision potion. If anyone could help me, i'd appreciate it, thank you.
  3. Your mcmod.info file has a syntax error. ItemAxe doesn't yet support custom ToolMaterial s because it uses the ToolMaterial 's ordinal as an index for the ATTACK_DAMAGES / ATTACK_SPEEDS arrays. See this thread where someone had the same problem. Either create a custom axe class or wait for someone to fix the issue. Don't bump your threads, it will only annoy the people who can help you. It's unlikely to speed up their response. Okay, so it'll be fixed when Forge fixes it? Also what do I need to do to fix my mcmodinfo?
  4. Sorry.. here you are. https://gist.github.com/anonymous/31be1b72b5b9ff4cf04d
  5. I have all tools working but Axe for my sapphire gem in the game. There all the same code except changed to match the specified item, (Pickaxe, pickaxe, hoe, hoe, etc). However the axe causes a crash which points back to my SlurpiesDonglesItemAxe, and my GameRegistry.registerItem I'm not sure if I spelled anything wrong, but I re-wrote it a number of times and still crashes and im not sure what I am missing, or doing wrong, any help? Down below is pics of the code and console. Thanks again to anyone who can help me.
  6. Awesome, thanks for the info! Appreciate all the help on my other posts as well.
  7. Oh awesome, glad to hear it! I thought it was me.. So it is a bug with Forge, right?
  8. Here is my code and some pictures of the world gen of my ore, also before entering the nether, and after. Problem is that some of the OverWorld spawns in the nether, it's a regular nether, but it seems as if when I TP to the nether through the portal, whatever blocks are around me in the OverWorld, get brought to the nether when spawning in the nether, after traveling around away from the nether spawn portal, it's a normal nether except for when you first come through the portal, into the nether. Can anyone help me fix this? Thanks.
  9. Doesn't work in 1.9, for me anyways, this seems to be the only method that works for me in 1.9, so not gonna question it.
  10. This method doesn't work in 1.9 for me, when I did the copied one that the other person shared with me, it seems to work, so ill stick with that one.
  11. Okay, but how would I get this to work on 1.9?
  12. In 1.8.9 I had the code listed in pastebin below http://pastebin.com/Xha5TMKP That returned the Blender item to my inventory so people did not have to re-craft it over and over again. However in 1.9, it's not working, when you use it, once taking said item from crafting, say the blender and an apple make Apple Juice, once taking the Apple Juice, the blender would have a 0 in the bottom of the texture of it, and once closed, the item would be consumed and not returned. How can I fix that in 1.9? Thanks.
  13. In 1.8 my code for ore gen was pasted here. http://pastebin.com/9tXJxJSL However in 1.9, BlockHelper isin't found, so did they change it to something else, as I can't seem to find it. Thanks.
  14. The error in the console I get is Initializing game java.lang.IllegalArgumentException: Attempted to register a block with no name: com.rbs.slurpiesdongles.armor.ItemTopazArmor@1f1a57e8 Here is the pastebin of the crash report http://pastebin.com/rFJugP9N
  15. Would like some help again if possible. In 1.8.9 I had the code(Next line down) GameRegistry.registerItem(PreInit.topaz_chestplate = new ItemTopazArmor("topaz_chestplate", PreInit.topazA, 1, 1), "topaz_chestplate"); When brought over to 1.9, it seems to have changed, this is the Vanilla diamond armor for 1.9. registerItem(310, "diamond_helmet", (new ItemArmor(ItemArmor.ArmorMaterial.DIAMOND, 3, EntityEquipmentSlot.HEAD)).setUnlocalizedName("helmetDiamond")); When trying to replicate that for my topaz helmet, I get no errors in coding, but I do get a crash which points back towards that line, here is my replicate code for the Topaz Helmet GameRegistry.registerItem(PreInit.topaz_helmet = new ItemTopazArmor("topaz_helmet", PreInit.topazA, 3, EntityEquipmentSlot.HEAD)); Any help on this one? Thanks.
  16. Yes i had that issue as well, you need to change the Json files in the Models/Items or Blocks folder to match the new vanilla ones. They changed some stuff, mainly, get rid of the 1st person 3rd person thing at the bottom of the Json file, and change where it says, builtin, to item at the top. That will solve your "Big Item" issue.
  17. I got it. Thank you for all your help and patience with my nooby ass. I don't know why it didn't copy from 1.8.9 over to 1.9 when I brought everything else over. But thank you again.
  18. I don't know why that didn't get copied over with it.. but your saying if I add that, then 1.9 should work?
  19. Here is the Client Proxy, and the Main(SlurpiesDongles) from 1.8.9.
  20. If you (same as now) didn't call the method in your proxy then no, this did not work on 1.8.9. Literally nothing changed in this regard from 1.8.9 to 1.9 model.java? Where did you get this from now? How is that related to what we are talking about? I must have had something called in my 1.8.9 as the textures worked fine.. I can post screenshots of that if you'd like, just tell me what you want to see, because i literally changed nothing from 1.8.9 to 1.9 except for the modelloader you just had me change. Otherwise in 1.8.9 it worked fine. But if you want to see screenshots of my 1.8.9, then tell me what you wanna see and ill post them, like, ClientProxy, main.java, and my PReInit, whatever you want to see. As for the model.java thing, I don't know I got confused when you started talking models, so I thought you meant I needed my own model.class, which I don't have.
  21. You change it to whatever you called your model file. If you called it "fooBarBaz.json", you use "mymod:fooBarBaz" in the registration. Simple as that. Although it can be useful to name the json files the same as the registry name of your Block/Item, in this case you can use new ModelResourceLocation(myItem.delegate.getResourceName(), "inventory") . Like any other method. You do know how to call a method, right? Because if not, you need to go learn Java first. Well, when I made the mod, I was following tutorials.. after that I just started adding more and more.. I just don't understand why my code i had before hand, didn't work on 1.9 when it worked on 1.8.9.. Im just getting more confused as you tell me more stuff to do. I'm sorry im a noob at this, i've only followed tutorials to get me this far besides the other items i've added myself after the fact. And when you say, I change it to whatever I called my model file, do you mean in the models folder? Or a model.java file?
  22. So in the ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation(Referances.MODID + ":" + item.getUnlocalizedName().substring(5), "inventory"));, is where i change the unlocalized name? What do I change it too? Sorry am new to this because I didn't have to do it for 1.8.9. Also, how do I call the registerRenders in the proxy for the new code? Thanks for your help.
  23. Also here is the resources where the Jsons and textures are. -

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.