fix: creative flight conflict
This commit is contained in:
parent
fd1f63c2d5
commit
5f0f76919f
4 changed files with 42 additions and 2 deletions
|
@ -22,6 +22,7 @@ repositories {
|
|||
maven { url "https://maven.tilera.xyz/" }
|
||||
maven { url "https://dl.cloudsmith.io/public/geckolib3/geckolib/maven/" }
|
||||
maven { url "https://maven.blamejared.com" }
|
||||
maven { url "https://cursemaven.com" }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
@ -34,6 +35,7 @@ dependencies {
|
|||
modImplementation "software.bernie.geckolib:geckolib-forge-1.18:3.0.57"
|
||||
modImplementation "net.anvilcraft:anvillib-18-forge:1.1.0"
|
||||
modImplementation "vazkii.patchouli:Patchouli:1.18.2-66"
|
||||
modImplementation "curse.maven:deep-mob-learning-reforged-621711:3922792"
|
||||
}
|
||||
|
||||
processResources {
|
||||
|
|
|
@ -16,7 +16,7 @@ loom.platform=forge
|
|||
yarn_mappings=1.18.2+build.4
|
||||
|
||||
# Mod Properties
|
||||
mod_version=1.3.0
|
||||
mod_version=1.3.1
|
||||
maven_group=net.anvilcraft.ntx4core
|
||||
archives_base_name=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",
|
||||
"mixins": [
|
||||
"accessor.StructureFeatureAccessor",
|
||||
"common.ForgeFlowingFluidMixin"
|
||||
"common.ForgeFlowingFluidMixin",
|
||||
"common.PlayerHanlderMixin"
|
||||
],
|
||||
"client": [
|
||||
"client.EntryListWidgetMixin",
|
||||
|
|
Loading…
Add table
Reference in a new issue