本文整理汇总了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));
}
}
示例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));
}
}
示例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()));
}
示例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)));
}
示例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));
}
示例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);
示例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);
示例8: handleSignEditorOpen
import net.minecraft.network.play.server.S36PacketSignEditorOpen; //导入依赖的package包/类
void handleSignEditorOpen(S36PacketSignEditorOpen p_147268_1_);