Skip 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.

Draco18s

Members
  • Joined

  • Last visited

Everything posted by Draco18s

  1. Six thousand nine hundred and fifty two. Over in the Mystcraft thread on the Minecraft forums we had an account for posting answers to common questions at the top of each page and the mods told us to stop.
  2. {basepath} there referrs to forge\mcp\src\minecraft\
  3. Pick any major feature and screenshot that. Add text. Don't use comic sans. Done.
  4. Gee golly willakers, you never checked to see if the item the player has in their hand is an ender pearl.
  5. Run game Go to your dimension Look at anything at all that is interesting and/or a main feature Hit F2 Crop Save Done
  6. Yes. And it's not easy. Take a look at how vanilla handles dyed leather armor. You can also take a look at this class (1.7.2) or this class (1.6.4). The absolutely most important thing to understand is: Vanilla color multiplies a "base" armor texture, then renders a second overlay texture. If the second texture is not transparent, then the colored bits won't show through.
  7. Don't register your recipes in preInit. Because of the way you've structured your mod, you can't insure that the class that is creating the blocks has created and registered them yet. Move your recipes to Init or PostInit.
  8. GameRegistry.addRecipe(new ItemStack(ARepo.ICobalt_door, 1), new Object[] { "#cc", "#cc", "#cc", Character.valueOf('c'), CMStuff.cobaltwood }); Uh. You know that blank spaces in the crafting grid are defined with SPACES right? The crafting manager is trying to figure out what the # means and can't find it. Also you don't need to do new Object[] because of the way the recieving function is programmed: addRecipe(ItemStack result, Object...) That ... means that any parameters beyond the specified ones are already accessible as an array. GameRegistry.addRecipe(new ItemStack(ARepo.ICobalt_door, 1), " cc", " cc", " cc", Character.valueOf('c'), CMStuff.cobaltwood); BAM. Also, that "character of" bit can also be removed. In Java 'c' is a character already (whereas "c" is a string).
  9. Then by golly gee. If you can't figure out how to not-render a side then you might have to make an icon for it then. Because one is not provided for you, because Vanilla--like a sane system--simply just does not draw quads when something needs to not be visible.
  10. OH NOE! LEARNIN' THIN'S! THE HORROR! Seriously. Packets are not that hard.
  11. shouldSideRender { return false; } ?
  12. Internally datawatchers use packets. Ergo yes.
  13. Veovis actually figured it out. ^..^ I just borrowed his work. http://binarymage.com/forum/viewtopic.php?p=13045#p13045
  14. From one of my projects String s="someFileName"; File rendersFolder = new File(DimensionManager.getCurrentSaveRootDirectory(), "LinkRenders"); FileInputStream fis = new FileInputStream(new File(rendersFolder, s)); DataInputStream instream = new DataInputStream(fis); nbt = CompressedStreamTools.read(instream); //reading CompressedStreamTools.write(nbt, new File(rendersFolder, s)); //writing instream.close(); fis.close();
  15. Don't use the LanguageRegistry. http://www.minecraftforge.net/forum/index.php/topic,15636.msg79415.html#msg79415
  16. at biomesoplenty.common.entities.EntityGlob.func_70601_bi(EntityGlob.java:305) at drzhark.customspawner.CustomSpawner.doCustomSpawning(CustomSpawner.java:362) at drzhark.customspawner.handlers.SpawnTickHandler.worldTick(SpawnTickHandler.java:36) Either BoP or Custom Spawner is at fault. Report it to them.
  17. @SubscribeEvent public void tick(ClientTickEvent event) { ... } ?
  18. I believe it was replaced by an event handler.
  19. block.setBounds The bounding box is what's used to determine if the block is inside your view. If your model is bigger than the bounds, then of COURSE it'll stop rendering when the bounds leave the view. That's what it's FOR. Now, if you have a block/model that's significantly larger than 1 cube, you should break it up into multiple blocks (you can still have it be one item in the player's inventory, but as far as the World is concerned it's actually several blocks, think pistons).
  20. This reminds me of Risk Legacy. There's a packet labeled "Do not open. Ever."
  21. Are you sure that largePowerCore is defined? Also, you don't need the new Object[]{} bit. The parameters of the recipes are declared as object... , meaning that it already comes in as an array. Oh, I know what the problem is. Here's one of mine GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(BlockPedestal.instance,2), "ggg","g g","sss",'g', thinglass, 's', "stone"));
  22. One, by not using TickEvent.ClientTickEvent as you should be checking server side. Two, by putting code into that function. (Oh, I'm sorry, did you mean to ask "how do I get a reference to the world here?" Well, if you're using the right tick type, you should be passed a reference to the player, which as an entity, contains a reference to the world)
  23. Do instead if (block == null || block.material == Material.air) The first one checks to make sure the block isn't null (to avoid null reference errors) the second check checks to see if the block that is there is of the material air, because with mods there can be blocks that should be treated like air, but are not air. (Gasses, technical lighting blocks, etc.)

Important Information

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

Account

Navigation

Search

Search

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.