Jump to content

Recommended Posts

Posted

I'm trying to use ItemSmeltedEvent in order to keep track of items smelted(I've added a few "rpg stats"), the problem is that the event differently on shift and normal pickup so I printed them:

 

Pickup:

3xitem.ingotIron@0

EntityClientPlayerMP['kimeriderf'/121, l='MpServer', x=17,65, y=94,62, z=141,45]

--------

3xitem.ingotIron@0

EntityPlayerMP['kimeriderf'/121, l='New World', x=17,65, y=93,00, z=141,45]

--------

 

Shift-Click:

0xitem.ingotIron@0

EntityPlayerMP['kimeriderf'/121, l='New World', x=17,65, y=93,00, z=141,45]

--------

0xitem.ingotIron@0

EntityPlayerMP['kimeriderf'/121, l='New World', x=17,65, y=93,00, z=141,45]

--------

 

The problem is that in order to keep track of the items smelted I increase my  own int with the stacksize of the event.smelting, but as you can see shift click triggers twice on server side with a stacksize of 0. Is there anyway else I can keep track of items smelted properly :/

If I helped please press the Thank You button.

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.