Uses of Class
net.minecraft.data.models.blockstates.Variant
-
Uses of Variant in net.minecraft.data.models
Modifier and TypeFieldDescriptionstatic final List<com.mojang.datafixers.util.Pair<BooleanProperty,
Function<ResourceLocation, Variant>>> BlockModelGenerators.MULTIFACE_GENERATOR
Modifier and TypeMethodDescriptionprivate Variant
BlockModelGenerators.applyRotation
(FrontAndTop p_124636_, Variant p_124637_) private Variant
BlockModelGenerators.createPointedDripstoneVariant
(Direction p_176117_, DripstoneThickness p_176118_) private static Variant[]
BlockModelGenerators.createRotatedVariants
(ResourceLocation p_124689_) Modifier and TypeMethodDescriptionBlockModelGenerators.createBambooModels
(int p_124512_) BlockModelGenerators.wrapModels
(List<ResourceLocation> p_124683_, UnaryOperator<Variant> p_124684_) Modifier and TypeMethodDescriptionprivate Variant
BlockModelGenerators.applyRotation
(FrontAndTop p_124636_, Variant p_124637_) private void
BlockModelGenerators.createGrassLikeBlock
(Block p_124600_, ResourceLocation p_124601_, Variant p_124602_) Modifier and TypeMethodDescriptionBlockModelGenerators.wrapModels
(List<ResourceLocation> p_124683_, UnaryOperator<Variant> p_124684_) -
Uses of Variant in net.minecraft.data.models.blockstates
Modifier and TypeFieldDescriptionMultiVariantGenerator.baseVariants
PropertyDispatch.values
MultiPartGenerator.Entry.variants
Modifier and TypeMethodDescriptionstatic Variant
static Variant
Variant.variant()
<T> Variant
Variant.with
(VariantProperty<T> p_125512_, T p_125513_) Modifier and TypeMethodDescriptionPropertyDispatch.getEntries()
MultiVariantGenerator.mergeVariants
(List<Variant> p_125278_, List<Variant> p_125279_) Modifier and TypeMethodDescriptionstatic Variant
static MultiVariantGenerator
MultiVariantGenerator.multiVariant
(Block p_125257_, Variant p_125258_) static MultiVariantGenerator
MultiVariantGenerator.multiVariant
(Block p_125260_, Variant... p_125261_) PropertyDispatch.C4.select
(T1 p_125430_, T2 p_125431_, T3 p_125432_, T4 p_125433_, Variant p_125434_) PropertyDispatch.C5.select
(T1 p_125461_, T2 p_125462_, T3 p_125463_, T4 p_125464_, T5 p_125465_, Variant p_125466_) Modifier and TypeMethodDescriptionstatic com.google.gson.JsonElement
Variant.convertList
(List<Variant> p_125515_) PropertyDispatch.C2.generate
(BiFunction<T1, T2, Variant> p_125363_) PropertyDispatch.C1.generateList
(Function<T1, List<Variant>> p_176314_) PropertyDispatch.C2.generateList
(BiFunction<T1, T2, List<Variant>> p_125373_) PropertyDispatch.C3.generateList
(PropertyDispatch.TriFunction<T1, T2, T3, List<Variant>> p_176345_) PropertyDispatch.C4.generateList
(PropertyDispatch.QuadFunction<T1, T2, T3, T4, List<Variant>> p_176382_) PropertyDispatch.C5.generateList
(PropertyDispatch.PentaFunction<T1, T2, T3, T4, T5, List<Variant>> p_176436_) MultiVariantGenerator.mergeVariants
(List<Variant> p_125278_, List<Variant> p_125279_) protected void
PropertyDispatch.C4.select
(T1 p_125436_, T2 p_125437_, T3 p_125438_, T4 p_125439_, List<Variant> p_125440_) PropertyDispatch.C5.select
(T1 p_125468_, T2 p_125469_, T3 p_125470_, T4 p_125471_, T5 p_125472_, List<Variant> p_125473_)