Package com.hbm_m.particle.helper
Class SkeletonCreator
java.lang.Object
com.hbm_m.particle.helper.SkeletonCreator
- All Implemented Interfaces:
IParticleCreator
Порт
SkeletonCreator из 1.7.10.
Спавнит набор «костей» в виде ParticleSkeletonNT для умершей сущности.-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Function<net.minecraft.world.entity.LivingEntity,SkeletonCreator.BoneDefinition[]> static Function<net.minecraft.world.entity.LivingEntity,SkeletonCreator.BoneDefinition[]> static Function<net.minecraft.world.entity.LivingEntity,SkeletonCreator.BoneDefinition[]> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcomposeEffect(net.minecraft.world.level.Level level, net.minecraft.world.entity.Entity entity, float brightness) voidmakeParticle(net.minecraft.client.multiplayer.ClientLevel level, net.minecraft.world.entity.player.Player player, net.minecraft.util.RandomSource rand, double x, double y, double z, net.minecraft.nbt.CompoundTag tag)
-
Field Details
-
BONES_BIPED
public static Function<net.minecraft.world.entity.LivingEntity,SkeletonCreator.BoneDefinition[]> BONES_BIPED -
BONES_ZOMBIE
public static Function<net.minecraft.world.entity.LivingEntity,SkeletonCreator.BoneDefinition[]> BONES_ZOMBIE -
BONES_VILLAGER
public static Function<net.minecraft.world.entity.LivingEntity,SkeletonCreator.BoneDefinition[]> BONES_VILLAGER
-
-
Constructor Details
-
SkeletonCreator
public SkeletonCreator()
-
-
Method Details
-
composeEffect
public static void composeEffect(net.minecraft.world.level.Level level, net.minecraft.world.entity.Entity entity, float brightness) -
makeParticle
public void makeParticle(net.minecraft.client.multiplayer.ClientLevel level, net.minecraft.world.entity.player.Player player, net.minecraft.util.RandomSource rand, double x, double y, double z, net.minecraft.nbt.CompoundTag tag) - Specified by:
makeParticlein interfaceIParticleCreator
-