Commits
md_5 authored b125516c6e0
137 137 | return true; |
138 138 | } |
139 139 | |
140 140 | |
141 141 | public String toString() { |
142 142 | return "MaterialChoice{" + "choices=" + choices + '}'; |
143 143 | } |
144 144 | } |
145 145 | |
146 146 | /** |
147 - | * Represents a choice that will be valid only one of the stacks is exactly |
148 - | * matched (aside from stack size). |
147 + | * Represents a choice that will be valid only if one of the stacks is |
148 + | * exactly matched (aside from stack size). |
149 149 | * <br> |
150 150 | * <b>Only valid for shaped recipes</b> |
151 151 | */ |
152 152 | public static class ExactChoice implements RecipeChoice { |
153 153 | |
154 154 | private List<ItemStack> choices; |
155 155 | |
156 156 | public ExactChoice( ItemStack stack) { |
157 157 | this(Arrays.asList(stack)); |
158 158 | } |