update to 1.21
This commit is contained in:
parent
b0b2555ebf
commit
7f3510f227
|
@ -35,7 +35,7 @@ allprojects {
|
||||||
|
|
||||||
phytotelma {
|
phytotelma {
|
||||||
loader(rootProject.libs.versions.frogloader)
|
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 {
|
tasks.processResources {
|
||||||
|
@ -94,8 +94,6 @@ allprojects {
|
||||||
|
|
||||||
evaluationDependsOnChildren()
|
evaluationDependsOnChildren()
|
||||||
|
|
||||||
// TODO: add testmods of libraries to general client runtime classpath
|
|
||||||
|
|
||||||
tasks.runClient {
|
tasks.runClient {
|
||||||
classpath(sourceSets.test.get().runtimeClasspath)
|
classpath(sourceSets.test.get().runtimeClasspath)
|
||||||
project.subprojects.filter {
|
project.subprojects.filter {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[versions]
|
[versions]
|
||||||
|
|
||||||
minecraft = "1.20.1"
|
minecraft = "1.21"
|
||||||
frogloader = "0.0.1-SNAPSHOT"
|
frogloader = "0.0.1-SNAPSHOT"
|
||||||
phytotelma = "0.0.1-alpha.6"
|
phytotelma = "0.0.1-alpha.9"
|
||||||
lombok = "8.6"
|
lombok = "8.6"
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ import net.minecraft.world.level.block.StainedGlassBlock;
|
||||||
import net.minecraft.world.level.block.state.BlockBehaviour;
|
import net.minecraft.world.level.block.state.BlockBehaviour;
|
||||||
|
|
||||||
public class BlockTestBlocks {
|
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 Block b = new StainedGlassBlock(DyeColor.MAGENTA, BlockBehaviour.Properties.of());
|
||||||
public static final Item bItem = new BlockItem(b, new Item.Properties());
|
public static final Item bItem = new BlockItem(b, new Item.Properties());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue