src/main/java/com/Mrbysco/cactusmod/entities/CactusSheepEntity.java
@Override
    public void aiStep() {
        if (this.level.isClientSide) {
            this.sheepTimer = Math.max(0, this.sheepTimer - 1);
        }

        super.aiStep();
    }
/**
     * Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons
     * use this to react to sunlight and start to burn.
     */
Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons
use this to react to sunlight and start to burn.
Called frequently so the entity can update its state every tick as required . For example zombies and skeletons use this to react to sunlight and start to burn .
@Override
    public void aiStep() {
        if (this.level.isClientSide) {
            this.sheepTimer = Math.max(0, this.sheepTimer - 1);
        }
        super.aiStep();
    }
@ Override public void aiStep ( ) { if ( this . level . isClientSide ) { this . sheepTimer = Math . max ( 0 , this . sheepTimer - 1 ) ; } super . aiStep ( ) ; }
Called frequently so the entity can update its state every tick as required.
Called frequently so the entity can update its state every tick as required .