primaryMaterial
public net.minecraft.world.item.ItemStack primaryMaterial()
Returns the value of the
primaryMaterial record component.- Returns:
- the value of the
primaryMaterialrecord component
net.minecraft.world.item.crafting.RecipeInputStarForgeRecipeInput(net.minecraft.world.item.ItemStack primaryMaterial,
@Nullable net.minecraft.world.item.ItemStack secondaryMaterial) StarForgeRecipeInput record class.final booleannet.minecraft.world.item.ItemStackgetItem(int index) final inthashCode()booleanisEmpty()net.minecraft.world.item.ItemStackprimaryMaterial record component.@Nullable net.minecraft.world.item.ItemStacksecondaryMaterial record component.intsize()final StringtoString()StarForgeRecipeInput record class.primaryMaterial - the value for the primaryMaterial record componentsecondaryMaterial - the value for the secondaryMaterial record componentgetItem in interface net.minecraft.world.item.crafting.RecipeInputsize in interface net.minecraft.world.item.crafting.RecipeInputisEmpty in interface net.minecraft.world.item.crafting.RecipeInputObjects::equals(Object,Object).primaryMaterial record component.primaryMaterial record componentsecondaryMaterial record component.secondaryMaterial record component