fix: creative flight conflict
This commit is contained in:
parent
fd1f63c2d5
commit
5f0f76919f
|
@ -22,6 +22,7 @@ repositories {
|
||||||
maven { url "https://maven.tilera.xyz/" }
|
maven { url "https://maven.tilera.xyz/" }
|
||||||
maven { url "https://dl.cloudsmith.io/public/geckolib3/geckolib/maven/" }
|
maven { url "https://dl.cloudsmith.io/public/geckolib3/geckolib/maven/" }
|
||||||
maven { url "https://maven.blamejared.com" }
|
maven { url "https://maven.blamejared.com" }
|
||||||
|
maven { url "https://cursemaven.com" }
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
@ -34,6 +35,7 @@ dependencies {
|
||||||
modImplementation "software.bernie.geckolib:geckolib-forge-1.18:3.0.57"
|
modImplementation "software.bernie.geckolib:geckolib-forge-1.18:3.0.57"
|
||||||
modImplementation "net.anvilcraft:anvillib-18-forge:1.1.0"
|
modImplementation "net.anvilcraft:anvillib-18-forge:1.1.0"
|
||||||
modImplementation "vazkii.patchouli:Patchouli:1.18.2-66"
|
modImplementation "vazkii.patchouli:Patchouli:1.18.2-66"
|
||||||
|
modImplementation "curse.maven:deep-mob-learning-reforged-621711:3922792"
|
||||||
}
|
}
|
||||||
|
|
||||||
processResources {
|
processResources {
|
||||||
|
|
|
@ -16,7 +16,7 @@ loom.platform=forge
|
||||||
yarn_mappings=1.18.2+build.4
|
yarn_mappings=1.18.2+build.4
|
||||||
|
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version=1.3.0
|
mod_version=1.3.1
|
||||||
maven_group=net.anvilcraft.ntx4core
|
maven_group=net.anvilcraft.ntx4core
|
||||||
archives_base_name=ntx4core
|
archives_base_name=ntx4core
|
||||||
mod_id=ntx4core
|
mod_id=ntx4core
|
||||||
|
|
|
@ -0,0 +1,37 @@
|
||||||
|
package net.anvilcraft.ntx4core.mixin.common;
|
||||||
|
|
||||||
|
import org.spongepowered.asm.mixin.Mixin;
|
||||||
|
import org.spongepowered.asm.mixin.Overwrite;
|
||||||
|
|
||||||
|
import com.yollo.dmlreforged.common.events.PlayerHandler;
|
||||||
|
|
||||||
|
import net.minecraftforge.event.entity.living.LivingEquipmentChangeEvent;
|
||||||
|
import net.minecraftforge.event.entity.player.PlayerEvent.PlayerChangeGameModeEvent;
|
||||||
|
import net.minecraftforge.event.entity.player.PlayerEvent.PlayerLoggedInEvent;
|
||||||
|
|
||||||
|
@Mixin(PlayerHandler.class)
|
||||||
|
public abstract class PlayerHanlderMixin {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author tilera
|
||||||
|
* @reason remove flying events
|
||||||
|
*/
|
||||||
|
@Overwrite(remap = false)
|
||||||
|
public static void playerEuqipmentUpdate(LivingEquipmentChangeEvent event) {}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author tilera
|
||||||
|
* @reason remove flying events
|
||||||
|
*/
|
||||||
|
@Overwrite(remap = false)
|
||||||
|
public static void playerLogIn(PlayerLoggedInEvent event) {}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author tilera
|
||||||
|
* @reason remove flying events
|
||||||
|
*/
|
||||||
|
@Overwrite(remap = false)
|
||||||
|
public static void playerChangeGamemode(PlayerChangeGameModeEvent event) {}
|
||||||
|
|
||||||
|
}
|
|
@ -5,7 +5,8 @@
|
||||||
"minVersion": "0.8",
|
"minVersion": "0.8",
|
||||||
"mixins": [
|
"mixins": [
|
||||||
"accessor.StructureFeatureAccessor",
|
"accessor.StructureFeatureAccessor",
|
||||||
"common.ForgeFlowingFluidMixin"
|
"common.ForgeFlowingFluidMixin",
|
||||||
|
"common.PlayerHanlderMixin"
|
||||||
],
|
],
|
||||||
"client": [
|
"client": [
|
||||||
"client.EntryListWidgetMixin",
|
"client.EntryListWidgetMixin",
|
||||||
|
|
Loading…
Reference in a new issue