Javadoc comment
This commit is contained in:
parent
12447f783f
commit
22517da433
1 changed files with 6 additions and 0 deletions
|
@ -41,6 +41,12 @@ public class RecipeManagerMixin {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author paulevs
|
||||||
|
* @reason Remove conflicts with vanilla tags
|
||||||
|
* Change recipe order to show mod recipes first, helps when block have vanilla tag
|
||||||
|
* (example - mod stone with vanilla tags and furnace from that stone)
|
||||||
|
*/
|
||||||
@Overwrite
|
@Overwrite
|
||||||
public <C extends Inventory, T extends Recipe<C>> Optional<T> getFirstMatch(RecipeType<T> type, C inventory, World world) {
|
public <C extends Inventory, T extends Recipe<C>> Optional<T> getFirstMatch(RecipeType<T> type, C inventory, World world) {
|
||||||
Collection<Recipe<C>> values = getAllOfType(type).values();
|
Collection<Recipe<C>> values = getAllOfType(type).values();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue