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