[INACTIVE][EDIT] PaintingSwitch v0.1 - Choose paintings with ease [672]

Discussion in 'Inactive/Unsupported Plugins' started by Edward Hand, Feb 24, 2011.

  1. Offline

    Edward Hand

    PaintingSwitch v0.1

    Getting the specific painting you want on your wall can be annoying - constantly having to smash and recreate, it constantly giving you that stupid picture of the skeleton that you don't want. If only there were an easier way...

    Instructions
    1. Place a painting on the wall
    2. Look at the painting
    3. Scroll your mouse-wheel in either direction
    It really is that easy! No more random paintings. Scroll through all the possible images in order. If you go past the one you want, just scroll back again. Could it be any more simple?


    Feature Summary
    • Change paintings by looking at them and scrolling.
    Download Link:

    http://www.srcf.ucam.org/~eh392/minecraft/PaintingSwitch/PaintingSwitch.jar

    Change log:
    version 0.1
    • Plugin Released
     
  2. Offline

    darknesschaos

    How about some sort of permissions, or some way to make it so not anyone can change any and all paintings. Other than that, this seems functionally quite nice! And finally a use for the scroll wheel!
     
  3. Offline

    Edward Hand

    Why does everyone want permissions every time?!?!?
    >_<
    *head explodes*
     
    Seth.D and narrowtux like this.
  4. Offline

    Trigonous

    You have no idea how long I've been waiting for this mod for Bukkit. And it's implemented even better than Punch-a-Picture! YES!

    You have my eternal gratitude.
     
  5. Offline

    Arcwolf

    Screeee!!! dude! freakin sweet. This is going to be a mega time saver. No more dread of decorating buildings fighting with paintings. <sigh of relief> many thanks! ... Yea what Trigonous said! :-D
     
  6. Offline

    Waffletastic

    How do we download this?
     
  7. Offline

    Edward Hand

    Click on the link + open the compressed file in 7zip/winrar/whatever. The jar is inside.
     
  8. Offline

    Plague

    or just "tar xzf <file>" right? ;)

    Okay, seriously Edward, move to Czech Republic because we need you here :D
    I mean when i read the "use scroll button" I really thought What the hell?? He just hacks the protocol or what? Okay maybe you have some event to change item in hand and look for changes, but still!
     
  9. Offline

    CuZnDragon

    Humm wonder if there is a way to get the more-paintings xtreme server added to this to work with the client mod...
     
  10. Offline

    anon

  11. Offline

    fullwall

    From guessing without seeing the source code, you're probably using onItemHeldChange? Nice work - I tried to do this myself actually :)P). Problem I had was getting it to recalculate its position. Looks like you're l33t enough to do that!

    Just looked at source - nice way of calculating which one to go to - especially like the axisAlignedBB stuff - I may put into MonsterTamer :).

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 10, 2016
  12. Offline

    Edward Hand

    Stop decompiling my code!
    I have mob-related plans of my own....
     
  13. Offline

    fullwall

    I'm sorry :(.
     
  14. Offline

    Plague

    Could you delete the default constructor to get rid of the warning? I bet you don't even use it for anything just to call the super function.
     
  15. Offline

    Edward Hand

    Redownload if you would. It should now be fixed.
     
  16. Offline

    Anoniempje

    How to get more than 2x2?
    I want my big paintings aswell :)
     
  17. Offline

    Edward Hand

    It will only cycle through paintings that you would normally be able to place there ie. that there is enough room to spawn (you've no idea how much hassle implementing that was).
    Want bigger paintings? Use a bigger wall.
     
  18. Offline

    Anoniempje

    huge flat wall of 10x10 should be enough, guess ill scroll more.
    Mind adding an on/off command?
    When i'm busy with constructing i scroll a lot aswell, had to scroll back paintings
     
  19. Offline

    Edward Hand

    If you're scrolling really really fast, don't. Also, make sure your paintings aren't right at the edge of the wall or it limits their size (the same as with placing paintings normally)
     
  20. Offline

    Anoniempje

    thanks I'll keep that in mind.​
     
  21. Offline

    Afforess

    Using the onItemHeld event to detect mouse wheel scrolling - brilliant!
     
  22. Offline

    Edward Hand

    Thanks! Coming from you that's compliment indeed.
     
  23. Offline

    Emalde

    Such a great plugin, interior design has never been so easy~
     
  24. Offline

    CuZnDragon

    Getting this error with craftbukkit 450 and up...


    Code:
    08:15:29 [SEVERE] Could not load plugins/PaintingSwitch.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:80)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:129)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:94)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NoSuchMethodException: com.edwardhand.paintingswitch.PaintingSwitch.<init>()
        at java.lang.Class.getConstructor0(Class.java:2706)
        at java.lang.Class.getConstructor(Class.java:1657)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:75)
        ... 8 more
    
     
  25. Offline

    Edward Hand

    Try downloading it again.
     
  26. Offline

    Soul Reaper

    you should all the plugins you have to the CraftBukkitUpToDate post. Makes keeping track of all of them easier >.>
     
  27. Offline

    Draconicus

    .tar.gz!
    Greetings, fellow Linux user! :3

    In all seriousness, though, a zip might be more accessible for the average joe.
     
  28. Offline

    Dutchy

    That's some cool magic you're pulling off here Edward! Would love to see the source.
     
  29. Offline

    Ryan Carretta

    Well done, Edward.
     
  30. Works fine & very usefull. THX!
     

Share This Page