[INACTIVE][MECH] RainbowWool v1.0 - use redstone to bring rainbows to wool. [300+]

Discussion in 'Inactive/Unsupported Plugins' started by fullwall, Feb 17, 2011.

  1. Offline

    fullwall

    RainbowWool
    Bring colour to your wool

    Download latest: v1.0
    NOTE: If you experienced issues before, redownload. Please accept my apologies.

    RainbowWool is an innovative way to bring colour to wool based on redstone input. Usually, dyes are required to get wool to change to anything other than dull old white. With RainbowWool, a simple redstone circuit could change everything.

    RainbowWool uses the strength of redstone current to set colours of wool. For every increase in current by 1, the wool will change colour to the corresponding data value. Use RainbowWool to brighten up your skyscraper, colourise your disco or maybe even create a colour display.

    Use the below image and link for reference: redstone current starts at 16 For every decrease in current (1 block move), the colour will move down by 1 value.

    Wool values (scroll down)

    [​IMG]

    Features:

    -Easy to configure, drag/drop functionality.
    -Wool colours change instantly based on redstone input.​

    Changelog:

    -v1.0 - initial release.​
     
  2. Offline

    Xemnas33

    Awesome so I can use this to make a groovy wave pattern floor? :D
     
  3. Offline

    WMisiedjan

    Won't this lag the server alot with a very big rainbow?
     
  4. Offline

    Moo Master

    Must, make, super, cool, rainbow, wall, just, out, of, spawn.
     
  5. Offline

    fullwall

    It wouldn't lag the server at all.
     
  6. Offline

    RchGrav

    Bug Report/Warning: This plugin will break existing circuitry by making redstone torches only attach / reattach to the ground instead of the side of a block. (breaks inverters and logic gates)....

    This was experienced on my server and I needed to remove the plugin and restore from backup... Other people should verify if this causes issues for them, as it may just be an incompatibily with my version of craftbook (339) or another plugin.
     
  7. Offline

    ivo924

    Confirm, all retstone torches are disconnectet and reconnected to the ground.
    Thank god i had several backups!
     
  8. Offline

    fullwall

    Hmmm... I'll see what may be causing this. Sorry about your worlds :(
    --- merged: Feb 19, 2011 5:41 AM ---
    I don't know what would cause it... unless redstone attaching is based on block data?
    --- merged: Feb 19, 2011 5:43 AM ---
    @RichGrav, can you try redownloading again please and see it will work?
    --- merged: Feb 19, 2011 5:56 AM ---
    I think it works now, it does on my comp.
     
  9. Offline

    RchGrav

    I'm giving it a try... Looks like a great plugin. I'll let you know how it goes.

    Rich
     
  10. hmmm
    RapidPulsers /break/ the map until the plugin is uninstalled. uhhh... i think woolblock-RapidPulsers...

    This plugin is actually really cool, i hope a fix will come soon for the rapid pulsers.
     
  11. Offline

    fullwall

    Does it lag heaps?
     
  12. uhhmm...
    I honestly don't understand what your saying.

    all i know is -Xmx and -Xms is 1024.
     
  13. Offline

    ZimperZ

    Double rainbow all the way!
    OT: Thanks :) Funny plugin ^^
     
  14. Offline

    fullwall

    How do rapid pulsers 'break' the server? This will help me fix your problem.
     
  15. when multiple things are connected to a wool block (with a rapid Pulser, 2 redstone torches and 2 restonewire placed on a wool block)

    it will change colors for only a second. and then the server becomes unresponsive until it restarts, i cant test this again. cause i dont know where to get an older version of Bukkit.

    But on my server someone made a pulser then the server became unresponsive, i had to restart it. i dont know if there is something wrong with my server, or if this is for everyone.

    I don't really test plugins on a localserver.
     
  16. Offline

    fullwall

    Sounds like there's just too much input on one wool block :/. You could try to find some way to test this locally, or alternatively you could get a more powerful server to handle the lag.
     
  17. oh... i just noticed, it shows an error... sorry for that

    Code:
        at org.bukkit.craftbukkit.block.CraftBlock.setData(CraftBlock.java:94)
        at com.fullwall.RainbowWool.BlockListen.onBlockRedstoneChange(BlockListen.java:47)
        at org.bukkit.plugin.java.JavaPluginLoader$29.execute(JavaPluginLoader.java:272)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
        at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:107)
        at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:37)
        at net.minecraft.server.BlockRedstoneWire.b(BlockRedstoneWire.java:281)
        at net.minecraft.server.World.l(World.java:465)
        at net.minecraft.server.World.h(World.java:445)
        at net.minecraft.server.World.f(World.java:414)
        at net.minecraft.server.World.c(World.java:365)
     
  18. Offline

    fullwall

    Hmmm... that's an unusual error. This is caused by a block to the west of a redstone block not being able to set data - which is strange, since you should be able to in all cases. Can you try to find the specific block that causes this?
    --- merged: Feb 21, 2011 10:02 AM ---
    Can you try redownloading and trying again?
     
  19. i set all the redstone related stuff on wool, just like what the person on my server did. but i dont recall getting these errors on my actual server.
    Those errors were from a test server i decided to setup today.
     
  20. Offline

    fullwall

    Did redownloading fix the problem?
     
  21. Offline

    MephistophiA

    I just don't understand how this plugin works. Can you upload an example video to Youtube?
     
  22. Offline

    fullwall

    Well... not really :(. My computer has been weird. I may be able to tomorrow. For now, here's an explanation. Basically, every time redstone current passes next to a wool block, the wool block will change colour. The colour is based on how much current the redstone block is currently holding. IE. If I had 16 current in the wire or torch, and it passed next to a wool block, the wool block would change to colour 16 (which is black). The wool values link provided has a full list of these.
     
  23. PressurePlates:
    Code:
    [SEVERE] Could not pass event REDSTONE_CHANGE to RainbowWool
    java.lang.ClassCastException: org.bukkit.craftbukkit.block.CraftBlock cannot be cast to org.bukkit.material.Wool
        at com.fullwall.RainbowWool.BlockListen.onBlockRedstoneChange(BlockListen.java:48)
        at org.bukkit.plugin.java.JavaPluginLoader$29.execute(JavaPluginLoader.java:272)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
        at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:107)
        at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:152)
        at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:37)
        at net.minecraft.server.BlockRedstoneWire.b(BlockRedstoneWire.java:281)
        at net.minecraft.server.World.l(World.java:465)
        at net.minecraft.server.World.h(World.java:441)
        at net.minecraft.server.World.f(World.java:414)
        at net.minecraft.server.World.c(World.java:365)
        at net.minecraft.server.BlockPressurePlate.g(BlockPressurePlate.java:137)
        at net.minecraft.server.BlockPressurePlate.a(BlockPressurePlate.java:66)
        at net.minecraft.server.World.a(World.java:1611)
        at net.minecraft.server.World.f(World.java:1510)
        at net.minecraft.server.WorldServer.f(WorldServer.java:46)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:315)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:240)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)

    Button:
    Code:
    [SEVERE] Could not pass event REDSTONE_CHANGE to RainbowWool
    java.lang.ClassCastException: org.bukkit.craftbukkit.block.CraftBlock cannot be cast to org.bukkit.material.Wool
    	at com.fullwall.RainbowWool.BlockListen.onBlockRedstoneChange(BlockListen.java:56)
    	at org.bukkit.plugin.java.JavaPluginLoader$29.execute(JavaPluginLoader.java:272)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
    	at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:107)
    	at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:152)
    	at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:152)
    	at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:152)
    	at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:37)
    	at net.minecraft.server.BlockRedstoneWire.b(BlockRedstoneWire.java:281)
    	at net.minecraft.server.World.l(World.java:465)
    	at net.minecraft.server.World.h(World.java:446)
    	at net.minecraft.server.BlockButton.a(BlockButton.java:266)
    	at net.minecraft.server.World.g(World.java:1580)
    	at net.minecraft.server.World.f(World.java:1511)
    	at net.minecraft.server.WorldServer.f(WorldServer.java:46)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:315)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:240)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)

    Multiple Redstone:
    Code:
    [SEVERE] Could not pass event REDSTONE_CHANGE to RainbowWool
    java.lang.ClassCastException: org.bukkit.craftbukkit.block.CraftBlock cannot be cast to org.bukkit.material.Wool
    	at com.fullwall.RainbowWool.BlockListen.onBlockRedstoneChange(BlockListen.java:52)
    	at org.bukkit.plugin.java.JavaPluginLoader$29.execute(JavaPluginLoader.java:272)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
    	at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:107)
    	at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:152)
    	at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:152)
    	at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:152)
    	at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:152)
    	at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:152)
    	at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:152)
    	at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:152)
    	at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:152)
    	at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:152)
    	at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:152)
    	at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:152)
    	at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:152)
    	at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:152)
    	at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:152)
    	at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:37)
    	at net.minecraft.server.BlockRedstoneWire.b(BlockRedstoneWire.java:281)
    	at net.minecraft.server.World.l(World.java:465)
    	at net.minecraft.server.World.h(World.java:446)
    	at net.minecraft.server.World.f(World.java:414)
    	at net.minecraft.server.World.b(World.java:399)
    	at net.minecraft.server.BlockRedstoneTorch.a(BlockRedstoneTorch.java:109)
    	at net.minecraft.server.World.a(World.java:1611)
    	at net.minecraft.server.World.f(World.java:1510)
    	at net.minecraft.server.WorldServer.f(WorldServer.java:46)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:315)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:240)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)

    Switch On/Off
    Code:
    [SEVERE] Could not pass event REDSTONE_CHANGE to RainbowWool
    java.lang.ClassCastException: org.bukkit.craftbukkit.block.CraftBlock cannot be cast to org.bukkit.material.Wool
    	at com.fullwall.RainbowWool.BlockListen.onBlockRedstoneChange(BlockListen.java:60)
    	at org.bukkit.plugin.java.JavaPluginLoader$29.execute(JavaPluginLoader.java:272)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
    	at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:107)
    	at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:37)
    	at net.minecraft.server.BlockRedstoneWire.b(BlockRedstoneWire.java:281)
    	at net.minecraft.server.World.l(World.java:465)
    	at net.minecraft.server.World.h(World.java:445)
    	at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:45)
    	at net.minecraft.server.BlockRedstoneWire.b(BlockRedstoneWire.java:281)
    	at net.minecraft.server.World.l(World.java:465)
    	at net.minecraft.server.World.h(World.java:441)
    	at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:45)
    	at net.minecraft.server.BlockRedstoneWire.b(BlockRedstoneWire.java:281)
    	at net.minecraft.server.World.l(World.java:465)
    	at net.minecraft.server.World.h(World.java:441)
    	at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:45)
    	at net.minecraft.server.BlockRedstoneWire.b(BlockRedstoneWire.java:281)
    	at net.minecraft.server.World.l(World.java:465)
    	at net.minecraft.server.World.h(World.java:441)
    	at net.minecraft.server.BlockLever.a(BlockLever.java:181)
    	at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:141)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:502)
    	at net.minecraft.server.Packet15Place.a(SourceFile:57)
    	at net.minecraft.server.NetworkManager.a(SourceFile:232)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:78)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:325)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:240)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    
    
    
    2011-02-21 16:34:32 [SEVERE] Could not pass event REDSTONE_CHANGE to RainbowWool
    java.lang.ClassCastException: org.bukkit.craftbukkit.block.CraftBlock cannot be cast to org.bukkit.material.Wool
    	at com.fullwall.RainbowWool.BlockListen.onBlockRedstoneChange(BlockListen.java:60)
    	at org.bukkit.plugin.java.JavaPluginLoader$29.execute(JavaPluginLoader.java:272)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
    	at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:107)
    	at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:152)
    	at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:152)
    	at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:152)
    	at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:37)
    	at net.minecraft.server.BlockRedstoneWire.b(BlockRedstoneWire.java:281)
    	at net.minecraft.server.World.l(World.java:465)
    	at net.minecraft.server.World.h(World.java:441)
    	at net.minecraft.server.BlockLever.a(BlockLever.java:181)
    	at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:141)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:502)
    	at net.minecraft.server.Packet15Place.a(SourceFile:57)
    	at net.minecraft.server.NetworkManager.a(SourceFile:232)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:78)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:325)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:240)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
     
  24. Offline

    fullwall

    Sorry... redownload.
     
  25. Offline

    spoonikle

    number of current? you mean like 16 torches in one wire? or dose the color chance after current is applied each time. like one pulse turns it one color, then the next pulse another color, all the way up to 16 pulses then it restarts to 1?

    this must have been a lot of work.....

    if i were to use this, i would have a huge clock generator attached to row after row of this stuff up a huge tower coated in glass. i could even have it display a word by setting the blocks that make the word ahead by 5 or 6 cycles.
     
  26. Offline

    fullwall

    The colour is equal to the current level flowing into the block. It wasn't much work at all - look at the source code XD.
     
  27. Offline

    Trigonous

    As in, redstone stops flowing 16 blocks from the source, so the distance from the source affects the color of wool?
     
  28. Offline

    fullwall

  29. Offline

    Trigonous

    Makes sense. I've never designed a circuit like that before, but I suppose it is possible to have one block alternate through all the colors with fancy torch placement and some repeater clocks.
     
  30. Offline

    jascotty2

    :'(
    tried to make a multicolored floor, and came up with this:
    then this repeats indefinitely & had to kill the server:
    .. may have something to do with me using world edit to make a layer or redstone under the wool.. i'll try by hand..
    -Edit
    that was it... not sure why, but it seems to be working now :)
    - Another Edit
    ok.. nevermind. i added a clock output to the wool floor, and the exact same error came up [​IMG]
     

Share This Page