예제 #1
0
 public void cancelLaunch() {
   this.setLaunchPhase(EnumLaunchPhase.UNIGNITED);
   this.timeUntilLaunch = 0;
   if (!this.worldObj.isRemote && this.riddenByEntity instanceof EntityPlayerMP) {
     ((EntityPlayerMP) this.riddenByEntity)
         .addChatMessage(
             new ChatComponentText(GCCoreUtil.translate("gui.rocket.warning.nogyroscope")));
   }
 }
예제 #2
0
 public String getTitle() {
   return GCCoreUtil.translate("gui.message." + this.title + ".name");
 }
예제 #3
0
 @Override
 public String getName() {
   return GCCoreUtil.translate("container.spaceship.name");
 }