Solved Setting vine direction

Discussion in 'Spigot Plugin Development' started by Hex_27, Jan 27, 2020.

  1. There doesn't seem to be a Vine blockstate, and the materialdata for it is deprecated. Is there a way to set the direction without using materialdata, or do I just ignore the deprecation and use it anyway?

    EDIT: Is it Directional now?
     
  2. Isnt there a setFacing() ?
    That should be using the BlockData.
     
  3. That's directional, I'm trying it now
     
  4. Code (Text):
    Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_15_R1.block.impl.CraftVine cannot be cast to org.bukkit.block.data.Directional
    Rip lol, guess it's not directional
     
    • Like Like x 1