mirror of
https://github.com/FabricMC/fabric.git
synced 2025-03-23 21:40:02 -04:00
1.16-pre3
This commit is contained in:
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
|
@ -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()
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue