mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-03-03 14:24:42 +01:00
Messy Mixins
- Fix mixin conflict with imm portals
This commit is contained in:
parent
bc335ddc0d
commit
b9127a52fb
2 changed files with 2 additions and 2 deletions
|
@ -151,7 +151,7 @@ repositories {
|
|||
dependencies {
|
||||
jarJar(modImplementation("com.tterrag.registrate:Registrate:${registrate_version}"))
|
||||
jarJar("net.createmod.ponder:Ponder-Forge-${minecraft_version}:${ponder_version}")
|
||||
|
||||
|
||||
implementation(jarJar("io.github.llamalad7:mixinextras-forge:${mixin_extras_version}"))
|
||||
|
||||
modCompileOnly("dev.engine-room.flywheel:flywheel-forge-api-${flywheel_minecraft_version}:${flywheel_version}")
|
||||
|
|
|
@ -12,7 +12,7 @@ import com.simibubi.create.content.equipment.armor.NetheriteDivingHandler;
|
|||
import net.minecraft.world.entity.Entity;
|
||||
import net.minecraft.world.entity.Pose;
|
||||
|
||||
@Mixin(Entity.class)
|
||||
@Mixin(value = Entity.class, priority = 1500)
|
||||
public class EntityMixin {
|
||||
@ModifyExpressionValue(method = "canEnterPose", at = @At(value = "INVOKE", target = "Lnet/minecraft/world/level/Level;noCollision(Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/phys/AABB;)Z"))
|
||||
public boolean create$playerHidingAsBoxIsCrouchingNotSwimming(boolean original, @Local(argsOnly = true) Pose pose) {
|
||||
|
|
Loading…
Add table
Reference in a new issue