Class ShipwreckFeature


public class ShipwreckFeature extends StructureFeature<ShipwreckFeatureConfig>
Mappings:
Namespace Name
official cyb
intermediary net/minecraft/class_3170
named net/minecraft/world/gen/feature/ShipwreckFeature
  • Constructor Details

    • ShipwreckFeature

      public ShipwreckFeature(com.mojang.serialization.Codec<ShipwreckFeatureConfig> configCodec)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcyb;<init>(Lcom/mojang/serialization/Codec;)V
      intermediary <init> Lnet/minecraft/class_3170;<init>(Lcom/mojang/serialization/Codec;)V
      named <init> Lnet/minecraft/world/gen/feature/ShipwreckFeature;<init>(Lcom/mojang/serialization/Codec;)V
  • Method Details

    • canGenerate

      private static boolean canGenerate(StructureGeneratorFactory.Context<ShipwreckFeatureConfig> context)
      Mappings:
      Namespace Name Mixin selector
      official a Lcyb;a(Ldfn$a;)Z
      intermediary method_39820 Lnet/minecraft/class_3170;method_39820(Lnet/minecraft/class_6834$class_6835;)Z
      named canGenerate Lnet/minecraft/world/gen/feature/ShipwreckFeature;canGenerate(Lnet/minecraft/structure/StructureGeneratorFactory$Context;)Z
    • addPieces

      private static void addPieces(StructurePiecesCollector collector, StructurePiecesGenerator.Context<ShipwreckFeatureConfig> context)
      Mappings:
      Namespace Name Mixin selector
      official a Lcyb;a(Ldfq;Ldfm$a;)V
      intermediary method_38685 Lnet/minecraft/class_3170;method_38685(Lnet/minecraft/class_6626;Lnet/minecraft/class_6622$class_6623;)V
      named addPieces Lnet/minecraft/world/gen/feature/ShipwreckFeature;addPieces(Lnet/minecraft/structure/StructurePiecesCollector;Lnet/minecraft/structure/StructurePiecesGenerator$Context;)V