Skip to content

Commit

Permalink
Update to 1.21.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Wetterquarz committed Jan 31, 2025
1 parent 25de0f7 commit 007cb65
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ org.gradle.parallel=true

# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.21.3
yarn_mappings=1.21.3+build.2
loader_version=0.16.9
minecraft_version=1.21.4
yarn_mappings=1.21.4+build.8
loader_version=0.16.10

# Mod Properties
mod_version=1.1.0
maven_group=com.kevinsundqvistnorlen
archives_base_name=rubi

# Dependencies
fabric_version=0.110.0+1.21.3
minecraft_range=>=1.21.2 <=1.21.3
fabric_version=0.115.1+1.21.4
minecraft_range=1.21.4
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ public abstract class MixinStyle implements IRubyStyle {
TextColor color;
@Final
@Shadow
Integer shadowColor;
@Final
@Shadow
Boolean bold;
@Final
@Shadow
Expand Down Expand Up @@ -56,6 +59,7 @@ public abstract class MixinStyle implements IRubyStyle {
@Invoker("<init>")
private static Style invokeConstructor(
@Nullable TextColor color,
@Nullable Integer shadowColor,
@Nullable Boolean bold,
@Nullable Boolean italic,
@Nullable Boolean underlined,
Expand All @@ -70,6 +74,7 @@ private static Style invokeConstructor(
@Shadow
private static Style of(
Optional<TextColor> color,
Optional<Integer> shadowColor,
Optional<Boolean> bold,
Optional<Boolean> italic,
Optional<Boolean> underlined,
Expand All @@ -86,6 +91,7 @@ public Style withRuby(String word, String ruby) {
var newRuby = new RubyText(word, ruby);
var result = invokeConstructor(
this.color,
this.shadowColor,
this.bold,
this.italic,
this.underlined,
Expand All @@ -109,6 +115,7 @@ public Style withRuby(String word, String ruby) {
public Style removeRuby() {
return of(
Optional.ofNullable(this.color),
Optional.ofNullable(this.shadowColor),
Optional.ofNullable(this.bold),
Optional.ofNullable(this.italic),
Optional.ofNullable(this.underlined),
Expand Down

0 comments on commit 007cb65

Please sign in to comment.