Class LeafClusterParticleOptions
java.lang.Object
net.frozenblock.wilderwild.particle.options.LeafClusterParticleOptions
- All Implemented Interfaces:
net.minecraft.core.particles.ParticleOptions
public class LeafClusterParticleOptions
extends Object
implements net.minecraft.core.particles.ParticleOptions
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.core.particles.ParticleOptions
net.minecraft.core.particles.ParticleOptions.Deserializer<T extends net.minecraft.core.particles.ParticleOptions> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<LeafClusterParticleOptions> static final net.minecraft.core.particles.ParticleOptions.Deserializer<LeafClusterParticleOptions> -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull LeafClusterParticleOptionscreate(net.minecraft.core.particles.ParticleType<LeafParticleOptions> type) net.minecraft.resources.ResourceLocationnet.minecraft.core.particles.ParticleType<LeafParticleOptions> @NotNull net.minecraft.core.particles.ParticleType<?> getType()voidwriteToNetwork(net.minecraft.network.FriendlyByteBuf buf) @NotNull String
-
Field Details
-
CODEC
-
DESERIALIZER
public static final net.minecraft.core.particles.ParticleOptions.Deserializer<LeafClusterParticleOptions> DESERIALIZER
-
-
Method Details
-
create
@NotNull public static @NotNull LeafClusterParticleOptions create(net.minecraft.core.particles.ParticleType<LeafParticleOptions> type) -
getType
@NotNull public @NotNull net.minecraft.core.particles.ParticleType<?> getType()- Specified by:
getTypein interfacenet.minecraft.core.particles.ParticleOptions
-
writeToNetwork
public void writeToNetwork(net.minecraft.network.FriendlyByteBuf buf) - Specified by:
writeToNetworkin interfacenet.minecraft.core.particles.ParticleOptions
-
writeToString
- Specified by:
writeToStringin interfacenet.minecraft.core.particles.ParticleOptions
-
getSpawnedParticleType
-
getParticleId
public net.minecraft.resources.ResourceLocation getParticleId()
-