mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-25 22:44:23 +00:00
Fix JABBA-related issues with crafting station slots (#54)
* Fix shift-merging tools voiding items fixes <https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/11392> * Change 0-sized ItemStacks into null stacks in crafting station attached slots Fixes <https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/10425> * Update buildscript * spotlessApply
This commit is contained in:
1 parent
18bfeaff32
commit
39be06c23b
571 files changed
+25959
-28223
No files matched your search
@@ -1,19 +1,16 @@
|
||||
package tconstruct.smeltery.itemblocks;
|
||||
|
||||
import java.util.List;
|
||||
import mantle.blocks.abstracts.MultiItemBlock;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.StatCollector;
|
||||
|
||||
import java.util.List;
|
||||
public class SearedTableItemBlock extends MultiItemBlock {
|
||||
public static final String blockTypes[] = {"Table", "Faucet", "Basin"};
|
||||
|
||||
public class SearedTableItemBlock extends MultiItemBlock
|
||||
{
|
||||
public static final String blockTypes[] = { "Table", "Faucet", "Basin" };
|
||||
|
||||
public SearedTableItemBlock(Block b)
|
||||
{
|
||||
public SearedTableItemBlock(Block b) {
|
||||
super(b, "SearedBlock", blockTypes);
|
||||
setMaxDamage(0);
|
||||
setHasSubtypes(true);
|
||||
@@ -34,7 +31,6 @@ public class SearedTableItemBlock extends MultiItemBlock
|
||||
break;
|
||||
}
|
||||
|
||||
if(StatCollector.canTranslate(tooltip))
|
||||
p_77624_3_.add(StatCollector.translateToLocal(tooltip));
|
||||
if (StatCollector.canTranslate(tooltip)) p_77624_3_.add(StatCollector.translateToLocal(tooltip));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user