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.

BaRiBoD

Members
  • Joined

  • Last visited

Everything posted by BaRiBoD

  1. I want to render a fake block (a block that only has texture and can be skipped). I came to something like this, but I don't know what to give to the renderSingleBlock method Minecraft.getInstance().getBlockRenderer().renderSingleBlock(blockstate, posStack, bufferSource, pakcedLight, packedOverlay, modelData, renderType); I want to put the textures of the game blocks for the fake blocks, but if I can also put custom textures, that would be fine.
  2. How can I show a list as a suggestion in a command for the player to choose from?
  3. I know that with this you can return the game folder FMLPaths.GAMEDIR.get() I want the player to be created in the world where a txt file was created in the folder of the same world. How can I return the path of the world folder that the player is in?
  4. I'm sorry, but if possible, please write the code on how to save and how to get it
  5. I'm sorry, but if possible, please write the code on how to save and how to get it
  6. I know that with this you can save a data in nbt data of a player player.getPersistentData().putInt("value", 0); Is there any way to save this data in nbt data world instead of nbt data player?

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.