mirror of
https://github.com/FabricMC/fabric.git
synced 2025-03-27 23:29:58 -04:00
20w16a
This commit is contained in:
parent
dc50b8619e
commit
eb276f9cfc
6 changed files with 7 additions and 7 deletions
build.gradle
fabric-object-builders-v0
build.gradle
src/main/java/net/fabricmc/fabric
fabric-registry-sync-v0
build.gradle
src/main/java/net/fabricmc/fabric/impl/registry/sync/trackers/vanilla
|
@ -12,8 +12,8 @@ plugins {
|
|||
def ENV = System.getenv()
|
||||
|
||||
class Globals {
|
||||
static def baseVersion = "0.5.10"
|
||||
static def mcVersion = "20w15a"
|
||||
static def baseVersion = "0.5.11"
|
||||
static def mcVersion = "20w16a"
|
||||
static def yarnVersion = "+build.1"
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
archivesBaseName = "fabric-object-builders"
|
||||
version = getSubprojectVersion(project, "0.2.3")
|
||||
version = getSubprojectVersion(project, "0.2.4")
|
||||
|
||||
dependencies {
|
||||
compile project(path: ':fabric-api-base', configuration: 'dev')
|
||||
|
|
|
@ -54,7 +54,7 @@ public final class BlockSettingsExtensions {
|
|||
}
|
||||
|
||||
public static void drops(Settings settings, Identifier dropTableId) {
|
||||
((BlockSettingsHooks) settings).setDropTableId(dropTableId);
|
||||
((BlockSettingsHooks) settings).setLootTableId(dropTableId);
|
||||
}
|
||||
|
||||
public static void sounds(Settings settings, BlockSoundGroup soundGroup) {
|
||||
|
|
|
@ -45,7 +45,7 @@ public interface BlockSettingsHooks {
|
|||
void setMaterialColorFactory(Function<BlockState, MaterialColor> materialColorFunction);
|
||||
|
||||
@Accessor
|
||||
void setDropTableId(Identifier dropTableId);
|
||||
void setLootTableId(Identifier dropTableId);
|
||||
|
||||
@Invoker
|
||||
Block.Settings invokeSounds(BlockSoundGroup group);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
archivesBaseName = "fabric-registry-sync-v0"
|
||||
version = getSubprojectVersion(project, "0.2.9")
|
||||
version = getSubprojectVersion(project, "0.2.10")
|
||||
|
||||
dependencies {
|
||||
compile project(path: ':fabric-api-base', configuration: 'dev')
|
||||
|
|
|
@ -42,6 +42,6 @@ public final class BlockInitTracker implements RegistryEntryAddedCallback<Block>
|
|||
// if false, getDropTableId() will generate an invalid drop table ID
|
||||
assert id.equals(registry.getId(object));
|
||||
|
||||
object.getDropTableID();
|
||||
object.getLootTableId();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue