mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
manual update of all master commits up to ca86fa8
This commit is contained in:
1 parent
14d357ccf6
commit
983c91c2c9
48 files changed
+680
-158
No files matched your search
@@ -6,6 +6,7 @@ import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemBlock;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.MathHelper;
|
||||
import net.minecraft.util.StatCollector;
|
||||
|
||||
public class SpeedSlabItem extends ItemBlock
|
||||
{
|
||||
@@ -34,8 +35,8 @@ public class SpeedSlabItem extends ItemBlock
|
||||
{
|
||||
int metadata = stack.getItemDamage() % 8;
|
||||
if (metadata == 1 || metadata == 4)
|
||||
list.add("You run pretty fast on it");
|
||||
list.add(StatCollector.translateToLocal("speedblock.slab1.tooltip"));
|
||||
else
|
||||
list.add("You run a bit faster on it");
|
||||
list.add(StatCollector.translateToLocal("speedblock.slab2.tooltip"));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user