Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
fixed dust pure centrifuging recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinsdar committed Aug 8, 2023
1 parent 2de2694 commit 78923f4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ public class CentrifugingLoader {
public static void init() {
DUST_IMPURE.all().forEach(dust -> {
if (dust.hasByProducts()) CENTRIFUGING.RB().ii(of(DUST_IMPURE.get(dust),1)).io(new ItemStack(DUST.get(dust), 1), DUST_TINY.get(dust.getByProducts().get(0), 1)).add("dust_impure_" + dust.getId(), 400, 2);
else CENTRIFUGING.RB().ii(of(DUST_IMPURE.get(dust),1)).io(new ItemStack(DUST.get(dust), 1)).chances(1.0, 0.1).add("dust_impure_" + dust.getId(),dust.getMass(), 2);
else CENTRIFUGING.RB().ii(of(DUST_IMPURE.get(dust),1)).io(new ItemStack(DUST.get(dust), 1)).add("dust_impure_" + dust.getId(),dust.getMass(), 2);
});
DUST_PURE.all().forEach(dust -> {
if (dust.hasByProducts()) {
int index = dust.getByProducts().size() > 1 ? 1 : 0;
CENTRIFUGING.RB().ii(of(DUST_PURE.get(dust),1)).io(new ItemStack(DUST.get(dust), 1), DUST_TINY.get(dust.getByProducts().get(index), 1)).add("dust_pure_" + dust.getId(),dust.getMass(), 2);
}
else CENTRIFUGING.RB().ii(of(DUST_IMPURE.get(dust),1)).io(new ItemStack(DUST.get(dust), 1)).chances(1.0, 0.1).add("dust_pure_" + dust.getId(),dust.getMass(), 2);
else CENTRIFUGING.RB().ii(of(DUST_PURE.get(dust),1)).io(new ItemStack(DUST.get(dust), 1)).add("dust_pure_" + dust.getId(),dust.getMass(), 2);
});
CENT.all().forEach(t -> {
if (!t.has(DUST) && !t.has(LIQUID) && !t.has(GAS)) return;
Expand Down

0 comments on commit 78923f4

Please sign in to comment.