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

Commit

Permalink
added gt oil to crude oil fluid tag and added crude oil fluid tag to …
Browse files Browse the repository at this point in the history
…oil fluid tag
  • Loading branch information
Trinsdar committed Sep 1, 2024
1 parent 3fa639a commit 81756d8
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
import net.minecraft.resources.ResourceLocation;
import net.minecraft.world.item.DyeColor;

import static muramasa.gregtech.data.Materials.Oil;

public class GregTechFluidTagProvider extends AntimatterFluidTagProvider {
public GregTechFluidTagProvider(String providerDomain, String providerName, boolean replace) {
super(providerDomain, providerName, replace);
Expand All @@ -20,5 +22,7 @@ protected void processTags(String domain) {
Material waterMixedDye = Material.get("water_mixed_" + dyeName);
this.tag(TagUtils.getFluidTag(new ResourceLocation(domain, dyeName))).add(chemDye.getLiquid(), waterMixedDye.getLiquid());
}
this.tag(TagUtils.getForgelikeFluidTag("crude_oil")).add(Oil.getLiquid());
this.tag(TagUtils.getForgelikeFluidTag("oil")).addTag(TagUtils.getForgelikeFluidTag("crude_oil"));
}
}

0 comments on commit 81756d8

Please sign in to comment.