Skip to content

Commit

Permalink
Update minigame to Minecraft 1.20.4
Browse files Browse the repository at this point in the history
  • Loading branch information
haykam821 committed Jul 8, 2024
1 parent aac127a commit 06facb3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
11 changes: 7 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
plugins {
id "fabric-loom" version "1.4.4"
id "fabric-loom" version "1.7.2"
id "maven-publish"
}

sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17

archivesBaseName = project.archives_base_name
version = project.mod_version
group = project.maven_group
Expand Down Expand Up @@ -42,7 +39,13 @@ processResources {
}
}

java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

tasks.withType(JavaCompile) {
options.release = 17
options.encoding = "UTF-8"
}

Expand Down
10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ mod_version = 1.0.0
org.gradle.jvmargs = -Xmx1G

# Versions
minecraft_version = 1.20.1
yarn_mappings = 1.20.1+build.10
loader_version = 0.14.24
fabric_version = 0.90.7+1.20.1
minecraft_version = 1.20.4
yarn_mappings = 1.20.4+build.3
loader_version = 0.15.11
fabric_version = 0.97.1+1.20.4

plasmid_version = 0.5.100+1.20.1
plasmid_version = 0.5.102-SNAPSHOT+1.20.4
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
import eu.pb4.polymer.core.api.entity.PolymerEntityUtils;
import io.github.haykam821.volleyball.Volleyball;
import net.fabricmc.fabric.api.object.builder.v1.entity.FabricDefaultAttributeRegistry;
import net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder;
import net.minecraft.entity.EntityDimensions;
import net.minecraft.entity.EntityType;
import net.minecraft.entity.LivingEntity;
import net.minecraft.entity.SpawnGroup;
Expand All @@ -14,8 +12,8 @@

public final class VolleyballEntityTypes {
private static final Identifier BALL_ID = new Identifier(Volleyball.MOD_ID, "ball");
public static final EntityType<BallEntity> BALL = FabricEntityTypeBuilder.<BallEntity>create(SpawnGroup.MISC, BallEntity::new)
.dimensions(EntityDimensions.changing(8 / 16f, 8 / 16f))
public static final EntityType<BallEntity> BALL = EntityType.Builder.<BallEntity>create(BallEntity::new, SpawnGroup.MISC)
.setDimensions(8 / 16f, 8 / 16f)
.build();

private VolleyballEntityTypes() {
Expand Down

0 comments on commit 06facb3

Please sign in to comment.