mirror of
https://github.com/dragonruler1000/hdm-mod.git
synced 2025-06-29 00:19:32 -05:00
Add credits field to mods.toml and clean up imports in Window.java
The mods.toml file now includes a credits field so it shows up in the mod list. Additionally, unused imports in Window.java were removed to improve code readability and maintainability.
This commit is contained in:
parent
9cad3a926e
commit
1289e20bc0
2 changed files with 1 additions and 2 deletions
|
@ -17,12 +17,10 @@ import net.minecraft.util.math.shapes.IBooleanFunction;
|
||||||
import net.minecraft.util.math.shapes.ISelectionContext;
|
import net.minecraft.util.math.shapes.ISelectionContext;
|
||||||
import net.minecraft.util.math.shapes.VoxelShape;
|
import net.minecraft.util.math.shapes.VoxelShape;
|
||||||
import net.minecraft.util.math.shapes.VoxelShapes;
|
import net.minecraft.util.math.shapes.VoxelShapes;
|
||||||
import net.minecraft.util.text.ITextComponent;
|
|
||||||
import net.minecraft.util.text.StringTextComponent;
|
import net.minecraft.util.text.StringTextComponent;
|
||||||
import net.minecraft.world.IBlockReader;
|
import net.minecraft.world.IBlockReader;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
import net.minecraft.world.server.ServerWorld;
|
import net.minecraft.world.server.ServerWorld;
|
||||||
//import us.minecraftchest2.hdm_mod.world.dimension.ModDimensions;
|
|
||||||
import us.minecraftchest2.hdm_mod.world.dimension.ModDimensions;
|
import us.minecraftchest2.hdm_mod.world.dimension.ModDimensions;
|
||||||
import us.minecraftchest2.hdm_mod.world.dimension.SimpleTeleporter;
|
import us.minecraftchest2.hdm_mod.world.dimension.SimpleTeleporter;
|
||||||
|
|
||||||
|
|
|
@ -30,6 +30,7 @@ displayName = "${mod_name}" #mandatory
|
||||||
#credits="Thanks for this example mod goes to Java" #optional
|
#credits="Thanks for this example mod goes to Java" #optional
|
||||||
# A text field displayed in the mod UI
|
# A text field displayed in the mod UI
|
||||||
authors = "${mod_authors}" #optional
|
authors = "${mod_authors}" #optional
|
||||||
|
credits="${credits}"
|
||||||
# The description text for the mod (multi line!) (#mandatory)
|
# The description text for the mod (multi line!) (#mandatory)
|
||||||
description = '''${mod_description}'''
|
description = '''${mod_description}'''
|
||||||
# A dependency - use the . to indicate dependency for a specific modid. Dependencies are optional.
|
# A dependency - use the . to indicate dependency for a specific modid. Dependencies are optional.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue