Rewrites a lot of scrapper code to fix actual and potential bugs
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
This commit is contained in:
@ -7,6 +7,14 @@ import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* The result of an attempted salvage
|
||||
*
|
||||
* @param salvageMethod <p>The salvage method used</p>
|
||||
* @param salvage <p>The produced salvage</p>
|
||||
* @param salvageState <p>The state of the salvage result</p>
|
||||
* @param requiredAmount <p>The amount of items required for the salvage</p>
|
||||
*/
|
||||
public record SalvageResult(@NotNull SalvageMethod salvageMethod, @NotNull List<ItemStack> salvage,
|
||||
@NotNull SalvageState salvageState) {
|
||||
@NotNull SalvageState salvageState, int requiredAmount) {
|
||||
}
|
||||
|
Reference in New Issue
Block a user