-
Notifications
You must be signed in to change notification settings - Fork 5
Update gradle properties, build, & wrapper [Cobblemon challenge 1.5 1.20.1 fabric] #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
SomeGuyEight
wants to merge
16
commits into
TurtleHoarder:cobblemon_challenge_1.5_1.20.1_fabric
Choose a base branch
from
SomeGuyEight:cobblemon_challenge_1.5_1.20.1_fabric
base: cobblemon_challenge_1.5_1.20.1_fabric
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ChallengeCommand: - Refactored ChallengeRequest record with min/max level & handicap - Refactored ChallengeCommand.register to have 12 versions (TODO: Refactor to be more flexible & concise) - Refactored ChallengeCommand.challengePlayer to include min/max level & handicap - Added check in ChallengeCommand.challengePlayer to clamp minLevel to maxLevel - Refactored notification format in ChallengeCommand.challengePlayer to display level range & handicap to challengedPlayer ChallengeUtil: - Refactored ChallengeUtil.createChallengeRequest to intake min/maxLevel & handicap - Added method ChallengeUtil.getBattlePokemonAdjustedLevel to handle each individual pokemon level according to min/maxLevel, handicap, & clamp to (1,100) LeadPokemonSelectionSession: - Refactored LeadPokemonSelectionSession.beginBattle to use min/maxLevel & handicap to pokemon LeadPokemonMenuProvider: - Refactored LeadPokemonMenuProvider.setupPokemonRepresentation to apply min/maxLevel & handicap to pokemon ChallengeBattleBuilder: - Refactored ChallengeBattleBuilder.lvlxpvp to intake & pass min/maxLevel & handicap to ChallengeBattleBuilder.createBattleTeamFromParty - Refactored ChallengeBattleBuilder.createBattleTeamFromParty to apply min/maxLevel & handicap to pokemon
…to cobblemon_challenge_1.5_1.20.1_fabric
build.gradle: plugins: - updated fabric-loom version -> 1.6-snapshot - updated kotlin.jvm version -> 2.0.0 dependencies: - added modImplementation for kotlin -> "net.fabricmc:fabric-language-kotlin:1.11.0+kotlin.2.0.0" gradle.properties: - updated -> loader_version=0.15.11 - updated -> fabric_version=0.92.2+1.20.1 - updated -> cloth_config_version=11.1.118 gradle-wrapper.properties: - updated gradle to 8.7-> distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
Refactor -> Reformat of ChallengeCommand min/maxLevel & handicap inputs
Contributor
Author
…tore & FakeStorePosition without casting. - Note: This should work unless some of the functions need to be called in the FakeStore. - Possible refinement: We could trim out the playerUUID completely if it does not matter. The FakePlayerStore has a default value, but I am passing in the playerUUID if one is found b/c that is how the first iteration did it. I tested this with some basic battles including disconnecting & didn't run into any problems
- Added files for mixins & 'Universal Difficulty' config - Extracted ChallengeProperties to class
- current functionality is limited to: 1. Generating a seeded single elimination bracket (no player limit, just your ram ;p ) 2. Fill fake players organized appropriately based on their seed 3. Initialize & fill all the rounds & matches with players for the entire tournament 4. Update all the matches status 5. Assign rounds, matches, & tournament with a UUID for storage & queries with the tournament
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Update gradle properties, build, & wrapper:
build.gradle:
plugins:
dependencies:
gradle.properties:
gradle-wrapper.properties:
Refactor -> extracted ChallengeRequest & LeadPokemonSelection
Refactor -> Reformat of ChallengeCommand min/maxLevel & handicap inputs
Refactor -> Added Bool DEFAULT_SHOW_PREVIEW & implemented with all ChallengeCommand
Fix - switched class from boolean -> Boolean
Updated README to accurately reflect the new commands & parameters