Compare commits

...
5 Commits
10 changed files with 29 additions and 355 deletions

No files matched your search

+21 -17
View File
@@ -1,5 +1,5 @@
plugins { plugins {
id("fpgradle-minecraft") version ("0.8.3") id("fpgradle-minecraft") version ("0.10.0")
} }
group = "com.falsepattern" group = "com.falsepattern"
@@ -62,17 +62,31 @@ repositories {
} }
dependencies { dependencies {
////////////////Our dependencies//////////////// // region Our deps
implementationSplit("com.falsepattern:falsepatternlib-mc1.7.10:1.5.5") implementationSplit("com.falsepattern:falsepatternlib-mc1.7.10:1.5.5")
implementation("it.unimi.dsi:fastutil:8.5.13") implementation("it.unimi.dsi:fastutil:8.5.15")
implementationSplit("com.falsepattern:chunkapi-mc1.7.10:0.6.0") implementationSplit("com.falsepattern:chunkapi-mc1.7.10:0.6.0")
// endregion
////////////////Patched mods//////////////// // region maintained mods
//DragonAPI V33b
compileOnly(deobfCurse("dragonapi-235591:4722480"))
//Immersive Cavegen 1.2g hotfix5
compileOnly(deobfCurse("immersivecavegen-521557:4723376"))
//Hbm's Nuclear Tech Mod 1.0.27X5188
compileOnly(deobfCurse("hbm-ntm-235439:6017897"))
// endregion
// region unmaintained mods
//AbyssalCraft 1.9.1.3-FINAL //AbyssalCraft 1.9.1.3-FINAL
compileOnly(deobfCurse("abyssalcraft-53686:2311135")) compileOnly(deobfCurse("abyssalcraft-53686:2311135"))
//Advanced Rocketry //Advanced Rocketry 1.4.0-32
compileOnly(deobfCurse("advancedrocketry-236542:2985057")) compileOnly(deobfCurse("advancedrocketry-236542:2985057"))
//Alternate Terrain Generation 0.12.0 //Alternate Terrain Generation 0.12.0
@@ -84,9 +98,6 @@ dependencies {
//Anti ID Conflict 1.3.5 //Anti ID Conflict 1.3.5
compileOnly(deobfCurse("antiidconflict-246288:2308279")) compileOnly(deobfCurse("antiidconflict-246288:2308279"))
// //ArchaicFix 0.2.0
// compileOnly("com.github.embeddedt:ArchaicFix:0.2.0:dev")
//Atum 0.6.77 //Atum 0.6.77
compileOnly(deobfCurse("atum-59621:2256356")) compileOnly(deobfCurse("atum-59621:2256356"))
@@ -119,9 +130,6 @@ dependencies {
//Source: https://github.com/CannibalVox/DimDoors/releases/download/2.2.5-test9/DimensionalDoors-2.2.5-test9.jar //Source: https://github.com/CannibalVox/DimDoors/releases/download/2.2.5-test9/DimensionalDoors-2.2.5-test9.jar
compileOnly(deobf("CannibalVox.DimDoors:DimensionalDoors:2.2.5-test9")) compileOnly(deobf("CannibalVox.DimDoors:DimensionalDoors:2.2.5-test9"))
//DragonAPI V32a
compileOnly(deobfCurse("dragonapi-235591:4611379"))
//Dynamic Surroundings 1.0.6.4 //Dynamic Surroundings 1.0.6.4
compileOnly(deobfCurse("dynamicsurrounding-238891:2642381")) compileOnly(deobfCurse("dynamicsurrounding-238891:2642381"))
@@ -153,9 +161,6 @@ dependencies {
//Highlands 2.2.3 //Highlands 2.2.3
compileOnly(deobfCurse("highlands-221226:2227924")) compileOnly(deobfCurse("highlands-221226:2227924"))
//Immersive Cavegen 1.2g
compileOnly(deobfCurse("immersivecavegen-521557:3649411"))
//Industrial Revolution by Redstone Rebooted 1.1.1 //Industrial Revolution by Redstone Rebooted 1.1.1
compileOnly(deobfCurse("industrialrevolutionbyredstonerebooted-241812:2538035")) compileOnly(deobfCurse("industrialrevolutionbyredstonerebooted-241812:2538035"))
@@ -180,9 +185,6 @@ dependencies {
//Nostalgic World Generation 1.0.0 //Nostalgic World Generation 1.0.0
compileOnly(deobfCurse("nostalgiagenerator-927053:4816167")) compileOnly(deobfCurse("nostalgiagenerator-927053:4816167"))
//Hbm's Nuclear Tech Mod 1.0.27X5027
compileOnly(deobfCurse("hbm-ntm-235439:5534354"))
//RandomThings 2.2.4 //RandomThings 2.2.4
compileOnly(deobfCurse("randomthings-59816:2225310")) compileOnly(deobfCurse("randomthings-59816:2225310"))
@@ -216,6 +218,8 @@ dependencies {
//WorldEdit 6.1.1 //WorldEdit 6.1.1
compileOnly(deobfCurse("worldedit-225608:2309699")) compileOnly(deobfCurse("worldedit-225608:2309699"))
// endregion
////////////////Dependencies for patched mods//////////////// ////////////////Dependencies for patched mods////////////////
//SpaceCore 0.7.14 //SpaceCore 0.7.14
+1 -1
View File
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
networkTimeout=10000 networkTimeout=10000
validateDistributionUrl=true validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
Vendored
+1 -2
View File
@@ -86,8 +86,7 @@ done
# shellcheck disable=SC2034 # shellcheck disable=SC2034
APP_BASE_NAME=${0##*/} APP_BASE_NAME=${0##*/}
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
' "$PWD" ) || exit
# Use the maximum available, or set MAX_FD != -1 to use that value. # Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum MAX_FD=maximum
@@ -1,33 +0,0 @@
/*
* EndlessIDs
*
* Copyright (C) 2022-2024 FalsePattern
* All Rights Reserved
*
* The above copyright notice, this permission notice and the words "MEGA"
* shall be included in all copies or substantial portions of the Software.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.falsepattern.endlessids.mixin.helpers.stubpackage.com.hbm.packet;
import com.falsepattern.endlessids.mixin.helpers.IHBMBiomeSyncPacket;
public abstract class BiomeSyncPacket extends com.hbm.packet.BiomeSyncPacket implements IHBMBiomeSyncPacket {
public int chunkX;
public int chunkZ;
public byte blockX;
public byte blockZ;
}
@@ -1,119 +0,0 @@
/*
* EndlessIDs
*
* Copyright (C) 2022-2024 FalsePattern
* All Rights Reserved
*
* The above copyright notice, this permission notice and the words "MEGA"
* shall be included in all copies or substantial portions of the Software.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.falsepattern.endlessids.mixin.mixins.common.biome.ntm;
import com.falsepattern.endlessids.EndlessIDs;
import com.falsepattern.endlessids.mixin.helpers.IHBMBiomeSyncPacket;
import com.hbm.packet.BiomeSyncPacket;
import io.netty.buffer.ByteBuf;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
import org.spongepowered.asm.mixin.Unique;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
import java.util.Arrays;
@Mixin(value = BiomeSyncPacket.class,
remap = false)
public abstract class BiomeSyncPacketMixin implements IHBMBiomeSyncPacket {
@Shadow
int chunkX;
@Shadow
int chunkZ;
@Shadow
byte[] biomeArray;
@Shadow
byte blockX;
@Shadow
byte blockZ;
@Unique
private short eid$biome;
@Unique
private short[] eid$biomeArray;
@Override
public void eid$setBiome(short biome) {
eid$biome = biome;
}
@Override
public short eid$getBiome() {
return eid$biome;
}
@Override
public void eid$setBiomeArray(short[] biomeArray) {
this.biomeArray = EndlessIDs.FAKE_BIOME_ARRAY_PLACEHOLDER;
eid$biomeArray = Arrays.copyOf(biomeArray, biomeArray.length);
}
@Override
public short[] eid$getBiomeArray() {
return eid$biomeArray;
}
@Inject(method = "toBytes",
at = @At("HEAD"),
cancellable = true,
require = 1)
private void toBytes(ByteBuf buf, CallbackInfo ci) {
ci.cancel();
buf.writeInt(chunkX);
buf.writeInt(chunkZ);
if (eid$biomeArray == null) {
buf.writeBoolean(false);
buf.writeShort(eid$biome);
buf.writeByte(blockX);
buf.writeByte(blockZ);
} else {
buf.writeBoolean(true);
for (int i = 0; i < 256; i++) {
buf.writeShort(eid$biomeArray[i]);
}
}
}
@Inject(method = "fromBytes",
at = @At(value = "HEAD"),
cancellable = true,
require = 1)
private void fromBytes(ByteBuf buf, CallbackInfo ci) {
ci.cancel();
chunkX = buf.readInt();
chunkZ = buf.readInt();
if (!buf.readBoolean()) {
eid$biome = buf.readShort();
blockX = buf.readByte();
blockZ = buf.readByte();
} else {
eid$biomeArray = new short[256];
for (int i = 0; i < 256; i++) {
eid$biomeArray[i] = buf.readShort();
}
}
}
}
@@ -1,71 +0,0 @@
/*
* EndlessIDs
*
* Copyright (C) 2022-2024 FalsePattern
* All Rights Reserved
*
* The above copyright notice, this permission notice and the words "MEGA"
* shall be included in all copies or substantial portions of the Software.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.falsepattern.endlessids.mixin.mixins.common.biome.ntm;
import com.falsepattern.endlessids.mixin.helpers.ChunkBiomeHook;
import com.falsepattern.endlessids.mixin.helpers.stubpackage.com.hbm.packet.BiomeSyncPacket;
import lombok.val;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
import net.minecraft.client.Minecraft;
import cpw.mods.fml.common.network.simpleimpl.IMessage;
import cpw.mods.fml.common.network.simpleimpl.IMessageHandler;
import cpw.mods.fml.common.network.simpleimpl.MessageContext;
@Mixin(value = com.hbm.packet.BiomeSyncPacket.Handler.class,
remap = false)
public abstract class BiomeSyncPacket_HandlerMixin implements IMessageHandler<com.hbm.packet.BiomeSyncPacket, IMessage> {
@Inject(method = "onMessage(Lcom/hbm/packet/BiomeSyncPacket;Lcpw/mods/fml/common/network/simpleimpl/MessageContext;)Lcpw/mods/fml/common/network/simpleimpl/IMessage;",
at = @At(value = "HEAD"),
cancellable = true,
require = 1)
private void onMessage(com.hbm.packet.BiomeSyncPacket $m, MessageContext ctx, CallbackInfoReturnable<IMessage> cir) {
val world = Minecraft.getMinecraft().theWorld;
val m = (BiomeSyncPacket) $m;
if (world.getChunkProvider().chunkExists(m.chunkX, m.chunkZ)) {
val chunk = world.getChunkFromChunkCoords(m.chunkX, m.chunkZ);
val chunkHook = (ChunkBiomeHook) chunk;
chunk.isModified = true;
val biomeArray = m.eid$getBiomeArray();
val chunkBiomeArray = chunkHook.getBiomeShortArray();
if (biomeArray == null) {
val bX = m.blockX & 0xf;
val bZ = m.blockZ & 0xf;
chunkBiomeArray[bZ << 4 | bX] = m.eid$getBiome();
val cX = (m.chunkX << 4) + bX;
val cZ = (m.chunkZ << 4) + bZ;
world.markBlockRangeForRenderUpdate(cX, 0, cZ, cX, 255, cZ);
} else {
System.arraycopy(biomeArray, 0, chunkBiomeArray, 0, 256);
val cX = m.chunkX << 4;
val cZ = m.chunkZ << 4;
world.markBlockRangeForRenderUpdate(cX, 0, cZ, cX + 15, 255, cZ + 15);
}
}
cir.setReturnValue(null);
}
}
@@ -1,103 +0,0 @@
/*
* EndlessIDs
*
* Copyright (C) 2022-2024 FalsePattern
* All Rights Reserved
*
* The above copyright notice, this permission notice and the words "MEGA"
* shall be included in all copies or substantial portions of the Software.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.falsepattern.endlessids.mixin.mixins.common.biome.ntm;
import com.falsepattern.endlessids.constants.ExtendedConstants;
import com.falsepattern.endlessids.mixin.helpers.ChunkBiomeHook;
import com.falsepattern.endlessids.mixin.helpers.IHBMBiomeSyncPacket;
import com.hbm.packet.BiomeSyncPacket;
import com.hbm.packet.PacketDispatcher;
import com.hbm.world.WorldUtil;
import lombok.val;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
import net.minecraft.world.ChunkCoordIntPair;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.chunk.Chunk;
import cpw.mods.fml.common.network.NetworkRegistry;
@Mixin(value = WorldUtil.class,
remap = false)
public abstract class WorldUtilMixin {
@Inject(method = "setBiome",
at = @At("HEAD"),
cancellable = true,
require = 1)
private static void extendSetBiome(World world, int x, int z, BiomeGenBase biome, CallbackInfo ci) {
ci.cancel();
val chunk = world.getChunkFromBlockCoords(x, z);
((ChunkBiomeHook)chunk).getBiomeShortArray()[(z & 0xf) << 4 | x & 0xf] =
(short) (biome.biomeID & ExtendedConstants.biomeIDMask);
chunk.isModified = true;
}
@Inject(method = "syncBiomeChange(Lnet/minecraft/world/World;II)V",
at = @At("HEAD"),
cancellable = true,
require = 1)
private static void extendSyncBiomeChange(World world, int x, int z, CallbackInfo ci) {
ci.cancel();
Chunk chunk = world.getChunkFromBlockCoords(x, z);
val packet = new BiomeSyncPacket(x >> 4, z >> 4, null);
((IHBMBiomeSyncPacket)packet).eid$setBiomeArray(((ChunkBiomeHook)chunk).getBiomeShortArray());
PacketDispatcher.wrapper.sendToAllAround(packet, new NetworkRegistry.TargetPoint(world.provider.dimensionId,
x, 128.0F, z,
1024.0F));
}
@Inject(method = "syncBiomeChangeBlock",
at = @At("HEAD"),
cancellable = true,
require = 1)
private static void extendSyncBiomeChangeBlock(World world, int x, int z, CallbackInfo ci) {
ci.cancel();
Chunk chunk = world.getChunkFromBlockCoords(x, z);
short biome = ((ChunkBiomeHook)chunk).getBiomeShortArray()[(z & 15) << 4 | x & 15];
val packet = new BiomeSyncPacket(x, z, (byte)0);
((IHBMBiomeSyncPacket)packet).eid$setBiome(biome);
PacketDispatcher.wrapper.sendToAllAround(packet, new NetworkRegistry.TargetPoint(world.provider.dimensionId,
x, 128.0F, z,
1024.0F));
}
@Inject(method = "syncBiomeChange(Lnet/minecraft/world/World;Lnet/minecraft/world/chunk/Chunk;)V",
at = @At("HEAD"),
cancellable = true,
require = 1)
private static void extendSyncBiomeChange(World world, Chunk chunk, CallbackInfo ci) {
ci.cancel();
ChunkCoordIntPair coord = chunk.getChunkCoordIntPair();
val packet = new BiomeSyncPacket(coord.chunkXPos, coord.chunkZPos, null);
((IHBMBiomeSyncPacket)packet).eid$setBiomeArray(((ChunkBiomeHook)chunk).getBiomeShortArray());
PacketDispatcher.wrapper.sendToAllAround(packet, new NetworkRegistry.TargetPoint(world.provider.dimensionId,
coord.getCenterXPos(),
128.0F,
coord.getCenterZPosition(),
1024.0F));
}
}
@@ -32,6 +32,7 @@ import lombok.RequiredArgsConstructor;
import java.util.List; import java.util.List;
import java.util.function.Predicate; import java.util.function.Predicate;
import static com.falsepattern.endlessids.mixin.plugin.TargetedMod.AM2;
import static com.falsepattern.lib.mixin.IMixin.PredicateHelpers.avoid; import static com.falsepattern.lib.mixin.IMixin.PredicateHelpers.avoid;
import static com.falsepattern.lib.mixin.IMixin.PredicateHelpers.condition; import static com.falsepattern.lib.mixin.IMixin.PredicateHelpers.condition;
import static com.falsepattern.lib.mixin.IMixin.PredicateHelpers.require; import static com.falsepattern.lib.mixin.IMixin.PredicateHelpers.require;
@@ -152,11 +153,6 @@ public enum Mixin implements IMixin {
GSChunkProviderSpaceLakesMixin(Side.COMMON, condition(() -> GeneralConfig.extendBiome).and(require(TargetedMod.GALAXYSPACE)), "biome.galaxyspace.ChunkProviderSpaceLakesMixin"), GSChunkProviderSpaceLakesMixin(Side.COMMON, condition(() -> GeneralConfig.extendBiome).and(require(TargetedMod.GALAXYSPACE)), "biome.galaxyspace.ChunkProviderSpaceLakesMixin"),
GSChunkProviderVenusSSMixin(Side.COMMON, condition(() -> GeneralConfig.extendBiome).and(require(TargetedMod.GALAXYSPACE)), "biome.galaxyspace.ChunkProviderVenusSSMixin"), GSChunkProviderVenusSSMixin(Side.COMMON, condition(() -> GeneralConfig.extendBiome).and(require(TargetedMod.GALAXYSPACE)), "biome.galaxyspace.ChunkProviderVenusSSMixin"),
//endregion GalaxySpace //endregion GalaxySpace
//region HBM's Nuclear Tech Nod
NTMBiomeSyncPacket_HandlerMixin(Side.COMMON, condition(() -> GeneralConfig.extendBiome).and(require(TargetedMod.HBM_NTM)), "biome.ntm.BiomeSyncPacket_HandlerMixin"),
NTMBiomeSyncPacketMixin(Side.COMMON, condition(() -> GeneralConfig.extendBiome).and(require(TargetedMod.HBM_NTM)), "biome.ntm.BiomeSyncPacketMixin"),
NTMWorldUtilMixin(Side.COMMON, condition(() -> GeneralConfig.extendBiome).and(require(TargetedMod.HBM_NTM)), "biome.ntm.WorldUtilMixin"),
//endregion HBM's Nuclear Tech Nod
//region Highlands //region Highlands
HighlandsConfigMixin(Side.COMMON, condition(() -> GeneralConfig.extendBiome).and(require(TargetedMod.HIGHLANDS)), "biome.highlands.ConfigMixin"), HighlandsConfigMixin(Side.COMMON, condition(() -> GeneralConfig.extendBiome).and(require(TargetedMod.HIGHLANDS)), "biome.highlands.ConfigMixin"),
//endregion Highlands //endregion Highlands
@@ -276,8 +272,8 @@ public enum Mixin implements IMixin {
//region vanilla //region vanilla
PotionEffectMixin(Side.COMMON, condition(() -> GeneralConfig.extendPotion), "potion.vanilla.PotionEffectMixin"), PotionEffectMixin(Side.COMMON, condition(() -> GeneralConfig.extendPotion), "potion.vanilla.PotionEffectMixin"),
PotionMixin(Side.COMMON, condition(() -> GeneralConfig.extendPotion), "potion.vanilla.PotionMixin"), PotionMixin(Side.COMMON, condition(() -> GeneralConfig.extendPotion), "potion.vanilla.PotionMixin"),
S1DPacketEntityEffectMixin(Side.COMMON, condition(() -> GeneralConfig.extendPotion), "potion.vanilla.network.S1DPacketEntityEffectMixin"), S1DPacketEntityEffectMixin(Side.COMMON, condition(() -> GeneralConfig.extendPotion).and(avoid(AM2)), "potion.vanilla.network.S1DPacketEntityEffectMixin"),
S1EPacketRemoveEntityEffectMixin(Side.COMMON, condition(() -> GeneralConfig.extendPotion), "potion.vanilla.network.S1EPacketRemoveEntityEffectMixin"), S1EPacketRemoveEntityEffectMixin(Side.COMMON, condition(() -> GeneralConfig.extendPotion).and(avoid(AM2)), "potion.vanilla.network.S1EPacketRemoveEntityEffectMixin"),
//endregion vanilla //endregion vanilla
//region Thaumcraft //region Thaumcraft
common_potion_Thaumcraft_ConfigMixin(Side.COMMON, condition(() -> GeneralConfig.extendPotion).and(require(TargetedMod.THAUMCRAFT)), "potion.thaumcraft.ConfigMixin"), common_potion_Thaumcraft_ConfigMixin(Side.COMMON, condition(() -> GeneralConfig.extendPotion).and(require(TargetedMod.THAUMCRAFT)), "potion.thaumcraft.ConfigMixin"),
@@ -307,7 +303,7 @@ public enum Mixin implements IMixin {
//endregion blockitem //endregion blockitem
//region potion //region potion
//region vanilla //region vanilla
NetHandlerPlayClientMixinPotion(Side.CLIENT, condition(() -> GeneralConfig.extendPotion), "potion.vanilla.NetHandlerPlayClientMixin"), NetHandlerPlayClientMixinPotion(Side.CLIENT, condition(() -> GeneralConfig.extendPotion).and(avoid(AM2)), "potion.vanilla.NetHandlerPlayClientMixin"),
//endregion vanilla //endregion vanilla
//endregion potion //endregion potion
//endregion client //endregion client
@@ -36,6 +36,7 @@ public enum TargetedMod implements ITargetedMod {
ABYSSALCRAFT("AbyssalCraft", false, contains("abyssalcraft-")), ABYSSALCRAFT("AbyssalCraft", false, contains("abyssalcraft-")),
AROCKETRY("Advanced Rocketry", false, contains("advancedrocketry-")), AROCKETRY("Advanced Rocketry", false, contains("advancedrocketry-")),
ATG("Alternate Terrain Generation", false, contains("atg")), ATG("Alternate Terrain Generation", false, contains("atg")),
AM2("Ars Magica 2", false, contains("am2").or(contains("arsmagica2"))),
ANTIQUEATLAS("Antique Atlas", false, contains("antiqueatlas")), ANTIQUEATLAS("Antique Atlas", false, contains("antiqueatlas")),
ANTIIDCONFLICT("Anti ID Conflict", false, contains("antiidconflict")), ANTIIDCONFLICT("Anti ID Conflict", false, contains("antiidconflict")),
BOP("Biomes O' Plenty", false, contains("biomesoplenty-")), BOP("Biomes O' Plenty", false, contains("biomesoplenty-")),
+1 -1
View File
@@ -6,7 +6,7 @@
"dependencies": { "dependencies": {
"always": { "always": {
"common": [ "common": [
"it.unimi.dsi:fastutil:8.5.13" "it.unimi.dsi:fastutil:8.5.15"
], ],
"client": [], "client": [],
"server": [] "server": []