Skip to content

Commit

Permalink
Update to 1.21.3
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankTCA committed Dec 14, 2024
1 parent 579114f commit a5204f7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group = 'org.infotoast'
version = '5.0'
version = '5.1'

repositories {
mavenCentral()
Expand All @@ -24,8 +24,8 @@ repositories {
}

dependencies {
compileOnly 'io.papermc.paper:paper-api:1.21.1-R0.1-SNAPSHOT'
implementation 'de.tr7zw:item-nbt-api:2.13.2'
compileOnly 'io.papermc.paper:paper-api:1.21.3-R0.1-SNAPSHOT'
implementation 'de.tr7zw:item-nbt-api:2.14.0'
}

def targetJavaVersion = 21
Expand Down Expand Up @@ -56,7 +56,7 @@ processResources {

tasks {
runServer {
minecraftVersion("1.21.1")
minecraftVersion("1.21.3")
}
}

Expand Down
22 changes: 11 additions & 11 deletions src/main/java/org/infotoast/lorax/Populator.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,25 +59,25 @@ private void spawnTree(WorldImproved world, Vector3 v3, int treeType) {
private void doBiome(WorldImproved world, Random random, int x, int z, LimitedRegion chunk) {
List<Biome> biomesToTransform = world.getBiome(chunk, x, z, okMats);
for (int i = 0; i < biomesToTransform.size(); i++) {
switch (biomesToTransform.get(i)) {
case BIRCH_FOREST:
case OLD_GROWTH_BIRCH_FOREST:
switch (biomesToTransform.get(i).translationKey()) {
case "biome.minecraft.birch_forest":
case "biome.minecraft.old_growth_birch_forest":
doBirch(world, random, x, z, chunk);
break;
case FOREST:
case FLOWER_FOREST:
case "biome.minecraft.forest":
case "biome.minecraft.flower_forest":
doOak(world, random, x, z, chunk);
break;
case TAIGA:
case GROVE:
case SNOWY_TAIGA:
case "biome.minecraft.taiga":
case "biome.minecraft.grove":
case "biome.minecraft.snowy_taiga":
doSpruce(world, random, x, z, chunk);
break;
case SAVANNA:
case SAVANNA_PLATEAU:
case "biome.minecraft.savanna":
case "biome.minecraft.savanna_plateau":
doAcacia(world, random, x, z, chunk);
break;
case DARK_FOREST:
case "biome.minecraft.dark_forest":
doDarkOak(world, random, x, z, chunk);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Lorax
version: '${version}'
main: org.infotoast.lorax.Lorax
api-version: 1.20
api-version: 1.21
prefix: Lorax
load: STARTUP
authors: [ Frank, CoolScreenName ]
Expand Down

0 comments on commit a5204f7

Please sign in to comment.