More Codecs
This commit is contained in:
parent
7b789ba57a
commit
44517e0749
2 changed files with 14 additions and 0 deletions
|
@ -1,7 +1,14 @@
|
|||
package ru.bclib.interfaces;
|
||||
|
||||
import com.mojang.serialization.Codec;
|
||||
import net.minecraft.core.Registry;
|
||||
import net.minecraft.world.level.levelgen.SurfaceRules;
|
||||
import ru.bclib.mixin.common.SurfaceRulesContextAccessor;
|
||||
|
||||
import java.util.function.Function;
|
||||
|
||||
public interface NumericProvider {
|
||||
int getNumber(SurfaceRulesContextAccessor context);
|
||||
|
||||
Codec<? extends NumericProvider> pcodec();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue