mirror of
https://github.com/FabricMC/fabric.git
synced 2025-07-28 15:09:35 -04:00
21w44a
This commit is contained in:
parent
168f4a3be2
commit
e14f9c8f05
7 changed files with 12 additions and 11 deletions
build.gradle
fabric-entity-events-v1
fabric-networking-api-v1
build.gradle
src/main/java/net/fabricmc/fabric/mixin/networking/client
fabric-transfer-api-v1
11
build.gradle
11
build.gradle
|
@ -9,7 +9,7 @@ plugins {
|
|||
id "eclipse"
|
||||
id "idea"
|
||||
id "maven-publish"
|
||||
id "fabric-loom" version "0.10.43" apply false
|
||||
id "fabric-loom" version "0.10.50" apply false
|
||||
id "org.cadixdev.licenser" version "0.6.1"
|
||||
id "org.ajoberstar.grgit" version "3.1.0"
|
||||
id "com.matthewprenger.cursegradle" version "1.4.0"
|
||||
|
@ -19,9 +19,9 @@ plugins {
|
|||
def ENV = System.getenv()
|
||||
|
||||
class Globals {
|
||||
static def baseVersion = "0.41.3"
|
||||
static def mcVersion = "21w43a"
|
||||
static def yarnVersion = "+build.2"
|
||||
static def baseVersion = "0.41.4"
|
||||
static def mcVersion = "21w44a"
|
||||
static def yarnVersion = "+build.1"
|
||||
static def loaderVersion = "0.11.7"
|
||||
static def preRelease = true
|
||||
}
|
||||
|
@ -263,7 +263,8 @@ subprojects {
|
|||
javadoc.enabled = false
|
||||
|
||||
afterEvaluate {
|
||||
genSources.enabled = false
|
||||
// Disable the gen sources task on sub projects, saves you being here for a year.
|
||||
genSourcesWithFernFlower.enabled = false
|
||||
genSourcesWithCfr.enabled = false
|
||||
unpickJar.enabled = false
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
archivesBaseName = "fabric-entity-events-v1"
|
||||
version = getSubprojectVersion(project, "1.3.1")
|
||||
version = getSubprojectVersion(project, "1.3.2")
|
||||
|
||||
moduleDependencies(project, [
|
||||
'fabric-api-base'
|
||||
|
|
|
@ -59,7 +59,7 @@ abstract class PlayerEntityMixin {
|
|||
return day;
|
||||
}
|
||||
|
||||
@Inject(method = "isSleepingLongEnough", at = @At("RETURN"), cancellable = true)
|
||||
@Inject(method = "canResetTimeBySleeping", at = @At("RETURN"), cancellable = true)
|
||||
private void onIsSleepingLongEnough(CallbackInfoReturnable<Boolean> info) {
|
||||
if (info.getReturnValueZ()) {
|
||||
info.setReturnValue(EntitySleepEvents.ALLOW_RESETTING_TIME.invoker().allowResettingTime((PlayerEntity) (Object) this));
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
archivesBaseName = "fabric-networking-api-v1"
|
||||
version = getSubprojectVersion(project, "1.0.14")
|
||||
version = getSubprojectVersion(project, "1.0.15")
|
||||
|
||||
moduleDependencies(project, [
|
||||
'fabric-api-base'
|
||||
|
|
|
@ -61,7 +61,7 @@ abstract class ClientLoginNetworkHandlerMixin implements NetworkHandlerExtension
|
|||
this.addon.handleDisconnect();
|
||||
}
|
||||
|
||||
@Inject(method = "onLoginSuccess", at = @At("HEAD"))
|
||||
@Inject(method = "onSuccess", at = @At("HEAD"))
|
||||
private void handlePlayTransition(CallbackInfo ci) {
|
||||
addon.handlePlayTransition();
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
archivesBaseName = "fabric-transfer-api-v1"
|
||||
version = getSubprojectVersion(project, "1.4.2")
|
||||
version = getSubprojectVersion(project, "1.4.3")
|
||||
|
||||
moduleDependencies(project, [
|
||||
'fabric-api-base',
|
||||
|
|
|
@ -118,7 +118,7 @@ public class ComposterWrapper extends SnapshotParticipant<Float> {
|
|||
location.setBlockState(newState);
|
||||
|
||||
if (newLevel == 7) {
|
||||
location.world.method_39279(location.pos, state.getBlock(), 20);
|
||||
location.world.createAndScheduleBlockTick(location.pos, state.getBlock(), 20);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue