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.

Kemuri Senpai

Members
  • Joined

  • Last visited

Everything posted by Kemuri Senpai

  1. I already read on forums: for 1.12.2 it's Minecraft.getMinecraft().thePlayer But for 1.15.2, "Minecraft" has no function "getMinecraft"
  2. So... It will work with Minecraft.getInstance ( ).player ? Sorry for this dumb questions, I was modding for Minecraft about half a year only using Scratch-like programm (MCreator). I know almost nothing about Java and coding, so this all is foreign terrain to me 🤷‍♂️
  3. Okay, I guess I should for now go and study more java Because though it's obvious, I still don't know what you mean (off topic, diesieben07, are you german?)
  4. Okaaay,... I am very new to modding and java in complete... How do I access Minecraft#player? If I use "PlayerEntity player = ( PlayerEntity ) Minecraft.player;" it says "non-static variable player cannot be referenced from a static context"
  5. I am catching Message send from Client and want to cancel it if it vontains some special words. This is fine. However, I also want to write text back to the player ( also Client Side ). Normally I use ´´´player.sendStatusMessage( new StringTextComponent("[ §1Place§r ] Set brightness to §4§l", brightness ), (false));´´´ But "entity" is not returned by ClientChatEvent... So, how? (Minecraft 1.15.2)

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.