Solved Get a furnace display name

Discussion in 'Plugin Development' started by BlaSfaiMe, Jun 15, 2020.

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

    BlaSfaiMe

    Hi,
    I want to get a display name of a furnace, but Idk how to do that !
    Thanks !
    btw, i'm in 1.15.2
     
  2. Offline

    mAndAle

    If you have setted the display name of the furnace:

    Code:
    //we are in you event and you have already established the variables
    
    If (clicked.getType() == Material.FURNACE){
        If (clicked.hasItemneta() && clicked.getitemmeta.getdisplayname("you display name (better if you use a string preimposted)){
    
    //do something
    {
    {
    P.s sorry for grammar but I'm writing with telefon and I'm not at home
     
  3. Offline

    BlaSfaiMe

    k, thanks !
     
Thread Status:
Not open for further replies.

Share This Page