Package alexiil.mc.lib.attributes
Interface BlockEntityAttributeAdder.BlockEntityAttributeAdderFN<AT,BE>
- Enclosing interface:
- BlockEntityAttributeAdder<AT,
BE>
- 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 BlockEntityAttributeAdder.BlockEntityAttributeAdderFN<AT,BE>
FunctionalInterface
version of BlockEntityAttributeAdder
.
You can convert instances of this into the full BlockEntityAttributeAdder
via
BlockEntityAttributeAdder.ofBasic(BlockEntityAttributeAdderFN)
or
BlockEntityAttributeAdder.ofTyped(Class, BlockEntityAttributeAdderFN)
.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAll
(BE blockEntity, AttributeList<AT> to) Adds every attribute instance to the given list that the block entity itself cannot be expected to add support for.
-
Method Details
-
addAll
Adds every attribute instance to the given list that the block entity itself cannot be expected to add support for.
-