Arrow Detector
An arrow-detector circuit for use with RedstoneChips by eisental. To install, simply place the .jar in the bukkit plugins folder.
The idea for the plugin is to be used in the creation of puzzles and/or adventure maps. In conjunction with other plugins, or just creative use of redstone, you can produce some neat effects. One possible application (for any Zelda fans out there):
To use the arrow detector, create a circuit similar to this:
Left-click the signs (or right-click them in creative) to activate the chips. When the input pin (Iron) of the arrowdetect chip changes state, the output pin (Gold) is updated to be either off or on depending on whether or not an arrow is detected within the specified cubic radius of the interface block (Lapis). If no radius is specified in the second line of the sign, it defaults to 10. A clock chip is best for continuous updates, but any redstone signal to the input block will cause an update.
For more circuit documentation, visit eisental's documentation page.
-
View User Profile
-
Send Message
Posted Feb 21, 2012I get this error when trying to activate the sensor: http://pastebin.com/S8sZ5cZU
This is with the dev pirsensor and RedstoneChips 0.94
-
View User Profile
-
Send Message
Posted Feb 13, 2012@VechtMalthos
Thats sad news.. i like this as is.. dont want all sorts of other stuff. only need a arrow detector..
Hope someone else picks up a "arrow detector only" mod..
-
View User Profile
-
Send Message
Posted Feb 5, 2012sure, you are welcome on my server! I will send you my Server IP as private message.
-
View User Profile
-
Send Message
Posted Feb 5, 2012@cubecubiac
That's what open source is for. I'd be interested in seeing your dungeon, though, if you feel like sharing. :D
-
View User Profile
-
Send Message
Posted Feb 5, 2012@ VechtMalthos
I solved the problem. I just rewrote your code without @override and the latest RedstoneChips Library. Now it works great and we already used it in a dungeon :). I hope its ok that i opened your code :/? I can put the new jar in my dropbox for you if you want. I use the latest version of RedstoneChips and CB 1.0.1-R1.
edit: And yes i already used the latest RedstoneChips before i rewrote. I dont know if the problem was only on my server.
-
View User Profile
-
Send Message
Posted Feb 5, 2012@cubecubiac
Do you have the latest version of RedstoneChips installed?
-
View User Profile
-
Send Message
Posted Feb 5, 2012Hi VechtMalthos, this plugin is a great idea and i would like to use it on my server, but i get an error on rightclick the arrowdetect sign:
2012-02-05 20:51:34 [SEVERE] Could not pass event PLAYER_INTERACT to RedstoneChips java.lang.NoSuchFieldError: interfaceBlocks at org.vecht.arrowdetector.arrowdetect.init(arrowdetect.java:41) at org.tal.redstonechips.circuit.Circuit.initCircuit(Circuit.java:133) at org.tal.redstonechips.CircuitManager.activateCircuit(CircuitManager.java:200) at org.tal.redstonechips.CircuitManager.checkForCircuit(CircuitManager.java:177) at org.tal.redstonechips.RCPlayerListener.onPlayerInteract(RCPlayerListener.java:40) at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:335) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178) at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:266) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:593) at net.minecraft.server.Packet15Place.a(SourceFile:39) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
Any idea to solve this? I am using CB 1.0.1-R1 and i used your circuit 1:1.
-
View User Profile
-
Send Message
Posted Jan 13, 2012This will be obsolete with the next release of RedstoneChips, which will feature a general PIRSensor that can detect any specified entity or collection of entities. I'll update this plugin's description when that happens.