Package net.minecraftforge.network
Class PlayMessages
java.lang.Object
net.minecraftforge.network.PlayMessages
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Used to spawn a custom entity without the same restrictions asClientboundAddEntityPacket
orClientboundAddMobPacket
To customize how your entity is created clientside (instead of using the default factory provided to theEntityType
) seeEntityType.Builder.setCustomClientFactory(java.util.function.BiFunction<net.minecraftforge.network.PlayMessages.SpawnEntity, net.minecraft.world.level.Level, T>)
. -
Constructor Summary
-
Method Summary
-
Constructor Details
-
PlayMessages
public PlayMessages()
-