类 SilkPlacedFeature

java.lang.Object
pers.saikel0rado1iu.silk.gen.world.SilkPlacedFeature

@SilkApi public abstract class SilkPlacedFeature extends Object

用于创建、注册、生成已放置的地物

模组作者需要在 SilkWorldGenerator 中覆盖 SilkWorldGenerator.placedFeatures()方法

实例化

从以下版本开始:
0.1.0
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    static final SilkPlacedFeature
     
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    abstract void
    bootstrap(net.minecraft.registry.Registerable<net.minecraft.world.gen.feature.PlacedFeature> featureRegisterable)
    参考 PlacedFeatures.bootstrap(Registerable)
    protected static void
    register(net.minecraft.registry.Registerable<net.minecraft.world.gen.feature.PlacedFeature> featureRegisterable, net.minecraft.registry.RegistryKey<net.minecraft.world.gen.feature.PlacedFeature> key, net.minecraft.registry.entry.RegistryEntry<net.minecraft.world.gen.feature.ConfiguredFeature<?,?>> feature, List<net.minecraft.world.gen.placementmodifier.PlacementModifier> modifiers)
     
    protected static void
    register(net.minecraft.registry.Registerable<net.minecraft.world.gen.feature.PlacedFeature> featureRegisterable, net.minecraft.registry.RegistryKey<net.minecraft.world.gen.feature.PlacedFeature> key, net.minecraft.registry.entry.RegistryEntry<net.minecraft.world.gen.feature.ConfiguredFeature<?,?>> feature, net.minecraft.world.gen.placementmodifier.PlacementModifier... modifiers)
     
    protected static net.minecraft.registry.RegistryKey<net.minecraft.world.gen.feature.PlacedFeature>
     

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 字段详细资料

  • 构造器详细资料

    • SilkPlacedFeature

      public SilkPlacedFeature()
  • 方法详细资料

    • register

      @SilkApi protected static net.minecraft.registry.RegistryKey<net.minecraft.world.gen.feature.PlacedFeature> register(ModBasicData mod, String id)
    • register

      @SilkApi protected static void register(net.minecraft.registry.Registerable<net.minecraft.world.gen.feature.PlacedFeature> featureRegisterable, net.minecraft.registry.RegistryKey<net.minecraft.world.gen.feature.PlacedFeature> key, net.minecraft.registry.entry.RegistryEntry<net.minecraft.world.gen.feature.ConfiguredFeature<?,?>> feature, List<net.minecraft.world.gen.placementmodifier.PlacementModifier> modifiers)
    • register

      @SilkApi protected static void register(net.minecraft.registry.Registerable<net.minecraft.world.gen.feature.PlacedFeature> featureRegisterable, net.minecraft.registry.RegistryKey<net.minecraft.world.gen.feature.PlacedFeature> key, net.minecraft.registry.entry.RegistryEntry<net.minecraft.world.gen.feature.ConfiguredFeature<?,?>> feature, net.minecraft.world.gen.placementmodifier.PlacementModifier... modifiers)
    • bootstrap

      @OverrideOnly public abstract void bootstrap(net.minecraft.registry.Registerable<net.minecraft.world.gen.feature.PlacedFeature> featureRegisterable)
      参考 PlacedFeatures.bootstrap(Registerable)