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.

TheOnlyTails

Members
  • Joined

  • Last visited

  1. That's not my question. I want to make it so if I don't input a target, it will use the current player as a target instead (similar to /tp).
  2. why doesn't this command use the current player as the default target? private static final RiftCommand INSTANCE = new RiftCommand(); public static void register(@Nonnull CommandDispatcher<CommandSource> dispatcher) { dispatcher.register(literal("rift") .requires((commandSource) -> commandSource.hasPermission(2)) .then(argument("target", EntityArgument.player()) .executes(INSTANCE)) ); }
  3. TheOnlyTails changed their profile photo
  4. I've been working for over 2 days on migrating my mod from 1.15.2 to 1.16.4, but when I run the game and create a new world or open an existing world, this happens: https://paste.gg/p/anonymous/9e6e95fc5d2b48dcb2fb81a4f3212cef I can't for the life of me figure out what's happening. I need help. Please. Edit: I can send any logs if necessary.
  5. How would I generate loot table for structures? For example, here's my code to generate block loot tables: https://paste.gg/p/anonymous/aa78cddf46914b20920c9210824acfb9 How would I adapt it for loot chests?
  6. I ended up solving it! Thanks for the help!
  7. I'm not asking on how to add the new feature to a biome - I'm asking how do I register it in the first place.
  8. How do I register a new feature? Every method I've tried so far failed.
  9. I solved it! I just had to use AT to make sheepLootTableBuilderWithDrop public so I could use it.
  10. Hello, I'm trying to implement data gen for my custom sheep, and so far, I've just used the regular sheep's loot table. How do I replicate the same behavior? My original loot table: https://pastebin.com/UbZ1bgHv My progress so far on the data gen version: https://pastebin.com/ajxaf1EE Thanks!
  11. And how would I do that? Edit: never mind. I went to discord and someone helped me. Thank you so much for all of the help and patience!
  12. Well - It now works. But guess what? I discovered another problem! Logging out and then in again clears the inventory of the block. Any idea why that may be?
  13. I understand. So you're basically saying I need to increase this number to include the indexes of the main player inventory + hotbar.
  14. I'll just send my container class - https://pastebin.com/Y5EXaVkz
  15. OK, I'll just describe the current situation. I can shift-click items into the storage block, but not vice versa.

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.