Class ItemPropertiesRegistry
java.lang.Object
me.shedaniel.architectury.registry.ItemPropertiesRegistry
Registry for registering item properties used for model predicates.
- See Also:
 - 
ItemProperties
 
- 
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.client.renderer.item.ItemPropertyFunctionregister(net.minecraft.world.level.ItemLike item, net.minecraft.resources.ResourceLocation propertyId, net.minecraft.client.renderer.item.ItemPropertyFunction function) Registers a generic item property function for a specific item.static net.minecraft.client.renderer.item.ItemPropertyFunctionregisterGeneric(net.minecraft.resources.ResourceLocation propertyId, net.minecraft.client.renderer.item.ItemPropertyFunction function) Registers a generic item property function for all items. 
- 
Method Details
- 
registerGeneric
public static net.minecraft.client.renderer.item.ItemPropertyFunction registerGeneric(net.minecraft.resources.ResourceLocation propertyId, net.minecraft.client.renderer.item.ItemPropertyFunction function) Registers a generic item property function for all items.- Parameters:
 propertyId- the id of the propertyfunction- the function to be registered- Returns:
 - the function registered
 
 - 
register
public static net.minecraft.client.renderer.item.ItemPropertyFunction register(net.minecraft.world.level.ItemLike item, net.minecraft.resources.ResourceLocation propertyId, net.minecraft.client.renderer.item.ItemPropertyFunction function) Registers a generic item property function for a specific item.- Parameters:
 item- the item to be registered forpropertyId- the id of the propertyfunction- the function to be registered- Returns:
 - the function registered
 
 
 -