mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-22 13:09:42 +00:00
De-objectholderify entities
This commit is contained in:
1 parent
f05ca91f09
commit
ec91903ff9
27 files changed
+194
-255
No files matched your search
@@ -49,7 +49,6 @@ import java.util.*;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
public class EntitySpark extends EntitySparkBase implements ISparkEntity {
|
||||
@ObjectHolder(LibMisc.MOD_ID + ":spark") public static EntityType<EntitySpark> TYPE;
|
||||
private static final int TRANSFER_RATE = 1000;
|
||||
private static final String TAG_UPGRADE = "upgrade";
|
||||
private static final DataParameter<Integer> UPGRADE = EntityDataManager.createKey(EntitySpark.class, DataSerializers.VARINT);
|
||||
@@ -63,7 +62,7 @@ public class EntitySpark extends EntitySparkBase implements ISparkEntity {
|
||||
}
|
||||
|
||||
public EntitySpark(World world) {
|
||||
this(TYPE, world);
|
||||
this(ModEntities.SPARK, world);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user