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.

Draco18s

Members
  • Joined

  • Last visited

Everything posted by Draco18s

  1. Yeah. Exactly. That's what we keep telling you: the server tracks everything and you have to synchronize what you do with the client. You can't just cancel the event on one side. If it only happens on one side you need to synchronize the effects.
  2. No, that's the beginning of cargo cult programming. True understanding comes from looking at what is already available. You say you want to look at what we did, but how about you look at what Mojang did first?
  3. https://en.wikipedia.org/w/index.php?title=Fallow
  4. Notice that ITileEntityProivder methods use metadata while the methods in the Block class (added by Forge) use IBlockState
  5. Make the non-moving part a standard block model. Make the moving part (and only the moving part) a TESR. I believe that FastTESR is sufficient, I am not current on that knowledge on account of having not needed a TESR at all in some time.
  6. Why wouldn't you sync the config file?
  7. You have to get the baked model for it. I know I've seen posts about it here, but I can't find them now. You're looking for "item quads" "render item on block" "baked quads" etc. with respect to 1.10 and newer and without a TESR.
  8. The box has thickness, but it's using the same texture it has been given for the front face, which is either: a) rendering the left most edge of pixels b) rendering the whole things squashed down to a narrow "thing" If you want to render the "edge" pixels like you see when holding an item, you need to render that item's model, which is wholly different than the snowball renderer (which was designed to always face the camera and have no thickness).
  9. The two classes are not even remotely similar. IInventory / InventoryBasic is the actual inventory of the whatever. (Note: you should be using the ItemStackHandler capability, not IInventory) Container class is the server side object that manages synchronizing the inventory when the client is looking at it. A GuiContainer class is the client side object that manages synchronizing the inventory when the client is looking at it (as well as displaying it).
  10. You need to synchronize the config files.
  11. What Material is your block? The harvest level isn't used for certain always-harvestable materials (like Circuits).
  12. Let me rewrite this into English: Example: I have flowing_water in a Forge event. How do I get still_water?
  13. Yes, see Choonster's TestMod3
  14. Ah, good old http://xyproblem.info/
  15. http://mcforge.readthedocs.io/en/latest/forgedev/
  16. Completely breaks the minecraft aesthetic.
  17. https://github.com/Draco18s/ReasonableRealism/blob/1.12.1/src/main/java/com/draco18s/hardlib/EasyRegistry.java#L212 Or you could look at the method signature of the method: public static Method findMethod(@Nonnull Class<?> clazz, @Nonnull String methodName, @Nullable String methodObfName, Class<?>... parameterTypes) "Method Name" "Method Obf Name" Couldn't be more obvious.
  18. So I grabbed the first link on google for what I knew existed. 9.9
  19. Why does its inventory icon look rotated?
  20. https://github.com/KombatKitten/Collision/tree/Forums-Question/src/main/resources/assets/dimensional_magic/lang Your langfile is incorrectly named. It should be en_us.lang (all lower case).
  21. Cough: http://mod-minecraft.net/iron-chests-mod/ In order to rotate around a point you need to translate to the origin by that point's offset from the origin, then rotate, then translate back.
  22. Ah ha. I still have trouble spotting this even though I know to look for it.
  23. Yes, it's an ItemStack(SpawnEgg) with NBT data indicating what entity to spawn.

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.