Interface Material

All Superinterfaces:
CacheableObject<CachedMaterial>
All Known Implementing Classes:
CachedMaterial, NativeMaterial

public interface Material extends CacheableObject<CachedMaterial>
  • Method Details

    • load

      @Contract("_ -> new") @NotNull static @NotNull Material load(@NotNull @NotNull String path) throws ResourceIOException
      Throws:
      ResourceIOException
    • load

      @Contract("_ -> new") @NotNull static @NotNull Material load(@NotNull @NotNull Read buf) throws ResourceIOException
      Throws:
      ResourceIOException
    • name

      @NotNull @NotNull String name()
    • group

      @NotNull @NotNull MaterialGroup group()
    • color

      @NotNull @NotNull Color color()
    • smoothAngle

      float smoothAngle()
    • texture

      @NotNull @NotNull String texture()
    • textureScale

      @NotNull @NotNull Vec2f textureScale()
    • textureAnimationFps

      float textureAnimationFps()
    • textureAnimationMapping

      @NotNull @NotNull AnimationMapping textureAnimationMapping()
    • textureAnimationMappingDirection

      @NotNull @NotNull Vec2f textureAnimationMappingDirection()
    • disableCollision

      boolean disableCollision()
    • disableLightmap

      boolean disableLightmap()
    • dontCollapse

      boolean dontCollapse()
    • detailObject

      @NotNull @NotNull String detailObject()
    • detailObjectScale

      float detailObjectScale()
    • forceOccluder

      boolean forceOccluder()
    • environmentMapping

      boolean environmentMapping()
    • environmentMappingStrength

      float environmentMappingStrength()
    • waveMode

      @NotNull @NotNull WaveMode waveMode()
    • waveSpeed

      @NotNull @NotNull WaveSpeed waveSpeed()
    • waveAmplitude

      float waveAmplitude()
    • waveGridSize

      float waveGridSize()
    • ignoreSun

      boolean ignoreSun()
    • alphaFunction

      @NotNull @NotNull AlphaFunction alphaFunction()
    • defaultMapping

      @NotNull @NotNull Vec2f defaultMapping()