Interface CustomAttributeAdder<T>

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 interface CustomAttributeAdder<T>
  • Method Summary

    Modifier and Type Method Description
    void addAll​(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.block.BlockState state, AttributeList<T> to)
    Adds every attribute instance to the given list that the block itself cannot be expected to add support for.
  • Method Details

    • addAll

      void addAll​(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.block.BlockState state, AttributeList<T> to)
      Adds every attribute instance to the given list that the block itself cannot be expected to add support for.