Class FuelRegistry
java.lang.Object
me.shedaniel.architectury.registry.fuel.FuelRegistry
- 
Method Summary
 
- 
Method Details
- 
register
public static void register(int time, net.minecraft.world.level.ItemLike... items) Registers a burn time for items.- Parameters:
 time- the new burn time, use0for non-fuel items, and-1to use vanilla logicitems- the array of items to register for
 - 
get
public static int get(net.minecraft.world.item.ItemStack stack) Returns the burn time of anItemStack.- Parameters:
 stack- the stack- Returns:
 - the burn time of the stack, returns 
0if not a fuel 
 
 -