Skip to content

Commit

Permalink
update: 1.20.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bconlon1 committed Sep 17, 2023
1 parent 991b622 commit c59d559
Show file tree
Hide file tree
Showing 10 changed files with 39 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/trigger-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
remote_branch:
description: 'GitHub branch that the pull request is merging from'
required: true
default: '1.19.4-develop'
default: '1.20.1-develop'
type: string

jobs:
Expand Down
15 changes: 9 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id 'eclipse'
id 'maven-publish'
id 'net.minecraftforge.gradle' version '[6.0,6.2)'
id 'net.neoforged.gradle' version '[6.0.13, 6.2)'
id 'org.parchmentmc.librarian.forgegradle' version '[1,2)'
id 'org.moddingx.modgradle.mapping' version '[4,5)'
id 'org.moddingx.modgradle.sourcejar' version '[4,5)' apply false
Expand All @@ -10,7 +10,7 @@ plugins {
id 'com.modrinth.minotaur' version '[2,3)'
}

version = "${mc_version}-${mod_version}-forge"
version = "${mc_version}-${mod_version}-neoforge"
group = 'com.aetherteam.enhanced_extinguishing'

base {
Expand All @@ -33,6 +33,8 @@ minecraft {

property "${mod_id}.iside", 'true'
property 'forge.logging.console.level', 'info'
property 'mixin.env.remapRefMap', 'true'
property 'mixin.env.refMapRemappingFile', "${buildDir}/createSrgToMcp/output.srg"

mods {
"${mod_id}" {
Expand All @@ -55,7 +57,7 @@ minecraft {
}

data {
args '--mod', mod_id, '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/'), '--existing', file('src/generated/resources/'), '--existing-mod', 'aether'
args '--mod', mod_id, '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/'), '--existing', file('src/generated/resources/'), '--existing-mod', 'nitrogen_internals', '--existing-mod', 'aether'
environment 'target', 'fmluserdevdata'
}
}
Expand All @@ -66,10 +68,11 @@ sourceSets.main.resources {
}

dependencies {
minecraft "net.minecraftforge:forge:${project.mc_version}-${project.forge_version}"
minecraft "net.neoforged:forge:${project.mc_version}-${project.neoforge_version}"

implementation fg.deobf("com.aetherteam.aether:aether:${project.aether_version}")
implementation fg.deobf("top.theillusivec4.curios:curios-forge:${project.curios_version}")
implementation fg.deobf("com.aetherteam.nitrogen:nitrogen_internals:${project.nitrogen_version}")
implementation fg.deobf("top.theillusivec4.curios:curios-forge:${project.curios_version}+${project.mc_version}")
}

repositories {
Expand Down Expand Up @@ -146,7 +149,7 @@ modrinth {
changelog = new File("$rootDir/docs/CHANGELOG.md").text
uploadFile = tasks.jar
gameVersions = ["${project.mc_version}"]
loaders = ["forge"]
loaders = ["forge", "neoforge"]
dependencies {
required.version "aether", "${project.aether_version}"
}
Expand Down
4 changes: 4 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Enhanced Extinguishing - Forge - 1.0.0-1.20.1

- Port to 1.20.1.

# Enhanced Extinguishing - Forge - 1.0.0-1.19.4

- Add Extinguished Torch, which is created by placing a Torch in the Aether dimension.
Expand Down
6 changes: 3 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ If you're interested in sponsoring Enhanced Extinguishing or The Aether Team, pl
[![Modrinth Version](https://img.shields.io/modrinth/game-versions/FDrEl7QY?color=00AF5C&label=latest&logo=modrinth&last=true)](https://modrinth.com/mod/aether-enhanced-extinguishing)
[![CurseForge Downloads](http://cf.way2muchnoise.eu/884860.svg)](https://www.curseforge.com/minecraft/mc-mods/aether-enhanced-extinguishing)
[![CurseForge Version](http://cf.way2muchnoise.eu/versions/884860_latest.svg)](https://www.curseforge.com/minecraft/mc-mods/aether-enhanced-extinguishing)
[![CircleCI](https://circleci.com/gh/The-Aether-Team/Enhanced-Extinguishing/tree/1.19.4-develop.svg?style=shield)](https://app.circleci.com/pipelines/github/The-Aether-Team/Enhanced-Extinguishing?branch=1.19.4-develop)
[![CircleCI](https://circleci.com/gh/The-Aether-Team/Enhanced-Extinguishing/tree/1.20.1-develop.svg?style=shield)](https://app.circleci.com/pipelines/github/The-Aether-Team/Enhanced-Extinguishing?branch=1.20.1-develop)
### Release builds
Enhanced Extinguished has stable release builds available on [Modrinth](https://modrinth.com/mod/aether-enhanced-extinguishing) and [CurseForge](https://www.curseforge.com/minecraft/mc-mods/aether-enhanced-extinguishing).

Expand Down Expand Up @@ -97,13 +97,13 @@ dependencies {
If you're running into bugs or other problems, feel free to open an issue on our [issue tracker](https://github.com/The-Aether-Team/Enhanced-Extinguishing/issues). When doing so, make sure to use one of the provided templates and fill out all the requested information. Make sure to keep your issue's description clear and concise. Your issue's title should also be easy to digest, giving our developers and reporters a good idea of what's wrong without including too many details. Failure to follow any of the above may result in your issue being closed.

## :wrench: Contribute to the project
Looking to contribute to the project? We ask that you read over our [Contributor's Guide](https://github.com/The-Aether-Team/Enhanced-Extinguishing/blob/1.19.4-develop/docs/CONTRIBUTING.md) for more details as well as our [Contributor License Agreement (CLA)](https://github.com/The-Aether-Team/Enhanced-Extinguishing/blob/1.19.4-develop/docs/AGREEMENT.md) before getting started.
Looking to contribute to the project? We ask that you read over our [Contributor's Guide](https://github.com/The-Aether-Team/Enhanced-Extinguishing/blob/1.20.1-develop/docs/CONTRIBUTING.md) for more details as well as our [Contributor License Agreement (CLA)](https://github.com/The-Aether-Team/Enhanced-Extinguishing/blob/1.20.1-develop/docs/AGREEMENT.md) before getting started.

Not sure what to help with? Take a look at our issue tracker for some ideas! [Here's a quick link](https://github.com/The-Aether-Team/Enhanced-Extinguishing/labels/status%2Fhelp-wanted) which shows all the currently open issues that we'd love some help on.

## :scroll: License information
[![Asset license (Unlicensed)](https://img.shields.io/badge/assets%20license-All%20Rights%20Reserved-red.svg?style=flat-square)](https://en.wikipedia.org/wiki/All_rights_reserved)
[![Code license (LGPL v3.0)](https://img.shields.io/badge/code%20license-LGPL%20v3.0-green.svg?style=flat-square)](https://github.com/The-Aether-Team/Enhanced-Extinguishing/blob/1.19.4-develop/LICENSE.txt)
[![Code license (LGPL v3.0)](https://img.shields.io/badge/code%20license-LGPL%20v3.0-green.svg?style=flat-square)](https://github.com/The-Aether-Team/Enhanced-Extinguishing/blob/1.20.1-develop/LICENSE.txt)

If you're wanting to create a gameplay video/review, extension or addon, parody, or any other fan work of your own for Enhanced Extinguishing, go for it! We love seeing the content our community creates, and we hope to make it as welcoming as possible for everyone. We ask however that you please don't advertise using our brand (our specific logo assets, team name, official social media posts).

Expand Down
11 changes: 6 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ org.gradle.daemon=false
mod_id=aether_enhanced_extinguishing
mod_name=Enhanced Extinguishing
mod_version=1.0.0
mc_version=1.19.4
forge_version=45.1.0
mappings=2023.06.26-1.19.4
mc_version=1.20.1
neoforge_version=47.1.70
mappings=2023.08.20-1.20.1

# Dependencies
aether_version=1.19.4-1.0.0-beta.5.1-forge
curios_version=1.19.4-5.1.5.3
aether_version=1.20.1-1.0.0-beta.1-neoforge
nitrogen_version=1.20.1-0.1.2-neoforge
curios_version=5.3.1

# Publishing
curseforge_id=884860
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pluginManagement {
}
repositories {
gradlePluginPortal()
maven { url = 'https://maven.minecraftforge.net/' }
maven { url = 'https://maven.neoforged.net/releases/' }
maven { url = 'https://maven.parchmentmc.org' }
maven { url = 'https://maven.moddingx.org' }
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
import com.aetherteam.enhanced_extinguishing.EnhancedExtinguishing;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.Blocks;
import net.minecraft.world.level.block.LanternBlock;
import net.minecraft.world.level.block.SoundType;
import net.minecraft.world.level.block.state.BlockBehaviour;
import net.minecraft.world.level.material.Material;
import net.minecraft.world.level.material.MapColor;
import net.minecraft.world.level.material.PushReaction;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;
import net.minecraftforge.registries.RegistryObject;

public class ExtinguishingBlocks {
public static final DeferredRegister<Block> BLOCKS = DeferredRegister.create(ForgeRegistries.BLOCKS, EnhancedExtinguishing.MODID);

public static final RegistryObject<Block> EXTINGUISHED_TORCH = BLOCKS.register("extinguished_torch", () -> new ExtinguishedTorchBlock(BlockBehaviour.Properties.of(Material.DECORATION).noCollission().instabreak().sound(SoundType.WOOD).lootFrom(() -> Blocks.TORCH)));
public static final RegistryObject<Block> EXTINGUISHED_WALL_TORCH = BLOCKS.register("extinguished_wall_torch", () -> new ExtinguishedWallTorchBlock(BlockBehaviour.Properties.of(Material.DECORATION).noCollission().instabreak().sound(SoundType.WOOD).lootFrom(() -> Blocks.TORCH)));
public static final RegistryObject<Block> EXTINGUISHED_LANTERN = BLOCKS.register("extinguished_lantern", () -> new ExtinguishedLanternBlock(BlockBehaviour.Properties.of(Material.METAL).requiresCorrectToolForDrops().strength(3.5F).sound(SoundType.LANTERN).noOcclusion().lootFrom(() -> Blocks.LANTERN)));
public static final RegistryObject<Block> EXTINGUISHED_TORCH = BLOCKS.register("extinguished_torch", () -> new ExtinguishedTorchBlock(BlockBehaviour.Properties.of().noCollission().instabreak().sound(SoundType.WOOD).pushReaction(PushReaction.DESTROY).lootFrom(() -> Blocks.TORCH)));
public static final RegistryObject<Block> EXTINGUISHED_WALL_TORCH = BLOCKS.register("extinguished_wall_torch", () -> new ExtinguishedWallTorchBlock(BlockBehaviour.Properties.of().noCollission().instabreak().sound(SoundType.WOOD).pushReaction(PushReaction.DESTROY).lootFrom(() -> Blocks.TORCH)));
public static final RegistryObject<Block> EXTINGUISHED_LANTERN = BLOCKS.register("extinguished_lantern", () -> new ExtinguishedLanternBlock(BlockBehaviour.Properties.of().mapColor(MapColor.METAL).forceSolidOn().requiresCorrectToolForDrops().strength(3.5F).sound(SoundType.LANTERN).pushReaction(PushReaction.DESTROY).noOcclusion().lootFrom(() -> Blocks.LANTERN)));
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package com.aetherteam.enhanced_extinguishing.data.providers;

import com.aetherteam.aether.recipe.AetherRecipeSerializers;
import com.aetherteam.aether.recipe.BlockStateIngredient;
import com.aetherteam.aether.recipe.builder.*;
import com.aetherteam.aether.recipe.builder.BiomeParameterRecipeBuilder;
import com.aetherteam.nitrogen.recipe.BlockStateIngredient;
import com.aetherteam.nitrogen.recipe.builder.BlockStateRecipeBuilder;
import net.minecraft.data.PackOutput;
import net.minecraft.data.recipes.RecipeProvider;
import net.minecraft.resources.ResourceLocation;
Expand Down
10 changes: 5 additions & 5 deletions src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
modLoader = "javafml"
loaderVersion = "[45,)"
loaderVersion = "[47,)"
license = "Assets: All Rights Reserved; Code: LGPL-3.0"
issueTrackerURL="https://github.com/The-Aether-Team/Enhanced-Extinguishing/issues"

[[mods]]
modId = "aether_enhanced_extinguishing"
version = "${file.jarVersion}"
displayName = "Enhanced Extinguishing"
updateJSONURL="https://github.com/The-Aether-Team/Enhanced-Extinguishing/raw/1.19.4-develop/update.json"
updateJSONURL="https://github.com/The-Aether-Team/Enhanced-Extinguishing/raw/1.20.1-develop/update.json"
displayURL = "https://modrinth.com/mod/aether-enhanced-extinguishing"
logoFile ="enhanced_extinguishing_icon.png"
credits = "The Aether Team"
Expand All @@ -17,18 +17,18 @@ description = '''Improves the consistency of fire being disallowed in the Aether
[[dependencies.aether_enhanced_extinguishing]]
modId = "forge"
mandatory = true
versionRange = "[45.1.0,]"
versionRange = "[47.1.0,]"
ordering = "NONE"
side = "BOTH"
[[dependencies.aether_enhanced_extinguishing]]
modId = "aether"
mandatory = true
versionRange = "[1.19.4-1.0.0-beta.5.1-forge,)"
versionRange = "[1.20.1-1.0.0-beta.1-forge,)"
ordering = "NONE"
side = "BOTH"
[[dependencies.aether_enhanced_extinguishing]]
modId = "minecraft"
mandatory = true
versionRange = "[1.19.4]"
versionRange = "[1.20.1]"
ordering = "NONE"
side = "BOTH"
3 changes: 2 additions & 1 deletion update.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"homepage": "https://modrinth.com/mod/aether-enhanced-extinguishing",
"promos": {
"1.19.4-recommended": "1.19.4-1.0.0-forge"
"1.19.4-recommended": "1.19.4-1.0.0-forge",
"1.20.1-recommended": "1.20.1-1.0.0-forge"
}
}

0 comments on commit c59d559

Please sign in to comment.