Package net.minecraft.core.particles
Class ItemParticleOption
java.lang.Object
net.minecraft.core.particles.ItemParticleOption
- All Implemented Interfaces:
ParticleOptions
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.core.particles.ParticleOptions
ParticleOptions.Deserializer<T extends ParticleOptions>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionItemParticleOption(ParticleType<ItemParticleOption> p_123705_, ItemStack p_123706_)
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.mojang.serialization.Codec<ItemParticleOption>
codec(ParticleType<ItemParticleOption> p_123711_)
getItem()
getType()
void
writeToNetwork(FriendlyByteBuf p_123716_)
-
Field Details
-
DESERIALIZER
-
type
-
itemStack
-
-
Constructor Details
-
ItemParticleOption
-
-
Method Details
-
codec
public static com.mojang.serialization.Codec<ItemParticleOption> codec(ParticleType<ItemParticleOption> p_123711_) -
writeToNetwork
- Specified by:
writeToNetwork
in interfaceParticleOptions
-
writeToString
- Specified by:
writeToString
in interfaceParticleOptions
-
getType
- Specified by:
getType
in interfaceParticleOptions
-
getItem
-