Class BlockFamily

java.lang.Object
net.minecraft.data.family.BlockFamily

public class BlockFamily extends Object
Mappings:
Namespace Name
official jf
intermediary net/minecraft/class_5794
named net/minecraft/data/family/BlockFamily
  • Field Details

    • baseBlock

      private final Block baseBlock
      Mappings:
      Namespace Name Mixin selector
      official a Ljf;a:Lcsv;
      intermediary field_28526 Lnet/minecraft/class_5794;field_28526:Lnet/minecraft/class_2248;
      named baseBlock Lnet/minecraft/data/family/BlockFamily;baseBlock:Lnet/minecraft/block/Block;
    • variants

      final Map<BlockFamily.Variant,Block> variants
      Mappings:
      Namespace Name Mixin selector
      official b Ljf;b:Ljava/util/Map;
      intermediary field_28527 Lnet/minecraft/class_5794;field_28527:Ljava/util/Map;
      named variants Lnet/minecraft/data/family/BlockFamily;variants:Ljava/util/Map;
    • requiredFeatures

      FeatureSet requiredFeatures
      Mappings:
      Namespace Name Mixin selector
      official c Ljf;c:Lcec;
      intermediary field_40591 Lnet/minecraft/class_5794;field_40591:Lnet/minecraft/class_7699;
      named requiredFeatures Lnet/minecraft/data/family/BlockFamily;requiredFeatures:Lnet/minecraft/resource/featuretoggle/FeatureSet;
    • generateModels

      boolean generateModels
      Mappings:
      Namespace Name Mixin selector
      official d Ljf;d:Z
      intermediary field_28528 Lnet/minecraft/class_5794;field_28528:Z
      named generateModels Lnet/minecraft/data/family/BlockFamily;generateModels:Z
    • generateRecipes

      boolean generateRecipes
      Mappings:
      Namespace Name Mixin selector
      official e Ljf;e:Z
      intermediary field_28529 Lnet/minecraft/class_5794;field_28529:Z
      named generateRecipes Lnet/minecraft/data/family/BlockFamily;generateRecipes:Z
    • group

      @Nullable @Nullable String group
      Mappings:
      Namespace Name Mixin selector
      official f Ljf;f:Ljava/lang/String;
      intermediary field_28530 Lnet/minecraft/class_5794;field_28530:Ljava/lang/String;
      named group Lnet/minecraft/data/family/BlockFamily;group:Ljava/lang/String;
    • unlockCriterionName

      @Nullable @Nullable String unlockCriterionName
      Mappings:
      Namespace Name Mixin selector
      official g Ljf;g:Ljava/lang/String;
      intermediary field_28531 Lnet/minecraft/class_5794;field_28531:Ljava/lang/String;
      named unlockCriterionName Lnet/minecraft/data/family/BlockFamily;unlockCriterionName:Ljava/lang/String;
  • Constructor Details

    • BlockFamily

      BlockFamily(Block baseBlock)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ljf;<init>(Lcsv;)V
      intermediary <init> Lnet/minecraft/class_5794;<init>(Lnet/minecraft/class_2248;)V
      named <init> Lnet/minecraft/data/family/BlockFamily;<init>(Lnet/minecraft/block/Block;)V
  • Method Details

    • getBaseBlock

      public Block getBaseBlock()
      Mappings:
      Namespace Name Mixin selector
      official a Ljf;a()Lcsv;
      intermediary method_33469 Lnet/minecraft/class_5794;method_33469()Lnet/minecraft/class_2248;
      named getBaseBlock Lnet/minecraft/data/family/BlockFamily;getBaseBlock()Lnet/minecraft/block/Block;
    • getVariants

      public Map<BlockFamily.Variant,Block> getVariants()
      Mappings:
      Namespace Name Mixin selector
      official b Ljf;b()Ljava/util/Map;
      intermediary method_33474 Lnet/minecraft/class_5794;method_33474()Ljava/util/Map;
      named getVariants Lnet/minecraft/data/family/BlockFamily;getVariants()Ljava/util/Map;
    • getVariant

      public Block getVariant(BlockFamily.Variant variant)
      Mappings:
      Namespace Name Mixin selector
      official a Ljf;a(Ljf$b;)Lcsv;
      intermediary method_33470 Lnet/minecraft/class_5794;method_33470(Lnet/minecraft/class_5794$class_5796;)Lnet/minecraft/class_2248;
      named getVariant Lnet/minecraft/data/family/BlockFamily;getVariant(Lnet/minecraft/data/family/BlockFamily$Variant;)Lnet/minecraft/block/Block;
    • shouldGenerateModels

      public boolean shouldGenerateModels()
      Mappings:
      Namespace Name Mixin selector
      official c Ljf;c()Z
      intermediary method_33477 Lnet/minecraft/class_5794;method_33477()Z
      named shouldGenerateModels Lnet/minecraft/data/family/BlockFamily;shouldGenerateModels()Z
    • shouldGenerateRecipes

      public boolean shouldGenerateRecipes(FeatureSet enabledFeatures)
      Mappings:
      Namespace Name Mixin selector
      official a Ljf;a(Lcec;)Z
      intermediary method_33478 Lnet/minecraft/class_5794;method_33478(Lnet/minecraft/class_7699;)Z
      named shouldGenerateRecipes Lnet/minecraft/data/family/BlockFamily;shouldGenerateRecipes(Lnet/minecraft/resource/featuretoggle/FeatureSet;)Z
    • getGroup

      public Optional<String> getGroup()
      Mappings:
      Namespace Name Mixin selector
      official d Ljf;d()Ljava/util/Optional;
      intermediary method_33479 Lnet/minecraft/class_5794;method_33479()Ljava/util/Optional;
      named getGroup Lnet/minecraft/data/family/BlockFamily;getGroup()Ljava/util/Optional;
    • getUnlockCriterionName

      public Optional<String> getUnlockCriterionName()
      Mappings:
      Namespace Name Mixin selector
      official e Ljf;e()Ljava/util/Optional;
      intermediary method_33480 Lnet/minecraft/class_5794;method_33480()Ljava/util/Optional;
      named getUnlockCriterionName Lnet/minecraft/data/family/BlockFamily;getUnlockCriterionName()Ljava/util/Optional;