Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrbysco committed Nov 28, 2023
0 parents commit 1c49683
Show file tree
Hide file tree
Showing 120 changed files with 3,003 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Disable autocrlf on generated files, they always generate with LF
# Add any extra files or paths here to make git stop saying they
# are changed when only line endings change.
src/generated/**/.cache/cache text eol=lf
src/generated/**/*.json text eol=lf
4 changes: 4 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# These are supported funding model platforms

github: [mrbysco]
patreon: mrbysco
71 changes: 71 additions & 0 deletions .github/ISSUE_TEMPLATE/BUG_REPORT.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: 🐛 Bug / Crash Report
description: File a bug / crash report
title: "[Bug]: "
labels: [bug, crash]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: checkboxes
id: general-info
attributes:
label: General Info
description: You may select more than one.
options:
- label: I am running a modpack
- label: I can reproduce this issue consistently in single-player
- label: I can reproduce this issue consistently in multi-player
- label: I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I am having the same problem.
required: true
- label: I am crashing and can provide my crash report(s)
- label: I am using the latest version of the mod
- type: input
id: forge-info
attributes:
label: Forge version
placeholder: ex. 36.2.0
description: Please be as specific as possible, latest is not a valid version
validations:
required: true
- type: input
id: minecraft-info
attributes:
label: Minecraft version
placeholder: ex. 1.16.5
description: Please be as specific as possible, latest is not a valid version
validations:
required: true
- type: input
id: mod-info
attributes:
label: Mod version
placeholder: ex. 0.0.1
description: Please be as specific as possible, latest is not a valid version
validations:
required: true
- type: input
id: java-info
attributes:
label: Java version
placeholder: ex. Java 8 update 51
description: Please be as specific as possible, latest is not a valid version
validations:
required: true
- type: textarea
id: issue-description
attributes:
label: Issue Description
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
value: "A bug happened!"
validations:
required: true
- type: textarea
id: logs
attributes:
label: Additional Information
description: Please post any crash reports, screenshots, etc. here. (use Pastebin or Imgur accordingly)
placeholder: Please put crash reports onto pastebin
validations:
required: false
28 changes: 28 additions & 0 deletions .github/ISSUE_TEMPLATE/FEATURE_REQUEST.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: 💡 Suggestions
description: For suggesting changes / additions
title: "[Suggestion]: "
labels: [suggestion, enhancement]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out the feature request!
- type: checkboxes
id: general-info
attributes:
label: General Info
description: You may select more than one.
options:
- label: I would like to propose new content
- label: I would like to propose changes
- label: I would like to propose another thing
validations:
required: false
- type: textarea
id: suggestion-description
attributes:
label: Suggestion Description
description: Tell us your suggestion
placeholder: I want this to happen
validations:
required: true
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
38 changes: 38 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build and Maven

on: [push, workflow_dispatch]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
cache: 'gradle'
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Build with Gradle
run: ./gradlew build
- uses: actions/upload-artifact@v3
with:
name: Artifact
path: ./build/libs/*.jar
- name: Publish To Curseforge
if: contains(github.event.head_commit.message, '[publish]') || contains(github.event.head_commit.message, '[curseforge]')
env:
CURSEFORGE_KEY: ${{ secrets.CURSEFORGE_KEY }}
run: ./gradlew curseforge --stacktrace
- name: Publish To Modrinth
if: contains(github.event.head_commit.message, '[publish]') || contains(github.event.head_commit.message, '[modrinth]')
env:
MODRINTH_KEY: ${{ secrets.MODRINTH_KEY }}
run: ./gradlew modrinth --stacktrace
- name: Publish to maven
if: contains(github.event.head_commit.message, '[push]') || contains(github.event.head_commit.message, '[build]')
env:
SAP_SECRET: ${{ secrets.SAP_SECRET }}
run: ./gradlew publish
22 changes: 22 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# eclipse
bin
*.launch
.settings
.metadata
.classpath
.project

# idea
out
*.ipr
*.iws
*.iml
.idea

# gradle
build
.gradle

# other
eclipse
run
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2023 Mrbysco

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[![build](https://github.com/Mrbysco/BookEater/actions/workflows/build.yml/badge.svg)](https://github.com/Mrbysco/BookEater/actions/workflows/build.yml)
[![](http://cf.way2muchnoise.eu/versions/714786.svg)](https://www.curseforge.com/minecraft/mc-mods/book-eater)

# Book Eater #

## About ##
"Book Eater is a mod that allows players to consume Enchantment books and gain unique potion effects based on the enchantments contained within. With this mod, players can enhance their abilities and gain new abilities by consuming enchanted books. Whether you want to increase your speed, strength, or luck, Book Eater has something for everyone. So come and feast on the magical knowledge contained within enchanted books and become a true master of the game!"

## License ##
* Book Eater is licensed under the MIT License
- (c) 2023 Mrbysco, ShyNieke
- [![License](https://img.shields.io/badge/License-MIT-red.svg?style=flat)](http://opensource.org/licenses/MIT)

## Downloads ##
Downloads will be located on [CurseForge](https://www.curseforge.com/minecraft/mc-mods/book-eater)
Loading

0 comments on commit 1c49683

Please sign in to comment.