Jump to content

[1.14.3] Passing a location with a tool to a blockEntity


cleardragonf

Recommended Posts

So I have a Entity Designed that i want to pass to it another Blocks POS.  I know i could do this by doing a search in the tick portion of the block...but instead i want to pass to it when someone leftClicks with a specific tool in their hand on the target and right clicks on the Entity with the tool...then i wasnt to pass an instance of that block into the container of my TileEntity so that i can start removing stuff from it...can someone point me in the right direction? thanks.


WardEnscriber- Class used to left click on the Mana_Stone block that houses the Mana_StoneTile class and get an instance of such.

        V
Mana_Stone - Class that hosts the Mana_StoneTile Class...i want to get the instance of this block and store it in memory of an instance of the WardEnscriber...


 

WardEnscriber - the tool Class used to right click...and depart the instance of a Mana_StoneTile into the MCM_Tile class.
        V
MCM_Block Class...the block that hosts the MCM_Tile Class... I want to right click on this and send the Value stored in the WardEnscriber into the TileEntity Class

https://github.com/Cleardragonf/AsuraMagica

Edited by cleardragonf
Link to comment
Share on other sites

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.