Uses of Class
net.minecraftforge.network.PlayMessages.SpawnEntity
-
Uses of PlayMessages.SpawnEntity in net.minecraft.world.entity
Modifier and TypeFieldDescriptionprivate BiFunction<PlayMessages.SpawnEntity,
Level, T> EntityType.Builder.customClientFactory
private final BiFunction<PlayMessages.SpawnEntity,
Level, T> EntityType.customClientFactory
Modifier and TypeMethodDescriptionEntityType.customClientSpawn
(PlayMessages.SpawnEntity packet, Level world) Modifier and TypeMethodDescriptionEntityType.Builder.setCustomClientFactory
(BiFunction<PlayMessages.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<PlayMessages.SpawnEntity, Level, T> customClientFactory) -
Uses of PlayMessages.SpawnEntity in net.minecraftforge.network
Modifier and TypeMethodDescriptionstatic PlayMessages.SpawnEntity
PlayMessages.SpawnEntity.decode
(FriendlyByteBuf buf) Modifier and TypeMethodDescriptionstatic void
PlayMessages.SpawnEntity.encode
(PlayMessages.SpawnEntity msg, FriendlyByteBuf buf) static void
PlayMessages.SpawnEntity.handle
(PlayMessages.SpawnEntity msg, Supplier<NetworkEvent.Context> ctx)