update to 1.21

This commit is contained in:
moehreag 2024-06-15 21:24:44 +02:00
parent b0b2555ebf
commit 7f3510f227
3 changed files with 4 additions and 6 deletions

View file

@ -35,7 +35,7 @@ allprojects {
phytotelma {
loader(rootProject.libs.versions.frogloader)
minecraft(rootProject.libs.versions.minecraft)
minecraft(rootProject.libs.versions.minecraft, provider { "1.20.6" }) // since parchment isn't published for 1.21 yet
}
tasks.processResources {
@ -94,8 +94,6 @@ allprojects {
evaluationDependsOnChildren()
// TODO: add testmods of libraries to general client runtime classpath
tasks.runClient {
classpath(sourceSets.test.get().runtimeClasspath)
project.subprojects.filter {

View file

@ -1,7 +1,7 @@
[versions]
minecraft = "1.20.1"
minecraft = "1.21"
frogloader = "0.0.1-SNAPSHOT"
phytotelma = "0.0.1-alpha.6"
phytotelma = "0.0.1-alpha.9"
lombok = "8.6"

View file

@ -9,7 +9,7 @@ import net.minecraft.world.level.block.StainedGlassBlock;
import net.minecraft.world.level.block.state.BlockBehaviour;
public class BlockTestBlocks {
public static final ResourceLocation loc = new ResourceLocation("froglib_block_test", "testblock");
public static final ResourceLocation loc = ResourceLocation.fromNamespaceAndPath("froglib_block_test", "testblock");
public static final Block b = new StainedGlassBlock(DyeColor.MAGENTA, BlockBehaviour.Properties.of());
public static final Item bItem = new BlockItem(b, new Item.Properties());
}