Remove LibBlockAttributes

This commit is contained in:
Shadowfacts 2024-07-14 15:45:56 -07:00
parent 7e71a1e03d
commit d6ca951838
3 changed files with 5 additions and 16 deletions

View File

@ -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")

View File

@ -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<PacketSink> PACKET_SINK = Attributes.create(PacketSink.class);
}

View File

@ -37,6 +37,7 @@ object NetworkUtil {
return null
}
/*
fun findDestinations(world: World, startPos: BlockPos, direction: Direction? = null): List<PacketSink> {
val results = LinkedList<PacketSink>()
val visited = hashSetOf(startPos)
@ -62,6 +63,7 @@ object NetworkUtil {
return results
}
*/
private fun findEdges(
queue: MutableList<BlockPos>,