Skip to content

Commit

Permalink
[1.18.x] Fix FMLOnly in forgedev and userdev (MinecraftForge#8512)
Browse files Browse the repository at this point in the history
Signed-off-by: SizableShrimp <[email protected]>
  • Loading branch information
SizableShrimp authored Mar 13, 2022
1 parent 72f5b3f commit 9bf227a
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Minecraft Forge - Forge Development LLC
* SPDX-License-Identifier: LGPL-2.1-only
*/

package net.minecraftforge.fmlonly;

import net.minecraftforge.eventbus.api.BusBuilder;
Expand Down
11 changes: 11 additions & 0 deletions fmlonly/src/main/java/net/minecraftforge/fmlonly/FMLOnlyMod.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/*
* Minecraft Forge - Forge Development LLC
* SPDX-License-Identifier: LGPL-2.1-only
*/

package net.minecraftforge.fmlonly;

import net.minecraftforge.fml.common.Mod;

@Mod("fmlonly")
public class FMLOnlyMod {}
Original file line number Diff line number Diff line change
@@ -1,20 +1,6 @@
/*
* Minecraft Forge
* Copyright (c) 2016-2021.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation version 2.1
* of the License.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
* Minecraft Forge - Forge Development LLC
* SPDX-License-Identifier: LGPL-2.1-only
*/

package net.minecraftforge.fmlonlyclient;
Expand Down
16 changes: 16 additions & 0 deletions fmlonly/src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
modLoader="javafml"
loaderVersion="[24,]"
issueTrackerURL="https://www.minecraftforge.net/"
license="LGPL v2.1"

[[mods]]
modId="fmlonly"
# We use the global forge version
version="${global.forgeVersion}"
updateJSONURL="https://files.minecraftforge.net/net/minecraftforge/forge/promotions_slim.json"
displayName="Forge"
credits="Anyone who has contributed on Github and supports our development"
authors="LexManos,cpw"
description='''
Forge, a broad compatibility API.
'''

0 comments on commit 9bf227a

Please sign in to comment.