ActuallyAdditions/src/main/java/de/ellpeck/actuallyadditions/mod/items/ItemDust.java

46 lines
1.1 KiB
Java
Raw Normal View History

2015-08-29 14:33:25 +02:00
/*
2016-05-16 22:52:27 +02:00
* This file ("ItemDust.java") is part of the Actually Additions mod for Minecraft.
2015-08-29 14:33:25 +02:00
* It is created and owned by Ellpeck and distributed
* under the Actually Additions License to be found at
2016-05-16 22:52:27 +02:00
* http://ellpeck.de/actaddlicense
2015-08-29 14:33:25 +02:00
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
*
2017-01-01 16:23:26 +01:00
* © 2015-2017 Ellpeck
2015-08-29 14:33:25 +02:00
*/
2016-01-05 04:47:35 +01:00
package de.ellpeck.actuallyadditions.mod.items;
2016-01-05 04:47:35 +01:00
import de.ellpeck.actuallyadditions.mod.items.base.ItemBase;
import de.ellpeck.actuallyadditions.mod.items.metalists.TheDusts;
2021-11-14 00:20:29 +01:00
public class ItemDust extends ItemBase {
2016-06-17 23:50:38 +02:00
public static final TheDusts[] ALL_DUSTS = TheDusts.values();
public ItemDust() {
2021-11-14 00:20:29 +01:00
//super(name);
2015-10-03 10:19:40 +02:00
}
2021-11-14 00:20:29 +01:00
/*
@Override
2021-11-13 18:16:25 +01:00
public Rarity getRarity(ItemStack stack) {
return stack.getItemDamage() >= ALL_DUSTS.length
2021-08-22 23:19:57 +02:00
? EnumRarity.COMMON
: ALL_DUSTS[stack.getItemDamage()].rarity;
}
2021-11-14 00:20:29 +01:00
*/
2019-02-27 19:53:05 +01:00
2021-11-14 00:20:29 +01:00
/*
2018-01-14 19:25:36 +01:00
@Override
public int getItemBurnTime(ItemStack stack) {
if (stack.getMetadata() == 6) {
return 1200;
}
2019-02-27 19:53:05 +01:00
return super.getItemBurnTime(stack);
2018-01-14 19:25:36 +01:00
}
2021-11-14 00:20:29 +01:00
*/
}