Includes a work around for the funky rendering issues, this will need looking into some more.
This commit is contained in:
modmuss50 2019-10-16 18:54:16 +01:00
parent ccd269cfad
commit d2e3099f39
16 changed files with 65 additions and 26 deletions
fabric-networking-v0
build.gradle
src/main/java/net/fabricmc/fabric/api/server

View file

@ -1,5 +1,5 @@
archivesBaseName = "fabric-networking-v0"
version = getSubprojectVersion(project, "0.1.4")
version = getSubprojectVersion(project, "0.1.5")
dependencies {
compile project(path: ':fabric-api-base', configuration: 'dev')

View file

@ -88,7 +88,7 @@ public final class PlayerStream {
}
// fallback
return watching(entity.getEntityWorld(), new ChunkPos((int) (entity.method_23317() / 16.0D), (int) (entity.method_23318() / 16.0D)));
return watching(entity.getEntityWorld(), new ChunkPos((int) (entity.getX() / 16.0D), (int) (entity.getZ() / 16.0D)));
}
public static Stream<PlayerEntity> watching(BlockEntity entity) {