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.

blooditor

Members
  • Joined

  • Last visited

Everything posted by blooditor

  1. Tried in other methods or events and still nothing
  2. So I also tried in the Main class during preInit event but still while simply doing: MinecraftServer.getServer().getCommandManager().executeCommand(MinecraftServer.getServer(), "help"); please help
  3. MinecraftServer.getServer().getCommandManager().executeCommand(MinecraftServer.getServer(), "help"); Am I just stupid or whats wrong? D:
  4. Okay... the command seems to be sent now (didnt change anything at all) but the console always returns that the command is not known... even "say" or "help"...
  5. Well I did - nothing happened Part of code is above
  6. No I want to send it as server I'm serverside
  7. Hey, I tried to find out how to send a console command as server with MinecraftServer.getServer().getCommandManager().executeCommand(...), so that the ICommandSender isn't a player... I tried making my class an instance of ICommandSender and using "this" but that didn't work. Also I tried using my main class or using MinecraftServer.getServer(). MinecraftServer.getServer().getCommandManager().executeCommand(MinecraftServer.getServer(), "say " + player.getDisplayName()); So whats wrong here? Could you help me so I can send server commands like "/say" with a mod? Thanks
  8. I'm modding with Flan's Mod. When a Driveable Entity is being destroyed, I want to know who shot it... It works with Players, too... AttackEntityEvent only works when hitting it directly...
  9. Hello guys, I'm looking for an Event like "EntityDeathEvent" or something like that - for Non-Living Entities. Can you help me with that?

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.