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.

zlappedx3

Members
  • Joined

  • Last visited

Everything posted by zlappedx3

  1. How I use onBlockPlaced in TileEntity ?
  2. this code is a total mess. you should better delete it and hope noone will ever find it again. The method u are seeking is onBlockPlaced, it gives you an EntityLivingBase where u can get the players name from. If u call setBlockUnbreakable u will set ALL of your blocks unbreakable, because the Block class is for EVERY SINGE BLOCK of that block placed. if you want them to be different you need to use a TileEntity - If setBlockUnbreakable it set box all. Should what used instead ? - I use TileEntity in how to write ?
  3. - If setBlockUnbreakable it set box all. Should what used instead ? - I use TileEntity in how to write ?
  4. Oh Thank you very much. in EntityLivingBase. How to use it ? i'm sorry I rookie forge java.
  5. I want to write String save in box . Refer name player of string in server. If non owner box can't break. But if owner box can break. how to write it ?

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.