Skip to content

Commit

Permalink
jellyfish of Upgrade Aquatic was introduced in 1.15 -> removed in 1.14
Browse files Browse the repository at this point in the history
  • Loading branch information
cech12 committed Oct 21, 2020
1 parent 2b089d8 commit 82e9a88
Showing 1 changed file with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ public class UpgradeAquaticCompat extends ModCompat.Mod implements ModCompat.Ent

public UpgradeAquaticCompat() {
super("upgrade_aquatic");
this.addJellyfish("box_jellyfish");
this.addJellyfish("cassiopea_jellyfish");
//this.addFish("box_jellyfish"); //added in 1.15
//this.addFish("cassiopea_jellyfish"); //added in 1.15
//this.addFish("glow_squid"); //added in 1.16
this.addJellyfish("immortal_jellyfish");
//this.addFish("immortal_jellyfish"); //added in 1.15
this.addFish("lionfish");
this.addFish("nautilus");
this.addFish("pike");
Expand All @@ -33,13 +33,6 @@ private void addFish(String fish) {
this.obtainableEntityTypes.add(this.getWaterFishBuilder(fish).build());
}

private void addJellyfish(String fish) {
this.obtainableEntityTypes.add(this.getWaterFishBuilder(fish)
.setEmptySound(new ResourceLocation(this.name, "item.bucket.empty_jellyfish"))
.setFillSound(new ResourceLocation(this.name, "item.bucket.fill_jellyfish"))
.build());
}

private void addSquid() {
this.obtainableEntityTypes.add(new ObtainableEntityType.Builder(EntityType.SQUID, Fluids.WATER).addFluidTag(FluidTags.WATER).build());
}
Expand Down

0 comments on commit 82e9a88

Please sign in to comment.