Interface ParticleRenderEvents.AllowBlockDustTint

Enclosing class:
ParticleRenderEvents
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ParticleRenderEvents.AllowBlockDustTint
  • Method Details

    • allowBlockDustTint

      boolean allowBlockDustTint(BlockState state, ClientWorld world, BlockPos pos)
      Checks whether a block dust particle can be tinted using the corresponding block's color provider.
      Parameters:
      state - the block state that the particle represents
      world - the world the particle is created in
      pos - the position of the particle
      Returns:
      true if color provider tinting should be allowed, false otherwise