mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 12:09:39 +00:00
Fix Backpack item registration in the API
This commit is contained in:
1 parent
1d642cf9c5
commit
f3d88fea3c
2 files changed
+50
-21
No files matched your search
@@ -45,6 +45,14 @@ public class BackpackDefinition implements IBackpackDefinition {
|
||||
this.secondaryColor = secondaryColor.getRGB();
|
||||
}
|
||||
|
||||
public Set<Integer> getValidOreIds() {
|
||||
return validOreIds;
|
||||
}
|
||||
|
||||
public Set<String> getValidItemStacks() {
|
||||
return validItemStacks;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName(ItemStack backpack) {
|
||||
Item item = backpack.getItem();
|
||||
|
||||
Reference in new issue
Block a user