mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-22 21:19:46 +00:00
Fix most of entities
This commit is contained in:
1 parent
207a66b121
commit
828d952a86
21 files changed
+333
-193
No files matched your search
@@ -29,15 +29,18 @@ import javax.annotation.Nonnull;
|
||||
|
||||
public class EntitySignalFlare extends Entity {
|
||||
@ObjectHolder(LibMisc.MOD_ID + ":signal_flare")
|
||||
public static EntityType<?> TYPE;
|
||||
public static EntityType<EntitySignalFlare> TYPE;
|
||||
private static final String COLOR_TAG = "color";
|
||||
private static final String FIRED_Y_TAG = "firedY";
|
||||
private static final DataParameter<Integer> COLOR = EntityDataManager.createKey(EntitySignalFlare.class, DataSerializers.VARINT);
|
||||
private static final DataParameter<Integer> FIRED_Y = EntityDataManager.createKey(EntitySignalFlare.class, DataSerializers.VARINT);
|
||||
|
||||
public EntitySignalFlare(EntityType<EntitySignalFlare> type, World world) {
|
||||
super(type, world);
|
||||
}
|
||||
|
||||
public EntitySignalFlare(World world) {
|
||||
super(TYPE, world);
|
||||
setSize(0F, 0F);
|
||||
this(TYPE, world);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user