mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-01-19 01:18:13 +01:00
merge changes from 1.15
This commit is contained in:
parent
b5802bb0e8
commit
b5930df58a
3 changed files with 5 additions and 19 deletions
|
@ -144,18 +144,9 @@ public class CreateJEI implements IModPlugin {
|
||||||
public void registerRecipeCatalysts(IRecipeCatalystRegistration registration) {
|
public void registerRecipeCatalysts(IRecipeCatalystRegistration registration) {
|
||||||
ItemStack fan = new ItemStack(AllBlocks.ENCASED_FAN.get());
|
ItemStack fan = new ItemStack(AllBlocks.ENCASED_FAN.get());
|
||||||
|
|
||||||
ItemStack splashingFan = fan.copy().setDisplayName(new StringTextComponent(TextFormatting.RESET + Lang.translate("recipe.splashing.fan")));
|
ItemStack splashingFan = fan.copy().setDisplayName(Lang.translate("recipe.splashing.fan").formatted(TextFormatting.RESET));
|
||||||
ItemStack smokingFan = fan.copy().setDisplayName(new StringTextComponent(TextFormatting.RESET + Lang.translate("recipe.smokingViaFan.fan")));
|
ItemStack smokingFan = fan.copy().setDisplayName(Lang.translate("recipe.smokingViaFan.fan").formatted(TextFormatting.RESET));
|
||||||
ItemStack blastingFan = fan.copy().setDisplayName(new StringTextComponent(TextFormatting.RESET + Lang.translate("recipe.blastingViaFan.fan")));
|
ItemStack blastingFan = fan.copy().setDisplayName(Lang.translate("recipe.blastingViaFan.fan").formatted(TextFormatting.RESET));
|
||||||
ItemStack splashingFan = fan
|
|
||||||
.copy()
|
|
||||||
.setDisplayName(Lang.translate("recipe.splashing.fan").formatted(TextFormatting.RESET));
|
|
||||||
ItemStack smokingFan = fan
|
|
||||||
.copy()
|
|
||||||
.setDisplayName(Lang.translate("recipe.smokingViaFan.fan").formatted(TextFormatting.RESET));
|
|
||||||
ItemStack blastingFan = fan
|
|
||||||
.copy()
|
|
||||||
.setDisplayName(Lang.translate("recipe.blastingViaFan.fan").formatted(TextFormatting.RESET));
|
|
||||||
|
|
||||||
registration.addRecipeCatalyst(new ItemStack(AllBlocks.MILLSTONE.get()), millingCategory.getUid());
|
registration.addRecipeCatalyst(new ItemStack(AllBlocks.MILLSTONE.get()), millingCategory.getUid());
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,5 @@
|
||||||
package com.simibubi.create.compat.jei.category;
|
package com.simibubi.create.compat.jei.category;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.Arrays;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
import com.mojang.blaze3d.matrix.MatrixStack;
|
import com.mojang.blaze3d.matrix.MatrixStack;
|
||||||
import com.mojang.blaze3d.systems.RenderSystem;
|
import com.mojang.blaze3d.systems.RenderSystem;
|
||||||
import com.simibubi.create.AllBlocks;
|
import com.simibubi.create.AllBlocks;
|
||||||
|
@ -31,7 +27,6 @@ import net.minecraft.util.text.TranslationTextComponent;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.stream.Collectors;
|
|
||||||
|
|
||||||
public class MechanicalCraftingCategory extends CreateRecipeCategory<ShapedRecipe> {
|
public class MechanicalCraftingCategory extends CreateRecipeCategory<ShapedRecipe> {
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ public class MixingCategory extends BasinCategory {
|
||||||
HeatCondition requiredHeat = recipe.getRequiredHeat();
|
HeatCondition requiredHeat = recipe.getRequiredHeat();
|
||||||
if (requiredHeat != HeatCondition.NONE)
|
if (requiredHeat != HeatCondition.NONE)
|
||||||
heater.withHeat(requiredHeat.visualizeAsBlazeBurner())
|
heater.withHeat(requiredHeat.visualizeAsBlazeBurner())
|
||||||
.draw(matrixStack, getBackground().getWidth() / 2 + 3, 55);
|
.draw(matrixStack, getBackground().getWidth() / 2 + 3, 55);
|
||||||
mixer.draw(matrixStack, getBackground().getWidth() / 2 + 3, 34);
|
mixer.draw(matrixStack, getBackground().getWidth() / 2 + 3, 34);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue