Disabled REI (not available in 1.19)

This commit is contained in:
Frank 2022-05-17 16:54:09 +02:00
parent cfffd1fad8
commit 6d6a1175b5
10 changed files with 32 additions and 17 deletions

View file

@ -1,5 +1,6 @@
package ru.betterend.integration.rei;
/*
import com.google.common.collect.Lists;
import com.mojang.blaze3d.vertex.PoseStack;
import it.unimi.dsi.fastutil.ints.IntList;
@ -13,7 +14,7 @@ import me.shedaniel.rei.api.common.entry.EntryIngredient;
import me.shedaniel.rei.api.common.entry.EntryStack;
import net.minecraft.client.gui.GuiComponent;
import net.minecraft.network.chat.Component;
import net.minecraft.network.chat.TranslatableComponent;
import org.jetbrains.annotations.NotNull;
import ru.betterend.registry.EndBlocks;
@ -114,3 +115,4 @@ public class REIAlloyingCategory implements DisplayCategory<REIAlloyingDisplay>
return 49;
}
}
*/

View file

@ -1,5 +1,6 @@
package ru.betterend.integration.rei;
/*
import me.shedaniel.rei.api.common.category.CategoryIdentifier;
import me.shedaniel.rei.api.common.display.SimpleGridMenuDisplay;
import me.shedaniel.rei.api.common.display.basic.BasicDisplay;
@ -7,7 +8,7 @@ import me.shedaniel.rei.api.common.entry.EntryStack;
import me.shedaniel.rei.api.common.util.EntryIngredients;
import me.shedaniel.rei.api.common.util.EntryStacks;
import net.minecraft.ChatFormatting;
import net.minecraft.network.chat.TranslatableComponent;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.world.item.Item;
import net.minecraft.world.item.crafting.Recipe;
@ -104,3 +105,4 @@ public class REIAlloyingDisplay extends BasicDisplay implements SimpleGridMenuDi
.collect(Collectors.toList());
}
}
*/

View file

@ -1,5 +1,5 @@
package ru.betterend.integration.rei;
/*
import com.google.common.collect.Lists;
import com.mojang.blaze3d.vertex.PoseStack;
import me.shedaniel.math.Point;
@ -15,7 +15,7 @@ import me.shedaniel.rei.api.common.entry.EntryStack;
import me.shedaniel.rei.api.common.util.EntryStacks;
import net.minecraft.client.Minecraft;
import net.minecraft.network.chat.Component;
import net.minecraft.network.chat.TranslatableComponent;
import net.minecraft.world.item.Items;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@ -105,3 +105,4 @@ public class REIAlloyingFuelCategory implements DisplayCategory<REIAlloyingFuelD
};
}
}
*/

View file

@ -1,5 +1,5 @@
package ru.betterend.integration.rei;
/*
import me.shedaniel.rei.api.common.category.CategoryIdentifier;
import me.shedaniel.rei.api.common.display.basic.BasicDisplay;
import me.shedaniel.rei.api.common.entry.EntryIngredient;
@ -19,10 +19,10 @@ public class REIAlloyingFuelDisplay extends BasicDisplay {
super(fuel, Collections.emptyList());
this.fuelTime = fuelTime;
}
/*public REIAlloyingFuelDisplay(EntryStack fuel, int fuelTime) {
this.fuel = fuel;
this.fuelTime = fuelTime;
}*/
//public REIAlloyingFuelDisplay(EntryStack fuel, int fuelTime) {
// this.fuel = fuel;
// this.fuelTime = fuelTime;
// }
@Override
public CategoryIdentifier<?> getCategoryIdentifier() {
@ -34,3 +34,5 @@ public class REIAlloyingFuelDisplay extends BasicDisplay {
}
}
*/

View file

@ -1,5 +1,5 @@
package ru.betterend.integration.rei;
/*
import com.google.common.collect.Lists;
import com.mojang.blaze3d.vertex.PoseStack;
import it.unimi.dsi.fastutil.ints.IntList;
@ -13,7 +13,7 @@ import me.shedaniel.rei.api.common.entry.EntryIngredient;
import me.shedaniel.rei.api.common.entry.EntryStack;
import net.minecraft.client.gui.GuiComponent;
import net.minecraft.network.chat.Component;
import net.minecraft.network.chat.TranslatableComponent;
import net.minecraft.world.item.BlockItem;
import net.minecraft.world.item.ItemStack;
import net.minecraft.world.level.block.Block;
@ -119,3 +119,4 @@ public class REIAnvilCategory implements DisplayCategory<REIAnvilDisplay> {
}
}
*/

View file

@ -1,5 +1,5 @@
package ru.betterend.integration.rei;
/*
import me.shedaniel.rei.api.common.category.CategoryIdentifier;
import me.shedaniel.rei.api.common.display.SimpleGridMenuDisplay;
import me.shedaniel.rei.api.common.display.basic.BasicDisplay;
@ -59,3 +59,5 @@ public class REIAnvilDisplay extends BasicDisplay implements SimpleGridMenuDispl
return 1;
}
}
*/

View file

@ -1,5 +1,5 @@
package ru.betterend.integration.rei;
/*
import net.minecraft.world.item.crafting.BlastingRecipe;
public class REIBlastingDisplay extends REIAlloyingDisplay {
@ -7,3 +7,4 @@ public class REIBlastingDisplay extends REIAlloyingDisplay {
super(recipe, recipe.getExperience(), recipe.getCookingTime());
}
}
*/

View file

@ -1,5 +1,5 @@
package ru.betterend.integration.rei;
/*
import com.google.common.collect.Lists;
import me.shedaniel.math.Point;
import me.shedaniel.math.Rectangle;
@ -10,7 +10,7 @@ import me.shedaniel.rei.api.common.category.CategoryIdentifier;
import me.shedaniel.rei.api.common.entry.EntryIngredient;
import me.shedaniel.rei.api.common.entry.EntryStack;
import net.minecraft.network.chat.Component;
import net.minecraft.network.chat.TranslatableComponent;
import net.minecraft.resources.ResourceLocation;
import org.jetbrains.annotations.NotNull;
import ru.betterend.BetterEnd;
@ -108,3 +108,4 @@ public class REIInfusionCategory implements DisplayCategory<REIInfusionDisplay>
return 104;
}
}
*/

View file

@ -1,5 +1,5 @@
package ru.betterend.integration.rei;
/*
import me.shedaniel.rei.api.common.category.CategoryIdentifier;
import me.shedaniel.rei.api.common.display.SimpleGridMenuDisplay;
import me.shedaniel.rei.api.common.display.basic.BasicDisplay;
@ -60,3 +60,4 @@ public class REIInfusionDisplay extends BasicDisplay implements SimpleGridMenuDi
// return this.input;
//}
}
*/

View file

@ -1,5 +1,5 @@
package ru.betterend.integration.rei;
/*
import com.google.common.collect.Lists;
import me.shedaniel.rei.api.client.plugins.REIClientPlugin;
import me.shedaniel.rei.api.client.registry.category.CategoryRegistry;
@ -25,6 +25,7 @@ import ru.betterend.registry.EndBlocks;
import java.util.List;
import java.util.stream.Collectors;
//https://github.com/shedaniel/RoughlyEnoughItems/blob/6.x-1.17/default-plugin/src/main/java/me/shedaniel/rei/plugin/client/DefaultClientPlugin.java
public class REIPlugin implements REIClientPlugin {
public final static ResourceLocation PLUGIN_ID = BetterEnd.makeID("rei_plugin");
@ -95,3 +96,4 @@ public class REIPlugin implements REIClientPlugin {
registry.addWorkstations(DefaultPlugin.FUEL, ITEM_FURNACESArray);
}
}
*/