Uses of Interface
alexiil.mc.lib.attributes.BlockEntityAttributeAdder.BlockEntityAttributeAdderFN
Packages that use BlockEntityAttributeAdder.BlockEntityAttributeAdderFN
-
Uses of BlockEntityAttributeAdder.BlockEntityAttributeAdderFN in alexiil.mc.lib.attributes
Methods in alexiil.mc.lib.attributes with parameters of type BlockEntityAttributeAdder.BlockEntityAttributeAdderFNModifier and TypeMethodDescriptionvoidAttribute.addBlockEntityPredicateAdder(AttributeSourceType sourceType, boolean specific, Predicate<net.minecraft.block.entity.BlockEntityType<?>> filter, BlockEntityAttributeAdder.BlockEntityAttributeAdderFN<T,net.minecraft.block.entity.BlockEntity> adder)Predicate-based block entity attribute adder.static <AT> BlockEntityAttributeAdder<AT,net.minecraft.block.entity.BlockEntity>BlockEntityAttributeAdder.ofBasic(BlockEntityAttributeAdder.BlockEntityAttributeAdderFN<AT,net.minecraft.block.entity.BlockEntity> fn)Creates a fullBlockEntityAttributeAdderfrom theFunctionalInterfacevariant, but only allows targetingBlockEntitydirectly.static <AT, BE> BlockEntityAttributeAdder<AT,BE>BlockEntityAttributeAdder.ofTyped(Class<BE> clazz, BlockEntityAttributeAdder.BlockEntityAttributeAdderFN<AT,BE> fn)Creates a fullBlockEntityAttributeAdderfrom theFunctionalInterfacevariant, and aClassto target.<BE> voidAttribute.putBlockEntityClassAdder(AttributeSourceType sourceType, Class<BE> clazz, boolean matchSubclasses, BlockEntityAttributeAdder.BlockEntityAttributeAdderFN<T,BE> adder)Class-based block entity attribute adder.<BE extends net.minecraft.block.entity.BlockEntity>
voidAttribute.setBlockEntityAdder(AttributeSourceType sourceType, net.minecraft.block.entity.BlockEntityType<BE> type, Class<BE> clazz, BlockEntityAttributeAdder.BlockEntityAttributeAdderFN<T,BE> adder)Sets theBlockEntityAttributeAdderfor the given block entity type, which is only used if the block entity in question doesn't implementAttributeProviderBlockEntity.voidAttribute.setBlockEntityAdderFN(AttributeSourceType sourceType, net.minecraft.block.entity.BlockEntityType<?> type, BlockEntityAttributeAdder.BlockEntityAttributeAdderFN<T,net.minecraft.block.entity.BlockEntity> adder)Sets theBlockEntityAttributeAdderfor the given block entity type, which is only used if the block entity in question doesn't implementAttributeProviderBlockEntity.Constructors in alexiil.mc.lib.attributes with parameters of type BlockEntityAttributeAdder.BlockEntityAttributeAdderFNModifierConstructorDescriptionBeAdderBase(Class<BE> clazz, BlockEntityAttributeAdder.BlockEntityAttributeAdderFN<AT,BE> fn)