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 TypeMethodDescriptionfinal voidAttribute.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.final <BE> voidAttribute.putBlockEntityClassAdder(AttributeSourceType sourceType, Class<BE> clazz, boolean matchSubclasses, BlockEntityAttributeAdder.BlockEntityAttributeAdderFN<T, BE> adder) Class-based block entity attribute adder.final <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.final 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.BlockEntityAttributeAdderFNModifierConstructorDescription