diff --git a/README.md b/README.md index 1605e5f..a7c22a8 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ # Modern Life Patch -Just a patch \ No newline at end of file +A patch was made due to too many flaws in the original author's graphic design. +因为原作者的美工槽点太多,而做的一个补丁。 \ No newline at end of file diff --git a/build.gradle b/build.gradle index afb9592..192e246 100644 --- a/build.gradle +++ b/build.gradle @@ -18,7 +18,7 @@ apply plugin: 'net.minecraftforge.gradle' apply plugin: 'org.spongepowered.mixin' -version = '1.0' +version = '1.1' group = 'com.r3944realms.modernlifepatch' // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = 'modernlifepatch' diff --git a/src/main/java/com/r3944realms/modernlifepatch/mixin/block/bathroom/MixinShowerHead.java b/src/main/java/com/r3944realms/modernlifepatch/mixin/block/bathroom/MixinShowerHead.java index e25e087..8bc7280 100644 --- a/src/main/java/com/r3944realms/modernlifepatch/mixin/block/bathroom/MixinShowerHead.java +++ b/src/main/java/com/r3944realms/modernlifepatch/mixin/block/bathroom/MixinShowerHead.java @@ -16,8 +16,6 @@ import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable; -import java.util.stream.Stream; - @Mixin(ShowerHeadBlock.class) public abstract class MixinShowerHead extends AbstractWallBlock implements EntityBlock { @Unique diff --git a/src/main/resources/META-INF/mods.toml b/src/main/resources/META-INF/mods.toml index 03ad43f..833b226 100644 --- a/src/main/resources/META-INF/mods.toml +++ b/src/main/resources/META-INF/mods.toml @@ -27,14 +27,19 @@ displayName="Modern Life Patch" #mandatory # A URL for the "homepage" for this mod, displayed in the mod UI #displayURL="https://change.me.to.your.mods.homepage.example.invalid/" #optional # A file name (in the root of the mod JAR) containing a logo for display -#logoFile="examplemod.png" #optional + +logoFile="mod-logo.png" #optional # A text field displayed in the mod UI -#credits="Thanks for this example mod goes to Java" #optional +credits=""" +All of tetxures and models are created by BF_Meow,Do not use for other purposes without permission. +所有材质和模型均由 白帆小喵BF_Meow 绘制。未经允许,请勿用作他用。 +""" #optional # A text field displayed in the mod UI -authors="R3944Realms" #optional +authors="R3944Realms, BF_Meow" #optional # The description text for the mod (multi line!) (#mandatory) description=''' -Just a patch +A patch was made due to too many flaws in the original author's graphic design. +因为原作者的美工槽点太多,而做的一个补丁。 ''' # A dependency - use the . to indicate dependency for a specific modid. Dependencies are optional. [[dependencies.modernlifepatch]] #optional diff --git a/src/main/resources/assets/modernlife/lang/zh_cn.json b/src/main/resources/assets/modernlife/lang/zh_cn.json new file mode 100644 index 0000000..74cc4ae --- /dev/null +++ b/src/main/resources/assets/modernlife/lang/zh_cn.json @@ -0,0 +1,7 @@ +{ + "item.modernlife.gun_magazine": "弹匣", + "item.modernlife.extended_gun_magazine": "扩展弹匣", + "block.modernlife.jail_bars": "监狱铁栏", + "block.modernlife.metal_catwalk": "马道", + "block.modernlife.toilet": "马桶" +} \ No newline at end of file diff --git a/src/main/resources/data/modernlife/recipes/bullet_2.json b/src/main/resources/data/modernlife/recipes/bullet_2.json new file mode 100644 index 0000000..776c2d3 --- /dev/null +++ b/src/main/resources/data/modernlife/recipes/bullet_2.json @@ -0,0 +1,12 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "modernlife:bullet_strip" + } + ], + "result": { + "item": "modernlife:bullet", + "count": 6 + } +} \ No newline at end of file diff --git a/src/main/resources/mod-logo.png b/src/main/resources/mod-logo.png new file mode 100644 index 0000000..7418f2d Binary files /dev/null and b/src/main/resources/mod-logo.png differ