-
Notifications
You must be signed in to change notification settings - Fork 212
Open
Labels
improvementA new addition to an already existing pageA new addition to an already existing pageneeds-discussionFurther discussion is neededFurther discussion is neededpriority:mediumThis should be addressed relatively quicklyThis should be addressed relatively quickly
Description
Docs page: https://docs.fabricmc.net/develop/items/first-item
referencing fabric wiki, there should be a context for some points
1 - downloaded texture name is not matching the texture mapping name in the tutorial which should be equal
2 - in the fuel section, there is no clarification about the register context, in fabric wiki there is an example with context provided. Also, this is a frequent problem occuring in some other articles like Custom Groups
public class ExampleMod implements ModInitializer {
// An instance of our new item, where the maximum stack size is 16
// For versions below 1.21.2:
public static final CustomItem CUSTOM_ITEM = register("custom_item", new CustomItem(new Item.Settings().maxCount(16)));
// For versions since 1.21.2:
public static final Item CUSTOM_ITEM = register("custom_item", CustomItem::new, new Item.Settings().maxCount(16));
[...]
}
there's a lot of moments like this but i assume that you are planning to rewrite it for newer versions
Metadata
Metadata
Assignees
Labels
improvementA new addition to an already existing pageA new addition to an already existing pageneeds-discussionFurther discussion is neededFurther discussion is neededpriority:mediumThis should be addressed relatively quicklyThis should be addressed relatively quickly