mirror of
https://github.com/FabricMC/fabric.git
synced 2025-04-21 03:10:54 -04:00
Add back renamed lightLevel method, I believe the root cause of this issue is in tiny remapper
This commit is contained in:
parent
a4467d2a9c
commit
a89534abff
3 changed files with 9 additions and 2 deletions
build.gradle
fabric-object-builder-api-v1
|
@ -18,7 +18,7 @@ plugins {
|
|||
def ENV = System.getenv()
|
||||
|
||||
class Globals {
|
||||
static def baseVersion = "0.24.2"
|
||||
static def baseVersion = "0.24.3"
|
||||
static def mcVersion = "1.16.3"
|
||||
static def yarnVersion = "+build.47"
|
||||
static def loaderVersion = "0.10.5+build.213"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
archivesBaseName = "fabric-object-builder-api-v1"
|
||||
version = getSubprojectVersion(project, "1.9.1")
|
||||
version = getSubprojectVersion(project, "1.9.2")
|
||||
|
||||
dependencies {
|
||||
compile project(path: ':fabric-api-base', configuration: 'dev')
|
||||
|
|
|
@ -134,6 +134,13 @@ public class FabricBlockSettings extends AbstractBlock.Settings {
|
|||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Please use {@link FabricBlockSettings#luminance(ToIntFunction)}.
|
||||
*/
|
||||
public FabricBlockSettings lightLevel(ToIntFunction<BlockState> levelFunction) {
|
||||
return this.luminance(levelFunction);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FabricBlockSettings luminance(ToIntFunction<BlockState> luminanceFunction) {
|
||||
super.luminance(luminanceFunction);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue