Checking Cauldron!

Discussion in 'Plugin Development' started by Ahmet094, Sep 10, 2012.

Thread Status:
Not open for further replies.
  1. Title says it all^^
    Is it possible to check if a cauldron is filled with water or not?

    Edit: Sry for tagging, but I think, that you're the only ones who can actually help me ;P
    TnT h31ix mbaxter Jacek kyle1320
     
  2. Offline

    TnT

    I can't help you. You do not need to tag everyone on your first post. Try asking a general question, you'd be surprised how many people will help you out. No need to tag staff.
     
    h31ix and ZeusAllMighty11 like this.
  3. Okay sry^^
    So I'm hoping to get help from as many users as possible. ;)
     
  4. Offline

    ZeusAllMighty11

    Ahmet094


    That is the easiest way to get bukkit staff to hate you . . . Tag people who don't have to moderate the forums, and actually work on the Bukkit Project... like r0306 or travja or someone like that...
    The staff are very busy, you are probably wasting their time...


    [​IMG]


    I literally found that within 5 seconds of going to the bukkitapi docs . . .http://jd.bukkit.org/apidocs/
     
    TnT likes this.
  5. @ZeusAllMighty11 I'm always looking things up there, but this time somehow didn't think about it.
    Again.. I'm sorry, if I annoyed the Bukkit-Staff.
     
  6. Offline

    Gravity

    It's alright you just have to realize the staff aren't the only people who know stuff here, at all. :p
     
  7. Yes sure^^ Just searched for quick help and didn't thought of your own work :p

    Another question:
    Why can't I cast the cauldron I'm standing in to a cauldron?

    Code:
    @EventHandler
        public void asdfas(PlayerMoveEvent event) {
            Player spieler = event.getPlayer();
            Location loc = spieler.getLocation();
            Block b = loc.getBlock();
            if(b.getType() == Material.CAULDRON){
               
                Cauldron cauldron = (Cauldron) b;
    Already tried it with "Block b = loc.getBlock().getState();"
    The appearing error says that the block cannot be cast to a cauldron...
     
    jonathanpecany likes this.
Thread Status:
Not open for further replies.

Share This Page