Prevent Villager Hitting

Quick rating

Community listing page, reviews here may not be monitored by the author.

Prevent Villager Hitting

By iNCOHESiONSOwner

No reviews yet

A client-side, single mixin mod that prevents the player from directly hitting villagers.

Mod Loaders
Minecraft
26.2

About

Description

A client-side, single mixin mod that prevents the player from directly hitting villagers.

@Mixin(Villager.class)
public abstract class VillagerMixin extends Entity {
    @Override
    public boolean isAttackable() {
        return false;
    }
}

That's all. If you even care.