Remove old project lines

This commit is contained in:
bitheaven 2023-11-05 13:20:33 +05:00
parent 5308f6a1e8
commit 939a56090b
2 changed files with 1 additions and 11 deletions

View File

@ -55,9 +55,6 @@ dependencies {
// Create - dependencies are added transitively // Create - dependencies are added transitively
modImplementation("com.simibubi.create:create-fabric-${minecraft_version}:${create_version}") modImplementation("com.simibubi.create:create-fabric-${minecraft_version}:${create_version}")
// Ad Astra
modImplementation("curse.maven:ad-astra-635042:4774341")
// Development QOL // Development QOL
modLocalRuntime("maven.modrinth:lazydfu:${lazydfu_version}") modLocalRuntime("maven.modrinth:lazydfu:${lazydfu_version}")
modLocalRuntime("com.terraformersmc:modmenu:${modmenu_version}") modLocalRuntime("com.terraformersmc:modmenu:${modmenu_version}")

View File

@ -1,12 +1,9 @@
package ru.bitheaven.createinteriorsfabric; package ru.bitheaven.createinteriorsfabric;
import com.simibubi.create.Create; import com.simibubi.create.Create;
import earth.terrarium.ad_astra.common.util.OxygenUtils;
import io.github.fabricators_of_create.porting_lib.util.EnvExecutor; import io.github.fabricators_of_create.porting_lib.util.EnvExecutor;
import net.fabricmc.api.ModInitializer; import net.fabricmc.api.ModInitializer;
import net.minecraft.resources.ResourceLocation; import net.minecraft.resources.ResourceLocation;
import net.minecraft.world.entity.LivingEntity;
import net.minecraft.world.level.Level;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
@ -24,11 +21,7 @@ public class CreateInteriorsFabric implements ModInitializer {
), NAME); ), NAME);
} }
public static boolean airQualityActivatesHelmet(LivingEntity entity) {
final Level level = entity.level();
final boolean air = OxygenUtils.levelHasOxygen(level);
return !air || entity.isUnderWater();
}
public static ResourceLocation id(String path) { public static ResourceLocation id(String path) {
return new ResourceLocation(ID, path); return new ResourceLocation(ID, path);