Jump to content

Recommended Posts

  • 3 weeks later...
Posted
  On 12/14/2016 at 8:17 AM, hugo_the_dwarf said:

like the creative menu?

Yes! Exactly as there. I looked the code, and there simply is replacing the slots of the container, but my container does not work. Reason: I have things stored in the player, i.e., there are 2 tabs with two containers. In the first tab standard player's inventory, second my container of the player(CapabilitySystem and etc)

Posted
  On 12/19/2016 at 5:10 AM, WildHeart said:

  Quote

like the creative menu?

Yes! Exactly as there. I looked the code, and there simply is replacing the slots of the container, but my container does not work. Reason: I have things stored in the player, i.e., there are 2 tabs with two containers. In the first tab standard player's inventory, second my container of the player(CapabilitySystem and etc)

Show what you currently have.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Posted

From the video, I'd say you are making new slots with the same IDs, thus having the same

ItemStack

in both slots.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Posted

GuiInventoryCP(CustomPlayer)

 

  Reveal hidden contents

 

Posted
  On 12/19/2016 at 12:43 PM, larsgerrits said:

From the video, I'd say you are making new slots with the same IDs, thus having the same

ItemStack

in both slots.

Well I have the player's inventory and the second tab 45 slots for a category of items.

Posted
  On 12/19/2016 at 12:47 PM, WildHeart said:

  Quote

From the video, I'd say you are making new slots with the same IDs, thus having the same

ItemStack

in both slots.

Well I have the player's inventory and the second tab 45 slots for a category of items.

Do you have a Container?

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Posted

ContainerCP

 

  Reveal hidden contents

 

 

SlotCP

 

  Reveal hidden contents

 

Posted
  On 12/19/2016 at 12:48 PM, Animefan8888 said:

  Quote

  Quote

From the video, I'd say you are making new slots with the same IDs, thus having the same

ItemStack

in both slots.

Well I have the player's inventory and the second tab 45 slots for a category of items.

Do you have a Container?

Well?

Posted

I found the cause of my problem. It was the fact that when I opened the Gui, went package which opened the container to the other tab and was so that the slots were duplicated. Now the problem seem to be missing. Topic can be deleted/closed.  :D

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.