<commit_before>package team.creative.creativecore.common.util.mc;

import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.world.level.Level;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;
import team.creative.creativecore.client.CreativeCoreClient;

public class TickUtils {
    
    @Environment(EnvType.CLIENT)
    @OnlyIn(Dist.CLIENT)
    private static float getDeltaFrameTimeClient() {
        return CreativeCoreClient.getDeltaFrameTime();
    }
    
    public static float getDeltaFrameTime(Level level) {
        if (level.isClientSide)
            return getDeltaFrameTimeClient();
        return 1.0F;
    }
    
}<commit_msg>Renamed getDeltaFrameTime to getFrameTime<commit_after>package team.creative.creativecore.common.util.mc;

import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.world.level.Level;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;
import team.creative.creativecore.client.CreativeCoreClient;

public class TickUtils {
    
    @Environment(EnvType.CLIENT)
    @OnlyIn(Dist.CLIENT)
    private static float getFrameTimeClient() {
        return CreativeCoreClient.getFrameTime();
    }
    
    public static float getFrameTime(Level level) {
        if (level.isClientSide)
            return getFrameTimeClient();
        return 1.0F;
    }
    
}
{'fraction_non_alphanumeric': 0.09228650137741047, 'fraction_numerical': 0.0027548209366391185, 'mean_word_length': 3.7796052631578947, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2562630', 'n_tokens_mistral': 445, 'n_tokens_neox': 442, 'n_words': 75}