Visible Barriers

Visible Barriers

8.1k Downloads

visible entities

MelonHell opened this issue ยท 2 comments

commented

it would be convenient if the entities were visible as in the spectator, then what is now does not allow us to understand what position the same armorstand is in

commented

i don't really know what you mean

commented

i don't really know what you mean

something like this

@Mixin(Entity.class)
public class EntityMixin {
    @Inject(method = "isInvisible", at = @At("HEAD"), cancellable = true)
    public void isInvisible(CallbackInfoReturnable<Boolean> cir) {
        if (VisibleBarriers.isVisible()) cir.setReturnValue(false);
    }
}