Package net.minecraft.data.family
Class BlockFamily
java.lang.Object
net.minecraft.data.family.BlockFamily
public class BlockFamily extends Object
- Mappings:
Namespace Name official hq
intermediary net/minecraft/class_5794
named net/minecraft/data/family/BlockFamily
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BlockFamily.Builder
static class
BlockFamily.Variant
-
Field Summary
Fields Modifier and Type Field Description private Block
baseBlock
private boolean
generateModels
private boolean
generateRecipes
private String
group
private String
unlockCriterionName
private Map<BlockFamily.Variant,Block>
variants
-
Constructor Summary
Constructors Modifier Constructor Description private
BlockFamily(Block baseBlock)
-
Method Summary
Modifier and Type Method Description Block
getBaseBlock()
Optional<String>
getGroup()
Optional<String>
getUnlockCriterionName()
Block
getVariant(BlockFamily.Variant variant)
Map<BlockFamily.Variant,Block>
getVariants()
boolean
shouldGenerateModels()
boolean
shouldGenerateRecipes()
-
Field Details
-
baseBlock
- Mappings:
Namespace Name Mixin selector official a
Lhq;a:Lbwu;
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
- Mappings:
Namespace Name Mixin selector official b
Lhq;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
private boolean generateModels- Mappings:
Namespace Name Mixin selector official c
Lhq;c:Z
intermediary field_28528
Lnet/minecraft/class_5794;field_28528:Z
named generateModels
Lnet/minecraft/data/family/BlockFamily;generateModels:Z
-
generateRecipes
private boolean generateRecipes- Mappings:
Namespace Name Mixin selector official d
Lhq;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
Lhq;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
- Mappings:
Namespace Name Mixin selector official f
Lhq;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
- Mappings:
Namespace Name Mixin selector official <init>
Lhq;<init>(Lbwu;)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
- Mappings:
Namespace Name Mixin selector official a
Lhq;a()Lbwu;
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
- Mappings:
Namespace Name Mixin selector official b
Lhq;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
- Mappings:
Namespace Name Mixin selector official a
Lhq;a(Lhq$b;)Lbwu;
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
Lhq;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
Lhq;d()Z
intermediary method_33478
Lnet/minecraft/class_5794;method_33478()Z
named shouldGenerateRecipes
Lnet/minecraft/data/family/BlockFamily;shouldGenerateRecipes()Z
-
getGroup
- Mappings:
Namespace Name Mixin selector official e
Lhq;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
- Mappings:
Namespace Name Mixin selector official f
Lhq;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;
-