Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zeta #4409

Closed
wants to merge 29 commits into from
Closed

Zeta #4409

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
bc67914
Update Minecraft wiki link to new domain
Spongecade Oct 7, 2023
edd7c54
Merge pull request #4368 from Spongecade/patch-1
Vazkii Oct 17, 2023
299645c
fix #4383
yrsegal Oct 19, 2023
08d8d93
no longer looks like you need to unlock variants
yrsegal Oct 19, 2023
d6289bd
this makes sense
yrsegal Oct 19, 2023
c09b43e
Update contributors.properties
Vazkii Oct 20, 2023
7d32caf
Update web version
Vazkii Oct 20, 2023
06a4520
fix misc util
Vazkii Oct 20, 2023
fec4889
Add offset config to variant
Vazkii Oct 20, 2023
4c8621d
Better suffix config and saner defaults
Vazkii Oct 20, 2023
1156939
Update changelog
Vazkii Oct 20, 2023
9fc5c10
build
Vazkii Oct 20, 2023
cea9945
Update web
Vazkii Oct 21, 2023
fbe55f3
Merge remote-tracking branch 'origin/master'
Vazkii Oct 21, 2023
e69e6bb
Update contributors.properties
Vazkii Oct 22, 2023
6235e35
Fix #4391
Vazkii Oct 22, 2023
9a9850e
Fix #4392
Vazkii Oct 22, 2023
2136585
Update changelog
Vazkii Oct 22, 2023
9270559
build
Vazkii Oct 22, 2023
1502e71
Update contributors.properties
Vazkii Oct 24, 2023
36810e9
Update contributors.properties
Vazkii Oct 27, 2023
9c3db1e
Fix #4386 (crash when enabling VariantAnimalTextures at runtime)
quat1024 Oct 28, 2023
2e33203
Fix searching by mod name in ChestSearchingModule
quat1024 Oct 30, 2023
260580f
Update contributors.properties
Vazkii Nov 3, 2023
88dd08c
Update contributors.properties
Vazkii Nov 8, 2023
21e69bc
wtf git?!?
IThundxr Nov 8, 2023
513ed3a
Merge remote-tracking branch 'origin/zeta' into zeta
IThundxr Nov 8, 2023
8193faa
merge
IThundxr Nov 8, 2023
cfbd2bc
optimize imports
IThundxr Nov 8, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions build.properties
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#Sat Oct 14 17:25:20 UTC 2023
#Sun Oct 22 22:44:09 UTC 2023
mapping_version=1.19.2
version=3.4
mod_name=Quark
mc_version=1.19.2
mapping_channel=official
mod_id=quark
build_number=417
build_number=419
dir_output=../Build Output/Quark/
3 changes: 2 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
- Fixed a crash when a villager fails to restock its trade for unknown reasons
- Fixed hammer losing variant info when switching block
- Fixed hammer on slabs making double slabs
7 changes: 7 additions & 0 deletions contributors.properties
Original file line number Diff line number Diff line change
Expand Up @@ -887,3 +887,10 @@ TheMelon27=2
YYMB=2
RavenDarkeye=1
kairosylph=2
xMiaX=1
AppleTeawalker=2
AppleTea5202=2
xhonter=2
xdata3=2
meep706=1
LocoRock=2
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
package org.violetmoon.quark;

import org.violetmoon.quark.api.ICustomSorting;
import org.violetmoon.quark.api.IMagnetTracker;
import org.violetmoon.quark.api.IPistonCallback;
import org.violetmoon.quark.api.IRuneColorProvider;
import org.violetmoon.quark.api.ITransferManager;

import net.minecraftforge.common.capabilities.Capability;
import net.minecraftforge.common.capabilities.CapabilityManager;
import net.minecraftforge.common.capabilities.CapabilityToken;
import org.violetmoon.quark.api.*;

//TODO: put this somewhere in a Forge-only API package
public class QuarkForgeCapabilities {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
package org.violetmoon.quark.addons.oddities.block;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;

import org.violetmoon.quark.addons.oddities.block.be.CrateBlockEntity;
import org.violetmoon.quark.addons.oddities.module.CrateModule;
import org.violetmoon.quark.base.block.QuarkBlock;
import org.violetmoon.zeta.module.ZetaModule;

import net.minecraft.core.BlockPos;
import net.minecraft.server.level.ServerLevel;
import net.minecraft.server.level.ServerPlayer;
Expand All @@ -33,6 +25,13 @@
import net.minecraft.world.level.block.state.properties.BooleanProperty;
import net.minecraft.world.phys.BlockHitResult;
import net.minecraftforge.network.NetworkHooks;
import org.violetmoon.quark.addons.oddities.block.be.CrateBlockEntity;
import org.violetmoon.quark.addons.oddities.module.CrateModule;
import org.violetmoon.quark.base.block.QuarkBlock;
import org.violetmoon.zeta.module.ZetaModule;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;

public class CrateBlock extends QuarkBlock implements EntityBlock {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
package org.violetmoon.quark.addons.oddities.block;

import java.util.List;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;

import org.violetmoon.quark.addons.oddities.block.be.MagnetBlockEntity;
import org.violetmoon.quark.addons.oddities.block.be.MagnetizedBlockBlockEntity;
import org.violetmoon.quark.addons.oddities.magnetsystem.MagnetSystem;
import org.violetmoon.quark.addons.oddities.module.MagnetsModule;
import org.violetmoon.quark.base.block.QuarkBlock;
import org.violetmoon.zeta.module.ZetaModule;

import net.minecraft.core.BlockPos;
import net.minecraft.core.Direction;
import net.minecraft.nbt.CompoundTag;
Expand All @@ -22,11 +10,7 @@
import net.minecraft.world.item.context.BlockPlaceContext;
import net.minecraft.world.level.BlockGetter;
import net.minecraft.world.level.Level;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.Blocks;
import net.minecraft.world.level.block.EntityBlock;
import net.minecraft.world.level.block.Mirror;
import net.minecraft.world.level.block.Rotation;
import net.minecraft.world.level.block.*;
import net.minecraft.world.level.block.entity.BlockEntity;
import net.minecraft.world.level.block.entity.BlockEntityTicker;
import net.minecraft.world.level.block.entity.BlockEntityType;
Expand All @@ -38,6 +22,16 @@
import net.minecraft.world.level.material.PushReaction;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;
import org.violetmoon.quark.addons.oddities.block.be.MagnetBlockEntity;
import org.violetmoon.quark.addons.oddities.block.be.MagnetizedBlockBlockEntity;
import org.violetmoon.quark.addons.oddities.magnetsystem.MagnetSystem;
import org.violetmoon.quark.addons.oddities.module.MagnetsModule;
import org.violetmoon.quark.base.block.QuarkBlock;
import org.violetmoon.zeta.module.ZetaModule;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.util.List;

public class MagnetBlock extends QuarkBlock implements EntityBlock {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,6 @@
package org.violetmoon.quark.addons.oddities.block;

import java.util.function.BooleanSupplier;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;

import org.violetmoon.quark.addons.oddities.block.be.MatrixEnchantingTableBlockEntity;
import org.violetmoon.quark.addons.oddities.module.MatrixEnchantingModule;
import org.violetmoon.quark.api.IEnchantmentInfluencer;
import org.violetmoon.quark.base.Quark;
import org.violetmoon.quark.base.block.IQuarkBlock;
import org.violetmoon.quark.base.handler.CreativeTabHandler;
import org.violetmoon.zeta.module.ZetaModule;

import com.mojang.math.Vector3f;

import net.minecraft.core.BlockPos;
import net.minecraft.core.NonNullList;
import net.minecraft.core.particles.DustParticleOptions;
Expand All @@ -41,6 +27,17 @@
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;
import net.minecraftforge.network.NetworkHooks;
import org.violetmoon.quark.addons.oddities.block.be.MatrixEnchantingTableBlockEntity;
import org.violetmoon.quark.addons.oddities.module.MatrixEnchantingModule;
import org.violetmoon.quark.api.IEnchantmentInfluencer;
import org.violetmoon.quark.base.Quark;
import org.violetmoon.quark.base.block.IQuarkBlock;
import org.violetmoon.quark.base.handler.CreativeTabHandler;
import org.violetmoon.zeta.module.ZetaModule;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.util.function.BooleanSupplier;

public class MatrixEnchantingTableBlock extends EnchantmentTableBlock implements IQuarkBlock {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
package org.violetmoon.quark.addons.oddities.block;

import java.util.Collections;
import java.util.List;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;

import org.violetmoon.quark.addons.oddities.block.be.MagnetizedBlockBlockEntity;
import org.violetmoon.quark.addons.oddities.module.MagnetsModule;
import org.violetmoon.quark.base.block.QuarkBlock;
import org.violetmoon.zeta.module.ZetaModule;

import net.minecraft.core.BlockPos;
import net.minecraft.core.Direction;
import net.minecraft.world.InteractionHand;
Expand All @@ -19,11 +8,7 @@
import net.minecraft.world.item.ItemStack;
import net.minecraft.world.level.BlockGetter;
import net.minecraft.world.level.Level;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.EntityBlock;
import net.minecraft.world.level.block.Mirror;
import net.minecraft.world.level.block.RenderShape;
import net.minecraft.world.level.block.Rotation;
import net.minecraft.world.level.block.*;
import net.minecraft.world.level.block.entity.BlockEntity;
import net.minecraft.world.level.block.entity.BlockEntityTicker;
import net.minecraft.world.level.block.entity.BlockEntityType;
Expand All @@ -40,6 +25,15 @@
import net.minecraft.world.phys.shapes.CollisionContext;
import net.minecraft.world.phys.shapes.Shapes;
import net.minecraft.world.phys.shapes.VoxelShape;
import org.violetmoon.quark.addons.oddities.block.be.MagnetizedBlockBlockEntity;
import org.violetmoon.quark.addons.oddities.module.MagnetsModule;
import org.violetmoon.quark.base.block.QuarkBlock;
import org.violetmoon.zeta.module.ZetaModule;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.util.Collections;
import java.util.List;

/**
* @author WireSegal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,8 @@
import net.minecraft.world.level.material.Material;
import net.minecraft.world.phys.AABB;
import net.minecraft.world.phys.BlockHitResult;
import net.minecraft.world.phys.HitResult;
import net.minecraft.world.phys.shapes.CollisionContext;
import net.minecraft.world.phys.shapes.VoxelShape;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;

import org.violetmoon.quark.addons.oddities.block.be.TinyPotatoBlockEntity;
import org.violetmoon.quark.addons.oddities.item.TinyPotatoBlockItem;
import org.violetmoon.quark.addons.oddities.module.TinyPotatoModule;
Expand All @@ -52,6 +47,9 @@
import org.violetmoon.zeta.registry.IZetaBlockItemProvider;
import org.violetmoon.zeta.util.ItemNBTHelper;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;

/**
* @author WireSegal
* Created at 10:16 AM on 3/14/22.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
package org.violetmoon.quark.addons.oddities.block.be;

import java.util.Random;

import javax.annotation.Nonnull;

import org.violetmoon.quark.base.handler.MiscUtil;
import org.violetmoon.quark.base.util.SimpleInventoryBlockEntity;

import net.minecraft.core.BlockPos;
import net.minecraft.nbt.CompoundTag;
import net.minecraft.network.chat.Component;
Expand All @@ -20,6 +13,11 @@
import net.minecraft.world.item.ItemStack;
import net.minecraft.world.level.block.entity.BlockEntityType;
import net.minecraft.world.level.block.state.BlockState;
import org.violetmoon.quark.base.handler.MiscUtil;
import org.violetmoon.quark.base.util.SimpleInventoryBlockEntity;

import javax.annotation.Nonnull;
import java.util.Random;

public abstract class AbstractEnchantingTableBlockEntity extends SimpleInventoryBlockEntity implements Nameable {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,13 @@
import net.minecraftforge.common.util.LazyOptional;
import net.minecraftforge.items.IItemHandler;
import net.minecraftforge.items.wrapper.EmptyHandler;

import javax.annotation.Nonnull;

import org.violetmoon.quark.addons.oddities.block.CrateBlock;
import org.violetmoon.quark.addons.oddities.capability.CrateItemHandler;
import org.violetmoon.quark.addons.oddities.inventory.CrateMenu;
import org.violetmoon.quark.addons.oddities.module.CrateModule;

import javax.annotation.Nonnull;

public class CrateBlockEntity extends BaseContainerBlockEntity implements WorldlyContainer {

private int numPlayersUsing;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
package org.violetmoon.quark.addons.oddities.block.be;

import org.violetmoon.quark.addons.oddities.block.MagnetBlock;
import org.violetmoon.quark.addons.oddities.magnetsystem.MagnetSystem;
import org.violetmoon.quark.addons.oddities.module.MagnetsModule;

import net.minecraft.core.BlockPos;
import net.minecraft.core.Direction;
import net.minecraft.core.particles.ParticleTypes;
Expand All @@ -12,6 +8,9 @@
import net.minecraft.world.level.block.entity.BlockEntity;
import net.minecraft.world.level.block.state.BlockState;
import net.minecraft.world.level.material.PushReaction;
import org.violetmoon.quark.addons.oddities.block.MagnetBlock;
import org.violetmoon.quark.addons.oddities.magnetsystem.MagnetSystem;
import org.violetmoon.quark.addons.oddities.module.MagnetsModule;

public class MagnetBlockEntity extends BlockEntity {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
import net.minecraft.world.entity.MoverType;
import net.minecraft.world.level.BlockGetter;
import net.minecraft.world.level.Level;
import net.minecraft.world.level.block.*;
import net.minecraft.world.level.block.BasePressurePlateBlock;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.ButtonBlock;
import net.minecraft.world.level.block.SoundType;
import net.minecraft.world.level.block.entity.BlockEntity;
import net.minecraft.world.level.block.state.BlockState;
import net.minecraft.world.level.block.state.properties.BlockStateProperties;
Expand All @@ -22,14 +25,12 @@
import net.minecraft.world.phys.shapes.VoxelShape;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;

import javax.annotation.Nonnull;

import org.violetmoon.quark.addons.oddities.magnetsystem.MagnetSystem;
import org.violetmoon.quark.addons.oddities.module.MagnetsModule;
import org.violetmoon.quark.api.IMagnetMoveAction;
import org.violetmoon.quark.base.Quark;

import javax.annotation.Nonnull;
import java.util.List;

public class MagnetizedBlockBlockEntity extends BlockEntity {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,25 +1,6 @@
package org.violetmoon.quark.addons.oddities.block.be;

import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.UUID;
import java.util.function.Predicate;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;

import org.violetmoon.quark.addons.oddities.inventory.EnchantmentMatrix;
import org.violetmoon.quark.addons.oddities.inventory.MatrixEnchantingMenu;
import org.violetmoon.quark.addons.oddities.inventory.EnchantmentMatrix.Piece;
import org.violetmoon.quark.addons.oddities.module.MatrixEnchantingModule;
import org.violetmoon.quark.addons.oddities.util.Influence;
import org.violetmoon.quark.api.IEnchantmentInfluencer;
import org.violetmoon.zeta.util.ItemNBTHelper;

import com.google.common.collect.Lists;

import net.minecraft.core.BlockPos;
import net.minecraft.core.Registry;
import net.minecraft.core.particles.ParticleOptions;
Expand Down Expand Up @@ -48,6 +29,22 @@
import net.minecraft.world.phys.AABB;
import net.minecraft.world.phys.shapes.CollisionContext;
import net.minecraft.world.phys.shapes.VoxelShape;
import org.violetmoon.quark.addons.oddities.inventory.EnchantmentMatrix;
import org.violetmoon.quark.addons.oddities.inventory.EnchantmentMatrix.Piece;
import org.violetmoon.quark.addons.oddities.inventory.MatrixEnchantingMenu;
import org.violetmoon.quark.addons.oddities.module.MatrixEnchantingModule;
import org.violetmoon.quark.addons.oddities.util.Influence;
import org.violetmoon.quark.api.IEnchantmentInfluencer;
import org.violetmoon.zeta.util.ItemNBTHelper;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.UUID;
import java.util.function.Predicate;

public class MatrixEnchantingTableBlockEntity extends AbstractEnchantingTableBlockEntity implements MenuProvider {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,14 @@
import net.minecraft.world.phys.AABB;
import net.minecraft.world.phys.Vec3;
import net.minecraftforge.common.capabilities.ForgeCapabilities;

import javax.annotation.Nonnull;

import org.violetmoon.quark.addons.oddities.block.pipe.BasePipeBlock;
import org.violetmoon.quark.addons.oddities.module.PipesModule;
import org.violetmoon.quark.base.client.handler.NetworkProfilingHandler;
import org.violetmoon.quark.base.handler.MiscUtil;
import org.violetmoon.quark.base.handler.QuarkSounds;
import org.violetmoon.quark.base.util.SimpleInventoryBlockEntity;

import javax.annotation.Nonnull;
import java.util.*;
import java.util.function.Predicate;

Expand Down
Loading
Loading