Package net.minecraft.modding.api
Interface ModDependency
-
public interface ModDependency
-
-
Field Summary
Fields Modifier and Type Field Description static com.vdurmont.semver4j.Requirement
NO_REQUIREMENT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
evaluate()
boolean
evaluate(@NotNull java.util.Map<java.lang.String,ModInfo> mods)
@NotNull java.lang.String
id()
@NotNull @Unmodifiable java.util.List<ModDependency>
ifDeps()
@NotNull java.lang.String
prettyRequirement()
@NotNull com.vdurmont.semver4j.Requirement
requirement()
@NotNull @Unmodifiable java.util.List<ModDependency>
unlessDeps()
-
-
-
Method Detail
-
id
@NotNull @NotNull java.lang.String id()
-
requirement
@NotNull @NotNull com.vdurmont.semver4j.Requirement requirement()
-
prettyRequirement
@NotNull @NotNull java.lang.String prettyRequirement()
-
ifDeps
@NotNull @NotNull @Unmodifiable java.util.List<ModDependency> ifDeps()
-
unlessDeps
@NotNull @NotNull @Unmodifiable java.util.List<ModDependency> unlessDeps()
-
evaluate
boolean evaluate(@NotNull @NotNull java.util.Map<java.lang.String,ModInfo> mods)
-
evaluate
boolean evaluate()
-
-