Skip to content

Commit

Permalink
whoops forgot this
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr committed Jan 24, 2024
1 parent 5e453a2 commit 0387c03
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public void addAdditionalHints(ZGatherHints event) {
String type = "amethyst";

if(!Quark.ZETA.modules.isEnabled(CorundumModule.class))
event.hintItem(Items.AMETHYST_CLUSTER, redirectHint);
event.hintItem(zeta, Items.AMETHYST_CLUSTER, redirectHint);
else
type = "corundum";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
package org.violetmoon.quark.content.world.module;

import java.util.List;
import java.util.function.BiPredicate;
import java.util.function.BooleanSupplier;

import com.google.common.collect.Lists;
import net.minecraft.core.registries.BuiltInRegistries;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.tags.BiomeTags;
import net.minecraft.tags.TagKey;
import net.minecraft.world.item.Items;
import net.minecraft.world.level.Level;
import net.minecraft.world.level.biome.Biome;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.Blocks;
import net.minecraft.world.level.levelgen.GenerationStep.Decoration;
import net.minecraftforge.common.Tags;
import org.violetmoon.quark.base.util.QuarkWorldGenWeights;
import org.violetmoon.quark.content.world.config.AirStoneClusterConfig;
import org.violetmoon.quark.content.world.config.BigStoneClusterConfig;
Expand All @@ -21,19 +29,9 @@
import org.violetmoon.zeta.util.BooleanSuppliers;
import org.violetmoon.zeta.world.WorldGenHandler;

import com.google.common.collect.Lists;

import net.minecraft.core.registries.BuiltInRegistries;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.tags.BiomeTags;
import net.minecraft.tags.TagKey;
import net.minecraft.world.item.Items;
import net.minecraft.world.level.Level;
import net.minecraft.world.level.biome.Biome;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.Blocks;
import net.minecraft.world.level.levelgen.GenerationStep.Decoration;
import net.minecraftforge.common.Tags;
import java.util.List;
import java.util.function.BiPredicate;
import java.util.function.BooleanSupplier;

@ZetaLoadModule(category = "world")
public class BigStoneClustersModule extends ZetaModule {
Expand Down Expand Up @@ -97,7 +95,7 @@ public final void setup(ZCommonSetup event) {
@PlayEvent
public void addAdditionalHints(ZGatherHints event) {
if(calcite.enabled)
event.hintItem(Items.CALCITE);
event.hintItem(zeta, Items.CALCITE);
}

private void add(BigStoneClusterConfig config, Block block, BooleanSupplier condition) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public void setup(ZCommonSetup e) {
@PlayEvent
public void addAdditionalHints(ZGatherHints event) {
for(BlossomTree tree : blossomTrees)
event.hintItem(tree.sapling);
event.hintItem(zeta, tree.sapling);
}

private static ResourceKey<ConfiguredFeature<?, ?>> registerKey(String name) {
Expand Down

0 comments on commit 0387c03

Please sign in to comment.