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. What do you mean?
  2. No i didn't get the crash fixed. I was just thanking you for explaining Override. It still crashes, but above I posted each line and what it points too in hoping that you could help me. A little further up I posted the RbsCrops.java, if you need anything else let me know.
  3. @Override changes nothing about what your code does. It is simply a marker that tells the compiler "hey, I intended to override here" so it can give you an error if you don't actually override anything. Even if @Override is not there the method is still overriding. Thank you for explaining. I am still learning and do appreciate your help as you are the one who always helps me.
  4. Here is the blue area in the log. at com.rbs.slurpiesdongles.blocks.BlockRbsCrop.<init>(BlockRbsCrop.java:45) at com.rbs.slurpiesdongles.blocks.BlockRegistry.registerBlockCrop(BlockRegistry.java:24) at com.rbs.slurpiesdongles.blocks.BlockRegistry.loadBlockRegistry(BlockRegistry.java:19) at com.rbs.slurpiesdongles.proxy.CommonProxy.preInit(CommonProxy.java:18) at com.rbs.slurpiesdongles.proxy.ClientProxy.preInit(ClientProxy.java:21) at com.rbs.slurpiesdongles.SlurpiesDongles.preInit(SlurpiesDongles.java:34) The first one BlockRbsCrop Line 45 points to this. super(); the 2nd one, line 24, points too this. final Block rbsCrop = new BlockRbsCrop(registerName); the 3rd one, line 19 points too this. blueberrycrop = registerBlockCrop("blueberrycrop"); Line 18 points too this BlockRegistry.loadBlockRegistry(); line 21 points too this super.preInit(e); line 34 points too this proxy.preInit(event); and then there is this at the bottom of the log Stacktrace: at com.rbs.slurpiesdongles.blocks.BlockRbsCrop.hashCode(BlockRbsCrop.java:208) which points too this return registerName.hashCode();
  5. I removed the @Override for both of them. Still crashes. Also if this helps.. blueberrycrop = registerBlockCrop("blueberrycrop"); If i cross that line out with //, the game launches fine. Not sure if that helps you or not.
  6. The null error is pointing towards this line public int hashCode() { return registerName.hashCode(); } Also these ones. public BlockRbsCrop(String registerName) { super(); this.registerName = registerName; this.setDefaultState(blockState.getBaseState().withProperty(getAge(), 0)); this.setCreativeTab(SlurpiesDongles.SD); } public static void loadBlockRegistry() { blueberrycrop = registerBlockCrop("blueberrycrop"); } private static Block registerBlockCrop(String registerName) { final Block rbsCrop = new BlockRbsCrop(registerName); //final ItemBlock itemBlock = new ItemBlockFruit(pamCrop); return registerBlock(registerName, rbsCrop); } public static Block registerBlock(String registerName, Block block) { block.setRegistryName(registerName); block.setUnlocalizedName(registerName); GameRegistry.register(block); return block; }
  7. Yeah, you gotta start somewhere. I learn as i go. Just trying to resolve this crash. I didn't know I wasn't supposed to Override it.
  8. Here is my RbsBlockCrops http://pastebin.com/RhgCdjdk
  9. Trying to re-write my mod the correct way now for 1.9.4 and i'm getting this crash report. Ill post the crashlog, and the latest log. I can't figure out why it's crashing, let me know if you'd need anything else. crash log- http://pastebin.com/tKdpVzu4 latest FML Log- http://pastebin.com/h5U4wN8s
  10. Yeah but it's my problem, with my mod, not Wailia's. So i did something wrong, im just not sure what it is i need to do to make it still show the texture past 0%.
  11. So i've got my custom crops working thanks too diesieben. However when they are planted, Waila shows the correct texture, but once they grow past 0%, it changes to a purple/black texture, and i can't figure out why, could anyone help me once more? Ill post some screenshots, let me know what code, or json files you want to see.
  12. Oh, thank you that fixed the issue! Now could you explain above what you meant by the other things I needed to fix? You said something about my unlocalized name and was confused by what you mean.
  13. http://pastebin.com/6m9Gi1Wq
  14. okay. What do i need to change to fix the block models for the seeds to show up?
  15. will this fix my issue with the seeds not showing there textures when placed and grown?
  16. I know I still need to fix most of this stuff. My registerRender does this. public static void registerRender(Item item) { Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation(Reference.MOD_ID + ":" + item.getUnlocalizedName().substring(5), "inventory"));
  17. So i have lemons that generate around the world. You break the bush, you get lemons. You then will place the lemons in a crafting grid anywhere and get lemon seeds to grow lemons.. I have managed to get lemons growing.. problem is it shows no texture(purple/black). I have the Json files correct i believe. I doubled checked them. I'll show my code, and post an image(s) of the texture in game so you can see what im talking about. image of the no texture - Block Lemon Crop code - http://pastebin.com/Q6rYecxg Lemon Crop code - http://pastebin.com/hhkz3iig Lemon Seed code - http://pastebin.com/1fqdnp06 Json file for Block States. file is called lemon_seed.json { "variants": { "age=0": { "model": "slurpiesdongles:lemon_seed_stage_0" }, "age=1": { "model": "slurpiesdongles:lemon_seed_stage_1" }, "age=2": { "model": "slurpiesdongles:lemon_seed_stage_2" }, "age=3": { "model": "slurpiesdongles:lemon_seed_stage_3" }, "age=4": { "model": "slurpiesdongles:lemon_seed_stage_4" }, "age=5": { "model": "slurpiesdongles:lemon_seed_stage_5" }, "age=6": { "model": "slurpiesdongles:lemon_seed_stage_6" }, "age=7": { "model": "slurpiesdongles:lemon_seed_stage_7" } } } Json file for Models/Block. File names are as wheat are except, lemon_seed_stage_0 going all the way up to 7. Only showing code for stage 0 because it's all the same except the numbers change for each stage. { "parent": "block/crop", "textures": { "crop": "slurpiesdongles:blocks/lemon_seed_stage_0" } } Json file for Models/Item. Name is lemon_seed.json { "parent": "item/generated", "textures": { "layer0": "slurpiesdongles:items/lemon_seed" } } Lastly i have the stage's 0-7 textured and placed into the blocks folder named lemon_seed_stage_0, going up to 7. Also have the lemon_seed texture in the texture/items folder. Not sure what i've got wrong, or to make it not read the texture, or stages, but thanks for anyones help.
  18. Solved, thank you.
  19. You mean where I have if (player.getItemStackFromSlot)? I need to bracket that?
  20. Okay so i've fixed the bug where my mod disables flight for other mods, however now i've ran into another issue and i must be blind because I can't see what's wrong. Any help would be appreciated. The bug is that if i wear a full set of my topaz armor I can fly, if i take off each peice, EXCEPT the chestpeice, I fall to the ground, however if i take off the chest peice while still wearing the other 3, I do not fall to the ground, I instead, stay flying. After removing the chest peice i can then remove the rest and still fly without wearing armor, If i place any of the armor piece's back on, it then disables it until i equip the full set again. So i would like some help fixing the issue if anyone could help me here is my code. I copied the whole code instead of just the flying incase anything else was interfering with it. Thanks. http://pastebin.com/uJ9yPmF1
  21. This is my new code. I'll point out the line that isin't in use, which im not sure is causing the issue or not, but here is my new code, could anyone help me with what im doing wrong? Thanks. http://pastebin.com/av9JBSs7
  22. Still can not get this. I've added in the code that you said, one of the lines, is not being read so it's grayed out. I'm not sure if that's the issue or not, but still having no luck.
  23. Okay I did what you said, but now im stuck flying in survival mode, like not stuck, but i can double tap spacebar without anything on and i'll fly.
  24. Sadly I still can't figure this out. Could anyone give me the code needed to solve this issue? I've been at it for hours and can't figure it out. I'm not super smart when it comes to coding, I only know the basics.
  25. I'm still confused as to what to change in my code? Could you help me any farther?

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.