github.com/df-mc/dragonfly@v0.9.13/server/entity/effect/fire_resistance.go (about)

     1  package effect
     2  
     3  import (
     4  	"image/color"
     5  )
     6  
     7  // FireResistance is a lasting effect that grants immunity to fire & lava damage.
     8  type FireResistance struct {
     9  	nopLasting
    10  }
    11  
    12  // RGBA ...
    13  func (FireResistance) RGBA() color.RGBA {
    14  	return color.RGBA{R: 0xe4, G: 0x9a, B: 0x3a, A: 0xff}
    15  }