Final classes with private constructor
This commit is contained in:
@@ -18,16 +18,21 @@
|
|||||||
|
|
||||||
package appeng.entity;
|
package appeng.entity;
|
||||||
|
|
||||||
|
|
||||||
import net.minecraft.entity.Entity;
|
import net.minecraft.entity.Entity;
|
||||||
|
|
||||||
public class EntityIds
|
|
||||||
{
|
|
||||||
|
|
||||||
|
public final class EntityIds
|
||||||
|
{
|
||||||
public static final int TINY_TNT = 10;
|
public static final int TINY_TNT = 10;
|
||||||
public static final int SINGULARITY = 11;
|
public static final int SINGULARITY = 11;
|
||||||
public static final int CHARGED_QUARTZ = 12;
|
public static final int CHARGED_QUARTZ = 12;
|
||||||
public static final int GROWING_CRYSTAL = 13;
|
public static final int GROWING_CRYSTAL = 13;
|
||||||
|
|
||||||
|
private EntityIds()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
public static int get( Class<? extends Entity> droppedEntity )
|
public static int get( Class<? extends Entity> droppedEntity )
|
||||||
{
|
{
|
||||||
if( droppedEntity == EntityTinyTNTPrimed.class )
|
if( droppedEntity == EntityTinyTNTPrimed.class )
|
||||||
|
|||||||
Reference in New Issue
Block a user