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 Summary

    Modifier and Type
    Method
    Description
    boolean
    allowBlockDustTint(net.minecraft.world.level.block.state.BlockState state, net.minecraft.client.multiplayer.ClientLevel world, net.minecraft.core.BlockPos pos)
    Checks whether a block dust particle can be tinted using the corresponding block's color provider.
  • Method Details

    • allowBlockDustTint

      boolean allowBlockDustTint(net.minecraft.world.level.block.state.BlockState state, net.minecraft.client.multiplayer.ClientLevel world, net.minecraft.core.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