public class MineshaftConfig extends java.lang.Object implements IFeatureConfig
| 修飾子とタイプ | フィールドと説明 |
|---|---|
double |
probability |
MineshaftStructure.Type |
type |
NO_FEATURE_CONFIG| コンストラクタと説明 |
|---|
MineshaftConfig(double probability,
MineshaftStructure.Type type) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static <T> MineshaftConfig |
deserialize(com.mojang.datafixers.Dynamic<T> data) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
public final double probability
public final MineshaftStructure.Type type
public MineshaftConfig(double probability,
MineshaftStructure.Type type)
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize インタフェース内 IFeatureConfigpublic static <T> MineshaftConfig deserialize(com.mojang.datafixers.Dynamic<T> data)