Scorpion, bed bug, creeping horror overhaul. Pill bug assets.

Big Bertha mode switching bug. Gravity gun keybind bug
This commit is contained in:
craisinlord committed 2026-07-04 21:27:59 -05:00
1 parent c478e560f9
commit dc2c4cf014
24 files changed
+1709 -289

No files matched your search

@@ -90,7 +90,7 @@ public final class AntTeleportHelper {
return destination;
}
// If the player's respawn is not in the overworld, return them to overworld spawn instead.
// If the player's respawn is not in the overworld, return them to overworld spawn instead
return player.server.overworld();
}
@@ -335,6 +335,15 @@ public class BigBerthaItem extends SwordItem implements GeoItem {
}
}
public boolean tryCycleModeWhileCoolingDown(Level level, Player player, ItemStack stack) {
if (player.getMainHandItem() != stack || !player.isShiftKeyDown() || !player.getCooldowns().isOnCooldown(this)) {
return false;
}
cycleMode(level, player, stack);
return true;
}
private void startMolevoreSpin(Level level, Player player, ItemStack stack) {
Vec3 direction = player.getLookAngle().multiply(1.0D, 0.0D, 1.0D);
if (direction.lengthSqr() < 1.0E-4D) {
@@ -0,0 +1,17 @@
package com.craisinlord.antarchy.content.network;
import com.craisinlord.antarchy.Antarchy;
import io.netty.buffer.ByteBuf;
import net.minecraft.network.codec.StreamCodec;
import net.minecraft.network.protocol.common.custom.CustomPacketPayload;
import net.minecraft.resources.ResourceLocation;
public record BigBerthaModeCyclePayload() implements CustomPacketPayload {
public static final Type<BigBerthaModeCyclePayload> TYPE = new Type<>(ResourceLocation.fromNamespaceAndPath(Antarchy.MODID, "big_bertha_mode_cycle"));
public static final StreamCodec<ByteBuf, BigBerthaModeCyclePayload> STREAM_CODEC = StreamCodec.unit(new BigBerthaModeCyclePayload());
@Override
public Type<BigBerthaModeCyclePayload> type() {
return TYPE;
}
}