Package alexiil.mc.lib.attributes
Class BlockEntityAttributeAdder.BeAdderBase<AT,BE>
java.lang.Object
alexiil.mc.lib.attributes.BlockEntityAttributeAdder.BeAdderBase<AT,BE>
- All Implemented Interfaces:
 BlockEntityAttributeAdder<AT,BE>
- Enclosing interface:
 - BlockEntityAttributeAdder<AT,BE>
 
public static class BlockEntityAttributeAdder.BeAdderBase<AT,BE>
extends Object
implements BlockEntityAttributeAdder<AT,BE>
Base class for 
BlockEntityAttributeAdder.BlockEntityAttributeAdderFN conversions. Most of the time you are recommened to use
 BlockEntityAttributeAdder.ofBasic(BlockEntityAttributeAdderFN) or
 BlockEntityAttributeAdder.ofTyped(Class, BlockEntityAttributeAdderFN) instead of this directly.- 
Nested Class Summary
Nested classes/interfaces inherited from interface alexiil.mc.lib.attributes.BlockEntityAttributeAdder
BlockEntityAttributeAdder.BeAdderBase<AT,BE>, BlockEntityAttributeAdder.BlockEntityAttributeAdderFN<AT,BE> - 
Constructor Summary
ConstructorsConstructorDescriptionBeAdderBase(Class<BE> clazz, BlockEntityAttributeAdder.BlockEntityAttributeAdderFN<AT,BE> fn) - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddAll(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.toString() 
- 
Constructor Details
- 
BeAdderBase
public BeAdderBase(Class<BE> clazz, BlockEntityAttributeAdder.BlockEntityAttributeAdderFN<AT,BE> fn) 
 - 
 - 
Method Details
- 
getBlockEntityClass
- Specified by:
 getBlockEntityClassin interfaceBlockEntityAttributeAdder<AT,BE>- Returns:
 - The target 
Classfor theBlockEntity. This doesn't extendBlockEntityso you can target interfaces that block entities may implement). 
 - 
addAll
Description copied from interface:BlockEntityAttributeAdderAdds every attribute instance to the given list that the block entity itself cannot be expected to add support for.- Specified by:
 addAllin interfaceBlockEntityAttributeAdder<AT,BE>
 - 
toString
 
 -