Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/zeta' into zeta
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/main/java/org/violetmoon/quark/content/experimental/config/BlockSuffixConfig.java
  • Loading branch information
IThundxr committed Nov 8, 2023
2 parents 21e69bc + 7d655d5 commit 513ed3a
Show file tree
Hide file tree
Showing 239 changed files with 541 additions and 500 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import org.violetmoon.quark.addons.oddities.item.BackpackItem;
import org.violetmoon.quark.base.Quark;
import org.violetmoon.quark.base.block.QuarkBlock;
import org.violetmoon.quark.base.config.Config;
import org.violetmoon.quark.base.item.QuarkItem;
import org.violetmoon.quark.base.module.config.Config;
import org.violetmoon.quark.base.network.QuarkNetwork;
import org.violetmoon.quark.base.network.message.oddities.HandleBackpackMessage;
import org.violetmoon.zeta.client.event.load.ZAddItemColorHandlers;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import org.violetmoon.quark.addons.oddities.client.screen.CrateScreen;
import org.violetmoon.quark.addons.oddities.inventory.CrateMenu;
import org.violetmoon.quark.base.Quark;
import org.violetmoon.quark.base.module.config.Config;
import org.violetmoon.quark.base.config.Config;
import org.violetmoon.zeta.client.event.load.ZClientSetup;
import org.violetmoon.zeta.event.bus.LoadEvent;
import org.violetmoon.zeta.event.load.ZRegister;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import org.violetmoon.quark.addons.oddities.magnetsystem.MagnetSystem;
import org.violetmoon.quark.api.event.RecipeCrawlEvent;
import org.violetmoon.quark.base.Quark;
import org.violetmoon.quark.base.module.config.Config;
import org.violetmoon.quark.base.config.Config;
import org.violetmoon.zeta.client.event.load.ZClientSetup;
import org.violetmoon.zeta.event.bus.LoadEvent;
import org.violetmoon.zeta.event.bus.PlayEvent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
import org.violetmoon.quark.addons.oddities.util.CustomInfluence;
import org.violetmoon.quark.addons.oddities.util.Influence;
import org.violetmoon.quark.base.Quark;
import org.violetmoon.quark.base.config.Config;
import org.violetmoon.quark.base.handler.MiscUtil;
import org.violetmoon.quark.base.handler.advancement.QuarkAdvancementHandler;
import org.violetmoon.quark.base.handler.advancement.QuarkGenericTrigger;
import org.violetmoon.quark.base.module.config.Config;
import org.violetmoon.zeta.client.event.load.ZClientSetup;
import org.violetmoon.zeta.event.*;
import org.violetmoon.zeta.event.bus.LoadEvent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import org.violetmoon.quark.addons.oddities.block.pipe.PipeBlock;
import org.violetmoon.quark.addons.oddities.client.render.be.PipeRenderer;
import org.violetmoon.quark.base.Quark;
import org.violetmoon.quark.base.module.config.Config;
import org.violetmoon.quark.base.config.Config;
import org.violetmoon.zeta.client.event.load.ZAddModels;
import org.violetmoon.zeta.client.event.load.ZClientSetup;
import org.violetmoon.zeta.event.bus.LoadEvent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
import org.violetmoon.quark.addons.oddities.client.model.TinyPotatoModel;
import org.violetmoon.quark.addons.oddities.client.render.be.TinyPotatoRenderer;
import org.violetmoon.quark.base.Quark;
import org.violetmoon.quark.base.config.Config;
import org.violetmoon.quark.base.handler.advancement.QuarkAdvancementHandler;
import org.violetmoon.quark.base.handler.advancement.QuarkGenericTrigger;
import org.violetmoon.quark.base.module.config.Config;
import org.violetmoon.zeta.client.event.load.ZAddModels;
import org.violetmoon.zeta.client.event.load.ZClientSetup;
import org.violetmoon.zeta.client.event.load.ZModelBakingCompleted;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import org.violetmoon.quark.addons.oddities.client.render.entity.TotemOfHoldingRenderer;
import org.violetmoon.quark.addons.oddities.entity.TotemOfHoldingEntity;
import org.violetmoon.quark.base.Quark;
import org.violetmoon.quark.base.module.config.Config;
import org.violetmoon.quark.base.config.Config;
import org.violetmoon.zeta.client.event.load.ZAddModels;
import org.violetmoon.zeta.client.event.load.ZClientSetup;
import org.violetmoon.zeta.event.bus.LoadEvent;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.violetmoon.quark.base.module.config;
package org.violetmoon.quark.base.config;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
package org.violetmoon.quark.base.module.config;
package org.violetmoon.quark.base.config;

import net.minecraft.core.Registry;
import net.minecraft.resources.ResourceLocation;

import java.util.*;

import org.violetmoon.quark.base.handler.GeneralConfig;
import org.violetmoon.quark.base.module.sync.SyncedFlagHandler;
import org.violetmoon.zeta.Zeta;
import org.violetmoon.zeta.event.bus.LoadEvent;
import org.violetmoon.zeta.event.load.ZRegister;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.violetmoon.quark.base.module.config;
package org.violetmoon.quark.base.config;

import java.util.function.BooleanSupplier;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.violetmoon.quark.base.module.config;
package org.violetmoon.quark.base.config;

import com.google.gson.JsonDeserializationContext;
import com.google.gson.JsonObject;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.violetmoon.quark.base.module.config;
package org.violetmoon.quark.base.config;

public interface IConfigCallback {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.violetmoon.quark.base.module.sync;
package org.violetmoon.quark.base.config;

import net.minecraft.client.Minecraft;
import net.minecraft.network.PacketListener;
Expand All @@ -9,7 +9,6 @@
import java.util.*;
import java.util.stream.Collectors;

import org.violetmoon.quark.base.module.config.ConfigFlagManager;
import org.violetmoon.quark.base.network.QuarkNetwork;
import org.violetmoon.quark.base.network.message.structural.S2CUpdateFlag;
import org.violetmoon.zeta.event.bus.LoadEvent;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.violetmoon.quark.base.module.config.type;
package org.violetmoon.quark.base.config.type;

import net.minecraft.core.Holder;
import net.minecraft.core.Registry;
Expand All @@ -10,8 +10,8 @@
import java.util.LinkedList;
import java.util.List;

import org.violetmoon.quark.base.module.config.Config;
import org.violetmoon.quark.base.module.config.ConfigFlagManager;
import org.violetmoon.quark.base.config.Config;
import org.violetmoon.quark.base.config.ConfigFlagManager;
import org.violetmoon.zeta.module.ZetaModule;

public class BiomeTagConfig implements IBiomeConfig, IConfigType {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.violetmoon.quark.base.module.config.type;
package org.violetmoon.quark.base.config.type;

import org.violetmoon.quark.base.module.config.Config;
import org.violetmoon.quark.base.config.Config;

import net.minecraft.tags.TagKey;
import net.minecraft.world.level.biome.Biome;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.violetmoon.quark.base.module.config.type;
package org.violetmoon.quark.base.config.type;

import org.violetmoon.quark.base.module.config.Config;
import org.violetmoon.quark.base.module.config.ConfigFlagManager;
import org.violetmoon.quark.base.config.Config;
import org.violetmoon.quark.base.config.ConfigFlagManager;
import org.violetmoon.zeta.module.ZetaModule;

import net.minecraft.core.Holder;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.violetmoon.quark.base.module.config.type;
package org.violetmoon.quark.base.config.type;

import org.violetmoon.quark.base.module.config.Config;
import org.violetmoon.quark.base.module.config.ConfigFlagManager;
import org.violetmoon.quark.base.config.Config;
import org.violetmoon.quark.base.config.ConfigFlagManager;
import org.violetmoon.zeta.module.ZetaModule;

public class ConditionalEntitySpawnConfig extends EntitySpawnConfig {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.violetmoon.quark.base.module.config.type;
package org.violetmoon.quark.base.config.type;

import org.violetmoon.quark.base.module.config.Config;
import org.violetmoon.quark.base.config.Config;

public class CostSensitiveEntitySpawnConfig extends EntitySpawnConfig {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.violetmoon.quark.base.module.config.type;
package org.violetmoon.quark.base.config.type;

import net.minecraft.resources.ResourceLocation;
import net.minecraft.world.level.Level;
Expand All @@ -8,7 +8,7 @@
import java.util.LinkedList;
import java.util.List;

import org.violetmoon.quark.base.module.config.Config;
import org.violetmoon.quark.base.config.Config;

public class DimensionConfig implements IConfigType {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.violetmoon.quark.base.module.config.type;
package org.violetmoon.quark.base.config.type;

import org.violetmoon.quark.base.module.config.Config;
import org.violetmoon.quark.base.module.config.ConfigFlagManager;
import org.violetmoon.quark.base.config.Config;
import org.violetmoon.quark.base.config.ConfigFlagManager;
import org.violetmoon.zeta.module.ZetaModule;

public class EntitySpawnConfig implements IConfigType {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.violetmoon.quark.base.module.config.type;
package org.violetmoon.quark.base.config.type;

import net.minecraft.core.Holder;
import net.minecraft.world.level.biome.Biome;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.violetmoon.quark.base.module.config.type;
package org.violetmoon.quark.base.config.type;

import org.violetmoon.quark.base.module.config.ConfigFlagManager;
import org.violetmoon.quark.base.config.ConfigFlagManager;
import org.violetmoon.zeta.module.ZetaModule;

public interface IConfigType {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.violetmoon.quark.base.module.config.type;
package org.violetmoon.quark.base.config.type;

import java.util.function.Consumer;

import org.violetmoon.quark.base.module.config.Config;
import org.violetmoon.quark.base.config.Config;

import net.minecraft.core.BlockPos;
import net.minecraft.util.RandomSource;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package org.violetmoon.quark.base.module.config.type;
package org.violetmoon.quark.base.config.type;

import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;

import org.violetmoon.quark.base.module.config.Config;
import org.violetmoon.quark.base.config.Config;

import net.minecraft.core.Holder;
import net.minecraft.world.level.biome.Biome;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.violetmoon.quark.base.module.config.type.inputtable;
package org.violetmoon.quark.base.config.type.inputtable;

import java.util.Arrays;
import java.util.LinkedHashMap;
Expand All @@ -7,9 +7,9 @@

import javax.annotation.Nullable;

import org.violetmoon.quark.base.module.config.Config;
import org.violetmoon.quark.base.module.config.ConfigFlagManager;
import org.violetmoon.quark.base.module.config.type.IConfigType;
import org.violetmoon.quark.base.config.Config;
import org.violetmoon.quark.base.config.ConfigFlagManager;
import org.violetmoon.quark.base.config.type.IConfigType;
import org.violetmoon.quark.content.client.module.GreenerGrassModule;
import org.violetmoon.zeta.module.ZetaModule;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.violetmoon.quark.base.module.config.type.inputtable;
package org.violetmoon.quark.base.config.type.inputtable;

import java.util.Objects;

import org.violetmoon.quark.base.module.config.Config;
import org.violetmoon.quark.base.config.Config;

public class RGBAColorConfig extends RGBColorConfig {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package org.violetmoon.quark.base.module.config.type.inputtable;
package org.violetmoon.quark.base.config.type.inputtable;

import java.util.Objects;

import org.violetmoon.quark.base.module.config.Config;
import org.violetmoon.quark.base.module.config.ConfigFlagManager;
import org.violetmoon.quark.base.module.config.type.IConfigType;
import org.violetmoon.quark.base.config.Config;
import org.violetmoon.quark.base.config.ConfigFlagManager;
import org.violetmoon.quark.base.config.type.IConfigType;
import org.violetmoon.zeta.module.ZetaModule;

import net.minecraft.util.Mth;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import java.util.List;

import org.violetmoon.quark.base.Quark;
import org.violetmoon.quark.base.module.config.Config;
import org.violetmoon.quark.base.config.Config;
import org.violetmoon.zeta.event.bus.LoadEvent;
import org.violetmoon.zeta.event.load.ZConfigChanged;
import org.violetmoon.zeta.piston.ZetaPistonStructureResolver;
Expand Down

This file was deleted.

26 changes: 0 additions & 26 deletions src/main/java/org/violetmoon/quark/base/module/LoadModule.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import java.util.BitSet;
import java.util.function.BiConsumer;

import org.violetmoon.quark.base.module.sync.SyncedFlagHandler;
import org.violetmoon.quark.base.config.SyncedFlagHandler;

public class C2SLoginFlag extends HandshakeMessage {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import java.io.Serial;
import java.util.BitSet;

import org.violetmoon.quark.base.module.sync.SyncedFlagHandler;
import org.violetmoon.quark.base.config.SyncedFlagHandler;
import org.violetmoon.zeta.network.IZetaMessage;
import org.violetmoon.zeta.network.IZetaNetworkEventContext;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import net.minecraft.network.FriendlyByteBuf;
import net.minecraftforge.network.NetworkEvent;
import org.apache.commons.lang3.tuple.Pair;
import org.violetmoon.quark.base.module.sync.SyncedFlagHandler;
import org.violetmoon.quark.base.config.SyncedFlagHandler;

import java.util.BitSet;
import java.util.Collections;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import java.io.Serial;
import java.util.BitSet;

import org.violetmoon.quark.base.module.sync.SyncedFlagHandler;
import org.violetmoon.quark.base.config.SyncedFlagHandler;
import org.violetmoon.zeta.network.IZetaMessage;
import org.violetmoon.zeta.network.IZetaNetworkEventContext;

Expand Down
Loading

0 comments on commit 513ed3a

Please sign in to comment.