Disabled REI (not available in 1.19)
This commit is contained in:
parent
cfffd1fad8
commit
6d6a1175b5
10 changed files with 32 additions and 17 deletions
|
@ -1,5 +1,6 @@
|
||||||
package ru.betterend.integration.rei;
|
package ru.betterend.integration.rei;
|
||||||
|
|
||||||
|
/*
|
||||||
import com.google.common.collect.Lists;
|
import com.google.common.collect.Lists;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import it.unimi.dsi.fastutil.ints.IntList;
|
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 me.shedaniel.rei.api.common.entry.EntryStack;
|
||||||
import net.minecraft.client.gui.GuiComponent;
|
import net.minecraft.client.gui.GuiComponent;
|
||||||
import net.minecraft.network.chat.Component;
|
import net.minecraft.network.chat.Component;
|
||||||
import net.minecraft.network.chat.TranslatableComponent;
|
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
import ru.betterend.registry.EndBlocks;
|
import ru.betterend.registry.EndBlocks;
|
||||||
|
|
||||||
|
@ -114,3 +115,4 @@ public class REIAlloyingCategory implements DisplayCategory<REIAlloyingDisplay>
|
||||||
return 49;
|
return 49;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
|
@ -1,5 +1,6 @@
|
||||||
package ru.betterend.integration.rei;
|
package ru.betterend.integration.rei;
|
||||||
|
|
||||||
|
/*
|
||||||
import me.shedaniel.rei.api.common.category.CategoryIdentifier;
|
import me.shedaniel.rei.api.common.category.CategoryIdentifier;
|
||||||
import me.shedaniel.rei.api.common.display.SimpleGridMenuDisplay;
|
import me.shedaniel.rei.api.common.display.SimpleGridMenuDisplay;
|
||||||
import me.shedaniel.rei.api.common.display.basic.BasicDisplay;
|
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.EntryIngredients;
|
||||||
import me.shedaniel.rei.api.common.util.EntryStacks;
|
import me.shedaniel.rei.api.common.util.EntryStacks;
|
||||||
import net.minecraft.ChatFormatting;
|
import net.minecraft.ChatFormatting;
|
||||||
import net.minecraft.network.chat.TranslatableComponent;
|
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
import net.minecraft.world.item.Item;
|
import net.minecraft.world.item.Item;
|
||||||
import net.minecraft.world.item.crafting.Recipe;
|
import net.minecraft.world.item.crafting.Recipe;
|
||||||
|
@ -104,3 +105,4 @@ public class REIAlloyingDisplay extends BasicDisplay implements SimpleGridMenuDi
|
||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
|
@ -1,5 +1,5 @@
|
||||||
package ru.betterend.integration.rei;
|
package ru.betterend.integration.rei;
|
||||||
|
/*
|
||||||
import com.google.common.collect.Lists;
|
import com.google.common.collect.Lists;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import me.shedaniel.math.Point;
|
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 me.shedaniel.rei.api.common.util.EntryStacks;
|
||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
import net.minecraft.network.chat.Component;
|
import net.minecraft.network.chat.Component;
|
||||||
import net.minecraft.network.chat.TranslatableComponent;
|
|
||||||
import net.minecraft.world.item.Items;
|
import net.minecraft.world.item.Items;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
|
@ -105,3 +105,4 @@ public class REIAlloyingFuelCategory implements DisplayCategory<REIAlloyingFuelD
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
|
@ -1,5 +1,5 @@
|
||||||
package ru.betterend.integration.rei;
|
package ru.betterend.integration.rei;
|
||||||
|
/*
|
||||||
import me.shedaniel.rei.api.common.category.CategoryIdentifier;
|
import me.shedaniel.rei.api.common.category.CategoryIdentifier;
|
||||||
import me.shedaniel.rei.api.common.display.basic.BasicDisplay;
|
import me.shedaniel.rei.api.common.display.basic.BasicDisplay;
|
||||||
import me.shedaniel.rei.api.common.entry.EntryIngredient;
|
import me.shedaniel.rei.api.common.entry.EntryIngredient;
|
||||||
|
@ -19,10 +19,10 @@ public class REIAlloyingFuelDisplay extends BasicDisplay {
|
||||||
super(fuel, Collections.emptyList());
|
super(fuel, Collections.emptyList());
|
||||||
this.fuelTime = fuelTime;
|
this.fuelTime = fuelTime;
|
||||||
}
|
}
|
||||||
/*public REIAlloyingFuelDisplay(EntryStack fuel, int fuelTime) {
|
//public REIAlloyingFuelDisplay(EntryStack fuel, int fuelTime) {
|
||||||
this.fuel = fuel;
|
// this.fuel = fuel;
|
||||||
this.fuelTime = fuelTime;
|
// this.fuelTime = fuelTime;
|
||||||
}*/
|
// }
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public CategoryIdentifier<?> getCategoryIdentifier() {
|
public CategoryIdentifier<?> getCategoryIdentifier() {
|
||||||
|
@ -34,3 +34,5 @@ public class REIAlloyingFuelDisplay extends BasicDisplay {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
package ru.betterend.integration.rei;
|
package ru.betterend.integration.rei;
|
||||||
|
/*
|
||||||
import com.google.common.collect.Lists;
|
import com.google.common.collect.Lists;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import it.unimi.dsi.fastutil.ints.IntList;
|
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 me.shedaniel.rei.api.common.entry.EntryStack;
|
||||||
import net.minecraft.client.gui.GuiComponent;
|
import net.minecraft.client.gui.GuiComponent;
|
||||||
import net.minecraft.network.chat.Component;
|
import net.minecraft.network.chat.Component;
|
||||||
import net.minecraft.network.chat.TranslatableComponent;
|
|
||||||
import net.minecraft.world.item.BlockItem;
|
import net.minecraft.world.item.BlockItem;
|
||||||
import net.minecraft.world.item.ItemStack;
|
import net.minecraft.world.item.ItemStack;
|
||||||
import net.minecraft.world.level.block.Block;
|
import net.minecraft.world.level.block.Block;
|
||||||
|
@ -119,3 +119,4 @@ public class REIAnvilCategory implements DisplayCategory<REIAnvilDisplay> {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
*/
|
|
@ -1,5 +1,5 @@
|
||||||
package ru.betterend.integration.rei;
|
package ru.betterend.integration.rei;
|
||||||
|
/*
|
||||||
import me.shedaniel.rei.api.common.category.CategoryIdentifier;
|
import me.shedaniel.rei.api.common.category.CategoryIdentifier;
|
||||||
import me.shedaniel.rei.api.common.display.SimpleGridMenuDisplay;
|
import me.shedaniel.rei.api.common.display.SimpleGridMenuDisplay;
|
||||||
import me.shedaniel.rei.api.common.display.basic.BasicDisplay;
|
import me.shedaniel.rei.api.common.display.basic.BasicDisplay;
|
||||||
|
@ -59,3 +59,5 @@ public class REIAnvilDisplay extends BasicDisplay implements SimpleGridMenuDispl
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
package ru.betterend.integration.rei;
|
package ru.betterend.integration.rei;
|
||||||
|
/*
|
||||||
import net.minecraft.world.item.crafting.BlastingRecipe;
|
import net.minecraft.world.item.crafting.BlastingRecipe;
|
||||||
|
|
||||||
public class REIBlastingDisplay extends REIAlloyingDisplay {
|
public class REIBlastingDisplay extends REIAlloyingDisplay {
|
||||||
|
@ -7,3 +7,4 @@ public class REIBlastingDisplay extends REIAlloyingDisplay {
|
||||||
super(recipe, recipe.getExperience(), recipe.getCookingTime());
|
super(recipe, recipe.getExperience(), recipe.getCookingTime());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
|
@ -1,5 +1,5 @@
|
||||||
package ru.betterend.integration.rei;
|
package ru.betterend.integration.rei;
|
||||||
|
/*
|
||||||
import com.google.common.collect.Lists;
|
import com.google.common.collect.Lists;
|
||||||
import me.shedaniel.math.Point;
|
import me.shedaniel.math.Point;
|
||||||
import me.shedaniel.math.Rectangle;
|
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.EntryIngredient;
|
||||||
import me.shedaniel.rei.api.common.entry.EntryStack;
|
import me.shedaniel.rei.api.common.entry.EntryStack;
|
||||||
import net.minecraft.network.chat.Component;
|
import net.minecraft.network.chat.Component;
|
||||||
import net.minecraft.network.chat.TranslatableComponent;
|
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
import ru.betterend.BetterEnd;
|
import ru.betterend.BetterEnd;
|
||||||
|
@ -108,3 +108,4 @@ public class REIInfusionCategory implements DisplayCategory<REIInfusionDisplay>
|
||||||
return 104;
|
return 104;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
package ru.betterend.integration.rei;
|
package ru.betterend.integration.rei;
|
||||||
|
/*
|
||||||
import me.shedaniel.rei.api.common.category.CategoryIdentifier;
|
import me.shedaniel.rei.api.common.category.CategoryIdentifier;
|
||||||
import me.shedaniel.rei.api.common.display.SimpleGridMenuDisplay;
|
import me.shedaniel.rei.api.common.display.SimpleGridMenuDisplay;
|
||||||
import me.shedaniel.rei.api.common.display.basic.BasicDisplay;
|
import me.shedaniel.rei.api.common.display.basic.BasicDisplay;
|
||||||
|
@ -60,3 +60,4 @@ public class REIInfusionDisplay extends BasicDisplay implements SimpleGridMenuDi
|
||||||
// return this.input;
|
// return this.input;
|
||||||
//}
|
//}
|
||||||
}
|
}
|
||||||
|
*/
|
|
@ -1,5 +1,5 @@
|
||||||
package ru.betterend.integration.rei;
|
package ru.betterend.integration.rei;
|
||||||
|
/*
|
||||||
import com.google.common.collect.Lists;
|
import com.google.common.collect.Lists;
|
||||||
import me.shedaniel.rei.api.client.plugins.REIClientPlugin;
|
import me.shedaniel.rei.api.client.plugins.REIClientPlugin;
|
||||||
import me.shedaniel.rei.api.client.registry.category.CategoryRegistry;
|
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.List;
|
||||||
import java.util.stream.Collectors;
|
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
|
//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 class REIPlugin implements REIClientPlugin {
|
||||||
public final static ResourceLocation PLUGIN_ID = BetterEnd.makeID("rei_plugin");
|
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);
|
registry.addWorkstations(DefaultPlugin.FUEL, ITEM_FURNACESArray);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
Loading…
Add table
Add a link
Reference in a new issue