ActuallyAdditions/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/metalists/TheWildPlants.java

39 lines
1.2 KiB
Java
Raw Normal View History

2015-08-29 14:33:25 +02:00
/*
2016-05-16 22:52:27 +02:00
* This file ("TheWildPlants.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
*
2016-05-16 22:54:42 +02:00
* © 2015-2016 Ellpeck
2015-08-29 14:33:25 +02:00
*/
2016-01-05 04:47:35 +01:00
package de.ellpeck.actuallyadditions.mod.blocks.metalists;
2015-06-28 03:12:32 +02:00
2016-01-05 04:47:35 +01:00
import de.ellpeck.actuallyadditions.mod.blocks.InitBlocks;
2015-06-28 03:12:32 +02:00
import net.minecraft.block.Block;
import net.minecraft.item.EnumRarity;
2016-11-21 16:23:48 +01:00
import net.minecraft.util.IStringSerializable;
2015-06-28 03:12:32 +02:00
2016-11-21 16:23:48 +01:00
public enum TheWildPlants implements IStringSerializable{
2015-06-28 03:12:32 +02:00
2016-11-21 16:23:48 +01:00
CANOLA("canola", EnumRarity.RARE, InitBlocks.blockCanola),
FLAX("flax", EnumRarity.RARE, InitBlocks.blockFlax),
RICE("rice", EnumRarity.RARE, InitBlocks.blockRice),
COFFEE("coffee", EnumRarity.RARE, InitBlocks.blockCoffee);
2015-06-28 03:12:32 +02:00
public final String name;
public final EnumRarity rarity;
public final Block wildVersionOf;
TheWildPlants(String name, EnumRarity rarity, Block wildVersionOf){
2015-06-28 03:12:32 +02:00
this.name = name;
this.rarity = rarity;
this.wildVersionOf = wildVersionOf;
}
2016-11-21 16:23:48 +01:00
@Override
public String getName(){
return this.name;
}
2015-06-28 03:12:32 +02:00
}