当前位置: 首页>>代码示例>>Java>>正文


Java S36PacketSignEditorOpen类代码示例

本文整理汇总了Java中net.minecraft.network.play.server.S36PacketSignEditorOpen的典型用法代码示例。如果您正苦于以下问题:Java S36PacketSignEditorOpen类的具体用法?Java S36PacketSignEditorOpen怎么用?Java S36PacketSignEditorOpen使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


S36PacketSignEditorOpen类属于net.minecraft.network.play.server包,在下文中一共展示了S36PacketSignEditorOpen类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: func_146100_a

import net.minecraft.network.play.server.S36PacketSignEditorOpen; //导入依赖的package包/类
public void func_146100_a(TileEntity p_146100_1_)
{
    if (p_146100_1_ instanceof TileEntitySign)
    {
        ((TileEntitySign)p_146100_1_).func_145912_a(this);
        this.playerNetServerHandler.sendPacket(new S36PacketSignEditorOpen(p_146100_1_.field_145851_c, p_146100_1_.field_145848_d, p_146100_1_.field_145849_e));
    }
}
 
开发者ID:MinecraftModdedClients,项目名称:Resilience-Client-Source,代码行数:9,代码来源:EntityPlayerMP.java

示例2: func_146100_a

import net.minecraft.network.play.server.S36PacketSignEditorOpen; //导入依赖的package包/类
public void func_146100_a(TileEntity p_146100_1_)
{
    if (p_146100_1_ instanceof TileEntitySign)
    {
        ((TileEntitySign)p_146100_1_).func_145912_a(this);
        this.playerNetServerHandler.sendPacket(new S36PacketSignEditorOpen(p_146100_1_.xCoord, p_146100_1_.yCoord, p_146100_1_.zCoord));
    }
}
 
开发者ID:xtrafrancyz,项目名称:Cauldron,代码行数:9,代码来源:EntityPlayerMP.java

示例3: openEditSign

import net.minecraft.network.play.server.S36PacketSignEditorOpen; //导入依赖的package包/类
public void openEditSign(TileEntitySign signTile)
{
    signTile.setPlayer(this);
    this.playerNetServerHandler.sendPacket(new S36PacketSignEditorOpen(signTile.getPos()));
}
 
开发者ID:Notoh,项目名称:DecompiledMinecraft,代码行数:6,代码来源:EntityPlayerMP.java

示例4: signEditorOpen

import net.minecraft.network.play.server.S36PacketSignEditorOpen; //导入依赖的package包/类
@Override
public Packet signEditorOpen(int x, int y, int z) {
    return new NeptunePacket(new S36PacketSignEditorOpen(new BlockPos(x, y, z)));
}
 
开发者ID:NeptunePowered,项目名称:NeptuneCommon,代码行数:5,代码来源:NeptunePacketFactory.java

示例5: signEditorOpen

import net.minecraft.network.play.server.S36PacketSignEditorOpen; //导入依赖的package包/类
@Override
public Packet signEditorOpen(int x, int y, int z) {
    return (Packet) new S36PacketSignEditorOpen(new BlockPos(x, y, z));
}
 
开发者ID:NeptunePowered,项目名称:NeptuneMod,代码行数:5,代码来源:NeptunePacketFactory.java

示例6: handleSignEditorOpen

import net.minecraft.network.play.server.S36PacketSignEditorOpen; //导入依赖的package包/类
/**
 * Creates a sign in the specified location if it didn't exist and opens the GUI to edit its text
 */
void handleSignEditorOpen(S36PacketSignEditorOpen packetIn);
 
开发者ID:Notoh,项目名称:DecompiledMinecraft,代码行数:5,代码来源:INetHandlerPlayClient.java

示例7: handleSignEditorOpen

import net.minecraft.network.play.server.S36PacketSignEditorOpen; //导入依赖的package包/类
/**
 * Creates a sign in the specified location if it didn't exist and opens the GUI to edit its text
 */
void handleSignEditorOpen(S36PacketSignEditorOpen var1);
 
开发者ID:MinecraftModdedClients,项目名称:Resilience-Client-Source,代码行数:5,代码来源:INetHandlerPlayClient.java

示例8: handleSignEditorOpen

import net.minecraft.network.play.server.S36PacketSignEditorOpen; //导入依赖的package包/类
void handleSignEditorOpen(S36PacketSignEditorOpen p_147268_1_); 
开发者ID:xtrafrancyz,项目名称:Cauldron,代码行数:2,代码来源:INetHandlerPlayClient.java


注:本文中的net.minecraft.network.play.server.S36PacketSignEditorOpen类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。