Uses of Class
net.minecraftforge.fmllegacy.network.FMLPlayMessages.SpawnEntity
-
Uses of FMLPlayMessages.SpawnEntity in net.minecraft.world.entity
Modifier and TypeFieldDescriptionprivate BiFunction<FMLPlayMessages.SpawnEntity,Level,T>
EntityType.Builder.customClientFactory
private BiFunction<FMLPlayMessages.SpawnEntity,Level,T>
EntityType.customClientFactory
Modifier and TypeMethodDescriptionEntityType.customClientSpawn(FMLPlayMessages.SpawnEntity packet, Level world)
Modifier and TypeMethodDescriptionEntityType.Builder.setCustomClientFactory(BiFunction<FMLPlayMessages.SpawnEntity,Level,T> customClientFactory)
By default, entities are spawned clientside viaEntityType.create(Level)
}.ModifierConstructorDescriptionEntityType(EntityType.EntityFactory<T> p_20574_, MobCategory p_20575_, boolean p_20576_, boolean p_20577_, boolean p_20578_, boolean p_20579_, com.google.common.collect.ImmutableSet<Block> p_20580_, EntityDimensions p_20581_, int p_20582_, int p_20583_, Predicate<EntityType<?>> velocityUpdateSupplier, ToIntFunction<EntityType<?>> trackingRangeSupplier, ToIntFunction<EntityType<?>> updateIntervalSupplier, BiFunction<FMLPlayMessages.SpawnEntity,Level,T> customClientFactory)
-
Uses of FMLPlayMessages.SpawnEntity in net.minecraftforge.fmllegacy.network
Modifier and TypeMethodDescriptionstatic FMLPlayMessages.SpawnEntity
FMLPlayMessages.SpawnEntity.decode(FriendlyByteBuf buf)
Modifier and TypeMethodDescriptionstatic void
FMLPlayMessages.SpawnEntity.encode(FMLPlayMessages.SpawnEntity msg, FriendlyByteBuf buf)
static void
FMLPlayMessages.SpawnEntity.handle(FMLPlayMessages.SpawnEntity msg, Supplier<NetworkEvent.Context> ctx)