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. In your json: "texture":"minecraft:stone"
  2. No, because the game cannot get into that state. Something went wrong.
  3. Aaaand where is this being called from?
  4. Use the debugger. Set some breakpoints and figure it out.
  5. /me looks for code /me does not find code /me cannot help
  6. I can't diagnose weird.
  7. I love how you have this flag: boolean flag = this.isBurning(); And then keep doing this: if(this.isBurning() || ... if(this.isBurning()) if(this.isBurning() && ... Also don't use IInventory, use ItemStackHandler and Capabilities instead. Also don't use ITileEntityProvider, override the hasTileEntity and getTileEntity methods present in the Block class. You haven't overridden shouldRefresh, which likely causes your TE to get deleted and recreated when your block changes from not-lit to lit (and back). This is because you went the dumb vanilla route of using two blocks instead of a block state property to store that particular value.
  8. Yes, but you can't screw that up if you're using ItemStackHandler. It's already implemented.
  9. I think you meant an ItemStackHandler
  10. You shouldn't be doing that anway.
  11. You need to remove the existing drops and add the new ones to the list.
  12. "Locks don't stop thieves, so we should stop locking our doors."
  13. The method isn't static and it needs to be if you are registering it like that.
  14. That's its job.
  15. How are you registering your event handler class?
  16. Because of client side mods that allow cheating. e.g. X Ray mods. X Ray mods are cheating. X Ray mods are listed in the handshake so the server can say "oh hell no."
  17. No, stop hacking.
  18. There's two steps here. One's a machine step, and one's the human step. The part you talk about is the human step. The machine step organizes the classes into packages and renames the classes so that instead of a, ab, bz, and cf you have Minecraft, Block, ItemStack, and GuiContainer (these names, I believe, also come from MCP, but I'm not sure where in the process it occurs). It also renames all methods, fields, and parameters called SRG names. These look like func_12893_f, field_90237_c or paramWorldIn1. MCP then is a remap from those to human readable names, which are supplied via interacting with the MCPbot on IRC.
  19. Oh yeah, just lie about what version you're using. That'll make everything better.
  20. You'll have to use Events for vanilla blocks. There is a BlockBreakEvent iirc, you'll need to subscribe to it and cancel it.
  21. https://github.com/Draco18s/ReasonableRealism/blob/1.12.1/src/main/java/com/draco18s/ores/block/ore/BlockHardOreBase.java#L177-L196
  22. Send the unlocalized text to the client and make the client translate it. That's the only way.
  23. That is not what events are for. Events are "Hey! This thing happened! Does anyone want to do anything about it!?" Not "Do you want to do this thing?" If you want your entity to attack, you need to give it the AIMeleeAttack task (go look at EntityZombie).

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.