1.16-pre3

This commit is contained in:
modmuss50 2020-06-10 18:17:45 +01:00
parent 059ea866ec
commit 5a6e8f4ce1
5 changed files with 7 additions and 7 deletions
build.gradle
fabric-events-interaction-v0
build.gradle
src/main/java/net/fabricmc/fabric/mixin/event/interaction
fabric-tag-extensions-v0
build.gradle
src/main/java/net/fabricmc/fabric/mixin/tag/extension

View file

@ -12,9 +12,9 @@ plugins {
def ENV = System.getenv()
class Globals {
static def baseVersion = "0.11.7"
static def mcVersion = "1.16-pre2"
static def yarnVersion = "+build.29"
static def baseVersion = "0.11.8"
static def mcVersion = "1.16-pre3"
static def yarnVersion = "+build.1"
}
version = Globals.baseVersion + "+" + (ENV.BUILD_NUMBER ? ("build." + ENV.BUILD_NUMBER) : "local") + "-" + getBranch()

View file

@ -1,5 +1,5 @@
archivesBaseName = "fabric-events-interaction-v0"
version = getSubprojectVersion(project, "0.3.1")
version = getSubprojectVersion(project, "0.3.2")
dependencies {
compile project(path: ':fabric-api-base', configuration: 'dev')

View file

@ -133,7 +133,7 @@ public class MixinClientPlayerInteractionManager {
if (result != ActionResult.PASS) {
if (result == ActionResult.SUCCESS) {
Vec3d hitVec = hitResult.getPos().subtract(entity.getX(), entity.getY(), entity.getZ());
this.networkHandler.sendPacket(new PlayerInteractEntityC2SPacket(entity, hand, hitVec));
this.networkHandler.sendPacket(new PlayerInteractEntityC2SPacket(entity, hand, hitVec, player.isSneaking()));
}
info.setReturnValue(result);

View file

@ -1,5 +1,5 @@
archivesBaseName = "fabric-tag-extensions-v0"
version = getSubprojectVersion(project, "0.2.4")
version = getSubprojectVersion(project, "0.2.5")
dependencies {
compile project(path: ':fabric-api-base', configuration: 'dev')

View file

@ -24,7 +24,7 @@ import net.minecraft.tag.Tag;
import net.fabricmc.fabric.api.tag.FabricTag;
import net.fabricmc.fabric.impl.tag.extension.FabricTagHooks;
@Mixin(targets = {"net.minecraft.tag.Tag$1", "net.minecraft.tag.GlobalTagAccessor$CachedTag"})
@Mixin(targets = {"net.minecraft.tag.Tag$1", "net.minecraft.tag.GlobalTagAccessor$CachedTag", "net.minecraft.class_5394"})
public abstract class MixinTagImpl<T> implements FabricTag<T>, FabricTagHooks, Tag<T> {
@Unique
private int fabric_clearCount;