Uses of Interface
alexiil.mc.lib.attributes.BlockEntityAttributeAdder
Packages that use BlockEntityAttributeAdder
-
Uses of BlockEntityAttributeAdder in alexiil.mc.lib.attributes
Classes in alexiil.mc.lib.attributes that implement BlockEntityAttributeAdderModifier and TypeClassDescriptionstatic classBase class forBlockEntityAttributeAdder.BlockEntityAttributeAdderFNconversions.Methods in alexiil.mc.lib.attributes that return BlockEntityAttributeAdderModifier and TypeMethodDescriptionstatic <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.Methods in alexiil.mc.lib.attributes with parameters of type BlockEntityAttributeAdderModifier and TypeMethodDescriptionfinal <BE extends net.minecraft.block.entity.BlockEntity>
voidAttribute.setBlockEntityAdder(AttributeSourceType sourceType, net.minecraft.block.entity.BlockEntityType<BE> type, BlockEntityAttributeAdder<T, BE> adder) Sets theBlockEntityAttributeAdderfor the given block entity type, which is only used if the block entity in question doesn't implementAttributeProviderBlockEntity.