Package net.minecraft.data.family
Class BlockFamily
java.lang.Object
net.minecraft.data.family.BlockFamily
- Mappings:
Namespace Name official jf
intermediary net/minecraft/class_5794
named net/minecraft/data/family/BlockFamily
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Block
(package private) boolean
(package private) boolean
(package private) FeatureSet
(package private) final Map<BlockFamily.Variant,
Block> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetGroup()
getVariant
(BlockFamily.Variant variant) boolean
boolean
shouldGenerateRecipes
(FeatureSet enabledFeatures)
-
Field Details
-
baseBlock
- Mappings:
Namespace Name Mixin selector official a
Ljf;a:Lcpn;
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
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:Lcaw;
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
- 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
- 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>(Lcpn;)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
Ljf;a()Lcpn;
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
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
- Mappings:
Namespace Name Mixin selector official a
Ljf;a(Ljf$b;)Lcpn;
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
- Mappings:
Namespace Name Mixin selector official a
Ljf;a(Lcaw;)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
- 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
- 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;
-