aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/items
diff options
context:
space:
mode:
authorEthryan <3237986+Ethryan@users.noreply.github.com>2024-05-22 21:42:42 +0200
committerGitHub <noreply@github.com>2024-05-22 21:42:42 +0200
commit2cf455aa66b7d78286923bb873cffabcd997edc6 (patch)
treee0daba2e808479b745c7dcc6e5637e9e2d616df5 /src/main/java/gregtech/common/items
parent66b60bb8192ab9982dd756e8725b6dbb44fec581 (diff)
downloadGT5-Unofficial-2cf455aa66b7d78286923bb873cffabcd997edc6.tar.gz
GT5-Unofficial-2cf455aa66b7d78286923bb873cffabcd997edc6.tar.bz2
GT5-Unofficial-2cf455aa66b7d78286923bb873cffabcd997edc6.zip
Implementation: Raw Ore Items as Ore Drops (#2502)
* testing * Fix textures * Adding Drops, still need to add furnace recipe * Need to fix the multiple smelting recipes. otherwise stuff works. * part 2 * Remove wip block code I added * Moved it to a new processing file * Fix Oredict and add a stone dust chance output. And added a config option for fortune bonus. * Finally got Spotless to work * fix config system set it in gregtech config with oredropbehaviour in gregtech.cfg * Added new option and an option that returns it to the old behaviour. * Moved the raw ores to meta3 since meta1 was full. (MetaID range fix) * Fixing the MBM to only process small ores with fortune. * New config option * try to fix the recipes not working on Zeta * Implement Caedis Fortune fix * Added comment * Spotless * Fix stone dust amount from macerator * Adding Raw ore to the OreFactory (Untested) * spotless * Update this to actually drop the amount number of stack, instead of the stack set to the amount * New Random function for fortune and shapeless crushing recipes for the raw ores. * Fix * Actually make the block per dimension. * Fix an () issue. And make this actually work ingame. and not just randomly. * Change back drops Ned to look into Silk Touch more * Enable Silk Touch * Wth Spotless?, THIS made you complain?
Diffstat (limited to 'src/main/java/gregtech/common/items')
-rw-r--r--src/main/java/gregtech/common/items/GT_MetaGenerated_Item_03.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/main/java/gregtech/common/items/GT_MetaGenerated_Item_03.java b/src/main/java/gregtech/common/items/GT_MetaGenerated_Item_03.java
index 26a2d1777e..3a0c4a95d8 100644
--- a/src/main/java/gregtech/common/items/GT_MetaGenerated_Item_03.java
+++ b/src/main/java/gregtech/common/items/GT_MetaGenerated_Item_03.java
@@ -46,7 +46,8 @@ public class GT_MetaGenerated_Item_03 extends GT_MetaGenerated_Item_X32 {
OrePrefixes.crateGtIngot,
OrePrefixes.crateGtGem,
OrePrefixes.crateGtPlate,
- OrePrefixes.nanite);
+ OrePrefixes.nanite,
+ OrePrefixes.rawOre);
INSTANCE = this;
Object[] o = new Object[0];
@@ -1078,6 +1079,9 @@ public class GT_MetaGenerated_Item_03 extends GT_MetaGenerated_Item_X32 {
public boolean doesShowInCreative(OrePrefixes aPrefix, Materials aMaterial, boolean aDoShowAllItems) {
return aDoShowAllItems || (aPrefix.toString()
.toLowerCase()
- .contains("nanite"));
+ .contains("nanite"))
+ || (aPrefix.toString()
+ .toLowerCase()
+ .contains("rawore"));
}
}