Lucky Blocks

Discussion in 'Plugin Development' started by pie_flavor, Oct 12, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    pie_flavor

    So I am thinking of making a plugin, and this plugin will basically be a Bukkit representation of the popular mod Lucky Block. Since I can't edit textures in-game, however, I have chosen instead to use a glass block with a diamond floating in it. And this diamond is presenting some annoyances. A block of glass breaks exactly as fast as a normal lucky block, and the easiest way to show that it is different is to have a diamond item floating in the center of it. The entity is rather easy - I just have to set the age to -32768 and the pickup delay to 32767, but I can't figure out how to get the item to stay in the middle of the glass block.

    My question is this - How can I get the diamond item to stay in the middle of the block of glass?
     
  2. Offline

    JjPwN1

  3. Offline

    pie_flavor

    JjPwN1 Thanks! I use this all the time in vanilla, but never thought to try it in bukkit! Nice signature btw.

    And for anyone interested, this will have all the lucky block possibilities of the actual mod.
     
Thread Status:
Not open for further replies.

Share This Page