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. https://imgs.xkcd.com/comics/real_programmers.png[/img] Real programmers set the universal constants at the start such that the universe evolves to contain the disk with the data they want.
  2. Ok, yeah. What you're looking for is "fullbright." There should be a way to specify this in the block model file, though I don't know what it is.
  3. You're using client-only code in common code. Specifically you are calling Display.setTitle("Minecraft - 1.10.2 | DeGeweldigeMod - " + Reference.VERSION); You should not be doing this at all ever.
  4. This is the wrongest place. Just because people here USE eclipse doesn't mean we're qualified to help you solve configuration problems with it. Try http://stackoverflow.com/questions/15253857/eclipse-content-assist-doesnt-activate Which I found by googling "eclipse content assist" and it was the third or fourth result.
  5. public static void registerItem(Item item) { Item setRegistryName, Gameregistry; System.out.println("Registered Item: " + item.getUnlocalizedName().substring(5)); } That second line there, what do you expect it to do? Secondly, unless these items are instantiated in another class, all of them are null.
  6. You have loadMetaItems(); in both init() and preInit() . Why?
  7. Some pictures of existing effects would help.
  8. "Logger#info" means you need an object of Type "Logger" and you need to invoke the method "info" on it. In your other files you tried doing just "logger.info(string)" but that didn't work because you didn't have an object of Type Logger in that scope. So yeah, this was one of the more painful things I've read on this forum in a while.
  9. And "AABB" is an abbreviation of "Axis Aligned Bounding Box" which is a kind of OBB that is oriented to be congruent with the world's axis.
  10. Show your code, particularly MineralzItems.java
  11. Proxies are just sided code. If the code only runs on the client, then you have to use packets to tell the server anything.
  12. 2) rotation on all axes 4) pushing Matrix ....really? You save the state AFTER you modify it?
  13. The unsubtle hint is that cake has more than one block state
  14. $100 says you call CheeseItems.init() before calling CheeseBlocks.init()
  15. The entity class has a function called canSpawnHere or something similar. That gives you access to the world, but that would be the method you would use to determine whether or not there's a solar eclipse. If there isn't, return false.
  16. There's also Logger#log(Level,Message)
  17. Show your updated code.
  18. Or move it to the client proxy, but yes, annotating it as side-only-client would work.
  19. It doesn't work because how would the AI know that that block (which is set to air) is covered by the bounding box from that block waaaay over there?
  20. Does your ModItems class have, or not have, a registerItemRenderer method? Does it, or does it not, call a registerItemRenderer method?
  21. Yes, you are correct. I was mobile and not considering such things (more focused on winning a game of Fury of Dracula).
  22. You still have registerItemRenderer in common code. That method calls Minecraft.getMinecraft() which will crash the dedicated server.
  23. You can sorta cheat with bounding boxes, but only in the +Y direction (see: fences), but in general you can't get larger than 1x1x1
  24. You're not going to be able to take the snow layer block and "change the texture to reflect the ingredients" because the snow only knows one thing: How tall it is. In order to track ingredients (meat, cheese vs. cheese, then meat) you're going to need a much more complex system (and probably a tile entity).

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.