Class EndGatewayFeatureConfig

java.lang.Object
net.minecraft.world.gen.feature.EndGatewayFeatureConfig
All Implemented Interfaces:
FeatureConfig

public class EndGatewayFeatureConfig extends Object implements FeatureConfig
Mappings:
Namespace Name
official dmg
intermediary net/minecraft/class_3018
named net/minecraft/world/gen/feature/EndGatewayFeatureConfig
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<EndGatewayFeatureConfig> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Ldmg;a:Lcom/mojang/serialization/Codec;
      intermediary field_24883 Lnet/minecraft/class_3018;field_24883:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/gen/feature/EndGatewayFeatureConfig;CODEC:Lcom/mojang/serialization/Codec;
    • exitPos

      private final Optional<BlockPos> exitPos
      Mappings:
      Namespace Name Mixin selector
      official b Ldmg;b:Ljava/util/Optional;
      intermediary field_17735 Lnet/minecraft/class_3018;field_17735:Ljava/util/Optional;
      named exitPos Lnet/minecraft/world/gen/feature/EndGatewayFeatureConfig;exitPos:Ljava/util/Optional;
    • exact

      private final boolean exact
      Mappings:
      Namespace Name Mixin selector
      official c Ldmg;c:Z
      intermediary field_13475 Lnet/minecraft/class_3018;field_13475:Z
      named exact Lnet/minecraft/world/gen/feature/EndGatewayFeatureConfig;exact:Z
  • Constructor Details

    • EndGatewayFeatureConfig

      private EndGatewayFeatureConfig(Optional<BlockPos> exitPos, boolean exact)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldmg;<init>(Ljava/util/Optional;Z)V
      intermediary <init> Lnet/minecraft/class_3018;<init>(Ljava/util/Optional;Z)V
      named <init> Lnet/minecraft/world/gen/feature/EndGatewayFeatureConfig;<init>(Ljava/util/Optional;Z)V
  • Method Details

    • createConfig

      public static EndGatewayFeatureConfig createConfig(BlockPos exitPortalPosition, boolean exitsAtSpawn)
      Mappings:
      Namespace Name Mixin selector
      official a Ldmg;a(Lgt;Z)Ldmg;
      intermediary method_18034 Lnet/minecraft/class_3018;method_18034(Lnet/minecraft/class_2338;Z)Lnet/minecraft/class_3018;
      named createConfig Lnet/minecraft/world/gen/feature/EndGatewayFeatureConfig;createConfig(Lnet/minecraft/util/math/BlockPos;Z)Lnet/minecraft/world/gen/feature/EndGatewayFeatureConfig;
    • createConfig

      public static EndGatewayFeatureConfig createConfig()
      Mappings:
      Namespace Name Mixin selector
      official a Ldmg;a()Ldmg;
      intermediary method_18030 Lnet/minecraft/class_3018;method_18030()Lnet/minecraft/class_3018;
      named createConfig Lnet/minecraft/world/gen/feature/EndGatewayFeatureConfig;createConfig()Lnet/minecraft/world/gen/feature/EndGatewayFeatureConfig;
    • getExitPos

      public Optional<BlockPos> getExitPos()
      Mappings:
      Namespace Name Mixin selector
      official b Ldmg;b()Ljava/util/Optional;
      intermediary method_18036 Lnet/minecraft/class_3018;method_18036()Ljava/util/Optional;
      named getExitPos Lnet/minecraft/world/gen/feature/EndGatewayFeatureConfig;getExitPos()Ljava/util/Optional;
    • isExact

      public boolean isExact()
      Mappings:
      Namespace Name Mixin selector
      official c Ldmg;c()Z
      intermediary method_13026 Lnet/minecraft/class_3018;method_13026()Z
      named isExact Lnet/minecraft/world/gen/feature/EndGatewayFeatureConfig;isExact()Z