Java 类net.minecraft.network.play.server.S0EPacketSpawnObject 实例源码

项目:BlazeLoader    文件:EventHandlerClient.java   
public static void eventFunc_151260_c(ReturnEventInfo<EntityTrackerEntry, Packet> event) {
    EntityTrackerEntry entry = event.getSource();
    if (!entry.trackedEntity.isDead) {
        S0EPacketSpawnObject packet = null;
        for (OverrideListener mod : overrideEventClients) {
            S0EPacketSpawnObject modPacket = mod.onCreateSpawnPacket(entry.trackedEntity, packet != null);
            if (modPacket != null) packet = modPacket;
        }
        if (packet != null) {
            event.setReturnValue(packet);
        }
    }
}
项目:DecompiledMinecraft    文件:INetHandlerPlayClient.java   
/**
 * Spawns an instance of the objecttype indicated by the packet and sets its position and momentum
 */
void handleSpawnObject(S0EPacketSpawnObject packetIn);
项目:DecompiledMinecraft    文件:INetHandlerPlayClient.java   
/**
 * Spawns an instance of the objecttype indicated by the packet and sets its position and momentum
 */
void handleSpawnObject(S0EPacketSpawnObject packetIn);
项目:BaseClient    文件:INetHandlerPlayClient.java   
/**
 * Spawns an instance of the objecttype indicated by the packet and sets its position and momentum
 */
void handleSpawnObject(S0EPacketSpawnObject packetIn);
项目:BaseClient    文件:INetHandlerPlayClient.java   
/**
 * Spawns an instance of the objecttype indicated by the packet and sets its position and momentum
 */
void handleSpawnObject(S0EPacketSpawnObject packetIn);
项目:Resilience-Client-Source    文件:INetHandlerPlayClient.java   
/**
 * Spawns an instance of the objecttype indicated by the packet and sets its position and momentum
 */
void handleSpawnObject(S0EPacketSpawnObject var1);
项目:BlazeLoader    文件:OverrideListener.java   
/**
 * Creates a spawn packet for the given entity.
 *
 * @param entity    The entity to create the spawn packet for.
 * @param isHandled True if another mod has already created a packet for this entity.
 * @return Return a spawn packet for the given entity, or null if none exists.
 */
public S0EPacketSpawnObject onCreateSpawnPacket(Entity entity, boolean isHandled);
项目:Cauldron    文件:INetHandlerPlayClient.java   
void handleSpawnObject(S0EPacketSpawnObject p_147235_1_);
项目:Cauldron    文件:INetHandlerPlayClient.java   
void handleSpawnObject(S0EPacketSpawnObject p_147235_1_);