Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

Cursor detector in Minecraft-Proof of concept


  • Please log in to reply
30 replies to this topic

#1

101 210
    101 210

    Coal Miner

  • Members
  • 137 posts

Posted 13 April 2012 - 04:52 AM

Teaser video:

Hello!

Today, I'd like to share with you what I believe is a brand new technology in Minecraft, derivated from my inventory activated redstone (see http://www.minecraft...-fov-detection/).

As you saw in the video, it's a cursor detector. I think its awesome, and could be really helpful for anyone building a computer and who want to make a mouse. Unfortunatly, I lack the skills to do a mouse myself, but I'm sure someone will come with something.

So, how does it works?

Remember the stairs receiver, that can detect if you have stairs in your inventory?(if you have no idea what I'm talking about, see the linked thread above)

Well, I discovered that if you are far enough away from the receiver (the thing with the boat), stairs on the ground count as in your inventory, BUT ONLY IF THEY ARE ON THE SCREEN!
It doesn't matter if they are behind a block, as long as they are not so far away that you cant see them and in the screen, they will take away the collision mask from the equivalent stairs in the receiver. Using that, you can make a circuit that goes on if a certain block is in your view...

Lots of possibilities!
-Safe that only open if you look at a certain block from a certain distance!
-Trap that kill people who break your chest (combined with the inventory activated redstone, 95% safe chests!)
-New computer interfaces!
-Combo lock openning by looking at paintings in the right order!
-Anything else you can think of!


Please, share your thought!

Fun fact: I said that you need to be far away (at least 35 blocks, may vary, should have to do with number of chuncks) from the receiver, but the stange thing is that you need to be far away from EVERY receiver using the same stairs, not just the one you actually use for redstone power.


This glitch is weird, but I hope it stays Posted Image


Download world from the video (lots of crap circuit around, I was testing)
http://www.mediafire...sqdf4dfpq4fjd99

Pics:
Posted Image
Posted Image
Posted Image
Posted Image
Posted Image

Register or log in to remove.

#2

Faielyn
    Faielyn

    Coal Miner

  • Members
  • 122 posts
  • Minecraft: Faielyn

Posted 13 April 2012 - 06:15 AM

Wow, you really have taken this to a great length. Right now I am considering all that can be accomplished with this. Now is there a maximum distance for this? I would assume that the items would factor into your draw distance for something like this. A mouse would definitely be possible but to what accuracy. Hmm... Oh! Has anyone checked the latest snapshot to see if this has been fixed? Just want to know before this becomes part of a large project. Again, congrats on your finds, hopefully this will be here to stay.
Posted Image
Nothing is impossible, some things are just highly improbable.

#3

kbec7
    kbec7

    Iron Miner

  • Members
  • 278 posts
  • Minecraft: kbec7

Posted 13 April 2012 - 06:24 AM

amazing
HoNk HoNk MoThErĀ­Er.
:o)

#4

N-Man
    N-Man

    Zombie Killer

  • Members
  • 212 posts
  • Location: The universe. The one with the galaxies and planets and aliens and cookies and black holes and helicopters and dark matter and stuff.
  • Minecraft: _nimrod_

Posted 13 April 2012 - 06:43 AM

Upside down stairs becomeing not-collide when you can see one in your inv/screen? Now THAT'S a weird glitch.
Anyway, this is a great invention! You know those games where you should move your cursor between the walls without touching them? This is possible now!
Posted Image
Click it. Now.
Spoiler:

#5

Selulance

Posted 13 April 2012 - 12:16 PM

Man this is some cool technology. Just like a wireless remote thingy, insane...

#6

UK_Legend
  • Location: UK
  • Minecraft: xUK_Legendx

Posted 13 April 2012 - 01:18 PM

The possibilities.. +1 to you good sir, nice find

#7

gustav165
  • Minecraft: RainyTree

Posted 13 April 2012 - 01:53 PM

I think you can get more detection points by checking if multiple detectors are sending a signal. Great job on this.
I like redstone. If you respond to my post please quote it or I won't be notified.
IGN: RainyTree

#8

101 210
    101 210

    Coal Miner

  • Members
  • 137 posts

Posted 13 April 2012 - 02:22 PM

The distance it work: the stairs need to be less than 16 block from you. You can test it by looking directly at the entity: If you go too far, it will stop being rendered.

In my demonstration, I used 4 channels(up, down, left, right). You can have a total of 6 channels (5 stairs + half slabs), so you can make something more elaborate. In fact, they are totally independant and almost instant (the delay you see in the video is caused by the long wire, not the detector itself), so you can make anything you can make with 6 levers that are on when you look at them.


For the mouse and mouse precision: I made the technologie for a 7x7 (no limit, just that I made it that size) screen with a precision of 1 block. The problem is I dont know how to make a 1 block 1 pixel display. If someone can link an exemple, I'll be grateful.

Oh, and you dont need upside down stairs, just regular (see the pics) but you need upside down half-slabs.

Edit: Fully working with the snapshot

#9

ilForno
    ilForno

    Zombie Killer

  • Members
  • 202 posts
  • Location: Copenhagen, Denmark
  • Minecraft: Marco2216

Posted 13 April 2012 - 05:27 PM

View PostGodzilla_uses_FireFox, on 13 April 2012 - 01:13 PM, said:

Lol, you can make diamond ore with this that disappears (gets pulled away and stone bock pushed in place) when you look at it. That'd really freak out people... lol
Playing around with it, made this:
http://makeagif.com/i/SOxD36
A pulse shortener + block swapper (i know, the gif is horrible x)
"The world is a dangerous place to live - not because of the people who are evil but because of the people who don't do anything about it." - Albert Einstein
Posted Image

#10

101 210
    101 210

    Coal Miner

  • Members
  • 137 posts

Posted 13 April 2012 - 11:52 PM

Can someone test this in SMP?

Should work...

Btw, how to make a button: when you see the stair item, the power is sent to a piston that drop the item in lava. that way you can have only one receiver type for a whole row of block, for a sreen for exemple

#11

Smj
    Smj

    Tree Puncher

  • Members
  • 13 posts

Posted 14 April 2012 - 04:31 AM

I believe 777static777 covered this except he did it with glass panes/iron fences for a total of 8 channels.




I could be mistaken however.

#12

101 210
    101 210

    Coal Miner

  • Members
  • 137 posts

Posted 14 April 2012 - 05:56 AM

What static showed is the wireless redstone found by zomb1e (I think, correct me if Im wrong)

This is different. Its based on the same bug ( more or less...) but the stairs only loses their collision mask if you have one in your inventory(while, with the fences thing, they lose it by colliding with an entity). Using this, I developped the Inventory activated redstone, and now this, wich detect where you are looking.

So, Static showed new WIRES. This is a new redstone ACTIVATOR.

BTW, with fences, I believe the channels arent combinable, so it is one big switch with state 0,1,2,3,4,5,6,7.
This use combinable channels. So 6 switchs with states 0 and 1. Way more possibilities.

Anyway, I'm almost done with my 11x11 trackpad wich follow your pointer with a precision of 1 block. Stay tuned!

To someone who want to contribute: English isn't my native language, you may have guessed it, so I'm not that good at explainning how all this works...
So if someone could make a nice explannation of this system for those unfamilliar with it, feel free to PM it to me (and post here you PMed me... Dont have the habit to check my PM...) so I can add it to the OP (with credit, oc...)

#13

Smj
    Smj

    Tree Puncher

  • Members
  • 13 posts

Posted 14 April 2012 - 06:33 AM

Iron fences and glass panes can also be activated by simply looking at them.

#14

101 210
    101 210

    Coal Miner

  • Members
  • 137 posts

Posted 14 April 2012 - 02:01 PM

But not by looking at the object you trow on the ground Posted Image

#15

samruxman
  • Location: Santiago, Chile
  • Minecraft: Samrux

Posted 14 April 2012 - 02:24 PM

View Post101 210, on 14 April 2012 - 05:56 AM, said:

What static showed is the wireless redstone found by zomb1e (I think, correct me if Im wrong)

This is different. Its based on the same bug ( more or less...) but the stairs only loses their collision mask if you have one in your inventory(while, with the fences thing, they lose it by colliding with an entity). Using this, I developped the Inventory activated redstone, and now this, wich detect where you are looking.

So, Static showed new WIRES. This is a new redstone ACTIVATOR.

BTW, with fences, I believe the channels arent combinable, so it is one big switch with state 0,1,2,3,4,5,6,7.
This use combinable channels. So 6 switchs with states 0 and 1. Way more possibilities.

Anyway, I'm almost done with my 11x11 trackpad wich follow your pointer with a precision of 1 block. Stay tuned!

To someone who want to contribute: English isn't my native language, you may have guessed it, so I'm not that good at explainning how all this works...
So if someone could make a nice explannation of this system for those unfamilliar with it, feel free to PM it to me (and post here you PMed me... Dont have the habit to check my PM...) so I can add it to the OP (with credit, oc...)
Do you speak spanish Posted Image?

On topic: "Simon says" game anyone?

#16

101 210
    101 210

    Coal Miner

  • Members
  • 137 posts

Posted 15 April 2012 - 01:22 AM

No, french

Btw, almost done with my mousepad

#17

Zagoof12

Posted 15 April 2012 - 04:10 AM

French? I take french in school. J'aime ce invention beaucoup.
Explanation: A stair that is placed (upside-down or not) loses its collision mask when you can see the stair in your inventory or a furnace, chest, dispenser, ... etc. The stair loses the mask, the boat falls, triggering the pressure plate, which can be made for any output you desire. You can have a total of 6 outputs, one for each stair + 1 for upside half slabs, which different types do not matter. That was the inventory detection.
This detection is when you are far enough away from the receiver. (boats..) stairs on the ground count as in your inventory, but only if your cursor is pointing at it. It doesn't matter if a block is in the way, as long as they as you can see them on your screen, they will trigger the receiver, giving (again) a total of 6 different outputs. In his example, he made a redstone lamp turn on when he looked at it.
(To be honest, I was thinking of endermen before I saw your inventory detection)
Hope this helped.

#18

sjc1000
    sjc1000

    Zombie Killer

  • Members
  • 247 posts

Posted 15 April 2012 - 07:45 AM

Oooh, something to do with that awesome stair glitch again... LOVE IT BRO


Quote

English isn't my native language, you may have guessed it, so I'm not that good at explainning how all this works...

WHAT, no way i would never actually pick up on that, you can actually speak (Type) Better than some people on this forum.

Anyway what was it like learning english, apparently it is the hardest language to learn, im learning Mandarin and im finding it soooo hard.  
Posted Image

#19

Sealystar
    Sealystar

    Blaze Extinguisher

  • Members
  • 4659 posts
  • Location: In caelo cum astris
  • Minecraft: SealyStar

Posted 15 April 2012 - 01:31 PM

It doesn't work for me.
What are the conditions one must have the stairs in for this to work?
Sum bronius sine pictura mannuli. Noli odire.

#20

101 210
    101 210

    Coal Miner

  • Members
  • 137 posts

Posted 15 April 2012 - 02:45 PM

You have to be far away from the receiver. The actual distance seems to vary (must have something to do with chuncks) Try 35 blocks, then go back some blocks if it doesnt work.

The stairs must go up and down quickly in the receiver. for a tutorial on how to make the receiver, see:
If you build this and the boat dont seem to loose ALL its collision mask, change the orientation of the device.