mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 07:17:58 +01:00
1.16.4 -> 1.16.5
This commit is contained in:
parent
ad74e50e35
commit
b6302ecf15
3 changed files with 6 additions and 6 deletions
|
@ -28,7 +28,7 @@ allprojects {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
minecraft "com.mojang:minecraft:${project.minecraft_version}"
|
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}"
|
modApi "net.fabricmc:fabric-loader:${project.loader_version}"
|
||||||
|
|
||||||
compileOnly "com.google.code.findbugs:jsr305:3.0.2"
|
compileOnly "com.google.code.findbugs:jsr305:3.0.2"
|
||||||
|
|
|
@ -3,10 +3,10 @@ org.gradle.daemon=false
|
||||||
|
|
||||||
# Fabric Properties
|
# Fabric Properties
|
||||||
# check these on https://modmuss50.me/fabric.html
|
# check these on https://modmuss50.me/fabric.html
|
||||||
minecraft_version=1.16.4
|
minecraft_version=1.16.5
|
||||||
yarn_mappings=1.16.4+build.6
|
yarn_mappings=1.16.5+build.4
|
||||||
loader_version=0.10.6+build.214
|
loader_version=0.11.1
|
||||||
fabric_version=0.30.0+1.16
|
fabric_version=0.30.3+1.16
|
||||||
|
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
group=com.minelittlepony
|
group=com.minelittlepony
|
||||||
|
|
|
@ -50,7 +50,7 @@ public class CrystalHeartItem extends Item implements FloatingArtefactEntity.Art
|
||||||
World world = context.getWorld();
|
World world = context.getWorld();
|
||||||
BlockPos blockPos = new ItemPlacementContext(context).getBlockPos();
|
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))
|
if (!world.isSpaceEmpty(null, placementArea, (entity) -> !(entity instanceof ItemEntity))
|
||||||
|| !world.getOtherEntities(null, placementArea).stream().noneMatch(e -> !(e instanceof ItemEntity))) {
|
|| !world.getOtherEntities(null, placementArea).stream().noneMatch(e -> !(e instanceof ItemEntity))) {
|
||||||
|
|
Loading…
Reference in a new issue