final 2.0 release
This commit is contained in:
1 parent
c6b47b496a
commit
93e2adbe12
33 files changed
+559
-145
No files matched your search
+1
-1
@@ -686,7 +686,7 @@ public final class AntarchyMobsConfig {
|
||||
QUEEN_BLACK_HOLE_ACTIVE_TICKS = b.comment("Active duration for Royal Assailant axe black holes. Queen black holes always follow their 20.125-second animation.").defineInRange("queenBlackHoleActiveTicks", 120, 20, 1200);
|
||||
QUEEN_BLACK_HOLE_PULL_STRENGTH = b.defineInRange("queenBlackHolePullStrength", 0.16D, 0.0D, 2.0D);
|
||||
QUEEN_BLACK_HOLE_BLOCK_SUCTION_CAP = b.comment("Maximum terrain blocks a single Queen black hole may pull into itself.").defineInRange("queenBlackHoleBlockSuctionCap", 160, 0, 4096);
|
||||
KING_FIREBALL_DAMAGE = b.defineInRange("kingFireballDamage", 32.0D, 0.0D, 1024.0D);
|
||||
KING_FIREBALL_DAMAGE = b.defineInRange("kingFireballDamage", 48.0D, 0.0D, 1024.0D);
|
||||
KING_FIREBALL_RADIUS = b.defineInRange("kingFireballRadius", 4.5D, 0.5D, 32.0D);
|
||||
KING_FIREBALL_COOLDOWN_TICKS = b.defineInRange("kingFireballCooldownTicks", 150, 1, 2400);
|
||||
KING_ICEBALL_DAMAGE = b.defineInRange("kingIceballDamage", 18.0D, 0.0D, 1024.0D);
|
||||
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
package com.craisinlord.antarchy.neoforge.client;
|
||||
|
||||
import com.craisinlord.antarchy.Antarchy;
|
||||
import com.craisinlord.antarchy.content.client.QueenMusicHandler;
|
||||
import com.craisinlord.antarchy.neoforge.registry.AntarchyNeoforgeSounds;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.neoforged.api.distmarker.Dist;
|
||||
import net.neoforged.bus.api.SubscribeEvent;
|
||||
import net.neoforged.fml.common.EventBusSubscriber;
|
||||
import net.neoforged.neoforge.client.event.ClientTickEvent;
|
||||
|
||||
@EventBusSubscriber(modid = Antarchy.MODID, value = Dist.CLIENT)
|
||||
public final class QueenMusicClientHandler {
|
||||
private QueenMusicClientHandler() {
|
||||
}
|
||||
|
||||
@SubscribeEvent
|
||||
public static void onClientTick(ClientTickEvent.Post event) {
|
||||
Minecraft minecraft = Minecraft.getInstance();
|
||||
QueenMusicHandler.tick(minecraft, AntarchyNeoforgeSounds.THE_QUEEN.get());
|
||||
}
|
||||
}
|
||||
-3
@@ -1,6 +1,5 @@
|
||||
package com.craisinlord.antarchy.neoforge.content.fluid;
|
||||
|
||||
import com.craisinlord.antarchy.content.fluid.AntiwaterBubbleColumnUtil;
|
||||
import com.craisinlord.antarchy.neoforge.registry.AntarchyNeoforgeBlocks;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
@@ -174,8 +173,6 @@ public abstract class AntiwaterFluid extends BaseFlowingFluid {
|
||||
return;
|
||||
}
|
||||
|
||||
AntiwaterBubbleColumnUtil.update(level, pos, state);
|
||||
|
||||
if (!state.isSource() && !this.isFlowingStateValid(level, pos, state)) {
|
||||
level.setBlockAndUpdate(pos, net.minecraft.world.level.block.Blocks.AIR.defaultBlockState());
|
||||
this.scheduleCleanup(level, pos);
|
||||
|
||||
+5
@@ -100,6 +100,11 @@ public final class AntarchyNeoforgeItems {
|
||||
.jukeboxPlayable(ResourceKey.create(Registries.JUKEBOX_SONG,
|
||||
ResourceLocation.fromNamespaceAndPath(Antarchy.MODID, "underside"))));
|
||||
|
||||
public static final DeferredItem<Item> MUSIC_DISC_THE_QUEEN = ITEMS.registerSimpleItem("music_disc_the_queen",
|
||||
new Item.Properties().stacksTo(1).rarity(Rarity.RARE)
|
||||
.jukeboxPlayable(ResourceKey.create(Registries.JUKEBOX_SONG,
|
||||
ResourceLocation.fromNamespaceAndPath(Antarchy.MODID, "the_queen"))));
|
||||
|
||||
private static final DeferredHolder<ArmorMaterial, ArmorMaterial> ULTIMATE_ARMOR_MATERIAL = ARMOR_MATERIALS.register("ultimate",
|
||||
() -> new ArmorMaterial(
|
||||
createUltimateArmorDefense(),
|
||||
|
||||
+1
@@ -205,6 +205,7 @@ public final class AntarchyNeoforgeSounds {
|
||||
public static final DeferredHolder<SoundEvent, SoundEvent> POTENT_NYXITE_GEYSER_CONTINUOUS_START = registerSoundEvent("potent_nyxite_geyser_continuous_start");
|
||||
public static final DeferredHolder<SoundEvent, SoundEvent> POTENT_NYXITE_GEYSER_CONTINUOUS_ACTIVE = registerSoundEvent("potent_nyxite_geyser_continuous_active");
|
||||
public static final DeferredHolder<SoundEvent, SoundEvent> MUSIC_DISC_UNDERSIDE = registerSoundEvent("music_disc_underside");
|
||||
public static final DeferredHolder<SoundEvent, SoundEvent> THE_QUEEN = registerSoundEvent("the_queen");
|
||||
public static final DeferredHolder<SoundEvent, SoundEvent> WORM_HOOK_FLYING = registerSoundEvent("worm_hook_flying");
|
||||
public static final DeferredHolder<SoundEvent, SoundEvent> BLOOD_CRYSTAL_KATANA_DASH = registerSoundEvent("blood_crystal_katana_dash");
|
||||
public static final DeferredHolder<SoundEvent, SoundEvent> BLOOD_CRYSTAL_ARMOR_EQUIP = registerSoundEvent("blood_crystal_armor_equip");
|
||||
|
||||
Reference in new issue
Block a user