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_251402_, MobCategory p_251431_, boolean p_251439_, boolean p_251973_, boolean p_252007_, boolean p_250908_, com.google.common.collect.ImmutableSet<Block> p_250201_, EntityDimensions p_251742_, int p_250479_, int p_249249_, FeatureFlagSet p_250427_, 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)