Modifier and Type | Method and Description |
---|---|
boolean |
RecipeUnlockedTrigger.Instance.test(IRecipe<?> recipe) |
void |
RecipeUnlockedTrigger.trigger(ServerPlayerEntity player,
IRecipe<?> recipe) |
Modifier and Type | Method and Description |
---|---|
void |
ClientPlayerEntity.removeRecipeHighlight(IRecipe<?> p_193103_1_) |
Modifier and Type | Field and Description |
---|---|
private IRecipe<?> |
RecipeBookPage.lastClickedRecipe |
private IRecipe<?> |
RecipeOverlayGui.lastRecipeClicked |
private IRecipe<?> |
GhostRecipe.recipe |
private IRecipe<?> |
RecipeOverlayGui.RecipeButtonWidget.recipe |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<IRecipe<?>> |
RecipeList.canFit |
private java.util.Set<IRecipe<?>> |
RecipeList.craftable |
private java.util.Set<IRecipe<?>> |
RecipeList.inBook |
private java.util.List<IRecipe<?>> |
RecipeList.recipes |
Modifier and Type | Method and Description |
---|---|
IRecipe<?> |
RecipeBookPage.getLastClickedRecipe() |
IRecipe<?> |
RecipeOverlayGui.getLastRecipeClicked() |
IRecipe<?> |
RecipeWidget.getRecipe() |
IRecipe<?> |
GhostRecipe.getRecipe() |
Modifier and Type | Method and Description |
---|---|
java.util.List<IRecipe<?>> |
RecipeList.getDisplayRecipes(boolean onlyCraftable) |
private java.util.List<IRecipe<?>> |
RecipeWidget.getOrderedRecipes() |
java.util.List<IRecipe<?>> |
RecipeList.getRecipes() |
java.util.List<IRecipe<?>> |
RecipeList.getRecipes(boolean onlyCraftable) |
Modifier and Type | Method and Description |
---|---|
void |
RecipeList.add(IRecipe<?> recipe) |
protected void |
RecipeOverlayGui.FurnaceRecipeButtonWidget.func_201505_a(IRecipe<?> p_201505_1_) |
protected void |
RecipeOverlayGui.RecipeButtonWidget.func_201505_a(IRecipe<?> p_201505_1_) |
boolean |
RecipeList.isCraftable(IRecipe<?> recipe) |
void |
GhostRecipe.setRecipe(IRecipe<?> p_192685_1_) |
void |
AbstractRecipeBookGui.setupGhostRecipe(IRecipe<?> p_193951_1_,
java.util.List<Slot> p_193951_2_) |
void |
RecipeBookGui.setupGhostRecipe(IRecipe<?> p_193951_1_,
java.util.List<Slot> p_193951_2_) |
Modifier and Type | Method and Description |
---|---|
void |
IRecipeUpdateListener.recipesShown(java.util.List<IRecipe<?>> recipes) |
void |
RecipeBookGui.recipesShown(java.util.List<IRecipe<?>> recipes) |
void |
RecipeBookPage.recipesShown(java.util.List<IRecipe<?>> p_194195_1_) |
Constructor and Description |
---|
FurnaceRecipeButtonWidget(int p_i48747_2_,
int p_i48747_3_,
IRecipe<?> p_i48747_4_,
boolean p_i48747_5_) |
RecipeButtonWidget(int p_i47594_2_,
int p_i47594_3_,
IRecipe<?> p_i47594_4_,
boolean p_i47594_5_) |
Modifier and Type | Field and Description |
---|---|
private java.util.List<IRecipe<?>> |
RecipeToast.recipes |
Modifier and Type | Method and Description |
---|---|
static void |
RecipeToast.addOrUpdate(ToastGui toastGui,
IRecipe<?> recipeIn) |
void |
RecipeToast.addRecipe(IRecipe<?> recipeIn) |
Constructor and Description |
---|
RecipeToast(IRecipe<?> recipeIn) |
Modifier and Type | Method and Description |
---|---|
void |
PlayerController.sendPlaceRecipePacket(int p_203413_1_,
IRecipe<?> p_203413_2_,
boolean p_203413_3_) |
Modifier and Type | Method and Description |
---|---|
private static RecipeBookCategories |
ClientRecipeBook.getCategory(IRecipe<?> recipe) |
Modifier and Type | Method and Description |
---|---|
static IRecipe<?> |
ResourceLocationArgument.getRecipe(com.mojang.brigadier.context.CommandContext<CommandSource> context,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
private static int |
RecipeCommand.giveRecipes(CommandSource source,
java.util.Collection<ServerPlayerEntity> targets,
java.util.Collection<IRecipe<?>> recipes) |
private static int |
RecipeCommand.takeRecipes(CommandSource source,
java.util.Collection<ServerPlayerEntity> targets,
java.util.Collection<IRecipe<?>> recipes) |
Modifier and Type | Method and Description |
---|---|
int |
PlayerEntity.resetRecipes(java.util.Collection<IRecipe<?>> p_195069_1_) |
int |
ServerPlayerEntity.resetRecipes(java.util.Collection<IRecipe<?>> p_195069_1_) |
int |
PlayerEntity.unlockRecipes(java.util.Collection<IRecipe<?>> p_195065_1_) |
int |
ServerPlayerEntity.unlockRecipes(java.util.Collection<IRecipe<?>> p_195065_1_) |
Modifier and Type | Field and Description |
---|---|
private IRecipe<?> |
CraftResultInventory.recipeUsed |
Modifier and Type | Method and Description |
---|---|
IRecipe<?> |
IRecipeHolder.getRecipeUsed() |
IRecipe<?> |
CraftResultInventory.getRecipeUsed() |
Modifier and Type | Method and Description |
---|---|
default boolean |
IRecipeHolder.canUseRecipe(World worldIn,
ServerPlayerEntity player,
IRecipe<?> recipe) |
void |
IRecipeHolder.setRecipeUsed(IRecipe<?> recipe) |
void |
CraftResultInventory.setRecipeUsed(IRecipe<?> recipe) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractFurnaceContainer.func_217056_a(boolean p_217056_1_,
IRecipe<?> p_217056_2_,
ServerPlayerEntity p_217056_3_) |
void |
RecipeBookContainer.func_217056_a(boolean p_217056_1_,
IRecipe<?> p_217056_2_,
ServerPlayerEntity p_217056_3_) |
abstract boolean |
RecipeBookContainer.matches(IRecipe<? super C> recipeIn) |
boolean |
WorkbenchContainer.matches(IRecipe<? super CraftingInventory> recipeIn) |
boolean |
PlayerContainer.matches(IRecipe<? super CraftingInventory> recipeIn) |
boolean |
AbstractFurnaceContainer.matches(IRecipe<? super IInventory> recipeIn) |
Modifier and Type | Interface and Description |
---|---|
interface |
IRecipeSerializer<T extends IRecipe<?>> |
interface |
IRecipeType<T extends IRecipe<?>> |
class |
SpecialRecipeSerializer<T extends IRecipe<?>> |
Modifier and Type | Interface and Description |
---|---|
interface |
ICraftingRecipe |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCookingRecipe |
class |
ArmorDyeRecipe |
class |
BannerDuplicateRecipe |
class |
BlastingRecipe |
class |
BookCloningRecipe |
class |
CampfireCookingRecipe |
class |
FireworkRocketRecipe |
class |
FireworkStarFadeRecipe |
class |
FireworkStarRecipe |
class |
FurnaceRecipe |
class |
MapCloningRecipe |
class |
MapExtendingRecipe |
class |
RepairItemRecipe |
class |
ShapedRecipe |
class |
ShapelessRecipe |
class |
ShieldRecipes |
class |
ShulkerBoxColoringRecipe |
class |
SingleItemRecipe |
class |
SmokingRecipe |
class |
SpecialRecipe |
class |
StonecuttingRecipe |
class |
SuspiciousStewRecipe |
class |
TippedArrowRecipe |
Modifier and Type | Field and Description |
---|---|
private IRecipe<?> |
RecipeItemHelper.RecipePicker.recipe |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<IRecipeType<?>,java.util.Map<ResourceLocation,IRecipe<?>>> |
RecipeManager.recipes |
Modifier and Type | Method and Description |
---|---|
<C extends IInventory,T extends IRecipe<C>> |
RecipeManager.getRecipe(IRecipeType<T> recipeTypeIn,
C inventoryIn,
World worldIn) |
<C extends IInventory,T extends IRecipe<C>> |
RecipeManager.getRecipeNonNull(IRecipeType<T> recipeTypeIn,
C inventoryIn,
World worldIn) |
private <C extends IInventory,T extends IRecipe<C>> |
RecipeManager.getRecipes(IRecipeType<T> recipeTypeIn) |
<C extends IInventory,T extends IRecipe<C>> |
RecipeManager.getRecipes(IRecipeType<T> recipeTypeIn,
C inventoryIn,
World worldIn) |
static <T extends IRecipe<?>> |
IRecipeType.register(java.lang.String key) |
static <S extends IRecipeSerializer<T>,T extends IRecipe<?>> |
IRecipeSerializer.register(java.lang.String key,
S recipeSerializer) |
Modifier and Type | Method and Description |
---|---|
static IRecipe<?> |
RecipeManager.deserializeRecipe(ResourceLocation recipeId,
com.google.gson.JsonObject json) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<? extends IRecipe<?>> |
RecipeManager.getRecipe(ResourceLocation recipeId) |
java.util.Collection<IRecipe<?>> |
RecipeManager.getRecipes() |
private <C extends IInventory,T extends IRecipe<C>> |
RecipeManager.getRecipes(IRecipeType<T> recipeTypeIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
RecipeItemHelper.canCraft(IRecipe<?> recipe,
it.unimi.dsi.fastutil.ints.IntList packedItemList) |
boolean |
RecipeItemHelper.canCraft(IRecipe<?> recipe,
it.unimi.dsi.fastutil.ints.IntList packedItemList,
int maxAmount) |
int |
RecipeItemHelper.getBiggestCraftableStack(IRecipe<?> recipe,
int maxAmount,
it.unimi.dsi.fastutil.ints.IntList packedItemList) |
int |
RecipeItemHelper.getBiggestCraftableStack(IRecipe<?> recipe,
it.unimi.dsi.fastutil.ints.IntList packedItemList) |
boolean |
RecipeBook.isNew(IRecipe<?> recipe) |
boolean |
RecipeBook.isUnlocked(IRecipe<?> recipe) |
void |
RecipeBook.lock(IRecipe<?> recipe) |
void |
RecipeBook.markNew(IRecipe<?> recipe) |
void |
RecipeBook.markSeen(IRecipe<?> recipe) |
default <C extends IInventory> |
IRecipeType.matches(IRecipe<C> recipe,
World worldIn,
C inv) |
void |
ServerRecipePlacer.place(ServerPlayerEntity player,
IRecipe<C> recipe,
boolean placeAll) |
default void |
IRecipePlacer.placeRecipe(int width,
int height,
int outputSlot,
IRecipe<?> recipe,
java.util.Iterator<T> ingredients,
int maxAmount) |
protected void |
ServerRecipePlacerFurnace.tryPlaceRecipe(IRecipe<C> recipe,
boolean placeAll) |
protected void |
ServerRecipePlacer.tryPlaceRecipe(IRecipe<C> recipe,
boolean placeAll) |
void |
RecipeBook.unlock(IRecipe<?> recipe) |
Modifier and Type | Method and Description |
---|---|
int |
ServerRecipeBook.add(java.util.Collection<IRecipe<?>> p_197926_1_,
ServerPlayerEntity p_197926_2_) |
void |
RecipeManager.func_223389_a(java.lang.Iterable<IRecipe<?>> p_223389_1_) |
private void |
ServerRecipeBook.func_223417_a(ListNBT p_223417_1_,
java.util.function.Consumer<IRecipe<?>> p_223417_2_) |
int |
ServerRecipeBook.remove(java.util.Collection<IRecipe<?>> p_197925_1_,
ServerPlayerEntity p_197925_2_) |
Constructor and Description |
---|
RecipePicker(IRecipe<?> recipeIn) |
Constructor and Description |
---|
CPlaceRecipePacket(int p_i47614_1_,
IRecipe<?> p_i47614_2_,
boolean p_i47614_3_) |
CRecipeInfoPacket(IRecipe<?> p_i47518_1_) |
Modifier and Type | Field and Description |
---|---|
private java.util.List<IRecipe<?>> |
SUpdateRecipesPacket.recipes |
Modifier and Type | Method and Description |
---|---|
static <T extends IRecipe<?>> |
SUpdateRecipesPacket.func_218771_a(T p_218771_0_,
PacketBuffer p_218771_1_) |
Modifier and Type | Method and Description |
---|---|
static IRecipe<?> |
SUpdateRecipesPacket.func_218772_c(PacketBuffer p_218772_0_) |
Modifier and Type | Method and Description |
---|---|
java.util.List<IRecipe<?>> |
SUpdateRecipesPacket.getRecipes() |
Constructor and Description |
---|
SPlaceGhostRecipePacket(int p_i47615_1_,
IRecipe<?> p_i47615_2_) |
Constructor and Description |
---|
SUpdateRecipesPacket(java.util.Collection<IRecipe<?>> p_i48176_1_) |
Modifier and Type | Method and Description |
---|---|
IRecipe<?> |
AbstractFurnaceTileEntity.getRecipeUsed() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractFurnaceTileEntity.canSmelt(IRecipe<?> recipeIn) |
void |
AbstractFurnaceTileEntity.setRecipeUsed(IRecipe<?> recipe) |
private void |
AbstractFurnaceTileEntity.smelt(IRecipe<?> recipe) |
Modifier and Type | Class and Description |
---|---|
static class |
ConditionalRecipe.Serializer<T extends IRecipe<?>> |
Modifier and Type | Interface and Description |
---|---|
interface |
IShapedRecipe<T extends IInventory>
Used to mark a recipe that shape matters so that the recipe
book and auto crafting picks the correct shape.
|
Modifier and Type | Field and Description |
---|---|
static IRecipeSerializer<IRecipe<?>> |
ConditionalRecipe.SERIALZIER |