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.

nikko4913

Members
  • Joined

  • Last visited

Everything posted by nikko4913

  1. Okay, as previous stated, i'm new to this. Anyway, pos.down solved it for me
  2. I Think it does(not sure, not pro), i did click on it and found a place in the code, specifying what position it should look at. Down was the block underneath
  3. Thank you Ernio. It works now, you were right. I changed the return worldIn.getBlockState(pos).getBlock() == CDBlocks.obsidianBase; to return worldIn.getBlockState(pos.down()).getBlock() == CDBlocks.obsidianBase; Thanks
  4. Not sure what you mean by that, offset BlockPos by 1 down?
  5. Hey So, this is what i got from those files.. It throws no errors, but i'm not able to place the block at all. Not even on the "obsidanBase". @SideOnly(Side.CLIENT) public boolean canPlaceBlockAt(World worldIn, BlockPos pos) { return worldIn.getBlockState(pos).getBlock() == CDBlocks.obsidianBase; } What do i need to get the desired effect? Sorry for the stupidity, but i'm new to it. Thanks
  6. Okay, thank you both. I Will look into that. Just didn't have the time at that moment. Thanks
  7. Arrrh.. I see what you ment.. I'll take a look at that redstone code.. Thank you. Anyway, do any of you, have a suggestion for how i could insure that the block only is placed when a specific block is underneath? OnBlockPlacedBy may work, but do you maybe have a suggestion for that piece of code? Thanks
  8. Thank you for the quick response. I think you're right about the onBlockPlacedBy. Pistons won't be a problem, as this block needs to be placed by a player.. I'll try this out later, thank you
  9. Hello guys. So, to tell a bit more about what i really want to do here.. I have a few special blocks. These blocks should only be able to be placed, on other special blocks. I tried looking something up in-game, that i could just grab and modify, but i couldn't seem to find something that did the job. Thats why i'm asking if anyone got ideas of how to do this? Thank you
  10. Thank you. That solved the issue perfectly, thank you
  11. Hello guys. So I've loaded the beacon .json model file, up in Cubik. I made some changes to it, so that it no longer are a whole block in width and length, but a little smaller (Linked screenshot for better visualization). My question is, how do i change the black box to only be the high, width and length that the block actually has? Screenshot: http://gyazo.com/bae454e00e0a027fcf73f60ea163cc4a Thank you -nikko4913
  12. Thank you. I'll take a look at the links and get back to you if i get anymore problems.
  13. Hello guys! So, i'm in the making of a small mod for Minecraft 1.8. The mod is going to be all about crops, and therefore, i'm going to add in quite a few items. I want those items to have textures, and following this tutorial: should give me just what i wanted. Anyways, i've now tried two times, resetting/deleting proxies, JSONs and itemclasses, however, i do not see a change about the textures though. I keep getting a box-like purple/black block in my inventory. Whenever i load Minecraft, i have the item, but it's represented as a block and no textures, even though i have defined (I think) the .png 16x16 texture. If any of you'd be interested in helping me out, i would be happy. I've linked to my Github, and should you need more info, just comment. Github: https://github.com/nikko4913/Cropification (Know the name sucks btw ) Thank you -nikko4913
  14. Woooooooooooow..... Gooood i'm stupid... Okay so it was the comma at the end of the line.... I just ran a Minecraft and it worked perfectly. Tank you so much, hopefully this is the last time i will be bugging you with this issue...
  15. I will look into that .gitignore soon. Okay, so that version line.. Should i update it to say "1.7.10-1.0" or what? Because i tried that and no changes...
  16. Sure it is on Github. Here's a link if thats what you mean: https://github.com/nikko4913/LetsModReboot I was kind of in the middle of a tutorial i was watching when this happened so some files still needs a lot of work...
  17. Already did this before, and that didn't help... I now changed "LetsModReboot" to "letsmodreboot" in these files: -build.gradle -mcmod.info -LetsModReboot.java -Reference.java Ran Minecraft and no visible changes were made... BTW... I also tried renaming the LetsModReboot.java no changes anyways...
  18. First of all, i placed the mcmod.info at the following path: src>main>resources>mcmod.info By references i mean creating a java class under the com.nikko4913.letsmodreboot in a reference-folder, which holds references.. Just like pahimar. The file contains something like the following: package com.nikko4913.letsmodreboot.reference; public class Reference { public static final String MOD_ID = "LetsModReboot"; public static final String MOD_NAME = "Lets Mod Reboot"; public static final String VERSION = "1.7.10-1.0"; public static final String CLIENT_PROXY_CLASS = "com.nikko4913.letsmodreboot.proxy.ClientProxy"; public static final String SERVER_PROXY_CLASS = "com.nikko4913.letsmodreboot.proxy.ServerProxy"; public static final String GUI_FACTORY_CLASS = "com.nikko4913.letsmodreboot.client.gui.GuiFactory"; } That about it...
  19. Hello. No there isn't any errors the console when loading the mod. I am able to load it because it's in the modlist. Is that correct?
  20. Hello.. again... So i got it all working at first. I followed Pahimars tutorials further, but after setting up my references i ran a quick minecraft to just see if everything was still working. BUT, now my mcmod.info dosn't show up again... I no longer have the mcmod.infos content displayed under the modlist ingame. I didn't change anything inside the mcmod.info... What could i have done wrong? Sorry for my returning on this matter. But i'm learning...
  21. I actually got it working now. I found out that i forgot to update before doing genIntellijRuns. Now everything is working. Thank you for your help!
  22. So this time i followed your tutorial(hopefully right this time) and when finished the genIntellijRuns, i tried running Minecraft, of cause it required a JDK, which i assigned and tried running. Now i got another error... Exception in thread "main" java.lang.NoClassDefFoundError: com/mojang/authlib/exceptions/AuthenticationException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:191) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:116) Caused by: java.lang.ClassNotFoundException: com.mojang.authlib.exceptions.AuthenticationException at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 3 more Process finished with exit code 1 What did i do wrong?
  23. Okay... So i followed your tutorial: http://www.minecraftforge.net/forum/index.php/topic,21354.0.html And this is exactly what i did, setp-by-step: 1. I got the newest version of Forge. And extracted the files inside, into a separate folder. 2. I opened CMD and ran gradlew tasks, followed by gradlew setupDecompWorkspace. 3. When that was done, i opened build.gradle in Notepad++, to edit the following at the complete buttom: sourceSets { main { output.resourcesDir = output.classesDir } } 4. Then i opened Intellij and clicked import project. I selected the folder where the Forge is in. I used the already selected default wrapper. 5. Intellij then runs for a minute, and i get the default screen where i can edit files. I can see that the code i entered from step 3 is at the buttom. 6. Now i cannot run the MC Client, and when trying to open the Minecraft jar, i error out.. Of cause that was a long shot, but doesn't hurt to test it. There you go. This is all i have done, multiple times. What am i doing wrong?
  24. So, i tried everything on multiple computers, but every time it fails. Now i figured out how to get the minecraft client testing thing, into Intellij again, but only with the gradlew idea. Otherwise i cannot open the client.
  25. Yes, but why wouldn't i be able to just load the minecraft, if it's there?

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.