Skip to content

Commit

Permalink
Testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Starexify committed Oct 18, 2024
1 parent 17739c8 commit 9d766fd
Show file tree
Hide file tree
Showing 25 changed files with 376 additions and 291 deletions.
10 changes: 8 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,16 @@ out
build
.gradle

# run
run/*
!run/options.txt

# other
eclipse
run
runs
run-data

repo
repo

# generated/resources
*.cache
5 changes: 1 addition & 4 deletions TEMPLATE_LICENSE.txt → LICENSE
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
MIT License

Copyright (c) 2023 NeoForged project

This license applies to the template files as supplied by github.com/NeoForged/MDK

Copyright (c) 2024 ImVeryBad

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
127 changes: 107 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,114 @@
![Big Swords R Logo](https://github.com/Starexify/BigSwordsR/blob/main/src/main/resources/big_swords_r_logo.png?raw=true)

Installation information
=======
<p align="center">
<a href="https://www.curseforge.com/minecraft/mc-mods/big-swords-r"><img alt="curseforge" height="56" src="https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/curseforge_vector.svg"></a>
<a href="https://modrinth.com/mod/big-swords-rr"><img alt="modrinth" height="56" src="https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/modrinth_vector.svg"></a>
</p>

This template repository can be directly cloned to get you started with a new
mod. Simply create a new repository cloned from this one, by following the
instructions at [github](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template).
<p align="center">
<a href="https://www.curseforge.com/minecraft/mc-mods/big-swords-r"><img alt="CurseForge Downloads" src="https://img.shields.io/curseforge/dt/690473?style=for-the-badge&logo=curseforge&color=96000C"></a>
<a href="https://modrinth.com/mod/big-swords-rr"><img alt="Modrinth Downloads" src="https://img.shields.io/modrinth/dt/uq8RUJSn?style=for-the-badge&logo=modrinth&color=96000C"></a>
</p>

Once you have your clone, simply open the repository in the IDE of your choice. The usual recommendation for an IDE is either IntelliJ IDEA or Eclipse.
<p align="center">
<a href="https://github.com/Starexify/BigSwordsR/wiki"><img alt="Documentation" src="https://img.shields.io/badge/mod%20documentation%20(Wiki)-1?style=for-the-badge&logo=readdotcv&color=96000C"></a>
<a href="https://github.com/Starexify/BigSwordsR/issues"><img alt="GitHub Issues" src="https://img.shields.io/github/issues/Starexify/BigSwordsR?style=for-the-badge&color=96000C"></a>
<a href="https://github.com/Starexify/BigSwordsR/blob/main/LICENSE"><img alt="GitHub License" src="https://img.shields.io/github/license/Starexify/BigSwordsR?style=for-the-badge&color=96000C"></a>
</p>

> **Note**: For Eclipse, use tasks in `Launch Group` instead of ones founds in `Java Application`. A preparation task must run before launching the game. NeoGradle uses launch groups to do these subsequently.

If at any point you are missing libraries in your IDE, or you've run into problems you can
run `gradlew --refresh-dependencies` to refresh the local cache. `gradlew clean` to reset everything
{this does not affect your code} and then start the process again.
<table align="center" style="border-collapse: collapse; margin: 20px auto; width: 80%;">
<tr>
<td align="center" style="border: none; padding: 10px;">
<a href="#%E2%84%B9%EF%B8%8F-about" style="text-decoration: none; color: #00A7E1; font-size: 1.2em; font-weight: bold; transition: color 0.3s ease;">
ℹ️ About
</a>
</td>
<td align="center" style="border: none; padding: 10px;">
<a href="#-features" style="text-decoration: none; color: #FF4F58; font-size: 1.2em; font-weight: bold; transition: color 0.3s ease;">
✨ Features
</a>
</td>
<td align="center" style="border: none; padding: 10px;">
<a href="#%EF%B8%8F-planned-updates" style="text-decoration: none; color: #FF9900; font-size: 1.2em; font-weight: bold; transition: color 0.3s ease;">
🗓️ Planned Updates
</a>
</td>
<td align="center" style="border: none; padding: 10px;">
<a href="#-frequently-asked-questions" style="text-decoration: none; color: #FF0000; font-size: 1.2em; font-weight: bold; transition: color 0.3s ease;">
❓ FAQ
</a>
</td>
<td align="center" style="border: none; padding: 10px;">
<a href="#-license" style="text-decoration: none; color: #00CC44; font-size: 1.2em; font-weight: bold; transition: color 0.3s ease;">
📜 License
</a>
</td>
</tr>
</table>

Mapping Names:
============
By default, the MDK is configured to use the official mapping names from Mojang for methods and fields
in the Minecraft codebase. These names are covered by a specific license. All modders should be aware of this
license. For the latest license text, refer to the mapping file itself, or the reference copy here:
https://github.com/NeoForged/NeoForm/blob/main/Mojang.md
<p align="center">
<strong>
This mod is a spiritual successor to the Asgard Shields mod series, and this is just a hobby project, therefore content may be different from originals.
</strong>
</p>

Additional Resources:
==========
Community Documentation: https://docs.neoforged.net/
NeoForged Discord: https://discord.neoforged.net/
## ℹ️ About

Big Swords R (Remembered or Reboot or Remake, etc.) adds Big Swords in the game, they deal more damage than regular swords but the attack speed is lowered.
The mod also adds two new types of weapons, Glaives and Scythes. And the long awaited SHIELDS, each with one special perk and weakness.


## ✨ Features

<table align="center" style="border-collapse: collapse;">
<tbody>
<tr>
<td style="padding: 10px; text-align: left; border: none;"><strong>🌱 Farming</strong></td>
<td style="padding: 10px; text-align: left; border: none;">New Biomass Seed which grows on Tilled Creep Blocks, only way to gain Biomass</td>
</tr>
<tr>
<td style="padding: 10px; text-align: left; border: none;"><strong>🪨 New Materials</strong></td>
<td style="padding: 10px; text-align: left; border: none;"><strong>Livingmetal</strong> and <strong>Biomass</strong> are two new materials.</td>
</tr>
<tr>
<td style="padding: 10px; text-align: left; border: none;"><strong>⚔️️ Big Swords</strong></td>
<td style="padding: 10px; text-align: left; border: none;">Similar to swords. But <strong>BIGGER</strong>, they deal more damage but have lower attack speed.</td>
</tr>
<tr>
<td style="padding: 10px; text-align: left; border: none;"><strong>⚔️️ Glaives</strong></td>
<td style="padding: 10px; text-align: left; border: none;">New weapons that deal small damage, but are fast and have more range.</td>
</tr>
<tr>
<td style="padding: 10px; text-align: left; border: none;"><strong>⚔️️ Scythes</strong></td>
<td style="padding: 10px; text-align: left; border: none;">New weapons that are similar to hoes but <strong>BETTER</strong>, they hit mobs in a short area.</td>
</tr>
<tr>
<td style="padding: 10px; text-align: left; border: none;"><strong>🛡️ Shields</strong></td>
<td style="padding: 10px; text-align: left; border: none;">New shields that are similar to the minecraft ones but <strong>BETTER</strong>, each having a perk that comes with a weakness.</td>
</tr>
</tbody>
</table>


## 🗓️ Planned Updates

In the upcoming updates I plan to add:

- <!-- Livingmetal? -->


## ❓ Frequently Asked Questions

**Q:** Will you port the mod to Fabric? \
**A:** No.

**Q:** Why? \
**A:** Because I want to bring the good old mods back.

**Q:** Why the new sword textures? \
**A:** Because I find them way cooler than the old textures tbf and better look, but I integrated a 16x resourcepack for those who rather use the 16x textures.

## 📜 License

This mod is licensed under the MIT License, allowing for free use, modification, and distribution, meaning you can use my mod in your modpacks. For more details, please see the full license included with the mod.
11 changes: 9 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
id 'eclipse'
id 'idea'
id 'maven-publish'
id 'net.neoforged.gradle.userdev' version '7.0.145'
id 'net.neoforged.gradle.userdev' version '7.0.165'
}

tasks.named('wrapper', Wrapper).configure {
Expand Down Expand Up @@ -98,6 +98,11 @@ dependencies {
// For all intends and purposes: You can treat this dependency as if it is a normal library you would use.
implementation "net.neoforged:neoforge:${neo_version}"

implementation files("libs/big_swords-${bsr_version}.jar")
implementation files("libs/cosmicore-${cosmicore_version}.jar")

// implementation "net.nova.big_swords:big_swords:${bsr_version}"

// Example optional mod dependency with JEI
// The JEI API is declared for compile time use, while the full JEI artifact is used at runtime
// compileOnly "mezz.jei:jei-${mc_version}-common-api:${jei_version}"
Expand Down Expand Up @@ -137,7 +142,9 @@ tasks.withType(ProcessResources).configureEach {
mod_license : mod_license,
mod_version : mod_version,
mod_authors : mod_authors,
mod_description : mod_description
mod_description : mod_description,
bsr_version : bsr_version,
cosmicore_version : cosmicore_version
]
inputs.properties replaceProperties

Expand Down
29 changes: 12 additions & 17 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,23 @@ minecraft_version=1.21
# as they do not follow standard versioning conventions.
minecraft_version_range=[1.21,1.21.1)
# The Neo version must agree with the Minecraft version to get a valid artifact
neo_version=21.0.167
neo_version=21.1.72
# The Neo version range can use any version of Neo as bounds
neo_version_range=[21.0.0-beta,)
# The loader version range can only use the major version of FML as bounds
loader_version_range=[4,)

## Mod Properties

# The unique mod identifier for the mod. Must be lowercase in English locale. Must fit the regex [a-z][a-z0-9_]{1,63}
# Must match the String constant located in the main mod class annotated with @Mod.
mod_id=examplemod
# The human-readable display name for the mod.
mod_name=Example Mod
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
mod_license=All Rights Reserved
# The mod version. See https://semver.org/
mod_id=big_swords_addon
mod_name=Big Swords R x Cosmicore Add-On
mod_license=MIT
mod_version=1.0.0
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
# This should match the base package used for the mod sources.
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
mod_group_id=com.example.examplemod
# The authors of the mod. This is a simple text string that is used for display purposes in the mod list.
mod_authors=YourNameHere, OtherNameHere
# The description of the mod. This is a simple multiline text string that is used for display purposes in the mod list.
mod_description=Example mod description.\nNewline characters can be used and will be replaced properly.
mod_group_id=net.nova.big_swords_addon
mod_authors=ImVeryBad, Foxirion
mod_description=Big Swords R x Cosmicore compatibility mod which adds the big swords, glaives, scythes using Cosmicore's materials

## Dependencies

bsr_version=4.0.0
cosmicore_version=1.1.0-beta
Binary file added libs/big_swords-4.0.0.jar
Binary file not shown.
Binary file added libs/cosmicore-1.1.0-beta.jar
Binary file not shown.
137 changes: 137 additions & 0 deletions run/options.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
version:3465
autoJump:false
operatorItemsTab:false
autoSuggestions:true
chatColors:true
chatLinks:true
chatLinksPrompt:true
enableVsync:true
entityShadows:true
forceUnicodeFont:false
discrete_mouse_scroll:false
invertYMouse:false
realmsNotifications:true
reducedDebugInfo:false
showSubtitles:false
directionalAudio:false
touchscreen:false
fullscreen:false
bobView:true
toggleCrouch:false
toggleSprint:true
darkMojangStudiosBackground:true
hideLightningFlashes:false
mouseSensitivity:0.5
fov:0.0
screenEffectScale:1.0
fovEffectScale:1.0
darknessEffectScale:1.0
glintSpeed:0.5
glintStrength:0.75
damageTiltStrength:1.0
highContrast:false
gamma:0.5
renderDistance:12
simulationDistance:12
entityDistanceScaling:1.0
guiScale:2
particles:0
maxFps:260
graphicsMode:1
ao:true
prioritizeChunkUpdates:0
biomeBlendRadius:2
renderClouds:"true"
resourcePacks:["vanilla","mod_resources"]
incompatibleResourcePacks:[]
lastServer:
lang:en_us
soundDevice:""
chatVisibility:0
chatOpacity:1.0
chatLineSpacing:0.0
textBackgroundOpacity:0.5
backgroundForChatOnly:true
hideServerAddress:false
advancedItemTooltips:true
pauseOnLostFocus:true
overrideWidth:0
overrideHeight:0
chatHeightFocused:1.0
chatDelay:0.0
chatHeightUnfocused:0.4375
chatScale:1.0
chatWidth:1.0
notificationDisplayTime:1.0
mipmapLevels:4
useNativeTransport:true
mainHand:"right"
attackIndicator:1
narrator:0
tutorialStep:none
mouseWheelSensitivity:1.0
rawMouseInput:true
glDebugVerbosity:1
skipMultiplayerWarning:false
skipRealms32bitWarning:false
hideMatchedNames:true
joinedFirstServer:false
hideBundleTutorial:false
syncChunkWrites:true
showAutosaveIndicator:true
allowServerListing:true
onlyShowSecureChat:false
panoramaScrollSpeed:1.0
telemetryOptInExtra:false
onboardAccessibility:false
key_key.attack:key.mouse.left
key_key.use:key.mouse.right
key_key.forward:key.keyboard.w
key_key.left:key.keyboard.a
key_key.back:key.keyboard.s
key_key.right:key.keyboard.d
key_key.jump:key.keyboard.space
key_key.sneak:key.keyboard.left.shift
key_key.sprint:key.keyboard.left.control
key_key.drop:key.keyboard.q
key_key.inventory:key.keyboard.e
key_key.chat:key.keyboard.enter
key_key.playerlist:key.keyboard.tab
key_key.pickItem:key.mouse.middle
key_key.command:key.keyboard.slash
key_key.socialInteractions:key.keyboard.p
key_key.screenshot:key.keyboard.f2
key_key.togglePerspective:key.keyboard.f5
key_key.smoothCamera:key.keyboard.unknown
key_key.fullscreen:key.keyboard.f11
key_key.spectatorOutlines:key.keyboard.unknown
key_key.swapOffhand:key.keyboard.f
key_key.saveToolbarActivator:key.keyboard.c
key_key.loadToolbarActivator:key.keyboard.x
key_key.advancements:key.keyboard.l
key_key.hotbar.1:key.keyboard.1
key_key.hotbar.2:key.keyboard.2
key_key.hotbar.3:key.keyboard.3
key_key.hotbar.4:key.keyboard.4
key_key.hotbar.5:key.keyboard.5
key_key.hotbar.6:key.keyboard.6
key_key.hotbar.7:key.keyboard.7
key_key.hotbar.8:key.keyboard.8
key_key.hotbar.9:key.keyboard.9
soundCategory_master:1.0
soundCategory_music:0.0
soundCategory_record:1.0
soundCategory_weather:1.0
soundCategory_block:1.0
soundCategory_hostile:1.0
soundCategory_neutral:1.0
soundCategory_player:1.0
soundCategory_ambient:1.0
soundCategory_voice:1.0
modelPart_cape:true
modelPart_jacket:true
modelPart_left_sleeve:true
modelPart_right_sleeve:true
modelPart_left_pants_leg:true
modelPart_right_pants_leg:true
modelPart_hat:true
Loading

0 comments on commit 9d766fd

Please sign in to comment.