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.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
allowBlockDustTint
(BlockState state, ClientWorld world, BlockPos pos) Checks whether a block dust particle can be tinted using the corresponding block's color provider.
-
Method Details
-
allowBlockDustTint
Checks whether a block dust particle can be tinted using the corresponding block's color provider.- Parameters:
state
- the block state that the particle representsworld
- the world the particle is created inpos
- the position of the particle- Returns:
true
if color provider tinting should be allowed,false
otherwise
-