From d6ca95183872b0323963084c265450717ab52a5f Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sun, 14 Jul 2024 15:45:56 -0700 Subject: [PATCH] Remove LibBlockAttributes --- build.gradle | 6 +++--- .../net/shadowfacts/phycon/api/PhyAttributes.java | 13 ------------- .../net/shadowfacts/phycon/util/NetworkUtil.kt | 2 ++ 3 files changed, 5 insertions(+), 16 deletions(-) delete mode 100644 src/main/java/net/shadowfacts/phycon/api/PhyAttributes.java diff --git a/build.gradle b/build.gradle index e359fe0..5291307 100644 --- a/build.gradle +++ b/build.gradle @@ -79,9 +79,9 @@ repositories { dependencies { // PSA: Some older mods, compiled on Loom 0.2.1, might have outdated Maven POMs. // You may need to force-disable transitiveness on them. - modImplementation "alexiil.mc.lib:libblockattributes-all:${project.libblockattributes_version}" - include "alexiil.mc.lib:libblockattributes-core:${project.libblockattributes_version}" - include "alexiil.mc.lib:libblockattributes-items:${project.libblockattributes_version}" +// modImplementation "alexiil.mc.lib:libblockattributes-all:${project.libblockattributes_version}" +// include "alexiil.mc.lib:libblockattributes-core:${project.libblockattributes_version}" +// include "alexiil.mc.lib:libblockattributes-items:${project.libblockattributes_version}" implementation project(":kiwi-java") include project(":kiwi-java") diff --git a/src/main/java/net/shadowfacts/phycon/api/PhyAttributes.java b/src/main/java/net/shadowfacts/phycon/api/PhyAttributes.java deleted file mode 100644 index 4b960bb..0000000 --- a/src/main/java/net/shadowfacts/phycon/api/PhyAttributes.java +++ /dev/null @@ -1,13 +0,0 @@ -package net.shadowfacts.phycon.api; - -import alexiil.mc.lib.attributes.Attribute; -import alexiil.mc.lib.attributes.Attributes; - -/** - * @author shadowfacts - */ -public class PhyAttributes { - - public static final Attribute PACKET_SINK = Attributes.create(PacketSink.class); - -} diff --git a/src/main/kotlin/net/shadowfacts/phycon/util/NetworkUtil.kt b/src/main/kotlin/net/shadowfacts/phycon/util/NetworkUtil.kt index 4ce7e21..f7feec9 100644 --- a/src/main/kotlin/net/shadowfacts/phycon/util/NetworkUtil.kt +++ b/src/main/kotlin/net/shadowfacts/phycon/util/NetworkUtil.kt @@ -37,6 +37,7 @@ object NetworkUtil { return null } + /* fun findDestinations(world: World, startPos: BlockPos, direction: Direction? = null): List { val results = LinkedList() val visited = hashSetOf(startPos) @@ -62,6 +63,7 @@ object NetworkUtil { return results } + */ private fun findEdges( queue: MutableList,