Skip to content

Commit

Permalink
tear out requiem
Browse files Browse the repository at this point in the history
Signed-off-by: unilock <[email protected]>
  • Loading branch information
unilock committed Jan 7, 2024
1 parent 88980b4 commit 8d24a94
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 397 deletions.
71 changes: 22 additions & 49 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,55 +8,31 @@ version = project.version
group = project.maven_group

repositories {
mavenLocal()
// publishing
maven {
name = "CurseForge"
url = "https://minecraft.curseforge.com/api/maven"
}

// cloth config
maven { url "https://maven.shedaniel.me/" }
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}

// CCA, Requiem
chenille.repositories.ladysnake()

// mod menu
maven {
name = 'TerraformersMC'
url = 'https://maven.terraformersmc.com/'
}

maven { url 'https://jitpack.io' }

maven {
name "modrinth"
url "https://api.modrinth.com/maven"
}

maven { url 'https://masa.dy.fi/maven' }
// Mod Menu
maven { url 'https://maven.terraformersmc.com/'}

// GeckoLib
maven { url 'https://dl.cloudsmith.io/public/geckolib3/geckolib/maven/' }

// mialee misc
maven { url "https://maven.willbl.dev/releases" }

maven {
url = 'https://maven.jamieswhiteshirt.com/libs-release/'
content {
includeGroup 'com.jamieswhiteshirt'
}
}

maven {
url = 'https://oss.sonatype.org/content/repositories/snapshots'
content {
includeGroup 'me.lucko'
}
}
// MialeeMisc
maven { url 'https://maven.willbl.dev/releases/' }

// ears
maven { url "https://repo.unascribed.com" }
maven { url 'https://jitpack.io' }
mavenCentral()
mavenLocal()
}

dependencies {
Expand All @@ -70,27 +46,24 @@ dependencies {

modImplementation "org.quiltmc.quilted-fabric-api:quilted-fabric-api:${quilted_fabric_api_version}-${minecraft_version}"

// reach attributes
modImplementation("com.github.emilyploszaj:step-height-entity-attribute:v1.0.1")
include("com.github.emilyploszaj:step-height-entity-attribute:v1.0.1")
// SHEA
modImplementation include("com.github.emilyploszaj:step-height-entity-attribute:v1.0.1")

// mod menu
// Mod Menu
modLocalImplementation("com.terraformersmc:modmenu:${mod_menu_version}") { transitive = false }

// mixin extras
// MixinExtras
implementation include("com.github.LlamaLad7:MixinExtras:${project.mixin_extras_version}")
annotationProcessor("com.github.LlamaLad7:MixinExtras:${project.mixin_extras_version}")

// mialee misc
// MialeeMisc
modImplementation include("xyz.amymialee:mialeemisc:${project.mialeemisc_version}")

// ok zoomer
// runtimeOnly("com.github.EnnuiL:OkZoomer:1.19.2-SNAPSHOT")

modCompileOnly("io.github.ladysnake:PlayerAbilityLib:${project.pal_version}")
modImplementation("io.github.ladysnake:requiem-api:${project.requiem_version}")
modImplementation("io.github.ladysnake:requiem-core:${project.requiem_version}")
modImplementation include("io.github.ladysnake:requiem-lite:${project.requiem_version}")
modImplementation include("dev.onyxstudios.cardinal-components-api:cardinal-components-base:${project.cca_version}")
//modCompileOnly("io.github.ladysnake:PlayerAbilityLib:${project.pal_version}")
//modImplementation("io.github.ladysnake:requiem-api:${project.requiem_version}")
//modImplementation("io.github.ladysnake:requiem-core:${project.requiem_version}")
//modImplementation include("io.github.ladysnake:requiem-lite:${project.requiem_version}")

// trinkets
modImplementation ("dev.emi:trinkets:${project.trinkets_version}")
Expand Down
8 changes: 1 addition & 7 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ archives_base_name = ratsmischief
minecraft_version=1.19.2
quilt_mappings=22

loader_version=0.19.2-beta.2
loader_version=0.21.2

# QSL
# QSL version number is shared between all the modules.
qsl_version = 3.0.0-beta.29

# Quilted Fabric API
Expand All @@ -22,16 +21,11 @@ quilted_fabric_api_version = 4.0.0-beta.30+0.76.0
#Mod Depencencies
mod_menu_version=4.1.2
cca_version=5.0.2
carpet_version=1.19.1-1.4.83+v220727
geckolib_version=geckolib-quilt-1.19:3.1.41
mixin_extras_version=0.2.0-beta.4
mialeemisc_version=1.0.39
pal_version = 1.6.0
requiem_version = 2.0.0-beta.16.stripped
automatone_version = 0.9.0
impersonate_version = 2.8.0
satin_version = 1.9.0
fiber_version = 0.23.0-2
trinkets_version=3.4.1
elegantarmour_version=1.0-SNAPSHOT

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
package ladysnake.ratsmischief.common.effect;

import ladysnake.ratsmischief.common.init.ModStatusEffects;
import ladysnake.ratsmischief.common.requiem.RatsMischiefRequiemPlugin;
import ladysnake.requiem.api.v1.remnant.RemnantComponent;
import ladysnake.requiem.common.remnant.RemnantTypes;
import net.minecraft.entity.LivingEntity;
import net.minecraft.entity.attribute.AttributeContainer;
import net.minecraft.entity.effect.StatusEffect;
Expand Down Expand Up @@ -31,7 +28,7 @@ public void onApplied(LivingEntity entity, AttributeContainer attributes, int am
}

player.playSound(SoundEvents.ENTITY_ILLUSIONER_MIRROR_MOVE, SoundCategory.PLAYERS, 1.0f, 1.0f);
RemnantComponent.get(player).become(RatsMischiefRequiemPlugin.RATIFIED_REMNANT_TYPE);
//RemnantComponent.get(player).become(RatsMischiefRequiemPlugin.RATIFIED_REMNANT_TYPE);
}
}

Expand All @@ -47,7 +44,7 @@ public void onRemoved(LivingEntity entity, AttributeContainer attributes, int am

player.playSound(SoundEvents.ENTITY_ILLUSIONER_CAST_SPELL, SoundCategory.PLAYERS, 1.0f, 1.0f);
player.addStatusEffect(new StatusEffectInstance(ModStatusEffects.RAT_CURSE_COOLDOWN, 1200, 0, false, false, true));
RemnantComponent.get(player).become(RemnantTypes.MORTAL);
//RemnantComponent.get(player).become(RemnantTypes.MORTAL);
}
}
}
Original file line number Diff line number Diff line change
@@ -1,23 +1,13 @@
package ladysnake.ratsmischief.common.item;

import ladysnake.ratsmischief.common.entity.RatEntity;
import ladysnake.ratsmischief.common.requiem.RatsMischiefRequiemPlugin;
import ladysnake.requiem.api.v1.possession.PossessionComponent;
import ladysnake.requiem.api.v1.remnant.RemnantComponent;
import net.minecraft.entity.ai.TargetPredicate;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.Hand;
import net.minecraft.util.TypedActionResult;
import net.minecraft.util.math.Box;
import net.minecraft.world.World;

public class RatMasterMirrorItem extends Item {
public RatMasterMirrorItem(Settings settings) {
super(settings);
}

/*
@Override
public TypedActionResult<ItemStack> use(World world, PlayerEntity user, Hand hand) {
if (!world.isClient()) {
Expand All @@ -44,4 +34,5 @@ public TypedActionResult<ItemStack> use(World world, PlayerEntity user, Hand han
return TypedActionResult.success(user.getStackInHand(hand));
}
*/
}

This file was deleted.

Loading

0 comments on commit 8d24a94

Please sign in to comment.