forked from FabricMC/fabric
19w40a
This commit is contained in:
parent
32ac36d518
commit
da5bc0bb05
7 changed files with 9 additions and 9 deletions
|
@ -12,8 +12,8 @@ plugins {
|
|||
def ENV = System.getenv()
|
||||
|
||||
class Globals {
|
||||
static def baseVersion = "0.4.2"
|
||||
static def mcVersion = "19w39a"
|
||||
static def baseVersion = "0.4.3"
|
||||
static def mcVersion = "19w40a"
|
||||
static def yarnVersion = "+build.1"
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
archivesBaseName = "fabric-events-interaction-v0"
|
||||
version = getSubprojectVersion(project, "0.2.1")
|
||||
version = getSubprojectVersion(project, "0.2.2")
|
||||
|
||||
dependencies {
|
||||
compile project(path: ':fabric-api-base', configuration: 'dev')
|
||||
|
|
|
@ -44,7 +44,7 @@ public interface UseItemCallback {
|
|||
}
|
||||
}
|
||||
|
||||
return TypedActionResult.method_22430(ItemStack.EMPTY);
|
||||
return TypedActionResult.pass(ItemStack.EMPTY);
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
archivesBaseName = "fabric-networking-blockentity-v0"
|
||||
version = getSubprojectVersion(project, "0.2.0")
|
||||
version = getSubprojectVersion(project, "0.2.1")
|
||||
|
||||
dependencies {
|
||||
compile project(path: ':fabric-api-base', configuration: 'dev')
|
||||
|
|
|
@ -38,10 +38,10 @@ public class MixinClientPlayNetworkHandler {
|
|||
@Unique
|
||||
private static Logger FABRIC_LOGGER = LogManager.getLogger();
|
||||
|
||||
@Inject(at = @At(value = "INVOKE", target = "Lnet/minecraft/client/network/packet/BlockEntityUpdateS2CPacket;getActionId()I", ordinal = 0), method = "onBlockEntityUpdate", cancellable = true, locals = LocalCapture.CAPTURE_FAILHARD)
|
||||
@Inject(at = @At(value = "INVOKE", target = "Lnet/minecraft/client/network/packet/BlockEntityUpdateS2CPacket;getBlockEntityType()I", ordinal = 0), method = "onBlockEntityUpdate", cancellable = true, locals = LocalCapture.CAPTURE_FAILHARD)
|
||||
public void onBlockEntityUpdate(BlockEntityUpdateS2CPacket packet, CallbackInfo info, BlockEntity entity) {
|
||||
if (entity instanceof BlockEntityClientSerializable) {
|
||||
if (packet.getActionId() == 127) {
|
||||
if (packet.getBlockEntityType() == 127) {
|
||||
BlockEntityClientSerializable serializable = (BlockEntityClientSerializable) entity;
|
||||
String id = packet.getCompoundTag().getString("id");
|
||||
if (id != null) {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
archivesBaseName = "fabric-renderer-indigo"
|
||||
version = getSubprojectVersion(project, "0.2.3")
|
||||
version = getSubprojectVersion(project, "0.2.4")
|
||||
|
||||
dependencies {
|
||||
compile project(path: ':fabric-api-base', configuration: 'dev')
|
||||
|
|
|
@ -77,7 +77,7 @@ public abstract class AbstractQuadRenderer {
|
|||
buff.method_22918(matrix, quad.x(i), quad.y(i), quad.z(i));
|
||||
final int color = quad.spriteColor(i, 0);
|
||||
buff.color(color & 0xFF, (color >> 8) & 0xFF, (color >> 16) & 0xFF, (color >> 24) & 0xFF);
|
||||
buff.method_22913(quad.spriteU(i, 0), quad.spriteV(i, 0));
|
||||
buff.texture(quad.spriteU(i, 0), quad.spriteV(i, 0));
|
||||
buff.method_22916(quad.lightmap(i));
|
||||
buff.method_22914(quad.normalX(i), quad.normalY(i), quad.normalZ(i));
|
||||
buff.next();
|
||||
|
|
Loading…
Reference in a new issue