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.

loordgek

Members
  • Joined

  • Last visited

Everything posted by loordgek

  1. there is no super public class AltarSerializable implements ICapabilitySerializable he returns null in getCapability
  2. you dont need to get server player
  3. GuiOpenEvent is fired on the client
  4. it cant be null @Override public <T> LazyOptional<T> getCapability(@Nonnull Capability<T> cap, @Nullable Direction side) { if(cap.equals(AltarCapabilityDef.ALTAR_INVENTORY)){ return holder.cast(); } return null; } dont return null here that will break use LazyOptional.empty()
  5. dint see the you are a dev yes as of 1.17 you need java 16
  6. if you use the minecraft launcher you do not have to do anything
  7. https://mcforge.readthedocs.io/en/1.16.x/datastorage/capabilities/
  8. you need to look server side for items and sent them to the client
  9. show your block class
  10. use lambdas https://www.w3schools.com/java/java_lambda.asp for getSickness use LazyOptional::map
  11. is this what you want ? https://www.planetminecraft.com/mod/lucky-block-command-creator---thvardhan-minecraft-19/
  12. you want https://github.com/amadornes/MCMultiPart
  13. maybe it is time to buy a new/used one
  14. in build.gradle you need to change the maven url in the build buildscript from https://files.minecraftforge.net/maven to https://maven.minecraftforge.net/ and
  15. put this somewhere in the build.gradle repositories { maven { url = 'https://libraries.minecraft.net/' } mavenCentral() maven { url = 'https://maven.minecraftforge.net/' } } if you already have a repositories block put it in there
  16. you need to change the maven url in the build buildscript from https://files.minecraftforge.net/maven to https://maven.minecraftforge.net/
  17. dont create a new stack to check, check the item it self
  18. yes you can make a server side only mod

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.