Skip to content

Commit

Permalink
fixed tool and drops of fake casings
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinsdar committed Apr 30, 2024
1 parent 38ff68a commit 44e4b04
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import net.minecraft.world.level.storage.loot.providers.number.ConstantValue;
import net.minecraft.world.level.storage.loot.providers.number.UniformGenerator;
import trinsdar.gt4r.block.BlockCasing;
import trinsdar.gt4r.block.BlockFakeCasing;
import trinsdar.gt4r.block.BlockNonSolidMachine;
import trinsdar.gt4r.material.GT4RMaterialEvent;

Expand All @@ -43,6 +44,7 @@ protected void loot() {
AntimatterAPI.all(BlockNonSolidMachine.class, providerDomain, this::add);

AntimatterAPI.all(BlockCasing.class, providerDomain, this::add);
AntimatterAPI.all(BlockFakeCasing.class, providerDomain, this::add);
if (!AntimatterAPI.isModLoaded("gti")){
oreDrops();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ public void processTags(String domain) {
AntimatterAPI.all(BlockCasing.class, GT4RRef.ID, cas -> {
this.tag(AntimatterDefaultTools.PICKAXE.getToolType()).add(cas);
});
AntimatterAPI.all(BlockFakeCasing.class, GT4RRef.ID, cas -> {
this.tag(AntimatterDefaultTools.PICKAXE.getToolType()).add(cas);
});
AntimatterAPI.all(BlockNonSolidMachine.class, GT4RRef.ID, cas -> {
this.tag(AntimatterDefaultTools.WRENCH.getToolType()).add(cas);
});
Expand Down

0 comments on commit 44e4b04

Please sign in to comment.