mirror of
https://github.com/GTMEGA/EndlessIDs.git
synced 2026-11-24 10:34:29 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8e22c69168 | ||
|
|
8a3b75cf14 | ||
|
|
20d7738cc4 |
No files matched your search
+2
-3
@@ -72,7 +72,7 @@ modrinthProjectId = qGHY4QGo
|
|||||||
# type can be one of [project, version],
|
# type can be one of [project, version],
|
||||||
# and the name is the Modrinth project or version slug/id of the other mod.
|
# and the name is the Modrinth project or version slug/id of the other mod.
|
||||||
# Example: required-project:fplib;optional-project:spongemixin1710;incompatible-project:gregtech
|
# Example: required-project:fplib;optional-project:spongemixin1710;incompatible-project:gregtech
|
||||||
modrinthDependencies = required-project:fplib;optional-project:spongemixin1710
|
modrinthDependencies = required-project:fplib
|
||||||
|
|
||||||
#endregion modrinth
|
#endregion modrinth
|
||||||
|
|
||||||
@@ -90,8 +90,7 @@ curseForgeProjectId = 665730
|
|||||||
# Where type can be one of [requiredDependency, embeddedLibrary, optionalDependency, tool, incompatible],
|
# Where type can be one of [requiredDependency, embeddedLibrary, optionalDependency, tool, incompatible],
|
||||||
# and the name is the CurseForge project id of the other mod.
|
# and the name is the CurseForge project id of the other mod.
|
||||||
# Example: requiredDependency:railcraft;embeddedLibrary:cofhlib;incompatible:buildcraft
|
# Example: requiredDependency:railcraft;embeddedLibrary:cofhlib;incompatible:buildcraft
|
||||||
# TODO add fplib once verified.
|
curseForgeRelations = requiredDependency:fplib
|
||||||
curseForgeRelations = optionalDependency:spongemixins;optionalDependency:mixinbooterlegacy
|
|
||||||
|
|
||||||
#endregion curseforge
|
#endregion curseforge
|
||||||
|
|
||||||
|
|||||||
-8
@@ -1,8 +0,0 @@
|
|||||||
package com.falsepattern.endlessids.mixin.mixins.common.rtg;
|
|
||||||
|
|
||||||
import org.spongepowered.asm.mixin.Mixin;
|
|
||||||
import rtg.world.biome.realistic.RealisticBiomeBase;
|
|
||||||
|
|
||||||
@Mixin(RealisticBiomeBase.class)
|
|
||||||
public abstract class RealisticBiomeBaseMixin {
|
|
||||||
}
|
|
||||||
+20
@@ -0,0 +1,20 @@
|
|||||||
|
package com.falsepattern.endlessids.mixin.mixins.common.rwg;
|
||||||
|
|
||||||
|
import com.falsepattern.endlessids.constants.ExtendedConstants;
|
||||||
|
import com.falsepattern.endlessids.constants.VanillaConstants;
|
||||||
|
import org.spongepowered.asm.mixin.Mixin;
|
||||||
|
import org.spongepowered.asm.mixin.Pseudo;
|
||||||
|
import org.spongepowered.asm.mixin.injection.Constant;
|
||||||
|
import org.spongepowered.asm.mixin.injection.ModifyConstant;
|
||||||
|
|
||||||
|
@Pseudo
|
||||||
|
@Mixin(targets = "rwg.biomes.realistic.RealisticBiomeBase",
|
||||||
|
remap = false)
|
||||||
|
public abstract class RealisticBiomeBaseMixin {
|
||||||
|
@ModifyConstant(method = "<clinit>",
|
||||||
|
constant = @Constant(intValue = VanillaConstants.biomeIDCount),
|
||||||
|
require = 1)
|
||||||
|
private static int extendBiomeIDCount(int constant) {
|
||||||
|
return ExtendedConstants.biomeIDCount;
|
||||||
|
}
|
||||||
|
}
|
||||||
+20
@@ -0,0 +1,20 @@
|
|||||||
|
package com.falsepattern.endlessids.mixin.mixins.common.rwg;
|
||||||
|
|
||||||
|
import com.falsepattern.endlessids.constants.ExtendedConstants;
|
||||||
|
import com.falsepattern.endlessids.constants.VanillaConstants;
|
||||||
|
import org.spongepowered.asm.mixin.Mixin;
|
||||||
|
import org.spongepowered.asm.mixin.Pseudo;
|
||||||
|
import org.spongepowered.asm.mixin.injection.Constant;
|
||||||
|
import org.spongepowered.asm.mixin.injection.ModifyConstant;
|
||||||
|
|
||||||
|
@Pseudo
|
||||||
|
@Mixin(targets = "rwg.data.VillageMaterials",
|
||||||
|
remap = false)
|
||||||
|
public abstract class VillageMaterialsMixin {
|
||||||
|
@ModifyConstant(method = "<clinit>",
|
||||||
|
constant = @Constant(intValue = VanillaConstants.biomeIDCount),
|
||||||
|
require = 1)
|
||||||
|
private static int extendBiomeIDCount(int constant) {
|
||||||
|
return ExtendedConstants.biomeIDCount;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -190,10 +190,11 @@ public enum Mixin implements IMixin {
|
|||||||
//region RTG->common
|
//region RTG->common
|
||||||
RTGChunkProviderRTGMixin(Side.COMMON, require(TargetedMod.RTG), "rtg.ChunkProviderRTGMixin"),
|
RTGChunkProviderRTGMixin(Side.COMMON, require(TargetedMod.RTG), "rtg.ChunkProviderRTGMixin"),
|
||||||
RTGLandscapeGeneratorMixin(Side.COMMON, require(TargetedMod.RTG), "rtg.LandscapeGeneratorMixin"),
|
RTGLandscapeGeneratorMixin(Side.COMMON, require(TargetedMod.RTG), "rtg.LandscapeGeneratorMixin"),
|
||||||
RTGRealisticBiomeBaseMixin(Side.COMMON, require(TargetedMod.RTG), "rtg.RealisticBiomeBaseMixin"),
|
|
||||||
//endregion RTG->common
|
//endregion RTG->common
|
||||||
//region RWG->common
|
//region RWG->common
|
||||||
RWGChunkGeneratorRealisticMixin(Side.COMMON, require(TargetedMod.RWG), "rwg.ChunkGeneratorRealisticMixin"),
|
RWGChunkGeneratorRealisticMixin(Side.COMMON, require(TargetedMod.RWG), "rwg.ChunkGeneratorRealisticMixin"),
|
||||||
|
RWGRealisticBiomeBaseMixin(Side.COMMON, require(TargetedMod.RWG), "rwg.RealisticBiomeBaseMixin"),
|
||||||
|
RWGVillageMaterialsMixin(Side.COMMON, require(TargetedMod.RWG), "rwg.VillageMaterialsMixin"),
|
||||||
//endregion RWG->common
|
//endregion RWG->common
|
||||||
//region Thaumcraft->common
|
//region Thaumcraft->common
|
||||||
ThaumcraftUtilsMixin(Side.COMMON, require(TargetedMod.THAUMCRAFT), "thaumcraft.UtilsMixin"),
|
ThaumcraftUtilsMixin(Side.COMMON, require(TargetedMod.THAUMCRAFT), "thaumcraft.UtilsMixin"),
|
||||||
|
|||||||
Reference in new issue
Block a user