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.

mm123

Members
  • Joined

  • Last visited

  1. That worked perfectly. Thank you.
  2. With the Minecraft setblock command (in game): we can do this: /setblock -4 4 -132 minecraft:player_head[rotation=0]{SkullOwner:{Name:"playerName"}} . That will place a player head of the specified player with the specified rotation. How can I accomplish this in my mod. I know that I can set a block to be a player head using setBlockState and having setBlockState( BlockPos, Blocks.PLAYER_HEAD.getBlock().getDefaultState() I also know that we can add a rotation to it by adding .with(BlockStateProperties.ROTATION_0_15, 3) But I am lost on how I would go about setting the nbt data for skull owner SkullOwner. If anyone could point me in the right direction that would be great. Thanks,

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.