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.

Luis_ST

Members
  • Joined

  • Last visited

Everything posted by Luis_ST

  1. Use EntityType#create to create a new instance of your Entity. Then you can modify the Entity in the way you want (e.g change position, set some values, etc.) After that use Level#addFreshEntity to add the Entity to the Level (World). Note: Spawning Entities is a server only operation.
  2. Update to the latest version of Forge.
  3. I think this feature does no longer exists, but you can just send a Packet back to the client. You can get the ServerPlayer from the given Context, then you should be able to use PacketDistributor#PLAYER.
  4. The error should be clear, you forgot a ; after Everything public static final CreativeModeTab Everything= new CreativeModeTab ("Everything") { public ItemStack makeIcon() { return new ItemStack(ItemInit.RUBY.get()); } } <- ; here
  5. If it's you own Entity you can override #ignoreExplosion in your Entity class and return true.
  6. Why do you want to do this? Banning and Unbanning players should be a admin operation and should not modified/controlled by a Mod.
  7. One of your Mods is using a file with a invalid name, make sure you use the latest versions of all installed Mods.
  8. Why is your server running in Offline Mode?
  9. Could be an issue with Biomes O' Plenty.
  10. At least one of your installed Mods is written for an older version of Minecraft. Make sure you use the latest versions of the Mods you using. Post debug.log from the logs folder for further informations.
  11. Could you please provide a bit more context. Store the Durability in the ItemStack Tag, and get it when you need to restore it. Call ItemStack#getTagElement with your Mod id then put/get the data you want to store/restore.
  12. You installed Biomes O' Plenty for 1.19 on 1.19.2.
  13. Please post debug.log from the logs folder.
  14. Looks like a problem with Alex's Mobs. Make sure you are using the latest version. If the Mod is already up to date, talk to the Mod author.
  15. The normal way to damage the Item would be ItemStack#hurtAndBreak. The animation is done via LivingEntity#broadcastBreakEvent which will be called from the Consumer of #hurtAndBreak. stack.hurtAndBreak(1, player, (p) -> { p.broadcastBreakEvent(EquipmentSlot.MAINHAND); // This will send the animation to the client });
  16. First of all do not use @OnlyIn it's vanilla only. Second the #makeIcon in your CreativeModeTab will not even compile, you can not have two return statements. Edit: Please use the code feature of the Forum or a paste side to post code.
  17. The log is only useful if there is an error, but this is not an error which is logged. You could check if all Mods are up to date, but that's my last idea.
  18. The only thing i can tell you that one of your Mods has a broken render setup. I suspect that this mod is currently displaying something on the screen. You could try without Jei and JourneyMap (last one is a guess beacuse of the Overlay in the left top corner).
  19. This is a file on your computer we can not access to it.You can use https://imgur.com/ to upload images.
  20. You should use a KeyMapping for that, then check in ClientTickEvent KeyMapping#isDown and send the state of the KeyMapping via a custom network packet to the server. To avoid sending a Packet each tick, you should send the Packet only if the KeyMapping got pressed or released (the state changed).
  21. Problem with Mystical Agriculture. Make sure you are using the latest version. If the Mod is already up to date, talk to the Mod author.

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.