Jump to content

[SOLVED] Get a block from a coordiante?


TesterTesting135

Recommended Posts

Hello, so I'm trying to make a energy transfer node that can wirelessly transfer energy through a linking card. I am making it so that it can transfer an infinite amount of energy by just dumping the contents of the sending end to the receiving end.

I already have it so that you can shift right click on the receiving end of the block to save the coordinates to the NBT of the link card. The thing is, once you have the coordinates, how would you actually find the block in the world (The receiving end block)? I have it so it gets the coordinates but what is the method to find the block in those coordinates?

 

EDIT: In other words, how would I get the BlockPos out of the coordinates?

Edited by TesterTesting135
Solved.
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.