mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-06-28 15:39:09 +02:00
39 lines
1.2 KiB
Java
39 lines
1.2 KiB
Java
/*
|
|
* This file ("TheWildPlants.java") is part of the Actually Additions mod for Minecraft.
|
|
* It is created and owned by Ellpeck and distributed
|
|
* under the Actually Additions License to be found at
|
|
* http://ellpeck.de/actaddlicense
|
|
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
|
|
*
|
|
* © 2015-2017 Ellpeck
|
|
*/
|
|
|
|
package de.ellpeck.actuallyadditions.mod.blocks.metalists;
|
|
|
|
import de.ellpeck.actuallyadditions.mod.blocks.InitBlocks;
|
|
import net.minecraft.block.Block;
|
|
import net.minecraft.item.EnumRarity;
|
|
import net.minecraft.util.IStringSerializable;
|
|
|
|
public enum TheWildPlants implements IStringSerializable{
|
|
|
|
CANOLA("canola", EnumRarity.RARE, InitBlocks.blockCanola),
|
|
FLAX("flax", EnumRarity.RARE, InitBlocks.blockFlax),
|
|
RICE("rice", EnumRarity.RARE, InitBlocks.blockRice),
|
|
COFFEE("coffee", EnumRarity.RARE, InitBlocks.blockCoffee);
|
|
|
|
public final String name;
|
|
public final EnumRarity rarity;
|
|
public final Block wildVersionOf;
|
|
|
|
TheWildPlants(String name, EnumRarity rarity, Block wildVersionOf){
|
|
this.name = name;
|
|
this.rarity = rarity;
|
|
this.wildVersionOf = wildVersionOf;
|
|
}
|
|
|
|
@Override
|
|
public String getName(){
|
|
return this.name;
|
|
}
|
|
} |