Class DistExecutor
java.lang.Object
com.simibubi.create.foundation.utility.DistExecutor
Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TunsafeCallWhenOn(net.neoforged.api.distmarker.Dist dist, Supplier<Callable<T>> toRun) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
DistExecutor
public DistExecutor()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
unsafeCallWhenOn
@Internal @Deprecated(forRemoval=true, since="1.21") public static <T> T unsafeCallWhenOn(net.neoforged.api.distmarker.Dist dist, Supplier<Callable<T>> toRun) Deprecated, for removal: This API element is subject to removal in a future version.This will be removed once there is more time to refactor its uses, this is not considered API, it is only for internal use and legacy reasons, this WILL be removed shortly, and you should not rely on or copy this code
-