1.18-pre2 & Java 17

This commit is contained in:
modmuss50 2021-11-16 18:41:10 +00:00
parent e899b67a68
commit e77d3ea62f
45 changed files with 47 additions and 47 deletions
.github/workflows
build.gradle
fabric-api-lookup-api-v1/src/main/resources
fabric-biome-api-v1/src
fabric-blockrenderlayer-v1/src/main/resources
fabric-command-api-v1/src/main/resources
fabric-containers-v0/src/main/resources
fabric-content-registries-v0/src/main/resources
fabric-crash-report-info-v1/src/main/resources
fabric-dimensions-v1/src/main/resources
fabric-entity-events-v1/src/main/resources
fabric-events-interaction-v0/src/main/resources
fabric-game-rule-api-v1/src/main/resources
fabric-gametest-api-v1/src/main/resources
fabric-item-api-v1/src/main/resources
fabric-item-groups-v0/src/main/resources
fabric-key-binding-api-v1/src/main/resources
fabric-lifecycle-events-v1/src/main/resources
fabric-loot-tables-v1/src/main/resources
fabric-mining-level-api-v1/src/main/resources
fabric-models-v0/src/main/resources
fabric-networking-api-v1/src/main/resources
fabric-object-builder-api-v1/src/main/resources
fabric-object-builders-v0/src/main/resources
fabric-particles-v1/src/main/resources
fabric-registry-sync-v0/src/main/resources
fabric-renderer-api-v1/src
fabric-renderer-indigo/src/main/resources
fabric-rendering-data-attachment-v1/src/main/resources
fabric-rendering-fluids-v1/src/main/resources
fabric-rendering-v1/src/main/resources
fabric-resource-loader-v0/src/main/resources
fabric-screen-api-v1/src/main/resources
fabric-screen-handler-api-v1/src/main/resources
fabric-structure-api-v1/src
fabric-tag-extensions-v0/src/main/resources
fabric-textures-v0/src/main/resources
fabric-tool-attribute-api-v1/src/main/resources
gradle.properties
src/main/resources

View file

@ -4,7 +4,7 @@ jobs:
build:
strategy:
matrix:
java: [16-jdk, 17-jdk]
java: [17-jdk]
runs-on: ubuntu-20.04
container:
image: eclipse-temurin:${{ matrix.java }}

View file

@ -76,7 +76,7 @@ allprojects {
apply plugin: "org.cadixdev.licenser"
tasks.withType(JavaCompile).configureEach {
it.options.release = 16
it.options.release = 17
}
group = "net.fabricmc.fabric-api"
@ -159,7 +159,7 @@ apply from: "gradle/module-versioning.gradle"
javadoc {
options {
source = "16"
source = "17"
encoding = "UTF-8"
charSet = "UTF-8"
memberLevel = JavadocMemberLevel.PACKAGE

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.lookup",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
"BlockEntityTypeAccessor",
"ServerWorldMixin"

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.biome",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
"modification.BiomeAccessor",
"modification.BiomeEffectsAccessor",

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.test.biome.mixin",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
"DecoratorsAccessor"
],

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.blockrenderlayer",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"client": [
"MixinBlockRenderLayer"
],

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.command",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
"CommandManagerMixin",
"HelpCommandAccessor"

View file

@ -1,7 +1,7 @@
{
"required": false,
"package": "net.fabricmc.fabric.mixin.container",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
"MixinServerPlayerEntity"
],

View file

@ -1,7 +1,7 @@
{
"required": false,
"package": "net.fabricmc.fabric.mixin.container",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
"ServerPlayerEntityAccessor"
],

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.content.registry",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
"AxeItemAccessor",
"HoeItemAccessor",

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.crash.report.info",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
"MixinCrashReport"
],

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.dimension",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
"EntityMixin",
"ServerBugfixMixin"

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.entity.event",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
"BedBlockMixin",
"EntityMixin",

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.event.interaction",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
"MixinServerPlayerEntity",
"MixinServerPlayerInteractionManager",

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.gamerule",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
"BooleanRuleAccessor",
"GameRuleCommandAccessor",

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.gametest",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
"CommandManagerMixin",
"MinecraftServerMixin",

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.item",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
"ItemStackMixin",
"ItemMixin",

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.item.group",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
"MixinItemGroup"
],

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.client.keybinding",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"client": [
"KeyBindingAccessor",
"KeyCodeAccessor",

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.event.lifecycle",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
"MinecraftServerMixin",
"ServerWorldEntityLoaderMixin",

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.loot.table",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
"LootPoolBuilderHooks",
"LootPoolEntryTypesAccessor",

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.mininglevel",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
"MiningToolItemMixin",
"ShearsItemMixin",

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.client.model",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"client": [
"MixinBakedModelManager",
"MixinModelLoader"

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.networking",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
"ClientConnectionMixin",
"EntityTrackerEntryMixin",

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.object.builder",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
"AbstractBlockAccessor",
"AbstractBlockSettingsAccessor",

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.object.builder",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
"OldMixinBlock",
"OldMixinItem"

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.client.particle",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"client": [
"MixinParticleManager",
"ParticleManagerAccessor",

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.registry.sync",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
"AccessorLevelStorageSession",
"AccessorRegistry",

View file

@ -1,7 +1,7 @@
{
"required": false,
"package": "net.fabricmc.fabric.mixin.renderer.client.debughud",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"client": [
"MixinDebugHud"
],

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.renderer",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"client": [
"client.MixinBakedModel",
"client.MixinMultipartBakedModel",

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.test.renderer.mixin",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
"WorldMixin"
],

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.client.indigo.renderer",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"plugin": "net.fabricmc.fabric.impl.client.indigo.IndigoMixinConfigPlugin",
"mixins": [
],

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.rendering.data.attachment",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
"MixinBlockEntity",
"MixinViewableWorld"

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.client.rendering.fluid",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"client": [
"MixinFluidRenderer"
],

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.client.rendering",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"client": [
"MixinArmorFeatureRenderer",
"MixinBlockColorMap",

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.resource.loader",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
"FileResourcePackProviderAccessor",
"DefaultResourcePackMixin",

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.screen",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"client": [
"GameRendererMixin",
"MinecraftClientMixin",

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.screenhandler",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
"ServerPlayerEntityMixin"
],

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.structure",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
"ChunkSerializerMixin",
"FlatChunkGeneratorConfigMixin",

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.test.structure.mixin",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
"ChunkSerializerMixin",
"MixinConfiguredStructureFeatures"

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.tag.extension",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
"DynamicRegistryManagerAccessor",
"MixinMinecraftServer",

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.client.texture",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"client": [
"MixinSpriteAtlasTexture"
],

View file

@ -1,7 +1,7 @@
{
"required": true,
"package": "net.fabricmc.fabric.mixin.tool.attribute",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
"BambooBlockMixin",
"LivingEntityMixin",

View file

@ -1,8 +1,8 @@
org.gradle.jvmargs=-Xmx2560M
version=0.42.2
minecraft_version=1.18-pre1
yarn_version=+build.12
minecraft_version=1.18-pre2
yarn_version=+build.1
loader_version=0.12.5
prerelease=true

View file

@ -17,7 +17,7 @@
],
"depends": {
"fabricloader": ">=0.11.7",
"java": ">=16",
"java": ">=17",
"minecraft": "~1.18-alpha.21.37.a"
},
"description": "Core API module providing key hooks and intercompatibility features."