net.minecraft.recipe.crafting

public class BookCloningRecipe

extends SpecialCraftingRecipe

All mapped superinterfaces:

CraftingRecipe, Recipe

net.minecraft.world.item.crafting.BookCloningRecipe
net.minecraft.world.item.crafting.BookCloningRecipe
net.minecraft.class_1_158
net.minecraft.recipe.crafting.BookCloningRecipe

Field summary

Modifier and TypeField
public static final NumberRange$IntRange
ALLOWED_BOOK_GENERATION_RANGES
ALLOWED_BOOK_GENERATION_RANGES
field_1_1247
ALLOWED_GENERATIONS
public static final NumberRange$IntRange
DEFAULT_BOOK_GENERATION_RANGES
DEFAULT_BOOK_GENERATION_RANGES
field_1_1249
DEFAULT_ALLOWED_GENERATIONS
private static final com.mojang.serialization.Codec<NumberRange$IntRange>
ALLOWED_GENERATION_CODEC
ALLOWED_GENERATION_CODEC
field_1_1248
ALLOWED_GENERATIONS_CODEC
public static final com.mojang.serialization.MapCodec<BookCloningRecipe>
MAP_CODEC
MAP_CODEC
field_1_1250
CODEC
public static final PacketCodec<RegistryByteBuf, BookCloningRecipe>
STREAM_CODEC
STREAM_CODEC
field_1_1252
PACKET_CODEC
public static final RecipeSerializer<BookCloningRecipe>
SERIALIZER
SERIALIZER
field_1_1251
SERIALIZER
private final Ingredient
source
source
field_1_1256
source
private final Ingredient
material
material
field_1_1254
material
private final NumberRange$IntRange
allowedGenerations
allowedGenerations
field_1_1253
allowedGenerations
private final SimpleItemStackView
result
result
field_1_1255
result

Constructor summary

ModifierConstructor
public (Ingredient source, Ingredient material, NumberRange$IntRange allowedGenerations, SimpleItemStackView result)

Method summary

Modifier and TypeMethod
private boolean
canCraftCopy(WrittenBookContent writtenBookContent)
canCraftCopy(WrittenBookContent writtenBookContent)
method_1_1456(class_9302 arg0)
isGenerationAllowed(WrittenBookContentComponent component)
public boolean
matches(CraftingInput input, Level level)
matches(CraftingInput input, Level level)
method_1_1466(class_9694 arg0, class_1937 arg1)
matches(CraftingRecipeInput arg0, World arg1)
public ItemStack
assemble(CraftingInput input)
assemble(CraftingInput input)
method_1_1455(class_9694 arg0)
craft(CraftingRecipeInput arg0)
public DefaultedList<ItemStack>
getRemainingItems(CraftingInput input)
getRemainingItems(CraftingInput input)
method_17704(class_9694 arg0)
getRecipeRemainders(CraftingRecipeInput arg0)
public RecipeSerializer<BookCloningRecipe>
getSerializer()
getSerializer()
method_8119()
getSerializer()