Class EntityGenerator.Properties
java.lang.Object
net.rebel459.unified.api.data.registry.EntityGenerator.Properties
- Enclosing class:
EntityGenerator
-
Method Summary
Modifier and TypeMethodDescriptionaddAttackEffect(net.minecraft.world.effect.MobEffectInstance effect) ambientSound(net.minecraft.sounds.SoundEvent sound) attributes(Supplier<net.minecraft.world.entity.ai.attributes.AttributeSupplier> attributes) babyTexture(net.minecraft.resources.Identifier replacement) babyTexture(net.minecraft.resources.Identifier target, net.minecraft.resources.Identifier replacement) deathSound(net.minecraft.sounds.SoundEvent sound) eatSound(net.minecraft.sounds.SoundEvent sound) hurtSound(net.minecraft.sounds.SoundEvent sound) shouldBurnInDaylight(boolean burnInDaylight) <T extends net.minecraft.world.entity.Entity>
EntityGenerator.PropertiesspawnPlacement(net.minecraft.world.entity.SpawnPlacementType placementType, net.minecraft.world.level.levelgen.Heightmap.Types heightmap, net.minecraft.world.entity.SpawnPlacements.SpawnPredicate<T> spawnPredicate) spawnPlacement(ExtensibleCodecBase.Entry<net.minecraft.world.entity.SpawnPlacementType> placementType, net.minecraft.world.level.levelgen.Heightmap.Types heightmap, ExtensibleCodecBase.Entry<ExtensibleSpawnPredicate.Type> spawnPredicate) stepSound(net.minecraft.sounds.SoundEvent sound) texture(net.minecraft.resources.Identifier replacement) texture(net.minecraft.resources.Identifier target, net.minecraft.resources.Identifier replacement)
-
Method Details
-
attributes
public EntityGenerator.Properties attributes(Supplier<net.minecraft.world.entity.ai.attributes.AttributeSupplier> attributes) -
spawnPlacement
public <T extends net.minecraft.world.entity.Entity> EntityGenerator.Properties spawnPlacement(net.minecraft.world.entity.SpawnPlacementType placementType, net.minecraft.world.level.levelgen.Heightmap.Types heightmap, net.minecraft.world.entity.SpawnPlacements.SpawnPredicate<T> spawnPredicate) -
spawnPlacement
public EntityGenerator.Properties spawnPlacement(ExtensibleCodecBase.Entry<net.minecraft.world.entity.SpawnPlacementType> placementType, net.minecraft.world.level.levelgen.Heightmap.Types heightmap, ExtensibleCodecBase.Entry<ExtensibleSpawnPredicate.Type> spawnPredicate) -
texture
-
texture
public EntityGenerator.Properties texture(net.minecraft.resources.Identifier target, net.minecraft.resources.Identifier replacement) -
babyTexture
-
babyTexture
public EntityGenerator.Properties babyTexture(net.minecraft.resources.Identifier target, net.minecraft.resources.Identifier replacement) -
ambientSound
-
hurtSound
-
eatSound
-
deathSound
-
stepSound
-
addAttackEffect
public EntityGenerator.Properties addAttackEffect(net.minecraft.world.effect.MobEffectInstance effect) -
shouldBurnInDaylight
-