Class BlockFamily

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

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

    • baseBlock

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

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

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

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

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

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

    • BlockFamily

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

    • getBaseBlock

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

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

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

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

      public boolean shouldGenerateRecipes()
      Mappings:
      Namespace Name Mixin selector
      named shouldGenerateRecipes Lnet/minecraft/data/family/BlockFamily;shouldGenerateRecipes()Z
      intermediary method_33478 Lnet/minecraft/class_5794;method_33478()Z
      official d Lme;d()Z
    • getGroup

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

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