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) addTextureReplacement(net.minecraft.resources.Identifier original, net.minecraft.resources.Identifier replacement) adultTexture(net.minecraft.resources.Identifier replacement) ambientSound(net.minecraft.sounds.SoundEvent sound) attributes(Supplier<net.minecraft.world.entity.ai.attributes.AttributeSupplier> attributes) attributes(ExtensibleCodecBase.Entry<net.minecraft.world.entity.ai.attributes.AttributeSupplier> attributes) babyTexture(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)
-
Method Details
-
attributes
public EntityGenerator.Properties attributes(Supplier<net.minecraft.world.entity.ai.attributes.AttributeSupplier> attributes) -
attributes
public EntityGenerator.Properties attributes(ExtensibleCodecBase.Entry<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) -
addTextureReplacement
public EntityGenerator.Properties addTextureReplacement(net.minecraft.resources.Identifier original, net.minecraft.resources.Identifier replacement) -
adultTexture
-
babyTexture
-
ambientSound
-
hurtSound
-
eatSound
-
deathSound
-
stepSound
-
addAttackEffect
public EntityGenerator.Properties addAttackEffect(net.minecraft.world.effect.MobEffectInstance effect) -
shouldBurnInDaylight
-