Uses of Interface
alexiil.mc.lib.attributes.CustomAttributeAdder
Packages that use CustomAttributeAdder
-
Uses of CustomAttributeAdder in alexiil.mc.lib.attributes
Methods in alexiil.mc.lib.attributes with parameters of type CustomAttributeAdderModifier and TypeMethodDescriptionfinal voidAttribute.addBlockPredicateAdder(AttributeSourceType sourceType, boolean specific, Predicate<net.minecraft.block.Block> filter, CustomAttributeAdder<T> adder) Predicate-based block attribute adder.Attribute.appendBlockAdder(CustomAttributeAdder<T> blockAdder) Appends a singleCustomAttributeAdderto the list of custom block adders.CombinableAttribute.appendBlockAdder(CustomAttributeAdder<T> blockAdder) DefaultedAttribute.appendBlockAdder(CustomAttributeAdder<T> blockAdder) final voidAttribute.appendCustomAdder(CustomAttributeAdder<T> customAdder) Deprecated, for removal: This API element is subject to removal in a future version.static <T> Attribute<T>Attributes.create(Class<T> clazz, CustomAttributeAdder<T> customAdder) static <T> CombinableAttribute<T>Attributes.createCombinable(Class<T> clazz, T defaultValue, AttributeCombiner<T> combiner, CustomAttributeAdder<T> customAdder) static <T> DefaultedAttribute<T>Attributes.createDefaulted(Class<T> clazz, T defaultValue, CustomAttributeAdder<T> customAdder) final voidAttribute.putBlockClassAdder(AttributeSourceType sourceType, Class<?> clazz, boolean matchSubclasses, CustomAttributeAdder<T> adder) Class-based block attribute adder.final voidAttribute.setBlockAdder(AttributeSourceType sourceType, net.minecraft.block.Block block, CustomAttributeAdder<T> adder) Sets theCustomAttributeAdderfor the given block, which is only used if the block in question doesn't implementAttributeProvider.Constructors in alexiil.mc.lib.attributes with parameters of type CustomAttributeAdderModifierConstructorDescriptionprotectedAttribute(Class<T> clazz, CustomAttributeAdder<T> customAdder) Deprecated, for removal: This API element is subject to removal in a future version.Kept for backwards compatibility, instead you should callAttribute(Class)followed byAttribute.appendBlockAdder(CustomAttributeAdder).DefaultedAttribute(Class<T> clazz, T defaultValue, CustomAttributeAdder<T> customAdder) Deprecated, for removal: This API element is subject to removal in a future version.Kept for backwards compatibility, instead you should callDefaultedAttribute(Class, Object)followed byDefaultedAttribute.appendBlockAdder(CustomAttributeAdder).
Attribute.appendBlockAdder(CustomAttributeAdder).