Skip to content

Commit ac843ea

Browse files
committed
Release 1.0.0
1 parent 2011772 commit ac843ea

File tree

7 files changed

+110
-18
lines changed

7 files changed

+110
-18
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: Bug report
3+
about: Create a bug report for Toad Terror
4+
5+
---
6+
7+
**Describe the bug**
8+
A clear and concise description of what the bug is.
9+
10+
**To Reproduce**
11+
Steps to reproduce the behavior:
12+
1. Spawn '...'
13+
2. Click on '....'
14+
3. See error
15+
16+
**Log output/error (if present)**
17+
Get your minecraft log and paste it here.
18+
19+
**Expected behavior**
20+
A clear and concise description of what you expected to happen.
21+
22+
**Screenshots**
23+
If applicable, add screenshots to help explain your problem.
24+
25+
**Versions:**
26+
- Minecraft Version:
27+
- Forge Version:
28+
- Mod Version:
29+
30+
**Additional context**
31+
Add any other context about the problem here.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: Crash report
3+
about: Create a crash report for Toad Terror
4+
5+
---
6+
7+
**Describe what you were doing before the crash**
8+
[eg. Loading game, creating world, spawning a certain mob, hurting a mob, walking around]
9+
10+
**To Reproduce**
11+
Steps to reproduce the behavior (if possible):
12+
1. Spawn '...'
13+
2. Click on '....'
14+
3. See error
15+
16+
**Crash Log (REQUIRED)**
17+
Get your minecraft crash log and paste it here.
18+
19+
**Versions:**
20+
- Minecraft Version:
21+
- Forge Version:
22+
- Mod Version:
23+
24+
**Additional context**
25+
Add any other context about the problem here.

.github/workflows/gradle-releases.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,11 @@ jobs:
1717
- name: "Build with Gradle"
1818
id: build
1919
env:
20+
MAVEN_PASSWORD: "${{secrets.MAVEN_PASSWORD}}"
21+
MAVEN_URL: "${{secrets.MAVEN_URL}}"
22+
MAVEN_USER: "${{secrets.MAVEN_USER}}"
2023
USE_ALPHAS: false
21-
run: "./gradlew setupGithubActions build"
24+
run: "./gradlew setupGithubActions build publish"
2225
- name: "Create a Release"
2326
id: create_release
2427
uses: meeDamian/[email protected]
@@ -32,7 +35,8 @@ jobs:
3235
- name: "CF upload"
3336
uses: itsmeow/curseforge-upload@master
3437
with:
35-
changelog: "Changelog not added yet..."
38+
changelog: "No changes"
39+
changelog_type: "html"
3640
display_name: "${{ steps.build.outputs.curse_title }}"
3741
file_path: "build/libs/${{ steps.build.outputs.modid }}-${{ steps.build.outputs.version }}.jar"
3842
game_endpoint: minecraft

README.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Toad Terror
2+
3+
Welcome to **[Toad Terror](https://www.curseforge.com/minecraft/mc-mods/toad-terror)**, a mod adding toad-themed content! Currently adding one boss, as well as the boss's spawning structure, and a toad pet dropped from the boss!
4+
5+
This mod **requires** [Curios](https://www.curseforge.com/minecraft/mc-mods/curios) to be installed to run!
6+
7+
# Content
8+
9+
## Toad Sentinel
10+
11+
- This miniboss spawns in a new structure, the Sacred Ruins.
12+
- Has quite a bit of health and some engaging attacks
13+
- Has four attacks
14+
- Starts to crack as it loses health
15+
- Drops a special item, used to summon a new companion.
16+
17+
## Sacred Ruins
18+
19+
- Spawns in Swamp biomes
20+
- Made of new sacred stone brick blocks
21+
- Home of the Toad Sentinel
22+
23+
## Toad Protector + Toad Eye
24+
25+
- Drops from Toad Sentinel
26+
- Place Toad Eye in Curios slot to spawn (press G)
27+
- Attacks things for you
28+
- Remove from slot to despawn back into item
29+
- If it dies, can repair Broken Toad Eye with 9 emeralds or emerald block in anvil
30+
31+
32+
# Credits
33+
34+
Coda1552 - Project Leader, Art
35+
36+
itsmeow - Programming
37+
38+
Proddy - Art

build.gradle

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ apply plugin: 'eclipse'
1919
version = "${project.mc_version}-${project.mod_version}"
2020
group = "${project.maven_group}"
2121
archivesBaseName = "${project.mod_id}"
22-
def at_name = project.hasProperty('at_name') ? "${project.at_name}" : ""
2322
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8'
2423
tasks.withType(JavaCompile) {
2524
options.encoding = 'UTF-8'
@@ -36,15 +35,8 @@ repositories {
3635
url = "https://maven.theillusivec4.top/"
3736
}
3837
}
39-
dependencies {
40-
runtimeOnly fg.deobf("top.theillusivec4.curios:curios:FORGE-${curios_version}")
41-
compileOnly fg.deobf("top.theillusivec4.curios:curios:FORGE-${curios_version}:api")
42-
}
4338
minecraft {
4439
mappings channel: project.mappings_channel, version: "${project.mappings_version}-${project.mappings_mc_version}"
45-
if (project.hasProperty('at_file')) {
46-
accessTransformer = file("src/main/resources/META-INF/${at_file}.cfg")
47-
}
4840
runs {
4941
client {
5042
workingDirectory project.file('run')
@@ -60,6 +52,8 @@ minecraft {
6052
}
6153
dependencies {
6254
minecraft "net.minecraftforge:forge:${project.mc_version}-${project.forge_version}"
55+
runtimeOnly fg.deobf("top.theillusivec4.curios:curios:FORGE-${curios_version}")
56+
compileOnly fg.deobf("top.theillusivec4.curios:curios:FORGE-${curios_version}:api")
6357
}
6458
jar {
6559
manifest {
@@ -96,6 +90,7 @@ task sourceJar(type: Jar, dependsOn: classes) {
9690
)
9791
}
9892
}
93+
apply from: 'https://maven.itsmeow.dev/scripts/maven.gradle'
9994
import groovy.json.JsonSlurper
10095
import groovy.json.JsonOutput
10196
processResources {

src/main/java/dev/itsmeow/toadterror/block/BlockSetContainer.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
package dev.itsmeow.toadterror.block;
22

3+
import dev.itsmeow.toadterror.ToadTerror;
34
import dev.itsmeow.toadterror.item.ModBlockItem;
45
import net.minecraft.block.Block;
56
import net.minecraft.item.BlockItem;
67
import net.minecraft.item.Item;
7-
import net.minecraft.item.ItemGroup;
88

99
public class BlockSetContainer {
1010

@@ -22,11 +22,11 @@ public BlockSetContainer(String baseName, Block.Properties baseProps) {
2222
this.stairs = new ModStairs(baseName + "_stairs", baseProps, brick::getDefaultState);
2323
this.slab = new ModSlab(baseName + "_slab", baseProps);
2424
this.wall = new ModWall(baseName + "_wall", baseProps);
25-
Item.Properties bb = new Item.Properties().group(ItemGroup.BUILDING_BLOCKS);
26-
this.brick_item = new ModBlockItem(brick, bb);
27-
this.stairs_item = new ModBlockItem(stairs, bb);
28-
this.slab_item = new ModBlockItem(slab, bb);
29-
this.wall_item = new ModBlockItem(wall, bb);
25+
Item.Properties prop = new Item.Properties().group(ToadTerror.ITEM_GROUP);
26+
this.brick_item = new ModBlockItem(brick, prop);
27+
this.stairs_item = new ModBlockItem(stairs, prop);
28+
this.slab_item = new ModBlockItem(slab, prop);
29+
this.wall_item = new ModBlockItem(wall, prop);
3030
}
3131

3232
public Block[] getAll() {

src/main/java/dev/itsmeow/toadterror/init/ModItems.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,14 @@
33
import dev.itsmeow.toadterror.item.ModItem;
44
import dev.itsmeow.toadterror.item.ToadEyeItem;
55
import net.minecraft.item.Foods;
6-
import net.minecraft.item.ItemGroup;
76
import net.minecraft.item.ItemStack;
87

98
public class ModItems {
109

1110
public static final ModItem TOAD_EYE = new ToadEyeItem("toad_eye", false);
1211
public static final ModItem EMPTY_TOAD_EYE = new ToadEyeItem("empty_toad_eye", true);
1312
public static final ModItem BROKEN_TOAD_EYE = new ToadEyeItem("broken_toad_eye", true);
14-
public static final ModItem TOAD_CHOPS = new ModItem("toad_chops", p -> p.food(Foods.COOKED_BEEF).group(ItemGroup.FOOD)) {
13+
public static final ModItem TOAD_CHOPS = new ModItem("toad_chops", p -> p.food(Foods.COOKED_BEEF)) {
1514
@Override
1615
public int getUseDuration(ItemStack stack) {
1716
return 32;

0 commit comments

Comments
 (0)