Class BlockFamily

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

public class BlockFamily extends Object
Mappings:
Namespace Name
official iv
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 Liv;a:Lcjt;
      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 Liv;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;
    • generateModels

      boolean generateModels
      Mappings:
      Namespace Name Mixin selector
      official c Liv;c: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 d Liv;d:Z
      intermediary field_28529 Lnet/minecraft/class_5794;field_28529:Z
      named generateRecipes Lnet/minecraft/data/family/BlockFamily;generateRecipes:Z
    • group

      Mappings:
      Namespace Name Mixin selector
      official e Liv;e: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 f Liv;f: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> Liv;<init>(Lcjt;)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 Liv;a()Lcjt;
      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 Liv;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 Liv;a(Liv$b;)Lcjt;
      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 Liv;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()
      Mappings:
      Namespace Name Mixin selector
      official d Liv;d()Z
      intermediary method_33478 Lnet/minecraft/class_5794;method_33478()Z
      named shouldGenerateRecipes Lnet/minecraft/data/family/BlockFamily;shouldGenerateRecipes()Z
    • getGroup

      public Optional<String> getGroup()
      Mappings:
      Namespace Name Mixin selector
      official e Liv;e()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 f Liv;f()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;