Add integration with Inventory Profiles Next for End Stone Smelter.
This commit is contained in:
parent
61c7604641
commit
3c3a9c299f
3 changed files with 25 additions and 18 deletions
|
@ -41,6 +41,7 @@ dependencies {
|
|||
} else {
|
||||
useApi "com.github.paulevsGitch:BCLib:${project.bclib_version}"
|
||||
}
|
||||
useApi "org.anti-ad.mc:inventory-profiles-next:fabric-1.17.1-${project.ipn_version}"
|
||||
|
||||
useOptional "me.shedaniel:RoughlyEnoughItems-fabric:${project.rei_version}"
|
||||
useOptional "me.shedaniel:RoughlyEnoughItems-api-fabric:${project.rei_version}"
|
||||
|
@ -70,6 +71,7 @@ def useApi(String dep) {
|
|||
dependencies.modApi(dep) {
|
||||
exclude group: 'net.fabricmc.fabric-api'
|
||||
exclude group: 'net.fabricmc'
|
||||
exclude group: 'com.terraformersmc'
|
||||
if (!dep.contains("me.shedaniel")) {
|
||||
exclude group: 'me.shedaniel.cloth'
|
||||
exclude group: 'me.shedaniel'
|
||||
|
|
|
@ -1,18 +1,21 @@
|
|||
# Done to increase the memory available to gradle.
|
||||
org.gradle.jvmargs=-Xmx2G
|
||||
# Fabric Properties
|
||||
# check these on https://fabricmc.net/use
|
||||
minecraft_version=1.17.1
|
||||
yarn_mappings=6
|
||||
loader_version=0.11.6
|
||||
# Mod Properties
|
||||
mod_version=0.12.0-pre
|
||||
maven_group=ru.betterend
|
||||
archives_base_name=better-end
|
||||
# Dependencies
|
||||
# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api
|
||||
patchouli_version = 55-FABRIC-SNAPSHOT
|
||||
fabric_version = 0.36.1+1.17
|
||||
bclib_version = 0.4.1
|
||||
rei_version = 6.0.264-alpha
|
||||
canvas_version = 1.0.+
|
||||
# Done to increase the memory available to gradle.
|
||||
org.gradle.jvmargs=-Xmx2G
|
||||
# Fabric Properties
|
||||
# check these on https://fabricmc.net/use
|
||||
minecraft_version=1.17.1
|
||||
yarn_mappings=6
|
||||
loader_version=0.11.6
|
||||
# Mod Properties
|
||||
mod_version=0.12.0-pre
|
||||
maven_group=ru.betterend
|
||||
archives_base_name=better-end
|
||||
|
||||
# Dependencies
|
||||
# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api
|
||||
|
||||
patchouli_version = 55-FABRIC-SNAPSHOT
|
||||
fabric_version = 0.36.1+1.17
|
||||
bclib_version = 0.4.1
|
||||
rei_version = 6.0.264-alpha
|
||||
canvas_version = 1.0.+
|
||||
ipn_version=1.1.0
|
||||
|
|
|
@ -18,6 +18,7 @@ import net.minecraft.world.inventory.StackedContentsCompatible;
|
|||
import net.minecraft.world.item.ItemStack;
|
||||
import net.minecraft.world.item.crafting.Recipe;
|
||||
import net.minecraft.world.level.Level;
|
||||
import org.anti_ad.mc.ipn.api.IPNIgnore;
|
||||
import ru.betterend.BetterEnd;
|
||||
import ru.betterend.blocks.EndStoneSmelter;
|
||||
import ru.betterend.blocks.entities.EndStoneSmelterBlockEntity;
|
||||
|
@ -25,6 +26,7 @@ import ru.betterend.client.gui.slot.SmelterFuelSlot;
|
|||
import ru.betterend.client.gui.slot.SmelterOutputSlot;
|
||||
import ru.betterend.recipe.builders.AlloyingRecipe;
|
||||
|
||||
@IPNIgnore
|
||||
public class EndStoneSmelterScreenHandler extends RecipeBookMenu<Container> {
|
||||
|
||||
public final static MenuType<EndStoneSmelterScreenHandler> HANDLER_TYPE = ScreenHandlerRegistry.registerSimple(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue