Uses of Class
net.minecraftforge.fml.network.FMLPlayMessages.SpawnEntity
-
Uses of FMLPlayMessages.SpawnEntity in net.minecraft.entity
Modifier and TypeFieldDescriptionprivate BiFunction<FMLPlayMessages.SpawnEntity,
World, T> EntityType.Builder.customClientFactory
private final BiFunction<FMLPlayMessages.SpawnEntity,
World, T> EntityType.customClientFactory
Modifier and TypeMethodDescriptionEntityType.customClientSpawn
(FMLPlayMessages.SpawnEntity packet, World world) Modifier and TypeMethodDescriptionEntityType.Builder.setCustomClientFactory
(BiFunction<FMLPlayMessages.SpawnEntity, World, T> customClientFactory) By default, entities are spawned clientside viaEntityType.create(World)
.ModifierConstructorDescriptionEntityType
(EntityType.IFactory<T> p_i231489_1_, EntityClassification p_i231489_2_, boolean p_i231489_3_, boolean p_i231489_4_, boolean p_i231489_5_, boolean p_i231489_6_, com.google.common.collect.ImmutableSet<Block> p_i231489_7_, EntitySize p_i231489_8_, int p_i231489_9_, int p_i231489_10_, Predicate<EntityType<?>> velocityUpdateSupplier, ToIntFunction<EntityType<?>> trackingRangeSupplier, ToIntFunction<EntityType<?>> updateIntervalSupplier, BiFunction<FMLPlayMessages.SpawnEntity, World, T> customClientFactory) -
Uses of FMLPlayMessages.SpawnEntity in net.minecraftforge.fml.network
Modifier and TypeMethodDescriptionstatic FMLPlayMessages.SpawnEntity
FMLPlayMessages.SpawnEntity.decode
(PacketBuffer buf) Modifier and TypeMethodDescriptionstatic void
FMLPlayMessages.SpawnEntity.encode
(FMLPlayMessages.SpawnEntity msg, PacketBuffer buf) static void
FMLPlayMessages.SpawnEntity.handle
(FMLPlayMessages.SpawnEntity msg, Supplier<NetworkEvent.Context> ctx)