Package net.minecraft.recipe
Class Ingredient
java.lang.Object
net.minecraft.recipe.Ingredient
- Mappings:
Namespace Name official ccpintermediary net/minecraft/class_1856named net/minecraft/recipe/Ingredient
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static interfaceprivate static classprivate static class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidstatic Ingredientempty()private static Ingredient.EntryentryFromJson(JsonObject json) static IngredientfromJson(@Nullable JsonElement json) static IngredientfromPacket(PacketByteBuf buf) static IngredientbooleanisEmpty()private static IngredientofEntries(Stream<? extends Ingredient.Entry> entries) static IngredientofItems(ItemConvertible[] items) static Ingredientstatic IngredientbooleantoJson()voidwrite(PacketByteBuf buf)
-
Field Details
-
EMPTY
- Mappings:
Namespace Name Mixin selector official aLccp;a:Lccp;intermediary field_9017Lnet/minecraft/class_1856;field_9017:Lnet/minecraft/class_1856;named EMPTYLnet/minecraft/recipe/Ingredient;EMPTY:Lnet/minecraft/recipe/Ingredient;
-
entries
- Mappings:
Namespace Name Mixin selector official bLccp;b:[Lccp$c;intermediary field_9019Lnet/minecraft/class_1856;field_9019:[Lnet/minecraft/class_1856$class_1859;named entriesLnet/minecraft/recipe/Ingredient;entries:[Lnet/minecraft/recipe/Ingredient$Entry;
-
matchingStacks
- Mappings:
Namespace Name Mixin selector official cLccp;c:[Lcaa;intermediary field_9018Lnet/minecraft/class_1856;field_9018:[Lnet/minecraft/class_1799;named matchingStacksLnet/minecraft/recipe/Ingredient;matchingStacks:[Lnet/minecraft/item/ItemStack;
-
ids
- Mappings:
Namespace Name Mixin selector official dLccp;d:Lit/unimi/dsi/fastutil/ints/IntList;intermediary field_9016Lnet/minecraft/class_1856;field_9016:Lit/unimi/dsi/fastutil/ints/IntList;named idsLnet/minecraft/recipe/Ingredient;ids:Lit/unimi/dsi/fastutil/ints/IntList;
-
-
Constructor Details
-
Ingredient
- Mappings:
Namespace Name Mixin selector official <init>Lccp;<init>(Ljava/util/stream/Stream;)Vintermediary <init>Lnet/minecraft/class_1856;<init>(Ljava/util/stream/Stream;)Vnamed <init>Lnet/minecraft/recipe/Ingredient;<init>(Ljava/util/stream/Stream;)V
-
-
Method Details
-
getMatchingStacks
- Mappings:
Namespace Name Mixin selector official aLccp;a()[Lcaa;intermediary method_8105Lnet/minecraft/class_1856;method_8105()[Lnet/minecraft/class_1799;named getMatchingStacksLnet/minecraft/recipe/Ingredient;getMatchingStacks()[Lnet/minecraft/item/ItemStack;
-
cacheMatchingStacks
private void cacheMatchingStacks()- Mappings:
Namespace Name Mixin selector official fLccp;f()Vintermediary method_8096Lnet/minecraft/class_1856;method_8096()Vnamed cacheMatchingStacksLnet/minecraft/recipe/Ingredient;cacheMatchingStacks()V
-
test
-
getMatchingItemIds
- Mappings:
Namespace Name Mixin selector official bLccp;b()Lit/unimi/dsi/fastutil/ints/IntList;intermediary method_8100Lnet/minecraft/class_1856;method_8100()Lit/unimi/dsi/fastutil/ints/IntList;named getMatchingItemIdsLnet/minecraft/recipe/Ingredient;getMatchingItemIds()Lit/unimi/dsi/fastutil/ints/IntList;
-
write
- Mappings:
Namespace Name Mixin selector official aLccp;a(Lqx;)Vintermediary method_8088Lnet/minecraft/class_1856;method_8088(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/recipe/Ingredient;write(Lnet/minecraft/network/PacketByteBuf;)V
-
toJson
- Mappings:
Namespace Name Mixin selector official cLccp;c()Lcom/google/gson/JsonElement;intermediary method_8089Lnet/minecraft/class_1856;method_8089()Lcom/google/gson/JsonElement;named toJsonLnet/minecraft/recipe/Ingredient;toJson()Lcom/google/gson/JsonElement;
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector official dLccp;d()Zintermediary method_8103Lnet/minecraft/class_1856;method_8103()Znamed isEmptyLnet/minecraft/recipe/Ingredient;isEmpty()Z
-
ofEntries
- Mappings:
Namespace Name Mixin selector official bLccp;b(Ljava/util/stream/Stream;)Lccp;intermediary method_8092Lnet/minecraft/class_1856;method_8092(Ljava/util/stream/Stream;)Lnet/minecraft/class_1856;named ofEntriesLnet/minecraft/recipe/Ingredient;ofEntries(Ljava/util/stream/Stream;)Lnet/minecraft/recipe/Ingredient;
-
empty
- Mappings:
Namespace Name Mixin selector official eLccp;e()Lccp;intermediary method_35226Lnet/minecraft/class_1856;method_35226()Lnet/minecraft/class_1856;named emptyLnet/minecraft/recipe/Ingredient;empty()Lnet/minecraft/recipe/Ingredient;
-
ofItems
- Mappings:
Namespace Name Mixin selector official aLccp;a([Lcfz;)Lccp;intermediary method_8091Lnet/minecraft/class_1856;method_8091([Lnet/minecraft/class_1935;)Lnet/minecraft/class_1856;named ofItemsLnet/minecraft/recipe/Ingredient;ofItems([Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/recipe/Ingredient;
-
ofStacks
- Mappings:
Namespace Name Mixin selector official aLccp;a([Lcaa;)Lccp;intermediary method_8101Lnet/minecraft/class_1856;method_8101([Lnet/minecraft/class_1799;)Lnet/minecraft/class_1856;named ofStacksLnet/minecraft/recipe/Ingredient;ofStacks([Lnet/minecraft/item/ItemStack;)Lnet/minecraft/recipe/Ingredient;
-
ofStacks
- Mappings:
Namespace Name Mixin selector official aLccp;a(Ljava/util/stream/Stream;)Lccp;intermediary method_26964Lnet/minecraft/class_1856;method_26964(Ljava/util/stream/Stream;)Lnet/minecraft/class_1856;named ofStacksLnet/minecraft/recipe/Ingredient;ofStacks(Ljava/util/stream/Stream;)Lnet/minecraft/recipe/Ingredient;
-
fromTag
- Mappings:
Namespace Name Mixin selector official aLccp;a(Lakh;)Lccp;intermediary method_8106Lnet/minecraft/class_1856;method_8106(Lnet/minecraft/class_6862;)Lnet/minecraft/class_1856;named fromTagLnet/minecraft/recipe/Ingredient;fromTag(Lnet/minecraft/tag/TagKey;)Lnet/minecraft/recipe/Ingredient;
-
fromPacket
- Mappings:
Namespace Name Mixin selector official bLccp;b(Lqx;)Lccp;intermediary method_8086Lnet/minecraft/class_1856;method_8086(Lnet/minecraft/class_2540;)Lnet/minecraft/class_1856;named fromPacketLnet/minecraft/recipe/Ingredient;fromPacket(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/recipe/Ingredient;
-
fromJson
- Mappings:
Namespace Name Mixin selector official aLccp;a(Lcom/google/gson/JsonElement;)Lccp;intermediary method_8102Lnet/minecraft/class_1856;method_8102(Lcom/google/gson/JsonElement;)Lnet/minecraft/class_1856;named fromJsonLnet/minecraft/recipe/Ingredient;fromJson(Lcom/google/gson/JsonElement;)Lnet/minecraft/recipe/Ingredient;
-
entryFromJson
- Mappings:
Namespace Name Mixin selector official aLccp;a(Lcom/google/gson/JsonObject;)Lccp$c;intermediary method_8107Lnet/minecraft/class_1856;method_8107(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_1856$class_1859;named entryFromJsonLnet/minecraft/recipe/Ingredient;entryFromJson(Lcom/google/gson/JsonObject;)Lnet/minecraft/recipe/Ingredient$Entry;
-