From b6302ecf15601389efd339c3b95542e3e84498df Mon Sep 17 00:00:00 2001 From: Sollace Date: Mon, 22 Feb 2021 21:56:06 +0200 Subject: [PATCH] 1.16.4 -> 1.16.5 --- build.gradle | 2 +- gradle.properties | 8 ++++---- .../minelittlepony/unicopia/item/CrystalHeartItem.java | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index b5e7b36f..9ab6c79b 100644 --- a/build.gradle +++ b/build.gradle @@ -28,7 +28,7 @@ allprojects { dependencies { minecraft "com.mojang:minecraft:${project.minecraft_version}" - mappings "net.fabricmc:yarn:${project.yarn_mappings}" + mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2" modApi "net.fabricmc:fabric-loader:${project.loader_version}" compileOnly "com.google.code.findbugs:jsr305:3.0.2" diff --git a/gradle.properties b/gradle.properties index 96cbb35d..b89ec137 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,10 +3,10 @@ org.gradle.daemon=false # Fabric Properties # check these on https://modmuss50.me/fabric.html - minecraft_version=1.16.4 - yarn_mappings=1.16.4+build.6 - loader_version=0.10.6+build.214 - fabric_version=0.30.0+1.16 + minecraft_version=1.16.5 + yarn_mappings=1.16.5+build.4 + loader_version=0.11.1 + fabric_version=0.30.3+1.16 # Mod Properties group=com.minelittlepony diff --git a/src/main/java/com/minelittlepony/unicopia/item/CrystalHeartItem.java b/src/main/java/com/minelittlepony/unicopia/item/CrystalHeartItem.java index 6e9c4c50..038b4d8d 100644 --- a/src/main/java/com/minelittlepony/unicopia/item/CrystalHeartItem.java +++ b/src/main/java/com/minelittlepony/unicopia/item/CrystalHeartItem.java @@ -50,7 +50,7 @@ public class CrystalHeartItem extends Item implements FloatingArtefactEntity.Art World world = context.getWorld(); BlockPos blockPos = new ItemPlacementContext(context).getBlockPos(); - Box placementArea = UEntities.FLOATING_ARTEFACT.getDimensions().method_30757(Vec3d.ofBottomCenter(blockPos)); + Box placementArea = UEntities.FLOATING_ARTEFACT.getDimensions().getBoxAt(Vec3d.ofBottomCenter(blockPos)); if (!world.isSpaceEmpty(null, placementArea, (entity) -> !(entity instanceof ItemEntity)) || !world.getOtherEntities(null, placementArea).stream().noneMatch(e -> !(e instanceof ItemEntity))) {