-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Slightly More Flexibility With Recycling Helpers
- Loading branch information
1 parent
daa9740
commit e0abd1a
Showing
4 changed files
with
47 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
package com.nomiceu.nomilabs.util; | ||
|
||
import com.cleanroommc.groovyscript.helper.GroovyHelper; | ||
import com.nomiceu.nomilabs.LabsValues; | ||
import net.minecraft.util.ResourceLocation; | ||
|
||
public class LabsNames { | ||
public static ResourceLocation makeLabsName(String name) { | ||
return new ResourceLocation(LabsValues.LABS_MODID, name); | ||
} | ||
|
||
public static ResourceLocation makeGroovyName(String name) { | ||
return new ResourceLocation(GroovyHelper.getPackId(), name); | ||
} | ||
} |