Jump to content

Recommended Posts

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

Posted

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.