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.

Wen Li

Members
  • Joined

  • Last visited

  1. As the title, how to remove exist particle in client level?
  2. As title, I only find PlayerLoggedInEvent when I tried this. But, this is called after player has logged-in. Is there any way to prevent player from kicking by the same name player logged-in?
  3. In ItemTooltipEvent, it seemed that I can only add the instance of Component to the List<Component>. So how to render image in tooltip?
  4. I have a block and its blockentity. When player click the block, blockentity will provide menu to player. But I want to make only one player can open GUI at the same time. How to do it?
  5. Solved. Thanks for helping.
  6. I didn't use renderer for my custom arrow. Should I code renderer class to it and then override shouldRender method?
  7. I tried to use setInvisible method to make it invisible, but it didn't affect. How should I do to make it invisible?
  8. Thanks. But could you tell me which channel in forge discord should I use to chat with robot? I'm lost in finding where the robot in. And how to interact with the robot.
  9. Sorry for late. Just search it in your IDEA.
  10. For spawning an entity, you can search SummonCommand and see how minecraft do that.
  11. As the title, I'm using AccessTransformer but can't find the runtime fields and methods name. How to get that?
  12. Solved! I found that when the items in your hand, the items would be sent a mod's nbt tag automatically. That caused one slot item had tag, and another slot not. So, the solution is: Before sending items to player, use itemstack.getOrCreateTagElement method to add tag to items firstly. And then all the items have same tags, they can be merged into one slot!
  13. Additionally, I use player.addItem(Moditem.TestItem.get().getDefaultInstance()) to send items.
  14. When player killed mob, my mod will send some item into inventory of player directly. But I find that sometimes the same type items can't merge into one slot. But after put them in mainhand, these items can be merge into one slot. The item be sent is mod custom item, and they have some HoverText added by mod. How to solve it?
  15. Solve! Thanks for helping again!๐Ÿ˜€ It's phase problem.

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.