-
-
Save QuantumBlink1337/efa71f465cd4868ab94ca06401ef67b4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class PossessedEntity extends Zombie { | |
public static EntityType<PossessedEntity> TYPE = (EntityType<PossessedEntity>) EntityType.Builder.of(PossessedEntity::new, MobCategory.MONSTER) | |
.build("possessed").setRegistryName(BaseMod.MODID, "possessed"); | |
public static Item EGG = EntityUtils.buildEntitySpawnEgg(TYPE, 0xb00101, 0xacbf1f); | |
public PossessedEntity(EntityType<? extends Zombie> p_34271_, Level p_34272_) { | |
super(p_34271_, p_34272_); | |
} | |
public static AttributeSupplier.@NotNull Builder createAttributes() { | |
return Monster.createMonsterAttributes().add(Attributes.MOVEMENT_SPEED, 0.23F); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment