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
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<LeafClusterParticleOptions> static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, 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()
-
Field Details
-
CODEC
-
STREAM_CODEC
public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,LeafClusterParticleOptions> STREAM_CODEC
-
-
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
-
getSpawnedParticleType
-
getParticleId
public net.minecraft.resources.ResourceLocation getParticleId()
-