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.

Featured Replies

Posted

Hey guys,

trying now for 3 days to somehow port my IEEP to the new Capabilities system the Problem is I have never understood how that IEEP stuff was working at least not completely.

And now I don't want simply to port it but I want to understand also what I am doing.... the problem with this is I cannot find any good explained examples that also add inventory's.

 

I have already tried first to copy some code and try to figure it out by myself and it has been working and I am now understanding the default Capabilities without any Storage.

The Problem is that I am still not understanding how to make any Storage I would be very happy about any help my current ported code can be found here:

https://github.com/DarkRoleplay/1.9-Dark-Roleplay-Core/tree/master/src/main/java/net/drpcore/common/entities/player

(Yes the Capabilitie Injection has been made in the Main class)

 

Oh and sorry for the messy structure I want first to learn that before cleaning it up :(

 

Thanks in advance - JTK222

  • Author

Oh dude I am feeling so stupid ... I just forgot to Initialize the Inventory in the Default implementation.... That was also why I haven't understand it because I haven't seen any problems in the code *facepalm* but thank you for your help ^^

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

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.